[BUG] Unexpected EOF (ICSharpZip)
Unexpected EOF (ICSharpZip) exception when using the method CmLauncher.CreateProcess, may be cause while extracting natives from JAR file (I have my specific JAR file)
- OS: Windows 11 Beta Insider 22H2
- CmlLib.Core Version: 3.3.4
- .NET version: .NET Framework 4.6.2
Bug was fixed when downgrading to 3.3.1
Older version just ignores exception when extracting native library is failed. On newer version, it throws exception to make it easier to find the cause when the launcher has problem. I recommend you to check if your native libraries are normal.
I'm not sure if my JAR has the natives, but where from and how does the old version gets the natives? Since when opening the game, a folder called natives with the DLL's inside it is created
In <game_directory>/version/<your_version>/<your_version>.json file, you can check all libraries on libraries property. In each object of array, if there is natives-windows property, it is native library.
