CakesForeveryWan icon indicating copy to clipboard operation
CakesForeveryWan copied to clipboard

Userland patching implementation

Open mid-kid opened this issue 8 years ago • 2 comments

Currently, userland patches are stubbed. What I want, is to be able to specify which application (most likely title ID) to patch, in a .cake file, and have 3ds_injector handle the patching. How do we tell 3ds_injector what patches to load? Possibly a file on the SD card, or a list of paths to .cake files somewhere in memory, or hell, have it load the config.dat and read the selected cakes.

mid-kid avatar Apr 19 '16 19:04 mid-kid

Would you prefer fixed offsets or dynamic search&patch?

ghost avatar May 10 '16 21:05 ghost

The .cake format doesn't have any method to support dynamic searching&patching. 3ds_injector should check the app's version and load the correct offsets accordingly. Yes, having fixed offsets can be a pain, but you can use tools to search for offsets (like rafind2, or writing your own), and it's less prone to errors (as you can adjust manually).

mid-kid avatar May 11 '16 06:05 mid-kid