ROM Hack GBAATM-Rebirth (GBA Auto Trainer Maker): A new hope

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
Can I use this tool to convert GameShark codes for the new mega man collection
As above this not necessarily the tool for that, and I doubt there is one.

If a game is emulated on another system you have two paths then

1) Use a tool like this to hardpatch the cheats into a ROM and inject that back in to be run instead.
2) The emulated system's memory is likely a portion within the main system's memory (quite often static between runs even but dynamic is also possible) in which case the baseline cheats can be ported across quite simply by finding the emulated memory start location (Switch cheat making talks seem to call it a base) and changing the location of the cheat or using said base.

2) Might need a bit more explaining
https://doc.kodewerx.org/hacking_gba.html
That details the various cheat formats on the GBA, and the principle carries for everything.
A cheat is comprised of three basic things/
i) The cheat type identifier. Write this, check this, do this operation... the list on the link above.
ii) The relevant location in memory (sometimes a register but let us leave that for today). In the basic write this area constantly to give me infinite health/ammo/whatever this is the area you need, if it is a check for a loop (IF this then ELSE do this, aka conditional) you will be reading this.
iii) The payload. You could write 0 to health but in most games that would just kill you, same for ammo but that at least might be useful in a hard mode cheat. To that end you need to tell it what to write as well.

As the GBA houses its whopping 256 kilobytes of memory in the 02?????? region you will find most cheats use that, some formats even eschewing the 2 part and assuming it to be the case (can make certain things harder but again we will leave that).
https://problemkaputt.de/gbatek.htm#gbamemorymap if you needed to know the GBA memory layout.
Gameshark arv3 code for a 32 bit write (16 bit and 8 bit constant writes are also available for those things that need them, the GBA code base generally picks sensible variable lengths but it is a 32 bit system even in 16 bit THUMB mode so 32 bit values can be picked for things that need nowhere near that number of combinations).
2aaaaaaa xxxxxxxx32-bit RAM write
Writes xxxxxxxx to 0aaaaaaa


Your basic infinite health code then looking something like
22?????? 0000FFFF
Where ? is the location of the health in memory.

You would want to find where the 2?????? range is for the emulator (easy enough to dump that region on both the original and the emulated version and see what patterns match at a suitable point in the game, assuming you don't just find the cheat equivalent in both)

The button press stuff could be harder to dealt with
https://doc.kodewerx.org/hacking_gba.html#button
You will then see a conditional read on 0x04000130 in the original codes. Probably a D for the same format, IF equal to so it looks for a certain combo (not ideal for certain gameplay types but I will leave that discussion for another day).
What the Switch will do here for button activators varies. It might emulate the button presses, and your cheats might also have system level button activators it can use (easy enough)

Other conditionals should go fairly easily as most of those are for checking if one thing has happened to in turn do another cheat (sometimes games might mess up if you have infinite health at the end of a level and it tries to say run down the health and give bonus points depending upon things, or in a RPG you might have a battle you are forced to lose).
 

songpol

Member
Newcomer
Joined
Nov 14, 2020
Messages
23
Trophies
0
Age
28
XP
234
Country
Thailand
can you help me with this cheat code please i try but not working can anyone figure out

  • Control All Units During Battle
  • 301908D1 0098
  • 30190A91 0098
  • 30190C51 0098
  • 30190E11 0098
  • 30190FD1 0098
  • 30191191 0098
  • 30191351 0098
  • 30191511 0098
  • 301916D1 0098
  • 30191891 0098
  • 30191A51 0098
  • 30191C11 0098
  • 30191DD1 0098
  • 30191F91 0098
  • 30192151 0098
  • 30192311 0098
i found is cheat code in this https://thefoodiegeek.net/final-fantasy-tactics-advance-cheats-100-working/
 

mte90

Well-Known Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
98
Trophies
0
Age
33
Website
daniele.tech
XP
389
Country
Italy
Well this cheats are incomplete as you can see in the link you shared there are other stuff that you need to add (the master part) and set codebreaker as cheat type.
 

mte90

Well-Known Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
98
Trophies
0
Age
33
Website
daniele.tech
XP
389
Country
Italy
I wrote it about what is missing, it isn't enough to copy only the cheat that you want you need the "master" stuff mentioned in the article you shared.
And about to set the cheat type there is a dropdown in the tool itself to set it.
 

songpol

Member
Newcomer
Joined
Nov 14, 2020
Messages
23
Trophies
0
Age
28
XP
234
Country
Thailand
I wrote it about what is missing, it isn't enough to copy only the cheat that you want you need the "master" stuff mentioned in the article you shared.
And about to set the cheat type there is a dropdown in the tool itself to set it.
i put both code master code and control all unit during battle code but not working it missing but can't figure out what wrong
  • Master Code – Must Be On
  • 000037AE 000A
  • 10000488 0007
  • Control All Units During Battle
  • 301908D1 0098
  • 30190A91 0098
  • 30190C51 0098
  • 30190E11 0098
  • 30190FD1 0098
  • 30191191 0098
  • 30191351 0098
  • 30191511 0098
  • 301916D1 0098
  • 30191891 0098
  • 30191A51 0098
  • 30191C11 0098
  • 30191DD1 0098
  • 30191F91 0098
  • 30192151 0098
  • 30192311 0098
 

mte90

Well-Known Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
98
Trophies
0
Age
33
Website
daniele.tech
XP
389
Country
Italy
I don't understand, the software works but the trainer is not inserted in the rom or it is just empty when the rom boot?
Did you set Codebreaker as cheat type in the tool?
 

songpol

Member
Newcomer
Joined
Nov 14, 2020
Messages
23
Trophies
0
Age
28
XP
234
Country
Thailand
I mean in the GBAATM-Rebirth tool, this is the support thread for that tool not for an emulator.
Screenshot 2023-09-29 142457.png

and what next
 

mte90

Well-Known Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
98
Trophies
0
Age
33
Website
daniele.tech
XP
389
Country
Italy
I don't speak screenshotish, so please add some words or I won't help you.
Also those doesn't seems the same cheat of the first screens...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...