CakesForeveryWan
CakesForeveryWan copied to clipboard
Add search&replace functionality to the .cake format.
Suggested by @Wolfvak, mainly due to the complexity of supporting all different versions/regions of a single userland title.
The cake format should have a flag, that tells what the patching method is for each patch. Depending on the patch method, it will either search for a pattern, pointed to in the patch header, or look for static offsets depending on the version, as has been done until now. Variables should also have patterns to search for if necessary.
Bonus points for supporting search&replace as fallback for traditional static offsets if the current version can't be found.
Assigning to myself as this requires intimate knowledge of both the patissier and patcher, and I understand not everybody wants to have to read through my spaghetti to do this.