Hi guys,
I've got a question about GBA VC games. Of course, I know that you cannot use NTR in AGB_FIRM and you're pretty much stuck with GBAATM when it comes to cheat codes, but my problem is that you can only use Codebreaker codes with GBAATM. Now, I'd like to be able to use ROM patching codes like those that can be used with Action Replay Max. This wouldn't be much of an issue if I wanted the codes to be permanent , because I could just hex edit the ROM and inject it into the VC and be done with it but I would need to be able to patch the game while it's running. Just to give you some context: there's a timer in the game that I'd like to freeze, I know which offset in the ROM I have to change to which value to accomplish this but I need to let the timer reach zero sometimes (it's related to a minigame and if the timer doesn't reach zero the game wouldn't end, no matter how many points you score). In the past I've solved this with an AR Max code which would change the value in the ROM to the original one when the L button is held. This, sadly, isn't possible with GBAATM, nor can I freeze the timer with regular RAM write codes because I just can't find the correct offset.
What I'm basically asking for is this: I don't have any experience in ROM hacking and just a little bit of experience with ASM, but could somebody explain if and how I can add a routine to the ROM that would let me write a value to the ROM when a specific button is or isn't pressed? The only thing I've ever done concerning ROM hacking is simply patching out instructions that would lower health or whatever, basically just changing a sub instruction to nop or whatever.
I don't want to be spoonfed or anything, if someone could just point me into the right direction I'd be a very happy man.
I get the feeling that I wrote this post in a very confusing fashion, so if there's anything you need me to clarify just tell me
I've got a question about GBA VC games. Of course, I know that you cannot use NTR in AGB_FIRM and you're pretty much stuck with GBAATM when it comes to cheat codes, but my problem is that you can only use Codebreaker codes with GBAATM. Now, I'd like to be able to use ROM patching codes like those that can be used with Action Replay Max. This wouldn't be much of an issue if I wanted the codes to be permanent , because I could just hex edit the ROM and inject it into the VC and be done with it but I would need to be able to patch the game while it's running. Just to give you some context: there's a timer in the game that I'd like to freeze, I know which offset in the ROM I have to change to which value to accomplish this but I need to let the timer reach zero sometimes (it's related to a minigame and if the timer doesn't reach zero the game wouldn't end, no matter how many points you score). In the past I've solved this with an AR Max code which would change the value in the ROM to the original one when the L button is held. This, sadly, isn't possible with GBAATM, nor can I freeze the timer with regular RAM write codes because I just can't find the correct offset.
What I'm basically asking for is this: I don't have any experience in ROM hacking and just a little bit of experience with ASM, but could somebody explain if and how I can add a routine to the ROM that would let me write a value to the ROM when a specific button is or isn't pressed? The only thing I've ever done concerning ROM hacking is simply patching out instructions that would lower health or whatever, basically just changing a sub instruction to nop or whatever.
I don't want to be spoonfed or anything, if someone could just point me into the right direction I'd be a very happy man.
I get the feeling that I wrote this post in a very confusing fashion, so if there's anything you need me to clarify just tell me