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

Support GOG Hiscores #472

Open
tonihele opened this issue Oct 5, 2024 · 0 comments
Open

Support GOG Hiscores #472

tonihele opened this issue Oct 5, 2024 · 0 comments

Comments

@tonihele
Copy link
Owner

tonihele commented Oct 5, 2024

Support GOG Hiscores. Looks like it is a bit different format.

I read it with:

                HiScoresEntry entry = new HiScoresEntry();
                entry.setScore(reader.readUnsignedInteger());
                entry.setName(reader.readVaryingLengthStringUtf16(31).trim());
                entry.setLevel(reader.readVaryingLengthStringUtf16(Math.min(5, reader.getByteBuffer().remaining())).trim());

                hiScoresEntries.add(entry);

HiScores.zip

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