OpenKeeper
OpenKeeper copied to clipboard
Dungeon Keeper II remake
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](https://github.com/user-attachments/files/17266748/HiScores.zip)
I guess I won't take this much further so I'll drop it here for reference and in case you want to pull some of it. This removes stuff from Main...