Make a GBA homebrew ROM with AI: from idea to flash cart
To make a GBA homebrew ROM with AI, open Shiny Gen (in a browser at shinygen.ai/play, or the app on iPhone, iPad and Android), press +, choose New, pick the GBA Engine, and describe your game. Its AI agent writes it, compiles a real Game Boy Advance cartridge, plays it to find and fix bugs, and you download the .gba ROM, which needs any one purchase, from a $2.99 starter pack. Copy that file to a flash cart's memory card and it runs on a real Game Boy Advance, saves included.
This is the whole path from idea to hardware, written for people who already know what a flash cart is, and for people who are about to find out.
What "homebrew ROM" means here
A homebrew ROM is a cartridge image of an original game that someone made for a console on their own. The usual route is a C or assembly toolchain and a lot of reading about the GBA's video modes, sprite limits and save types. The file at the end is the same kind of .gba file, and it runs the same way: in an emulator, or on a flash cart in real hardware.
In Shiny Gen the route is a conversation. The GBA engine is one we wrote, and it compiles new games from your description into ARM machine code, on your own device. It is not an emulator and not a ROM loader: it cannot open or play commercial or third-party ROMs, and it is not a way to patch someone else's game. What you get is your own game. (The same idea is described on homebrewgamemaker.com.)
Step 1: the idea, written so a machine can build it
The agent builds what you say, so a good first message names five things: the kind of game, what the player does, the controls, the goal, and the look. The GBA has a D-pad, A, B, L, R, Start and Select, and a 240 x 160 screen.
For example: "A top-down adventure on the GBA. A fox explores a forest, talks to villagers in text boxes, and collects five lanterns. D-pad to move, A to talk, Start to pause. Save progress at a campfire."
The engine supports scrolling layers, sprites that rotate and scale, see-through effects, text boxes, music and sound effects. Games built from tiles and sprites suit it best: top-down adventures and RPGs, platformers, puzzle games, shooters, and racing on a rotating "Mode 7" floor.
Step 2: how the AI builds and tests it
The agent knows it is working on a cartridge. It reads the language reference for the GBA, writes the code (a small C-like language, in a file called main.sgba), and builds it. If the build fails, the compiler says what and where, and the agent fixes it. Then it plays the game itself:
- Runs the cartridge and reads the build report, including how full the cartridge is.
- Takes screenshots of the screen to check what is actually drawn.
- Presses the keypad to play what it built.
- Reads back values the game reports, so it can tell the hero moved or the score went up.
- Fixes what is broken and goes again.
It can make sprites, backgrounds and music too, which go into the cartridge by name; generating them spends gems, which new accounts get for free. You can keep going in the same chat with small, specific requests, or open the Code view and edit main.sgba yourself, which costs nothing.

Step 3: play it first
The game plays in the editor and from your game's card, and it is the cartridge itself: there is no separate preview build. On a computer, arrow keys, Z for A, X for B, A and S for L and R, Enter and Shift play it, and a game controller works too. Playing it here first is the cheapest way to catch a problem, before a file ever reaches a card.

Step 4: get the ROM file
Press Share, then Export .gba ROM. Exporting needs any one purchase, from a $2.99 starter pack; without one, the button takes you to the store. Before it hands you the file, Shiny Gen rebuilds the cartridge if anything changed, then boots it in a fresh emulator and checks that it comes up. You get a .gba file named after your game. It opens on a short Shiny Gen splash screen, and it does not include your in-app save.
In a browser the file downloads, and in the iPhone and iPad app it goes to the Save to Files sheet. The Android app cannot save the file yet; open your game at shinygen.ai in a browser with the same account, which needs the same one purchase.

Step 5: the flash cart
A flash cart is a GBA cartridge with a memory card slot. The steps are the usual ones, and your cart's manual has the exact details:
- Copy the
.gbafile onto the cart's SD or microSD card. Some carts also need their own system files on the card first. - Put the card in the cart and the cart in the Game Boy Advance.
- Turn it on and pick your game from the cart's menu.
Save type is the one setting that trips people up. Our ROMs use 128 KB (1 Mbit) flash saves and declare it inside the ROM, which is how flash carts and emulators usually detect it. If your cart asks, choose 128 KB or 1M flash. Then saves work on the cart the way they do on an original cartridge.
We have played ROMs made this way on a real Game Boy Advance and a Nintendo DS Lite, saves included. It should work on any console that plays GBA cartridges, such as the Game Boy Advance SP. To check your setup before you export your own game, the catalogue games, such as Shiny Monsters Advance, offer a Download .gba ROM button under Share to anyone logged in, with no purchase.
If you would rather have a finished physical copy than a card, the cartridge page covers having your game put on a real cart with its own label.
Checklist before you blame the cart
- Does it play in the editor? If not, fix that first; the ROM is the same cartridge.
- Does it play in an emulator? mGBA on a computer or Delta on an iPhone open the file with nothing else.
- Is the save type 128 KB or 1M flash, if your cart asks?
- Did you copy the cart's own system files, if it needs them?
- Does the build report show a full budget? Every build reports how full each budget is, so you see a limit coming.
Limits
- The machine's own limits. A 240 x 160 screen; up to 128 sprites at once, each at most 64 x 64 pixels; colors in palettes of 16; 256 KB of working memory for your game's data. There is no floating point, so positions use fixed-point numbers.
- No 3D. A GBA draws 2D tiles and sprites. The "Mode 7" floor gives racing games a 3D look, but it is a rotated and scaled 2D picture.
- New games only. It cannot open or play a ROM someone else made, and you cannot import a ROM to edit.
- No link cable on hardware yet. Trading and battles between the Shiny Monsters games work over the internet inside Shiny Gen. Playing over a real link cable between two consoles is not proven, so we do not claim it.
- Downloading needs a purchase, and the Android app cannot save the file yet. Exporting the ROM needs any one purchase, from $2.99; on Android, download it from a browser.
For every step in more depth, read the full GBA guide. For the Game Boy Color version of this workflow, see how to make Game Boy homebrew with AI, and for every cartridge engine and file type, see how to turn your game into a ROM (getting any file out needs any one purchase, from $2.99).
FAQ
How do I make a GBA homebrew ROM with AI?
In Shiny Gen, choose the GBA engine, describe the game, and let the AI agent build and playtest it. Then press Share and Export .gba ROM, which needs any one purchase, from $2.99, and copy the file to a flash cart.
Is it a real .gba file?
Yes. It is a standard .gba cartridge image, compiled to ARM machine code, with a valid cartridge header. Shiny Gen boots every ROM in a fresh emulator before handing it over, and we have played these ROMs, saves included, on a real Game Boy Advance and a DS Lite through a flash cart.
What save type should I pick on my flash cart?
128 KB (1 Mbit) flash. The ROM declares it, so carts and emulators usually pick it up without asking.
Do I need to know C or assembly?
No. You describe the game and the agent writes and tests the code. If you want to, you can read and edit the code in the Code view; editing it by hand costs nothing.
Can I hack or play commercial GBA ROMs with it?
No. The GBA engine is not an emulator, not a ROM loader and not a ROM-hacking tool. It compiles new games you make in Shiny Gen and cannot open or play commercial or third-party ROMs.
Can I sell the game I made?
Yes. You own what you make, and Shiny Gen takes no revenue share (Terms of Service, section 4). You can sell the ROM file itself; exporting it needs any one purchase, from $2.99.
Is it free?
Making, playing and sharing games is free. AI generation and the built-in agent use gems, and new accounts get free gems. Downloading the ROM needs any one purchase, from a $2.99 starter pack. The full list is on the pricing page.
