Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unexpected EOF (ICSharpZip) #58

Open
kookii1 opened this issue Jun 1, 2022 · 3 comments
Open

[BUG] Unexpected EOF (ICSharpZip) #58

kookii1 opened this issue Jun 1, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@kookii1
Copy link

kookii1 commented Jun 1, 2022

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

@kookii1 kookii1 added the bug Something isn't working label Jun 1, 2022
@AlphaBs
Copy link
Member

AlphaBs commented Jun 4, 2022

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.

@kookii1
Copy link
Author

kookii1 commented Jun 6, 2022

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

@AlphaBs
Copy link
Member

AlphaBs commented Jun 7, 2022

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.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants