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 for reading / extracting RtMI's .ggpack-files and ggdicts #3

Merged
merged 2 commits into from
Sep 26, 2022

Conversation

JanFrederick00
Copy link
Contributor

Hello,
I have modified the program to open Return to Monkey Island's .ggpack*-files and to decode the changes in the ggdict-format.
(Note: first time working with go.)

  • Implemented the new XOR-Algorithm used by RtMI, keys are extracted from the game's executable file. (2 keys: 256 and 65536 bytes in length)
  • RtMI's GGDicts use 16 bits for each string value instead of 32 bit. This change is automatically selected in ggpack (when using the rtmi-key) and selected via a new parameter in ggdict.

The other tools may still need changes, and packing new ggpacks / ggdicts are not yet implemented.

@fzipp fzipp merged commit 3a7b709 into fzipp:main Sep 26, 2022
@fzipp
Copy link
Owner

fzipp commented Sep 26, 2022

Thanks for looking into this and for providing an implementation.
This works, so I'm going to merge it. I'll probably refactor some parts later, but it's a good starting point.

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

Successfully merging this pull request may close these issues.

2 participants