- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- CAS Parts >
- TS4 CAS Tool Exceptions
- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- CAS Parts >
- TS4 CAS Tool Exceptions
Replies: 4 (Who?), Viewed: 1751 times.
#1
26th Apr 2020 at 11:41 AM
Posts: 306
Thanks: 19099 in 145 Posts
TS4 CAS Tool Exceptions
Sorry for another post. I decided to work on something else, and had an issue with my CAS Item not morphing, so I used the tool to fix it, and it works. What's frustrating is that if I try and commit the changes it causes the following exeption.I notice an error with morphing
I fix the issue
But when I click "Commit Changes" I get this. Anyone with more experience with CAS Tools have any idea what's happening here? I don't know how else to fix it and in this preview it looks like it's worked a treat. I just can't commit the changes. I can send you the package file if needed.
Code:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at Xmods.DataLib.GEOM.WriteFile(BinaryWriter bw) at XMODS.Form1.MeshWriteToPackage() at XMODS.Form1.MeshEditCommit_button_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- S4CASTools Assembly Version: 2.0.0.0 Win32 Version: 2.0.0.0 CodeBase: file:///C:/Users/owner/Documents/S4CASTools_3_2_1_0/S4CASTools.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- XmodsDataLib Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/owner/Documents/S4CASTools_3_2_1_0/XmodsDataLib.DLL ---------------------------------------- s4pi.Interfaces Assembly Version: 2002.10.2049.28497 Win32 Version: 2002.10.2049.28497 CodeBase: file:///C:/Users/owner/Documents/S4CASTools_3_2_1_0/s4pi.Interfaces.DLL ---------------------------------------- DDSPanel Assembly Version: 2002.10.2050.28504 Win32 Version: 2002.10.2050.28504 CodeBase: file:///C:/Users/owner/Documents/S4CASTools_3_2_1_0/DDSPanel.DLL ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- WindowsFormsIntegration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll ---------------------------------------- PresentationFramework Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll ---------------------------------------- WindowsBase Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- PresentationCore Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- System.Xaml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll ---------------------------------------- PresentationFramework.Aero2 Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll ---------------------------------------- s4pi.Package Assembly Version: 2002.10.2050.28502 Win32 Version: 2002.10.2050.28502 CodeBase: file:///C:/Users/owner/Documents/S4CASTools_3_2_1_0/s4pi.Package.DLL ---------------------------------------- s4pi.Settings Assembly Version: 2002.10.2049.28496 Win32 Version: 2002.10.2049.28496 CodeBase: file:///C:/Users/owner/Documents/S4CASTools_3_2_1_0/s4pi.Settings.DLL ---------------------------------------- s4pi.ImageResource Assembly Version: 2002.10.2050.28503 Win32 Version: 2002.10.2050.28503 CodeBase: file:///C:/Users/owner/Documents/S4CASTools_3_2_1_0/s4pi.ImageResource.DLL ---------------------------------------- PresentationFramework-SystemXml Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Advertisement
#2
26th Apr 2020 at 1:56 PM
The error tells me what happened but not why. Can you upload the package you're trying to fix?
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
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
#3
26th Apr 2020 at 2:52 PM
Posts: 306
Thanks: 19099 in 145 Posts
Quote: Originally posted by CmarNYC
The error tells me what happened but not why. Can you upload the package you're trying to fix? |
'Course. Thanks for taking a look.
I can tell something was out of the range it expected when I hit "Commit" but I don't know enough about the program to know anything more myself.
Attached files:
[ Robin ] Sims 2 Bohemian Teen Fullbody.zip (616.0 KB, 3 downloads) |
#4
26th Apr 2020 at 5:25 PM
The LOD0 base mesh has four uv maps, which CAS Tools can't handle. I'll look into making it able to correct situations like this. Meanwhile, I exported the mesh as ms3d, auto-converted it to simgeom in the Mesh Tools tab, and imported it to your package to replace the one with 4 uvs. There's a little clipping on the thighs and back in the fat morph which you can fix by removing the body mesh inside the clothing mesh in those areas.
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
Attached files:
[ Robin ] Sims 2 Bohemian Teen Fullbody fixed mesh.zip (688.0 KB, 4 downloads) |
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
#5
26th Apr 2020 at 7:33 PM
Posts: 306
Thanks: 19099 in 145 Posts
Quote: Originally posted by CmarNYC
The LOD0 base mesh has four uv maps, which CAS Tools can't handle. I'll look into making it able to correct situations like this. Meanwhile, I exported the mesh as ms3d, auto-converted it to simgeom in the Mesh Tools tab, and imported it to your package to replace the one with 4 uvs. There's a little clipping on the thighs and back in the fat morph which you can fix by removing the body mesh inside the clothing mesh in those areas. |
Thank you so much! That worked a treat. I did what you did myself just so I know how to do it in case I need to in future and I was able to re-create it. Thanks so much for all your help. If/when I upload this i'll give you a wee thank in the post. :D
Who Posted
|