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

failed to parse hsk00 content: expected items per line are 5, but got 1 #14

Open
mmlevin opened this issue Aug 5, 2021 · 0 comments
Open

Comments

@mmlevin
Copy link

mmlevin commented Aug 5, 2021

Got an error when try to view files in game category 2 on my device. (As I see it is on 200 line of common.go file)
Reason is that Hsk00.lst in my device have double CR-LF pair on the end. Issue can be fixed by deleting or skipping empty strings when parsing GameItemList. I have no error if manually descramble hsk00.asd, remove empty line in the end of Hsk00.lst by hands in notepad, and scramble-zip it back.
After this hsk00-windows-cli works correct with my device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant