Homebrew How to use Cheats with GBA Virtual Console

Did this work for you?


  • Total voters
    29

Sourenics

Active Member
Newcomer
Joined
Feb 9, 2019
Messages
40
Trophies
0
Age
30
XP
161
Country
Spain
Rename "agbasav.bin" to "anything.sav"

Thanks, but doing the process on part 1 is to be able to continue your saved game on the patched ROM? So the process deletes your saved games for the VC? Don't understand that part.

Edit: Okay so using GodMode9 you can select de agba.bin and dump a XXXXXXXX.agbavc.sav file into sd:/gm9/out. So I understand sav files are stored into this .bin. Then you can modify the sav (using a HEXeditor maybe?) And inject it back to the .bin file.
 
Last edited by Sourenics,

FitBoyAwe

Member
Newcomer
Joined
Feb 15, 2020
Messages
12
Trophies
0
Age
28
XP
53
Country
Pakistan
Even though this topic has already been brought up (https://gbatemp.net/threads/any-wany-to-use-cheat-codes-on-a-gba-virtual-console-game.425490/) this method is still unknown to many users. So, I've decided to make an easy-to-follow guide on how to use cheats with the GBA Virtual console for 3DS.

For starters, you will need a few files:
GBAATM: https://gbatemp.net/threads/gba-auto-trainer-maker-gbaatm.99334/ (download link is down, linked below.)
Ultimate GBA VC Injector: https://gbatemp.net/threads/release-ultimate-gba-vc-injector-for-3ds.438057/
And some cheats, linked below is a collection of .cht files that are compatible with GBAATM (they are translated from chinese, please forgive the broken english.) You can also use codebreaker codes, though most codebreaker codes will not work unless they don't have a master Pokemon fire red cheats (The RNG Kill Code in Pokemon does not count).

Now, onto the tutorial!
Part 1, Backing up your saves (optional):
1. Go into your 3DS, and launch the game that has the save you want to back up
2. Reboot, and open GodMode9
3. Open SYSNAND VIRTUAL (Drive S: ), and copy the gbavc.sav (not agbsave.bin).
4. Create a separate folder somewhere on your SD card for the save, and paste it inside that folder.
5. Repeat for all your GBA games.

Part 2, Using GBAATM:
1. Open GBAATM and select the ROM you want to patch
2. Most of the settings are already configured for you, such as what ram to use, etc. Just make sure that "Code Type" shows "Codebreaker/GS 3".
3. Under patches, check Trainer (cheats option). *You can also check "slow motion" if you want...*
4. Make sure Enable/Disable is checked, then configure it how you want. *I personally just have "Enabled at start?" checked, and leave the key-combos alone. As using the menu in-game has a tendency to cause temporary graphical corruption...*
5. Under Settings, check Trainer menu. Here, you have a lot of interface options to mess around with, though they're pretty useless besides just looking nice. As long as you have Trainer menu checked, you're good.
6. Finally, onto the good stuff! You can either paste your Code Breaker cheats into the text box (make sure they don't require a master code) or select Load cheat file. Each of your cheats should look like this:
Cheat name:
Cheatcode

WARNING! DO NOT USE ANY CHEAT CODES IF THERE IS A CORRUPTED OR MISSING CHEAT NAME, THANK YOU!

7. Once you have everything input, and you have your cheats set up and renamed the way you want it, it's time to save. Choose where you want it to be output, you can do this under the Save As option. *I personally would keep your clean and patched ROMs seperate, as the cheats may not always work properly. The cheat module may also mess with Ultimate GBA VC Injector's auto save type detection.*
8. Click Patch Game, and it will be exported to your desired location
9. Repeat for all the games you want to use cheats with
10. (optional) Test all of the ROMs and cheats in an emulator, some may not work or may not have been patched properly.

Part 3, using Ultimate GBA VC Injector:
1. Open, and select your patched ROM.
2. It should auto-fill the ROM Size and Save Type options. If it doesn't, open it with the clean ROM first, and then input the correct save type after re-opening the patched ROM (do not change the rom size).
3. On the next screen, fill out all the information about the game and choose an icon image.
4. Same with the next screen
5. On the VC Parameters screen, it should do most of the work for you. Configure the game to your liking, just remember to randomize the Product Code and Title ID for every game. However, do not check anything under Game patches & extras. All the patches under this section may interfere with the cheat menu.
6. Install the .cia files on your 3DS

Part 4, Restoring your saves (only if you did Part 1):
1. Launch the GBA VC on your 3DS that has the save you want to restore.
2. Reboot, and open GodMode9
3. Find the gbavc.sav for your game
4. Go back, and open SYSNAND VIRTUAL (drive S: )
5. Paste your save in there
6. Enter the key combo when prompted
7. Reboot, and repeat for all the games that have saves you want to restore


Now, when you open your games, you will be greeted with a cheat menu. Here are the controls for the menu:
Press A on a cheat to enable it (you can tell because there is a letter beside the name, and it will change from N to Y when enabled)
Press B on a cheat to disable it (you can tell because the Y will change to N when disabled)
Press Up or Down to navigate the menu
Press Start to start the game

Notice: You may notice a few graphical glitches when cheats are enabled (mostly in cut scenes, such as the intro to Pokemon Fire Red), these are temporary and do not mean that there's something wrong with the game. The only time I would be concerned is if your game was acting up all the time and was unplayable...

Credits: Myself (for creating this tutorial), @Ray2R (for suggesting the idea), @Asdolo (for developing Ultimate GBA VC Injector), @cracker (for developing GBAATM), and @d0k3 (for developing GodMode9)

Let me know if this has worked for you, if you have problems, or if you have suggestions for this thread :)

Fun fact: The list of cheats below is actually the GBA cheat database from GBATemp before it went down, it is still the best collection of .cht files I could find :rofl2:

Edit: I am very serious when I say to ask if you're having trouble. If I didn't want to help out then I wouldn't have made this guide...
Is there any way I could make cheats for this? I'm attempting to create some for Pokemon Fire Red and Leaf Green, but the.cht files in this have different confusion formats, lol. Is it necessary to use codebreaker codes and then convert to a specific format? I'm usually pretty good at figuring this stuff out, but I'm at a loss here.
 
Last edited by FitBoyAwe,

Arecaidian Fox

fox-ott
Member
Joined
Sep 5, 2013
Messages
1,289
Trophies
2
Age
36
Location
Washington State
XP
3,065
Country
United States
Is there any way I could make cheats for this? I'm attempting to create some for Pokemon Fire Red and Leaf Green, but the.cht files in this have different confusion formats, lol. Is it necessary to use codebreaker codes and then convert to a specific format? I'm usually pretty good at figuring this stuff out, but I'm at a loss here.
In this case, you want your cheats to be in CodeBreaker format. In my experience, they're the only ones that work with the patcher, from what I recall. There's lots of conversion tools online that should be able to change their formats, or even standalone software like AR Crypt and CBA Crypt. GameHacking.org is another great resource and can convert cheat formats in their collection for you (I think their "libretro" format is the same as old GBA CodeBreaker, I miss when they had the old format types).
At any rate, you might get more mileage just copy-pasting your cheats into GBAATM, instead of trying to load a cheat file into it. I remember it can get pretty cranky about those.
 

Chumnik

New Member
Newbie
Joined
Aug 31, 2022
Messages
1
Trophies
0
Age
20
Location
England
XP
24
Country
United Kingdom
I am looking in my SYSNAND VIRTUAL but there is not a gbavc.sav file only agbsave.bin? What is happening? What can I do to resolve this?
 

FitBoyAwe

Member
Newcomer
Joined
Feb 15, 2020
Messages
12
Trophies
0
Age
28
XP
53
Country
Pakistan
Can somebody tell me how to make cheats for this? The.cht files in this have different confusing formats, which is frustrating because I'm trying to build some for Pokemon Fire Red and Leaf Green. Do I have to convert to a particular format after using codebreaker codes? Normally, I'm pretty good at figuring stuff like this out, but I'm at a loss.
 

Arecaidian Fox

fox-ott
Member
Joined
Sep 5, 2013
Messages
1,289
Trophies
2
Age
36
Location
Washington State
XP
3,065
Country
United States
Can somebody tell me how to make cheats for this? The.cht files in this have different confusing formats, which is frustrating because I'm trying to build some for Pokemon Fire Red and Leaf Green. Do I have to convert to a particular format after using codebreaker codes? Normally, I'm pretty good at figuring stuff like this out, but I'm at a loss.
Like I was mentioning earlier, I wouldn't suggest loading in .CHT files directly, GBAATM doesn't seem to like it all the time. It's simpler to find CodeBreaker/Libretro cheats (GameHacking.org is a good resource for those), give them a quick formatting pass in a text editor, and copy-paste that text into GBAATM.
Your final formatting that you copy-paste into GBAATM would look like this...

Code:
Cheat Name 1
XXXXXXXX XXXX
Cheat Name 2
XXXXXXXX XXXX
Cheat Name 3
XXXXXXXX XXXX
XXXXXXXX XXXX
 
  • Like
Reactions: AWESOMEGAMER

coolbond1

New Member
Newbie
Joined
Jan 6, 2023
Messages
2
Trophies
0
Age
33
XP
30
Country
Sweden
anyone know how to fix GBAATM crashing when i load a cheat table?
Specifically the pokemon emerald cheat table, 1986 - Pokemon - Emerald Version (UE)
Edit: managed to get it to work and i can see that its the table itself that has corrupted codes or atleast i assume its corrupted codes.

anyone got a unbuggered table?

after looking into it further it seems that its cause the table is using Chinese characters so i assume it was missed in the translation process
 

Attachments

  • Screenshot 2023-01-07 141317.png
    Screenshot 2023-01-07 141317.png
    27.7 KB · Views: 73
Last edited by coolbond1,

Leon2000

New Member
Newbie
Joined
May 21, 2023
Messages
1
Trophies
0
Age
23
XP
14
Country
Germany
I dont know if this thread is still active but can anyone help me with my Patched Pokemon Emerald file?
When i boot up the game the cheat name is there and i can activate it, but i seem to not be able to use the cheat nor use the SSlow Down/Speed Up Keys.
I used GameHacks for the codebreaker codes and hoped it would work.
any help would be very appreciated :)
 

duckman1402

New Member
Newbie
Joined
Feb 7, 2023
Messages
3
Trophies
0
Age
18
XP
26
Country
France
can someone help me ?, i have a problem with cheats for metroid fusion, the cheats works but after a few minutes they just stop working
 

Pakipika

New Member
Newbie
Joined
Mar 17, 2023
Messages
2
Trophies
0
Age
22
XP
13
Country
Italy
H4y I don't know if this thread is still alive, but I can't find gbavc.sav inSYSNAND VIRTUAL (Drive S: )?

edit: also tried all written here, the game I'm trying to use is pokemon unbound since rosalina doesn't work
 
Last edited by Pakipika,

AWESOMEGAMER

Well-Known Member
Member
Joined
Jan 31, 2016
Messages
208
Trophies
0
Location
Inside the Machine
XP
483
Country
United States
Is this what you mean by corrupted will try to find these but I think all of theses games have a MC
HM MFoMT
Harvest Moon More Friends of Mineral Town
All the cheat codes have no titles ;-/
-edit it looks likes this is libeto form GH :-< this has the MC i have been there for this game and these codes previously
FYI JIC
This is for this 3ds
 

Attachments

  • corrupted.JPG
    corrupted.JPG
    11 KB · Views: 22
Last edited by AWESOMEGAMER,

FECanary

Member
Newcomer
Joined
Jul 12, 2022
Messages
13
Trophies
0
Age
21
Location
England
XP
107
Country
United Kingdom
Huh.. it just turns my patched rom into a File.
Post automatically merged:

Is this what you mean by corrupted will try to find these but I think all of theses games have a MC
HM MFoMT
Harvest Moon More Friends of Mineral Town
All the cheat codes have no titles ;-/
-edit it looks likes this is libeto form GH :-< this has the MC i have been there for this game and these codes previously
FYI JIC
This is for this 3ds
Also trying to do this with Hm MFoMT
 

urbzfan

New Member
Newbie
Joined
May 8, 2024
Messages
1
Trophies
0
Age
23
XP
8
Country
United States
I just wanted to leave a comment to help anyone else who's been struggling a lot with this with some tips I found, after a long while of trial & error to get a working patch of The Urbz, lol.

It's already been mentioned that a good source of Codebreaker codes can be found at GameHacking.org, but to add onto that:
- Search for your game, and make sure you select the GBA version of it
- You don't need any master codes
- Scroll for desired codes, and make sure they're labeled "Codebreaker"
- Use the decrypted version of the code, if there's an option

If you get a notice from GBAATM that your file was trimmed for being oversized and you can't get it to work, I suggest scrapping the trainer menu. In my case, scrapping the menu allowed me to make a file that didn't need trimming, and was the only thing that worked after a few hours of trial & error.
- Check "Trainer"
- Check "Enable/Disable" ("Enable at start?" is up to your preference)
- DON'T check "Trainer Menu"! Keep it disabled

Hopefully, these settings give you a file that doesn't get an oversize error. However, without the trainer menu, cheats are no longer toggle-able on boot. You can only enable all or disable all by using the button combo set under "Enable/Disable". This worked for me personally because I had very specific cheats that I wanted on at all times. It was also the only thing that's worked for me, and I suspect it's related to the 32MB threshold & not having space to inject the trainer menu on the game I was working with.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • 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.
    BigOnYa @ BigOnYa: I had to find and get him an old style flip phone even without text, cause thats what he wanted...