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

Dynamic file patching? #11

Open
MainMemory opened this issue Dec 11, 2017 · 9 comments
Open

Dynamic file patching? #11

MainMemory opened this issue Dec 11, 2017 · 9 comments

Comments

@MainMemory
Copy link
Member

One of the problems people often have with mods is when a mod made for an older version of the game includes a modified static object file (usually Player). Perhaps there could be some system within the mod loader where a mod can tell the loader that it wants to change Sonic's palette, and the mod loader would know where that is supposed to be in the file and create a patched version of the file in a temporary folder.

@stahpittgetzomehelp
Copy link

can you explain how to fix this issue exactly as i am playing a star light zone mod and it gives me the same problem. is it possible if you can explain how to fix the issue?

@MainMemory
Copy link
Member Author

Take the file from the game's RSDK archive and apply the same changes that were applied to the file in the mod.

@stahpittgetzomehelp
Copy link

so i basically open the rsdk file with the rsdkv5 extractor and modify the mod's file's contents into the rsdk?

@stahpittgetzomehelp
Copy link

this is my first time downloading mods for sonic mania

@stahpittgetzomehelp
Copy link

so correct me if i'm wrong

@MainMemory
Copy link
Member Author

You have to examine the mod's file in a hex editor, compare it to the original file for the version of Mania it was made for, and then compare that version's file with your version's file to see where the data was moved to, and copy the changes over.

@stahpittgetzomehelp
Copy link

one question do i have to check the "savedata.bin" file and copy the changes or do something else?

@MainMemory
Copy link
Member Author

This has nothing to do with savedata.bin.

@stahpittgetzomehelp
Copy link

oh.

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

No branches or pull requests

2 participants