MAME Setup Guide: ROM Sets, BIOS Files and DIP Switches

A clean MAME setup depends on keeping split ROM sets, BIOS zips and CHD folders in the right places, then reading the audit before you touch DIP switches.
MAME reads an arcade board as a pile of ROM chips, a BIOS, sometimes a hard disk image, and a bank of DIP switches that told the operator how many coins bought a life. I keep personal backups of the boards and media I own, and after rebuilding a library a few times I have learned that most failures are folder problems rather than emulation problems. A game that will not boot is usually a missing parent set, a BIOS in the wrong directory, or a CHD placed one level too deep. Everything here assumes you already own the media you are backing up, so I will not point at any source for the files themselves.
Split, non-merged and merged sets explained
A MAME game is identified by a short name, and the files for it live in a zip with that name. The catch is clones. A clone is a regional variant, a bugfix revision or a bootleg that shares most of its ROM chips with a parent set. A split set stores the shared chips only in the parent zip, so the clone zip holds just the handful of files that differ. That saves a lot of space across a full library, but it means a clone cannot run on its own: delete the parent and the clone reports missing files. A non-merged set, sometimes called a full set, puts every file a game needs inside its own zip, so each archive is self-contained and survives being copied alone. A merged set goes further and folds clones into the parent archive. For a small library of games you actually play, non-merged is the least surprising choice, because you can move one zip to another machine and it still boots.
Where BIOS zips and CHD images belong
BIOS files are just another romset, but they are shared by many games. The classic example is neogeo.zip for Neo Geo MVS and AES titles; without it every Neo Geo game stops at a missing files screen even when its own zip is fine. BIOS zips sit directly in the roms folder alongside the game zips, never inside a per-game subfolder. Hard disk and laser disc images use the CHD format and follow a different rule. A CHD lives in a subfolder named after the game short name, for example roms/gamename/gamename.chd, and MAME looks there specifically. A plain zip of a hard drive image will not be found.
Pointing MAME at the folder and running an audit
The rompath setting in mame.ini tells MAME where to look, and it accepts several paths separated by semicolons. Once the files are in place, an audit is the fastest way to see what is broken. From a command line, mame -verifyroms followed by a short name checks one machine and prints exactly which files are missing, wrong or have a bad checksum. Running it with no name audits the whole library. The internal interface has the same idea under the game list and shows failing sets in red. I do this before configuring anything, because a control map or a DIP setting cannot fix a missing ROM. The audit also catches the classic split-set mistake: it will name a file that exists only in the parent, which tells you the clone needs its parent restored rather than a fresh download.
Reading and changing DIP switches
DIP switches were physical toggle banks on the original PCB. An operator set them before a cabinet went on the floor, and the game read them at boot to fix difficulty, coinage and cabinet type. MAME exposes the same bank in software under DIP Switches in the Tab menu. Common entries include Difficulty with values like Easy, Normal, Hard and Hardest, Lives set to 3 or 5, Coinage with a table of coins-per-credit and credits-per-coin, Demo Sounds on or off, Flip Screen for a cocktail cabinet, and Cabinet set to Upright or Cocktail. Changing a value alters behaviour without patching a single ROM byte, which is why two people can remember the same arcade game as brutally hard or strangely generous. I set Difficulty to Normal and Lives to the factory default before judging how a game plays, then experiment. MAME writes these choices into the per-game cfg file, so they stick across sessions.
Fixing what the audit and the screen report
Most problems fall into a short list, and each has a specific cure.
- Missing BIOS or missing files on boot: confirm the BIOS zip is directly in roms, then re-run the audit to see the exact filename it wants.
- Clone will not start after you trimmed the library: you removed its parent. Restore the parent zip or switch to a non-merged set.
- Hard drive game boots then hangs: the CHD is in the wrong folder or named wrong, so move it into a subfolder matching the short name.
- Wrong region, language or speed: check the DIP switches and the BIOS selection, since a Japan parent and a World clone behave differently.
- Controls work in the menu but not in game: you likely mapped the general inputs rather than this game inputs, so reopen Input (this game).
The pattern is that the on-screen error and the audit output point at the same missing or misplaced file, so read them literally instead of reinstalling everything. After any change, re-audit the single machine, confirm it reports OK, then boot it once and watch the first screen.
A habit that keeps the library honest
I keep a plain text manifest beside the roms folder listing each short name, its set type, any BIOS it needs and whether a CHD is involved. When I add a machine I copy the line from the audit, and when I move the library to a new drive I diff the manifest against the folder contents. It is dull bookkeeping, but it is the reason I can rebuild a working setup from a backup without re-auditing thousands of zips one by one. The next time a game refuses to boot, open the audit first and read the filename it prints; that single line almost always names the file you forgot to copy.
Related reading
If you want to keep digging into this corner of the library, these two posts on Roms Get go a little further:
