Hacking [Question] Change defense values of items?

  • Thread starter Thread starter Androoski
  • Start date Start date
  • Views Views 1,161
  • Replies Replies 3
I don't know what goes in this case but I would not commonly expect defence values to be in a save game. Looking at the save editor the shields have the optional ability to have an increased surf or shield guard (possibly even two levels) as a kind of perk but straight defence is not an option.
Normally games have a table of stats in the game itself and reference that, any saves are just to note what and how many numbers of said items you have.
It is not impossible for it to be in a save and there are plenty of gameplay reasons to do such a thing (randomly generated weapons for one) but seemingly not here.

To that end you will have to drill down into the game and figure out where it is within it, or maybe as a cheat if it copies that value to RAM and references that. On an older system with a nice debug emulator it makes for a nice getting to know hacking project, for a modern device without much debug capability and emulators not being that much better... yeah it can be done but if this is your first crack at ROM hacking then you are in for a hard time.
 
I don't know what goes in this case but I would not commonly expect defence values to be in a save game. Looking at the save editor the shields have the optional ability to have an increased surf or shield guard (possibly even two levels) as a kind of perk but straight defence is not an option.
Normally games have a table of stats in the game itself and reference that, any saves are just to note what and how many numbers of said items you have.
It is not impossible for it to be in a save and there are plenty of gameplay reasons to do such a thing (randomly generated weapons for one) but seemingly not here.

To that end you will have to drill down into the game and figure out where it is within it, or maybe as a cheat if it copies that value to RAM and references that. On an older system with a nice debug emulator it makes for a nice getting to know hacking project, for a modern device without much debug capability and emulators not being that much better... yeah it can be done but if this is your first crack at ROM hacking then you are in for a hard time.
Basically my goal here is to find a way to make Link invinclewithout having to use a gecko code or something every time i want to open BOTW.
 
Are gecko codes so hard to use?

Anyway in that case it would probably be easier to hardpatch the gecko code. We normally see it on older systems where you can't do something like GBAATM and DSATM (you will never guess what systems they handle) but the principle works here too.

You find the instruction(s) which manipulate that area of memory and force them to do nothing/force it to set maximum or only add to it. Alternatively you do like some old school gamesharks and find the vblank loop or something and then set the health to maximum each time (though instakill things can trouble this).

I have a worked example for the GBA in http://gbatemp.net/threads/gbatemp-rom-hacking-documentation-project-new-2016-edition-out.73394/ but it is pretty similar for all systems.
https://forum.cemu.info/showthread....tches-txt-for-example-turning-WWHD-into-60FPS covers some of the methods people use for the wii u.
 

Site & Scene News

Popular threads in this forum