My bartop arcade cabinet runs a Raspberry Pi 4 with Batocera 43.1 and the MAME 2003-Plus core. The longest part of the project was not 3D printing the cabinet. It was sorting out the ROMs: in October 2024 ClrMamePro reported 2,226 missing sets out of 5,243, and many of the games that “didn’t work” simply had the wrong name or the wrong version.
This guide is a structured summary of that work, updated for November 2026: which MAME to use on Batocera, where to get the right DAT file (and why the “newest” one can be the wrong one), how to rebuild the romset with ClrMamePro, and where BIOS files, samples, artwork and CHDs go. If Batocera is new to you, start with my complete Batocera guide. Here we focus only on MAME romsets. The cabinet itself will get its own article.
Which MAME on Batocera
Batocera includes several versions of MAME, and each one has its own romset. The basic rule is that every emulator needs ROMs for its own version. A set built for MAME 0.285 won’t work with MAME 2003-Plus, and the other way around.
| Emulator | Romset | When to use it |
|---|---|---|
| libretro iMAME4all | 0.37b5 | Only on the weakest boards (Raspberry Pi 1/Zero) |
| libretro MAME 2003-Plus | 0.78+ | The default on Raspberry Pi 3/4: lightweight, with very good support for arcade controls. This is the one I use |
| libretro MAME / standalone MAME | changes with each Batocera version (0.285 in v43, 0.289 in v44) | x86_64 PCs and powerful boards. Too heavy for many games on a Pi 4 |
| libretro FBNeo | its own, still evolving | CPS1/CPS2, Neo Geo and fighting games: accurate, supports run-ahead and RetroAchievements |
| libretro MAME2010 | 0.139 | Removed from Batocera in v41, although many online guides still mention it |
MAME 2003-Plus is not a MAME “frozen in 2003”. It starts from the MAME 0.78 drivers, but its developers keep adding games and fixes backported from modern versions. That’s why its romset is called 0.78+ and is not the same as a plain 0.78 set. According to the project, 95% of 0.78 sets work as they are. The rest must be rebuilt.
Romsets, DATs and set types
A romset is the collection of game ZIP files, one per game. A DAT is an XML file that describes exactly what each ZIP must contain: the set name, the name of each file, its size and its checksums (CRC32, SHA1). A ROM manager such as ClrMamePro compares your files with the DAT and fixes or rebuilds them.
Sets come in four layouts:
| Type | How it works | On Batocera |
|---|---|---|
| Full non-merged | Each ZIP contains everything: the game ROMs, the parent ROMs and the BIOS | Recommended: every file is self-contained |
| Non-merged | Same as above, but shared BIOS files (e.g. neogeo.zip) are kept separately |
Fine if you know which BIOS each game needs |
| Split | Clones only contain the differences from their parent | Not recommended: a clone won’t start without its parent |
| Merged | Parent and clones in the same ZIP | Avoid it: Batocera only launches the parent |
A good example of parents and clones: in the 0.78+ romset, pacman.zip (the Midway version) is a clone of puckman.zip (the original Namco release). In a split set, pacman.zip won’t start on its own. And if you hide clones in Batocera, Pac-Man disappears from the list.
The right DAT (the part nobody tells you)
The DAT must match the exact version of the installed core, not “MAME 0.78” in general and not the latest version of MAME 2003-Plus either. The core changes constantly, and each Batocera release ships a core pinned to a specific commit. I compared the official DAT files:
| DAT | Core commit | Sets | Changes compared to 43.1 |
|---|---|---|---|
| Batocera 43 / 43.1 | b9b7bfa (2026-01-16) |
5,271 | — |
| Batocera 44 | 5da0428 (2026-09-15) |
5,324 | +53, almost all Ghosts’n Goblins variants, plus 6 CPS1 sets |
| Repository, main branch (November 2026) | latest commit | 6,078 | +850 / −43: CPS3, Sega Model 2, ZN and PGM arrive; some sets are renamed and 185 have different ROMs |
If I used the main-branch DAT with Batocera 43.1, ClrMamePro would “fix” my set toward names and checksums that the installed core doesn’t know. A concrete example is Choplifter: it’s chplft in 43/44 and becomes choplift on the main branch. Luckily, the DAT I was using is byte-for-byte identical to the one at the 43.1 commit.
Where to get the DAT, from the most reliable source
- From the installed core. MAME 2003-Plus can generate its own DAT. In the RetroArch quick menu (
Hotkey+ South button), enable the core option Display MAME menu, open the MAME menu, choose Generate XML DAT, then disable the option again. By definition, this file matches the core you have. To find it over SSH:find /userdata -name 'mame2003-plus*.xml'. - From the MAME 2003-Plus repository, at the right commit. The file is
metadata/mame2003-plus.xml. To get the one for your Batocera version, openlibretro-mame2003-plus.mkin the Batocera repository (at the tag for your version, e.g.batocera-43.1): theLIBRETRO_MAME2003_PLUS_VERSIONline gives the commit. Direct links for 43.1 and 44 are in the sources at the end. - To check which core you actually have: RetroArch quick menu › Information › Core Information. The version number should include the first seven characters of the commit (e.g.
b9b7bfa).
The DAT is an XML file of about 22 MB, and its header doesn’t include a version number. Rename it right away with your Batocera version (e.g. mame2003-plus_batocera-43.1.xml) to avoid confusion later.
What’s in the 43.1 DAT
| Item | Value |
|---|---|
| Total sets | 5,271 |
| Parent games | 2,916 |
| Clones | 2,339 |
| BIOS (non-runnable sets) | 16 |
| Driver status good / preliminary / protection | 4,874 / 325 / 56 |
| Games that need samples | 79 |
| Games with CHDs (disk images) | 30 |
| Uncompressed ROM size (everything / parents and BIOS only) | 41.6 GB / 21.9 GB |
Where the ROMs come from
To build a complete 0.78+ set, the MAME 2003-Plus documentation lists these “ingredients”: a MAME 0.223 or later romset, the matching rollback set (older ROM versions that modern MAME has replaced), the MAME 0.78 CHD collection, and NeoGeo UniBIOS 3.3, which its author distributes for free. ClrMamePro takes only the files that match the DAT checksums from all these sources.
To practice the whole process legally, start with the free ROMs from MAMEdev. Many of them are also in the 0.78+ DAT, for example robby (Robby Roto), gridlee, targ, circus, carpolo, looping and supertnk. They are meant for current MAME: if ClrMamePro reports them as incomplete for 0.78+, that’s exactly the kind of difference this guide teaches you to spot. Note that MAMEdev allows downloading them only from its own site, and only for personal, non-commercial use.
Folders on the PC
I work on the PC, never directly on the Raspberry Pi. This is the structure I use:
| Folder | Contents |
|---|---|
Retrogaming - MAME\tools |
ClrMamePro and other tools |
Retrogaming - MAME\dat |
The DAT files, renamed with the Batocera version |
Retrogaming - MAME\input_roms |
Sources, even unsorted ones: they are never modified |
Retrogaming - MAME\output_roms |
The clean, rebuilt set: this is what goes to Batocera |
Retrogaming - MAME\samples |
Audio samples |
Retrogaming - MAME\backup |
ClrMamePro’s safety net |
I copy output_roms to Batocera with FreeFileSync. Watch out: FreeFileSync creates a sync.ffs_db file in the folder, which ClrMamePro flags as unneeded and moves to the backup folder. Exclude it from the scan, or store the sync database somewhere else.
ClrMamePro: profile and settings
ClrMamePro is the most complete romset manager, and also the least intuitive. The process is always the same: profile, settings, scan, rebuild.
- In the Profiler, click Add DatFile…, select the DAT and create the profile with Load / Update. The Missing Sets column immediately shows how much is missing.

- Open Settings and set the paths: the
output_romsfolder under ROM-Paths and the samples folder under Sample-Paths. Enable Make Backups To Folder and choose the backup folder before you fix anything. ClrMamePro is very aggressive about removing what it doesn’t recognize, and with backups enabled it moves files instead of deleting them. Save with Save As Def. - Only if you care about games with CHDs: under Settings › Compressor › CHDMan, set Req. CHD Version to
3, as the core documentation recommends.

Scanner: checking the set
- Open the Scanner and select Non-Merged Sets.
- Click Advanced… and uncheck Separate BIOS Sets. This is what turns a non-merged set into a full non-merged set, with the BIOS inside every ZIP.
- Under You want to scan, check Sets, ROMs, Samples and CHDs. In the Check and Fix columns, enable every item. Keep Ask Before Fixing enabled for the first few runs.
- Click New Scan. With the backup folder set up, you can answer Yes to all when it asks to fix things.

The results window looks scary at first, but there are only a few messages:
| Message | Meaning | What to do |
|---|---|---|
| wrong name | The content is right, the name isn’t. A real example: gauntletg.zip, which the DAT expects as gauntg.zip |
The Name fix renames it |
| unneeded file | A file that isn’t part of the set: ROMs from other versions, sync files | The Unneeded fix moves it to the backup folder |
| missing (in red) | Whole sets or single files inside a ZIP are missing | The Scanner can’t create them: you need the Rebuilder and a source that contains them |
| Not all Sets/BIOS/CHD Regions are enabled! | Some set types are excluded from the scan | Enable them under Systems… in the Scanner, if you need them |

Even with a perfect set, the MAME 2003-Plus documentation warns that a clean scan will still report about fifteen missing BIOS sets. That’s expected: in the full non-merged format, the BIOS files are already inside the game ZIPs.
Rebuilder: rebuilding the set
- Open the Rebuilder. Set Source to the sources folder (
input_roms, with Scan Subfolders checked) and Destination tooutput_roms. - Under Merge Options, choose Non Merged Sets. Under Advanced…, uncheck Separate BIOS sets again.
- Keep Remove Matched Sourcefiles unchecked: the sources must stay untouched.
- Click Rebuild, then scan again.
Whenever you add files to the sources, just run the rebuild again: ClrMamePro only takes what it needs.


BIOS, samples, artwork and CHDs
A detail many people trip over: for MAME 2003-Plus, samples and artwork do not go in the ROM folder. They go in the core’s bios folder.
| What | Path on Batocera | Notes |
|---|---|---|
| ROMs | /userdata/roms/mame/ |
ZIP files, not extracted and not renamed. A dedicated subfolder is optional |
| Samples | /userdata/bios/mame2003-plus/samples/ |
One ZIP per game, named like the set (e.g. dkong.zip) |
| Artwork | /userdata/bios/mame2003-plus/artwork/ |
Backdrops and bezels: see the Space Invaders case below |
| CHDs | /userdata/roms/mame/<set>/<set>.chd |
E.g. kinst.zip and kinst/kinst.chd |
| BIOS | inside each ZIP (full non-merged) | With a non-merged set, neogeo.zip and the other BIOS files go next to the games |
BIOS: which games need them
| BIOS | Games | BIOS | Games |
|---|---|---|---|
neogeo |
216 | konamigx |
23 |
playch10 |
53 | skns |
19 |
stvbios |
46 | pgm |
17 |
decocass |
43 | nss |
12 |
megatech |
27 | cpzn1 / cpzn2 |
11 / 8 |
cvs |
25 | taitofx1, megaplay, tps, acpsx |
9, 8, 5, 3 |
Samples
Samples are audio recordings that MAME uses when it doesn’t (yet) emulate a game’s sound circuit. They are typical of 1970s and early 1980s games with analog audio. In the 0.78+ DAT, 79 games need them, including invaders, dkong, mario, qbert, zaxxon, berzerk and journey. Without samples these games still start, but some sounds are missing. Contrary to what you often read, galaga and asteroid do not need them. For sf2, ffight and outrun, samples are optional and provide higher-quality music.
In ClrMamePro you check samples by adding their folder under Settings › Directories › Sample-Paths and checking Samples in the Scanner’s Check and Fix columns.
CHDs: I skip them on the Pi 4
CHDs (Compressed Hunks of Data) are compressed images of the hard disks and CDs used in some 1990s cabinets. In the 0.78+ DAT, 30 games need them, almost all Midway and Atari 3D titles: Killer Instinct, Area 51, CarnEvil, Cruis’n, NFL Blitz, Mace. They are demanding games and not worth it on a Raspberry Pi 4, so I left them out. ClrMamePro can verify a CHD, but it can’t repair one.
Tricky names
Many games have a different name in the romset than you’d expect. These are the ones I tripped over, checked against the Batocera 43.1 DAT:
| Game | Name you’d expect | Correct name (0.78+, Batocera 43.1) |
|---|---|---|
| Asteroids | asteroids |
asteroid |
| Ghosts’n Goblins | ghosts |
gng |
| Space Harrier | spacehar |
sharrier |
| Street Fighter | sf |
sf1 (needs samples) |
| Street Fighter Alpha 1/2/3 | sfz, sfz2, sfz3 |
sfa, sfa2, sfa3 |
| Dungeons & Dragons | dnd |
ddtod (Tower of Doom), ddsom (Shadow over Mystara) |
| Sunset Riders | sunsetriders |
ssriders |
| The Outfoxies | outfoxies |
outfxies |
| Splatterhouse | splatterh |
splatter |
| Karate Champ | karatechamp |
kchamp |
| Moon Patrol | moonpatl |
mpatrol |
| WWF WrestleFest | wrestlef |
wwfwfest |
| Choplifter | choplift |
chplft (will become choplift in future cores) |
| Pac-Man | pacman |
puckman is the parent, pacman is a clone |
Some famous games are simply not in the 43.1 0.78+ set: Marvel vs. Capcom 2 (NAOMI hardware) and Street Fighter III / JoJo (CPS3, only coming in newer cores). Streets of Rage 2, which shows up in many “arcade” lists, is a Mega Drive/Genesis game and runs on that emulator. When a name doesn’t match, the game’s page on the Arcade Italia Arcade Database is the fastest way to find the right set.
Copying to Batocera and first launch
Batocera shares the /userdata folder on the network: on Windows, type \\BATOCERA\share in File Explorer. For very large copies, SFTP (with FileZilla or WinSCP) is more reliable, with the root user. The default password is linux: on a system connected to your home network, change it under System Settings › Security.
After copying: Main Menu › Game Settings › Update Gamelists, then run the scraper for images and descriptions. In game, Batocera’s default shortcuts apply (on my cabinet, the Hotkey is the SELECT button):
| Combination | Function |
|---|---|
Hotkey + START |
Exit the game |
Hotkey + South button (B on SNES) |
Emulator menu (RetroArch) |
Hotkey + East button (A on SNES) |
Batocera Control Center |
Hotkey + West button (Y on SNES) |
Save state |
Hotkey + North button (X on SNES) |
Load state |
Hotkey + up/down |
Change save slot |
I’ll cover the zero-delay encoder and the six-button panel setup in the article about the cabinet.
Problems I ran into
Space Invaders in color (and in black and white)
My invaders.zip started in color, with the moon backdrop. The cause is artwork: MAME 2003-Plus automatically loads /userdata/bios/mame2003-plus/artwork/invaders.zip for the whole Space Invaders family. I wanted both versions, so I kept the artwork for the default entry and added a second entry to gamelist.xml, “Space Invaders (B/W)”, which uses the current MAME core. That core doesn’t have this artwork. The same applies to the clones invaderl, sitv, sicv, sisv and sisv2.
Select+Start doesn’t exit the game on the MAME core
On the black-and-white entry, the exit combination didn’t work. With the mame_read_config option enabled, the MAME core uses its own input system and catches SELECT and START before RetroArch does. In /userdata/system/configs/retroarch/cores/retroarch-core-options.cfg I set mame_read_config = "disabled", and everything worked again.
Duplicate gamelist entries
After several attempts, my gamelist.xml had three “Space Invaders” entries pointing to the wrong files (one even pointed to the samples folder). Before editing the gamelist by hand, make a copy, and always check the <path> of every entry.
Changes that disappear after a reboot
Everything in /userdata is persistent. Changes to system files outside /userdata (for example in /usr/bin) are lost on reboot unless you save them with batocera-save-overlay.
Is it worth switching?
Batocera 44 is stable, but my cabinet stays on 43.1: there’s no reason to update for the romset. These are the options I considered, all within Batocera:
| Option | Pros | Cons on a Pi 4 | My take |
|---|---|---|---|
| Stay on MAME 2003-Plus | Lightweight, great with arcade controls, stable set | Some drivers are imperfect | The baseline |
| Add FBNeo for some games | More accurate on CPS1/CPS2 and Neo Geo, run-ahead to reduce latency, RetroAchievements | A second romset to maintain | The best free upgrade: Batocera lets you choose the emulator per game |
| Move to current MAME | Highest accuracy, largest catalog | Heavy (it uses a single CPU core), and the romset changes with every Batocera version | Only for the few games missing from 0.78+ |
| Update to Batocera 44 | Newer cores | The 0.78+ core only adds 53 variants. On the Pi 4 the graphics compositor changes (LabWC instead of sway), so video customizations need to be checked again | Not needed |
| Move to a Raspberry Pi 5 | More headroom for current MAME, and for CPS3/Model 2 once they reach the 0.78+ core | New hardware, power supply and cabinet changes | Something for later, not urgent |
Maintenance and backups
- After every Batocera update, check whether the MAME 2003-Plus commit has changed. If it has: new DAT, new ClrMamePro profile, scan and rebuild.
- The “master” set lives on the PC (
output_roms). Batocera only holds a copy. - On the Raspberry Pi I back up only
/userdata, folder by folder:roms(withgamelist.xmland the scraped images),bios,savesandsystem. If you don’t want to copy all ofsystem, at least savebatocera.conf. A folder-based backup can be restored on a newer version or on different hardware. A full SD card image can’t.
Sources
- libretro documentation for MAME 2003-Plus (DAT, ClrMamePro settings, set ingredients)
- MAME 2003-Plus repository, file
metadata/mame2003-plus.xml - DAT at the Batocera 43/43.1 and Batocera 44 commits
- Batocera 43.1: MAME 2003-Plus core version
- Batocera wiki: Arcade guide and MAME page
- Batocera wiki: hotkey shortcuts
- ClrMamePro and the 3FeetUnder quick start guide
- MAMEdev free ROMs
- Arcade Italia Arcade Database
Recent comments