A small warning to you Extractors out there;
If you get a JIT File Path Not Supported runtime error. This is telling you that the NAME OF THE FILE you are SAVING has BANNED characters for your operating system. Example; The Maple version I am working with names some of its UI components ':.png' which while extracting is trying to be saved on my Windows PC as ':.png' and that is an issue. ()
So Map, Character and Mob all throw this error for me, which requires finding which image it is, altering its name and then exporting.
If anyone needs help with this specific error let me know. I may look over a list of the current bugs and see what I can do about release some small patches. I will be more focused on the Repacker/MapleLib
I choice the Map File and clicking Initialize and getting this error
View attachment 158728View attachment 158729View attachment 158730
Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'MapleLib.WzLib.WzProperties.WzUOLProperty' to type 'MapleLib.WzLib.WzProperties.WzSoundProperty'.
at HaCreator.Wz.WzFileManager.ExtractSoundFile()
at HaCreator.GUI.Initialization.InitializeWzFiles(String wzPath, WzMapleVersion fileVersion)
at HaCreator.GUI.Initialization.button1_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.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1076.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
HaCreator
Assembly Version: 2.1.1.0
Win32 Version:
CodeBase: file:///D:/maplecoding/HaSuite/HaSuite/HaCreator.exe
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1075.0 built by: NETFXREL3STAGE
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.6.1068.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MonoGame.Framework
Assembly Version: 3.4.0.456
Win32 Version: 3.4.0.456
CodeBase: file:///D:/maplecoding/HaSuite/HaSuite/MonoGame.Framework.DLL
----------------------------------------
MapleLib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///D:/maplecoding/HaSuite/HaSuite/MapleLib.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
HaRepackerLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/maplecoding/HaSuite/HaSuite/HaRepackerLib.DLL
----------------------------------------
NAudio
Assembly Version: 1.7.3.0
Win32 Version: 1.7.3.0
CodeBase: file:///D:/maplecoding/HaSuite/HaSuite/NAudio.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.
HOW TO FIX IT ? I cant EVEN OPEN V62/83/117/142/144/177.....
I would change it from Auto Detect, and try each individual version. The Auto Detect feature may not work on newer versions. And some of the old encryption may still partially or fully function.
Also make sure you are in Administrator mode.
Last but not least try using Unmodified WZ files. As some editing could cause logic errors.
What that error is saying is;
HaSuite found a OUL, normally a path directing to a repeating/reused sound/image. And there is some issue either locating the actual sound and converting it into a sound. (Like saying there is a sound there that is not or that was deleted by accident)
If you really want to know what is causing this you need to recreate the situational environment. Try extracting each part until you locate which specific area causes the error and then analyze until you find that OUL and that specific Sound file. Looking at the contents of those should make the problem obvious. Most JIT, in this case, errors are due to changes in the structure and data being parsed.