How to Set Up mGBA for Pokémon GBA Games: Which Download, Which Folder, Which Setting

mGBA 0.10.5, released on 8 March 2025 and still the current release on 12 November 2026, is the build most Pokémon players should install. Three choices decide whether a first setup works: installer or portable, a ROM folder outside Program Files, and Sync to audio only, which the mGBA FAQ says its author recommends. The files themselves are listed on the mGBA downloads page.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

Which mGBA file to download: stable 0.10.5, a development build or the libretro core

The downloads page states that the current release is version 0.10.5, and the mGBA front page dates that release 8 March 2025, about 20 months before 12 November 2026. wikiHow’s Emerald walkthrough adds a useful instruction: choose from the Desktop OS options under Current downloads so that you get the latest stable version.

On Windows the downloads page lists a portable .7z archive and an installer .exe, then a separate 64-bit pair of each. A 64-bit copy of Windows should take the 64-bit file. The FAQ says mGBA runs on Windows 7 or newer, macOS, Linux and *BSD, and lists the Nintendo 3DS (a New 3DS is required for GBA games), Switch, Wii and PlayStation Vita as further platforms.

On macOS or Linux, this lists the downloaded mGBA file with its size, which is a quick check that it arrived in full:

# macOS / Linux: verify a downloaded tarball or dmg
ls -lh ~/Downloads/mGBA-0.10.5*

Development (nightly) builds are published for Windows, macOS, Ubuntu and, as homebrew, for the 3DS, Switch, Wii and Vita, according to the downloads page. They sit alongside stable 0.10.5, and the mGBA front page, checked on 12 November 2026, showed 9179-d58ea8a86 as the latest development version. Treat these as less tested than 0.10.5 and go back to stable if one glitches. Only players running scripts are likely to need one; the last section covers it.

For other systems that RetroArch runs on, the FAQ says to use the libretro core instead. It also calls mGBA’s own controller support “lackluster” and points players whose top concern is a controller to that core. This guide covers GBA games only.

NeedFile to takeCatch
Just play on a Windows PC0.10.5 stable, installer .exe or portable .7z (64-bit pair on a 64-bit PC)Released 8 March 2025, the current release on the downloads page
Run Pokémon Lua scriptsA development build, extracted into its own portable folderLess tested than 0.10.5; return to stable if it glitches
Controller is the priorityThe libretro core inside RetroArchFAQ: mGBA’s own controller support is lackluster
A system other than a desktopThe libretro core for systems RetroArch runs onThe FAQ also lists the 3DS, Switch, Wii and Vita as supported platforms

Installer or portable: where mGBA, the ROMs and the saves should sit

wikiHow describes the difference plainly: the installer version installs mGBA as a program, while the portable version runs from the folder it was unzipped into. The FAQ adds that portable settings live in config.ini and qt.ini in the same directory as the executable. A portable folder is therefore self-contained, and it is what makes a second, separate copy possible later.

Whichever you choose, the ROM location matters more. The FAQ’s save-failure advice says to keep ROMs somewhere not write protected or requiring UAC, and puts it bluntly: “do not put them under Program Files, even if mGBA is installed there.” wikiHow notes that mGBA can read a ROM from any location, so a dedicated ROM folder is optional, but a folder you own is the safe one. Settings > Paths is where the saves and save-state folders are set. A layout that satisfies all of this:

C:\Emulators\mGBA-0.10.5\    stable build, portable
C:\Emulators\mGBA-dev\       development build, portable (only if you run scripts)
C:\Roms\GBA\                 your ROMs, outside Program Files
C:\Roms\GBA\Saves\           point Settings > Paths here for saves and save states

On macOS or Linux, this copies the whole ROM and save folder to a second folder stamped with today’s date, which is worth doing before you update mGBA:

# macOS / Linux: quick backup before updating mGBA
cp -r ~/Roms/GBA ~/Roms/GBA-Backup-$(date +%Y%m%d)

Windows

The FAQ lists Windows 7 or newer. Extract the portable .7z with any archive tool that reads .7z files, or run the installer; then open mGBA from its folder or Start menu entry. If you used the installer, the ROM rule above still applies.

macOS

Take the file for your system from the Desktop OS options on the downloads page. If macOS blocks the first launch, open System Settings > Privacy & Security and click Open Anyway. Apple’s guide for macOS Tahoe 26, checked on 12 November 2026, says that button is available for about an hour after you try to open the app.

This opens a second, separate mGBA instance rather than switching to the one already running, which is what link cable trading between two copies of a game needs:

# macOS: force a second mGBA instance for link-cable trading
open -n /Applications/mGBA.app

Linux

Linux is on the FAQ’s supported list. Under Desktop OS the downloads page offers a 64-bit AppImage, an ARM64 AppImage and Ubuntu 64-bit builds for 18.04, 20.04, 22.04, 24.04 and 24.10, so take the one that matches your machine. Keep ROMs and saves in a folder you can write to, the same rule the FAQ gives for Windows. Once the game runs, our Pokémon Crystal cheats guide for mGBA covers GameShark cheat codes.

Instead of an AppImage, these commands install mGBA from Flathub, from the Debian or Ubuntu repositories, or from the Arch repositories:

# Flatpak install (recommended for the most current stable build)
flatpak install flathub io.mgba.mGBA

# Debian/Ubuntu, packaged version (may be older)
sudo apt update
sudo apt install mgba-qt

# Arch Linux
sudo pacman -S mgba-qt

Loading your own ROM and making the first save

mGBA is licensed under the Mozilla Public License 2.0 and its code is on GitHub, per the FAQ. The emulator is the only part you download from mgba.io; the Pokémon game file is yours to supply. wikiHow warns that downloading ROMs of games you do not own is illegal in the United States and many other countries, so this guide assumes a dump of a cartridge you own. For randomized Pokémon games, see our Universal Pokémon Randomizer ZX setup guide.

  1. Open Settings > Paths and point the saves and save-state folders at the Saves folder you made, before the first save.
  2. Choose File > Load ROM, or press Ctrl+O on Windows (wikiHow’s stated default), and select the Pokémon ROM.
  3. Press Alt+Enter on Windows for fullscreen.
  4. Save from inside the game, then check that a save file appears in the Saves folder. If it does not, the ROM is probably in a protected location; see the symptom table below.

Keyboard defaults, and when the controller is the reason to leave mGBA

The mGBA README, checked on 12 November 2026, gives the default keyboard controls as A = X, B = Z, L = A, R = S, Start = Enter and Select = Backspace. The ai-plays-pokemon project’s setup guide lists Z for A and X for B, the reverse of the README, so go by the README for those two keys; that guide is the source for the arrow keys on the D-pad.

GBA buttonDefault keyboard key
D-padArrow keys
AX
BZ
StartEnter
SelectBackspace
LA
RS

wikiHow says most controllers work with mGBA as long as they can connect to the computer. The vendor’s own caveat is stronger: the FAQ calls mGBA’s controller support “lackluster”, with improvements planned, and suggests the libretro core if a controller is your utmost concern. If a pad that maps cleanly is a must, install the core in RetroArch; if a keyboard is fine, stay with the standalone build.

Integer scaling, OpenGL and the high-resolution scale for four common screen heights

Three picture and sound settings are worth touching. wikiHow says to tick Force integer scaling in the Audio/Video settings, and to set the video renderer to OpenGL under Enhancements, which it says increases performance. Leave sync on Sync to audio only, as the FAQ recommends; the same FAQ says at least one of Sync to audio or Sync to video must stay checked. The FAQ’s black-screen fix, covered below, concerns the display driver, a different setting from the video renderer wikiHow asks you to change.

With OpenGL selected, wikiHow suggests raising the high-resolution scale to match your monitor’s pixel height. Its example is a monitor 1440 pixels high, which gets 9x for 2160×1440. That example implies the GBA frame size: 2160 divided by 9 is 240 and 1440 divided by 9 is 160, so the frame is 240 by 160 pixels. Method: the table below divides each of four common heights by 160 and keeps the whole-number part, which is arithmetic and not a test. Only the 1440 row appears in a source; the other rows are worked from the 240 by 160 frame.

Monitor height (pixels)Height divided by 160Largest whole scaleScaled frameSpare rows
7204.54x960×64080
10806.756x1440×960120
144099x2160×14400
216013.513x3120×208080

Black screen, white screen, too fast, stuttering or no save: what to try first

The FAQ says Game Boy Advance emulation is currently very good and that there are known bugs with some games but no games that don’t boot. A black or white screen on a Pokémon ROM is therefore a setting to change before anything else. For the FAQ-sourced rows, the table keeps the order in which the FAQ gives its fixes.

SymptomTry firstThen
White screenChange the audio driver in settingsAs a last resort, turn Sync to video on and Sync to audio off
Black screenChange the display driver from OpenGL to OpenGL (Force 1.x)Or switch it to Software
Game runs too fastUncheck Fast forward under EmulationKeep at least one of Sync to audio or Sync to video checked; Sync to audio only is recommended
Stuttering audio or gameplay on PCAdjust sync settings, with Sync to audio only recommendedAdjust the audio buffer settings, or switch the audio driver
Saves lost or never writtenMove the ROM out of Program Files or any write-protected or UAC-protected folderCheck the folders set under Settings > Paths
Crash or glitch on a development buildGo back to stable 0.10.5Report it with the bug report tool below
Need to report a bugOn PC with 0.9.0 or newer, use the built-in bug report toolIt generates a zip file to attach to the report

Lua scripts for Pokémon RNG and bots: 0.10 adds scripting, and pokemonrng.com links a development build

mGBA’s scripting documentation says that starting with version 0.10, mGBA has built-in scripting. The ai-plays-pokemon guide asks for 0.10.0 or higher, so stable 0.10.5 meets that floor. The catch comes from the Pokémon RNG community: pokemonrng.com’s mGBA guide says its script needs the development build it links, and that other versions of mGBA show a setWatchpoint error.

That guide loads scripts through Tools > Scripting, then File > Load Script. Its two common errors are:

  • attempt to index a nil value (global ’emu’): no ROM was loaded before the script ran. Load the game first.
  • attempt to call a nil value (method ‘setWatchpoint’): the guide says to use the development build of mGBA it links, and that other versions of mGBA show this error.

This minimal script prints the current frame count to the scripting console on every frame, so it confirms that scripting is working before you load anything more complicated:

-- Minimal mGBA Lua example: print the current frame count to the console
-- Load via Tools > Scripting > Load Script

function onFrame()
    console:log("Frame: " .. tostring(emu:currentFrame()))
end

callbacks:add("frame", onFrame)

The same guide says to save and load states with the game unpaused, holding Shift plus a number to save and pressing the number to load, so the script reads advances correctly. For bot projects, the ai-plays-pokemon guide drives mGBA through mGBA-http and a Lua socket script: start mGBA first, load the script, and make sure the port in the script (default 8008) matches the port mGBA-http connects to.

Because a portable build keeps config.ini and qt.ini beside its executable, per the FAQ, extracting the development build into its own folder, as in the layout above, leaves your stable settings untouched. If a script then misbehaves, you can still open the stable folder to play.

Marcus Chen

Marcus Chen

PC hardware, storage and engineering

Marcus Chen covers PC hardware, storage and engineering for Tech Insider: processors, graphics cards, SSDs and hard drives, home servers and backup, and the engineering choices behind them. He builds comparisons from manufacturers' specifications, published independent test results and Tech Insider's own calculations, and writes plainly about what the evidence supports.

View all articles