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,088
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,088
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: 76
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: 24
Last edited by AWESOMEGAMER,

FECanary

Member
Newcomer
Joined
Jul 12, 2022
Messages
13
Trophies
0
Age
21
Location
England
XP
111
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
  • RedColoredStars @ RedColoredStars:
    Because co-pilot doesnt even show up on my pc. Not in the taskbar, not in the start menu search, and the option in settings to turn it on and off in the taskbar is not even displayed.
  • SylverReZ @ SylverReZ:
    Well, I complain about Microsoft all the time. You seem to enjoy it, no offense. If you like using Windows, that's fine by me.
    +1
  • SylverReZ @ SylverReZ:
    Everything is my own opinions.
  • RedColoredStars @ RedColoredStars:
    Liking Windows or not is an opinion. Yes.
  • RedColoredStars @ RedColoredStars:
    Being able to disable copilot is not an opinion. lol. its a fact that it can be disabled.
  • RedColoredStars @ RedColoredStars:
    Yet you just laugh about it when I tell you, like Im lying
  • RedColoredStars @ RedColoredStars:
    People can dislike Windows all they want. But I will call out the over-exaggerations, misconceptions, half truths, and lies about it.
    +2
  • RedColoredStars @ RedColoredStars:
    Tired of the entire "BUT BUT BUT WINDOWZ SPYWARE!!!" thing too, when the same people give out tons of their personal info to plenty of other companies but say nothing about it.
    +2
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Companies do the exact same thing with other companies as well, so it's not just Microsoft. There are 3rd-parties like 'data brokers'.
  • RedColoredStars @ RedColoredStars:
    I'm 52 years old and one of my jobs in life was marketing research. Im well aware. I've been online for around 30 years. Everyone and their grandmother already has my personal information. One more having my email address isn't ruining my life or even effecting me in any way whatsoever.
    +1
  • RedColoredStars @ RedColoredStars:
    In fact. I freely give info. Stuff like gasoline apps, to save $, grocery apps, lots of cash back from rakuten, etc. etc.
    +1
  • RedColoredStars @ RedColoredStars:
    $300 back last year from Rakuten for allowing them to track my purchase. I'll take the money for them to know I bought a bunch of stuff for my cat and some video games. lol
  • K3Nv2 @ K3Nv2:
    No matter what you sign up for your info is out there
    +1
  • RedColoredStars @ RedColoredStars:
    Thats what im saying
  • SylverReZ @ SylverReZ:
    @K3Nv2, Exactly.
  • RedColoredStars @ RedColoredStars:
    And for people to say things like "But I use all fake info". No, they don't. lol. They use fake info for all of their banking and online shopping? Fake shipping address, fake payment info? lol
  • RedColoredStars @ RedColoredStars:
    Fake name, address and payment info for internet service, etc? lol. Ill say it again. Everyone freaks out about OMG WINDOWS!! But crickets on anything else they do.
  • RedColoredStars @ RedColoredStars:
    Other windows stuff people complain about hypocritically too. Like "But but but Windows bundle junk apps!!!!" Yeah?? So do many Linux distributions. Dont like it? Use one without them. Same with windows. Either find a pre-made version without the bundled stuff, or very easily make your own installer with what you want and do not want.
    +1
  • console @ console:
    I agree with all above! Microsoft made a biggest mess with us and everyone! I wish Microsoft company should be fired then lost it. LOL :rofl2:
    +1
  • RedColoredStars @ RedColoredStars:
    I dont like the stuff added either. I have zero use for copilot or recall. But I also just simply disable it and move on.
    +2
  • RedColoredStars @ RedColoredStars:
    Always disabled dumb cortana from day 1 too.
    +2
  • K3Nv2 @ K3Nv2:
    When you're a billion dollar company even upper management is just peons to the company
    +1
  • RedColoredStars @ RedColoredStars:
    MS is funny. Insider programs for both Windows and Xbox, where they listen to absolutely none of the insider feedback and just do what the fuck they want. lolol
    +1
  • K3Nv2 @ K3Nv2:
    Xbox idea to make midrange consoles saved them this Gen and buying your wife
  • SylverReZ @ SylverReZ:
    The Xbox is dying already. I don't know what to say, Microsoft takes the L for that one.
    SylverReZ @ SylverReZ: The Xbox is dying already. I don't know what to say, Microsoft takes the L for that one.