Hacking Possible to permanently patch cheat into game?

harmor

Well-Known Member
Member
Joined
Jan 8, 2010
Messages
420
Trophies
0
XP
88
Country
United States
I don't see why not. You can temporarily use ocarina cheats so why couldn't you patch the ISO to use them permanently?

I don't want program you would use though. Perhaps an hex editor?
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
It depends if the cheat is modifying the game memory(like always set money to 999.999.999 when the code handler is executed) or changes the actual game code(like when being killed don't substract 1 from the lives). I can't tell you which one it is for Metroid, if it's the game code, you need to translate the memory offset into the offset in the main.dol. Well that's actually what i would do to determine if it's a memory or game code patch, if the patched memory is memory that is used by the main.dol directly, then you should be lucky.

If you have good hexeditor skills and know the structure of .dols, you can do it yourself.

Code:
typedef struct _dolheader {
ÂÂÂÂu32 text_pos[7];
ÂÂÂÂu32 data_pos[11];
ÂÂÂÂu32 text_start[7];
ÂÂÂÂu32 data_start[11];
ÂÂÂÂu32 text_size[7];
ÂÂÂÂu32 data_size[11];
ÂÂÂÂu32 bss_start;
ÂÂÂÂu32 bss_size;
ÂÂÂÂu32 entry_point;
} dolheader;

The "starts" are the offsets in memory, the "pos" are the offsets within the .dol file, and the "sizes" should be clear. I won't do this nor will i explain it further.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    I @ idonthave: :)