Hacking [Question] Change defense values of items?

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,348
Trophies
3
XP
27,316
Country
United Kingdom
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.
 

Androoski

Active Member
OP
Newcomer
Joined
Jun 24, 2017
Messages
29
Trophies
0
Age
26
XP
92
Country
United States
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.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,348
Trophies
3
XP
27,316
Country
United Kingdom
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.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys