GBA Duo docs
Install GBA Duo, add your games, import companion packs, and build your own.
GBA Duo plays Game Boy Advance, Game Boy Color and Game Boy games on dual-screen Android handhelds. The game runs on the screen you open the app on, and the other screen shows a companion: a pack that reads the game's memory as you play and shows what matters, like your party, your bag, or the map. On a single-screen handheld the companion opens over the game instead, from the quick menu or a hotkey.
Playing
New here? These three pages get you from download to playing with a companion:
- Install the APK: download GBA Duo and install it on your device.
- Add your games: point GBA Duo at the folders where you keep your ROMs.
- Import companion packs: give a game its bottom-screen companion.
Then, in Settings: remap the controller or turn on the touch controller, tune the picture, find covers, keep your saves in a folder you choose, earn RetroAchievements, and decide whether packs may change your games. For games whose pack supports it, Wide view paints the world around the picture (wider, or XL), and Ambient can give it a fuller look. ROM hacks and translations can be patched in from IPS, UPS and BPS files.
Making packs
A pack is a folder of plain files: a layout, a stylesheet and a Lua script. If you can write a little CSS and Lua, you can make one for your favorite game.
- Your first pack: from an empty folder to a pack running on your device.
- Layout and widgets: the building blocks in
layout.jsonand how they bind to data. - Styling with CSS: selectors, properties and how they differ from a browser.
- Taps and pages: buttons, detail pages and switching pages from the game.
- Lua API: reading memory, drawing the game's own graphics and live maps, and the script's sandbox.
- game.lua, Wide view and Ambient: a script that runs against the game every frame, how to describe a world for the wide margins, and how to give the picture a look.
Requirements
- A dual-screen Android device running Android 11 or newer (arm64). GBA Duo is made for and tested on the AYN Thor; other dual-screen devices should work but haven't been tested yet.
- Your own legally dumped ROMs. No games, BIOS or game art are included.