Home | Download | Discussion | Help | Site Map | New Posts | Sign in
Replies: 137 (Who?), Viewed: 69396 times.
Page 6 of 6
Test Subject
#126 Old 29th Jan 2019 at 1:09 AM
Thanks so much! Hope you're making a speedy recovery
Ms. Byte
staff: moderator
Original Poster
#127 Old 29th Jan 2019 at 1:34 AM
Quote:
Originally Posted by oxoJessi
Thanks so much! Hope you're making a speedy recovery


Thank you! Did that fix the problem I hope? I'm starting to be able to use the keyboard with both hands, thanks again.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#128 Old 29th Jan 2019 at 1:49 AM
Yes it fixed it, I need to learn to read everything LOL and thats great news
Test Subject
#129 Old 12th Feb 2019 at 12:56 AM
I'm getting the following error when trying to add a new resource for Region Description.
Steps to reproduce:
File > New
Resource > Add
Type > REGD 0xD65DAFF9
(fill in group and instance, click OK)

Error:
Code:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at s4pi.Package.Package.ReplaceResource(IResourceIndexEntry rc, IResource res) in F:\SourceTree\Sims4Tools\s4pi\Package\Package.cs:line 477
at S4PIDemoFE.MainForm.ResourceAdd() in F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:line 1476
at S4PIDemoFE.MainForm.menuBarWidget1_MBResource_Click(Object sender, MBClickEventArgs mn) in F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:line 1398
at S4PIDemoFE.MenuBarWidget.OnMBResource_Click(Object sender, MB mn) in F:\SourceTree\Sims4Tools\s4pe\MenuBarWidget\MenuBarWidget.cs:line 336
at S4PIDemoFE.MenuBarWidget.tsMBR_Click(Object sender, EventArgs e) in F:\SourceTree\Sims4Tools\s4pe\MenuBarWidget\MenuBarWidget.cs:line 341
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Yes I extracted with 7zip (My extractor of choice.)

Is this the git repo for this? https://github.com/s4ptacle/Sims4Tools
Ms. Byte
staff: moderator
Original Poster
#130 Old 12th Feb 2019 at 8:48 AM Last edited by CmarNYC : 12th Feb 2019 at 9:54 AM.
@TURBODRIVER
@oraclelunafaye

The attached updates add the Headline xml type and fix the failure to add a new REGD. Just extract and replace the files in your s4pe with the ones in the 7z.

The latest code is in the Git Develop branch: https://github.com/s4ptacle/Sims4Tools/tree/develop

@Illume

I looked at your problem again and can't reproduce it with other packages containing GEOMs. The example package you linked seems to contain some GEOMs that s4pe won't read even before doing anything with it, but I'm not sure because I can't find the original package to download again.

A new version of s4pe is overdue and I'll work on it now that I can use a keyboard again without much pain.
Download - please read all instructions before downloading any files!
File Type: 7z s4pe_TextResource_RegionDescription.7z (26.2 KB, 2 downloads) - View custom content

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#131 Old 13th Feb 2019 at 7:59 AM
Thank you very much for the quick adjustment. I can now add a Region Description to my package, but it doesn't seem to be saving correctly. My game won't recognize it, and when I try to open it in S4S I get this...
(Yes, S4S can't save Region Descriptions, but it doesn't seem to have any problem opening them in functioning packages.)


Code:
{
"Error": {
"ClassName": "System.Reflection.TargetInvocationException",
"Message": "Exception has been thrown by the target of an invocation.",
"Data": null,
"InnerException": {
"ClassName": "System.IO.EndOfStreamException",
"Message": "Attempted to read past the end of the stream.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at S4Studio.Data.IO.Util.BinaryStreamWrapper.GetBytes(Int32 count, ByteOrder order)\r\n at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt64(ByteOrder order)\r\n at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt64()\r\n at S4Studio.Data.IO.RegionDescriptionResource.Read(Stream stream, IReferenceList resources)\r\n at S4Studio.Data.IO.Package.DBPFPackage.FetchResource(Type t, IDBPFResourcePointer index, Boolean nocache)\r\n at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index, Boolean nocache)\r\n at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8\nGetBytes\nS4Studio, Version=3.1.2.2, Culture=neutral, PublicKeyToken=null\nS4Studio.Data.IO.Util.BinaryStreamWrapper\nByte[] GetBytes(Int32, S4Studio.Data.IO.Util.ByteOrder)",
"HResult": -2147024858,
"Source": "S4Studio",
"WatsonBuckets": "AQAAAEMATABSADIAMAByADMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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andle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)\r\n at S4Studio.ViewModels.Warehouse.WarehouseResourceViewModelBase.GetWrappedResource()",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8\nInvokeMethod\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.RuntimeMethodHandle\nSystem.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)",
"HResult": -2146232828,
"Source": "mscorlib",
"WatsonBuckets": "AQAAAEMATABSADIAMAByADMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"Message": "System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.\r\n at S4Studio.Data.IO.Util.BinaryStreamWrapper.GetBytes(Int32 count, ByteOrder order)\r\n at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt64(ByteOrder order)\r\n at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt64()\r\n at S4Studio.Data.IO.RegionDescriptionResource.Read(Stream stream, IReferenceList resources)\r\n at S4Studio.Data.IO.Package.DBPFPackage.FetchResource(Type t, IDBPFResourcePointer index, Boolean nocache)\r\n at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index, Boolean nocache)\r\n at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index)\r\n --- End of inner exception stack trace ---\r\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)\r\n at S4Studio.ViewModels.Warehouse.WarehouseResourceViewModelBase.GetWrappedResource()",
Ms. Byte
staff: moderator
Original Poster
#132 Old 14th Feb 2019 at 3:14 AM Last edited by CmarNYC : 14th Feb 2019 at 4:16 AM.
After looking at this in more detail, there are a couple of issues.

First, when I add a REGD and give it version 9, S4S reads it correctly. Both S4S and s4pe will only read version 9 correctly and will error on the original version (7). s4pe will partially read the current version (11) but not save it correctly. S4S errors on the current version. The error you posted is consistent with an attempt to read a REGD version 7.

Second, there's a bug in s4pe causing the simoleanPrice to display incorrectly. I think it'll save changes correctly but haven't tested. They all seem to be zero anyway.

Could you check what version you're working with? If it's 7 that explains the problem and for now you can try changing it to 9.

Obviously I need to correct the simoleanPrice error, but I also want to add support for the other versions. The new version is a little puzzling so far but I'll work on it tomorrow and get back to you.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#133 Old 14th Feb 2019 at 1:27 PM
Hi CmarNYC
I'm not really sure which version you're talking about. I think you mean the one inside the XML? If so it says
Code:
"Version": "0x0000000B"


For the software I'm on:
s4pe 0.5.3-beta
S4S 3.1.2.2
Ms. Byte
staff: moderator
Original Poster
#134 Old 14th Feb 2019 at 6:07 PM
It's the resource version of the REGD, and yes, that's it. 0x0000000B is version 11, the latest version. I see the latest S4S does support that version, and I understand what the error was.

Here's an updated wrapper for REGD, with support for all the versions I've seen. I haven't tested a whole lot but please give it a try and of course report any problems.
Download - please read all instructions before downloading any files!
File Type: 7z RegionDescription.7z (11.7 KB, 1 downloads) - View custom content

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#135 Old 15th Feb 2019 at 11:58 PM
@CmarNYC a quick test show it looks to be working!
I'll do more extensive testing over the weekend.

Thank you very much! :D
Test Subject
#136 Old 16th Feb 2019 at 7:25 AM
Quote:
Originally Posted by CmarNYC
I can't find the original package to download again.

so you need that package again?
check old link
Ms. Byte
staff: moderator
Original Poster
#137 Old 16th Feb 2019 at 4:29 PM
Quote:
Originally Posted by Illume
so you need that package again?
check old link


Thanks. That confirmed what I thought, the original package contains GEOMs that s4pe can't decompress. S4S can't read them either. Looking at the headers, they seem to be using an old form of compression with a couple of extra bytes at the beginning but if I force s4pe to skip those bytes it still doesn't work. The game can't read them, the bad GEOMs are LOD2 and LOD3 and the hair disappears if you zoom out. Maybe the package was made with an old tool or something. Anyway, looks like the problem is these particular GEOMs, not s4pe.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#138 Old 17th Feb 2019 at 10:00 AM
Quote:
Originally Posted by CmarNYC
Maybe the package was made with an old tool or something.

yea
googling it and find out that this hair seems to be converted from S3
Page 6 of 6
Back to top