-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add ability to apply multiple patches to same ROM #422
Comments
See the discussion here: #317 (comment). I think it's going to be difficult to develop a solution that solves people's problems in an easy-to-understand way. I'm already convinced that a lot of people will get confused by the CRC32s in filenames for IPS and other patch types. Do you have an existing process that works well for multiple patches? |
Oh thanks for the link to that discussion--missed it. I agree this is a problem that verges on the "advanced" use case. Having to edit the filename is both hard to grok (probably) for the average user (how do I find or generate the CRC32?; I missed in the docs that I had to manually edit a filename) and may make things more difficult to manage if a new or updated patch is released (you can't just unzip the new patch into a folder and be done with it). Have you considered enforcing a more opinionated patching paradigm? For example, your What I personally use is a sloppy, homespun version of what could be productized as a manifest. I use a bash script to parse a flat text file, but a solution could be to evolve that further, or use JSON.
Not necessarily advocating for either approach, but if BOTH approaches were implemented, behavior could default to "every patch in the corresponding folder is applied to a ROM in an undefined order" and if a manifest.json file is present in the folder, it uses that defined patch order. But my solution that works for me (especially because I'm not drowning in patches or anything) is to just dump all the patches in one folder with one "manifest" file that helps me and my script to stay organized. |
Is your feature request related to a problem?
No response
Describe the solution you'd like
Many ROMs have addendum patches that have patch dependencies; they assume the core ROM has already been patched. It seems that
igir
will produce a unique ROM for each patch file it finds, and does not combine them. Also for some patches, order of being applied matters.Examples:
Kaeru no Tame ni Kane wa Naru: (order matters)
Translation: https://www.romhacking.net/translations/1623/
Addendum (fix title screen): https://www.romhacking.net/translations/6517/
Final Fantasy II: (order doesn't matter)
Ultima (contains multiple optional patches): https://www.romhacking.net/hacks/4134/
Additional context
For
ips
patches I've tried adding the CRC32 checksum of the dependency ROM for each successive patch, but it didn't make a difference. It only lead to the later patches failing to be applied becauseigir
seems to be unaware of the matching checksum of a new ROM it generated after applying a patch.Example
The text was updated successfully, but these errors were encountered: