SticksStackStuck Posted July 12, 2022 Posted July 12, 2022 Hi! I'm trying to follow the steps outlined by Turbodriver on the WW download page. Pt 3 says to "export to files" (not entirely clear what that means, it could mean export as files, or save in a folder named "files"). Opening the files in S4PE isn't a problem, but when trying to export the files I get an error message saying: Unhandeled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. (.....) Could not find a resource handler. When trying "Continue" nothing happens. What am I doing wrong here? There's a box for details, which states: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: Could not find a resource handler at s4pi.WrapperDealer.WrapperDealer.WrapperForType(String type, Int32 APIversion, Stream s) in F:\SourceTree\Sims4Tools\s4pi\WrapperDealer\WrapperDealer.cs:line 128 at s4pi.WrapperDealer.WrapperDealer.GetResource(Int32 APIversion, IPackage pkg, IResourceIndexEntry rie, Boolean AlwaysDefault) in F:\SourceTree\Sims4Tools\s4pi\WrapperDealer\WrapperDealer.cs:line 66 at S4PIDemoFE.MainForm.ExportFile(IResourceIndexEntry rie, String filename) in F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:line 1868 at S4PIDemoFE.MainForm.ExportBatch() in F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:line 1856 at S4PIDemoFE.MainForm.ResourceExport() in F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:line 1762 at S4PIDemoFE.MainForm.menuBarWidget1_MBResource_Click(Object sender, MBClickEventArgs mn) in F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:line 1440 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) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- s4pe Assembly Version: 1409.20.48.18346 Win32 Version: 1409.20.48.18346 CodeBase: file:///C:/Users/El%20Slasko/Desktop/WW%20translation/s4pe/s4pe.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4515.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.4488.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.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B 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.4515.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.Custom Assembly Version: 2104.21.1556.19693 Win32 Version: 2104.21.1556.19693 CodeBase: file:///C:/Users/El%20Slasko/Desktop/WW%20translation/s4pe/System.Custom.DLL ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.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 ---------------------------------------- s4pi.CustomForms Assembly Version: 2103.4.1511.18338 Win32 Version: 2103.4.1511.18338 CodeBase: file:///C:/Users/El%20Slasko/Desktop/WW%20translation/s4pe/s4pi.CustomForms.DLL ---------------------------------------- s4pi.Interfaces Assembly Version: 2104.21.1556.19693 Win32 Version: 2104.21.1556.19693 CodeBase: file:///C:/Users/El%20Slasko/Desktop/WW%20translation/s4pe/s4pi.Interfaces.DLL ---------------------------------------- s4pi.WrapperDealer Assembly Version: 2103.4.1511.18342 Win32 Version: 2103.4.1511.18342 CodeBase: file:///C:/Users/El%20Slasko/Desktop/WW%20translation/s4pe/s4pi.WrapperDealer.DLL ---------------------------------------- Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.8.4084.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 ---------------------------------------- s4pi.Package Assembly Version: 2103.4.1511.18343 Win32 Version: 2103.4.1511.18343 CodeBase: file:///C:/Users/El%20Slasko/Desktop/WW%20translation/s4pe/s4pi.Package.DLL ---------------------------------------- s4pi.Settings Assembly Version: 2104.21.1556.19693 Win32 Version: 2104.21.1556.19693 CodeBase: file:///C:/Users/El%20Slasko/Desktop/WW%20translation/s4pe/s4pi.Settings.DLL ---------------------------------------- s4pi.Extensions Assembly Version: 2104.21.1535.19061 Win32 Version: 2104.21.1535.19061 CodeBase: file:///C:/Users/El%20Slasko/Desktop/WW%20translation/s4pe/s4pi.Extensions.DLL ---------------------------------------- s4pi.Helpers Assembly Version: 2103.4.1511.18345 Win32 Version: 2103.4.1511.18345 CodeBase: file:///C:/Users/El%20Slasko/Desktop/WW%20translation/s4pe/s4pi.Helpers.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.
SticksStackStuck Posted July 12, 2022 Author Posted July 12, 2022 (edited) I could of course just edit it directly through Sims 4 Studio. It's a bit klunky, but doable. Does anyone know if the resulting file is useable? Edit: Well, it is useable! Plopped the file down in the WickedWhims folder and WW texts started appearing in my native language! With a little luck, I'll have a translation within a week or so. I think a slight rewrite of Turbodriver's text on translation from the download page would be in order. The text really only makes sense if you already know all this stuff. Edited July 13, 2022 by SticksStackStuck
SticksStackStuck Posted July 14, 2022 Author Posted July 14, 2022 (edited) With a bit of googling I found the problem is that S4PE is very sensitive to how it is installed. I finally managed to extract the relevant STBL files and I am now happily plugging away on the translation (i.e. something I actually know how to do). My problem now is Turbodrivers instruction is a bit sparse on how to put things back together as a package-file again. Any pointers? Edited July 14, 2022 by SticksStackStuck
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now