# Arcade ROM Sets
Building a ROM set that works with the _exact_ version of your arcade emulator is necessarily complicated, and the terminology is confusing.
This page is written to give users just enough context to build & re-build arcade ROM sets. [MAME](https://docs.mamedev.org/usingmame/aboutromsets.html), [MAMEWorld](https://easyemu.mameworld.info/mameguide/getting_started/about_roms.html), [Pleasuredome](https://pleasuredome.miraheze.org/wiki/Main_Page), [RetroArch](https://docs.libretro.com/guides/arcade-getting-started), and [RetroPie](https://retropie.org.uk/docs/Validating%2C-Rebuilding%2C-and-Filtering-ROM-Collections/?h=merge#validating-and-rebuilding-roms) are great resources to read more about the nuances of arcade emulation & ROM sets.
!!! warning
People often shorthand all arcade emulation as "MAME," but there are other modern and actively maintained arcade emulators such as [FinalBurn Neo](https://github.com/finalburnneo/FBNeo). Different emulators have different needs, so it's important to understand what emulator and what version you're using.
## Emulator versions & DATs
Unlike traditional console emulators that only have to emulate a small set of hardware, arcade emulators have the monumental task of emulating a wildly varying number of hardware chips, inputs, and outputs. This results in each version of an emulator having a very specific set of games it can emulate, and newer emulator versions will likely add more games to this set.
Due to arcade machines being more complicated and rarer than games for home consoles, arcade ROM dumps are sometimes imperfect. Because of this, newer emulator versions may expect different ROM files than older versions. This makes ROM sets potentially incompatible between different emulator versions.
Because of all of these reasons, each arcade emulator version usually comes with a companion [DAT](../dats/introduction.md#arcade-dats) that details the _exact_ set of ROM files supported by that _exact_ emulator version. Emulators such as [MAME](https://www.mamedev.org/) take this a step further and expect an _exact_ zip file name for each game.
!!! danger
tl;dr each arcade emulator version has an _exact_ DAT file you need to use to sort your ROMs or your games may not work!
## Finding DATs
Here is a chart of instructions for various setups:
| Emulator | How to get DATs | Alternatives |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Frontends ([Batocera](desktop/batocera.md), [EmulationStation](desktop/emulationstation.md), [Lakka](desktop/lakka.md), [Recalbox](desktop/recalbox.md), [RetroArch](desktop/retroarch.md), [RetroPie](desktop/retropie.md), etc.) | Each frontend's documentation should have instructions or links to download the appropriate DAT(s). For example, [RetroArch's arcade docs](https://docs.libretro.com/guides/arcade-getting-started/#step-3-use-the-correct-version-romsets-for-that-emulator) links to the exact DAT needed for each arcade core. | N/A |
| [MAME](https://www.mamedev.org/) | The easiest way to ensure you're using _exactly_ the right DAT for your MAME version is to provide the executable as `--dat ./mame`. See the [DAT scanning page](../dats/scanning.md) for more information. | A standalone download of the latest MAME ListXML can be found on the [official site](https://www.mamedev.org/release.html). See the [DATs page](../dats/introduction.md#dat-release-groups) for other alternatives. |
| [FinalBurn Neo](https://github.com/finalburnneo/FBNeo) | FinalBurn Neo doesn't provide an obvious way to find the correct DAT for each version. But it is likely that you are using FinalBurn Neo through a frontend, so use the above instructions.
If you are using RetroArch's [FinalBurn Neo core](https://docs.libretro.com/library/fbneo/) then you can use [their DATs](https://github.com/libretro/FBNeo/tree/master/dats) from GitHub. | N/A |
| [FinalBurn Alpha](https://www.fbalpha.com/) | FinalBurn Alpha was forked into FinalBurn Neo, so you should use that if possible. Otherwise, hopefully your frontend's documentation has links to download the correct DAT. | N/A |
## ROM set merge types
There are three broadly accepted types of ROM sets, with one extra variation, resulting in four types.
First, you will want to read up on [parent/clone](../dats/introduction.md#parentclone-pc-dats) sets and how DATs catalog them.
Here is a comparison chart:
| Type | Parent games | Clone games | BIOS & hardware device ROMs | Pros & cons |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Full non-merged** The ROM set for each game contains every file necessary, including all ROM+CHD files from its parent, and BIOS & hardware device ROMs. This is the most space-inefficient way to store games because parent, BIOS, and hardware device ROMs+CHDs will be duplicated potentially multiple times, but this type offers the greatest portability. _Note: other tools such as [ClrMamePro](https://mamedev.emulab.it/clrmamepro/) don't offer this as a standalone type, but instead offer an option to not separate BIOS sets_.
`--merge-roms fullnonmerged` (default) | ✅ Contains all of its own ROMs+CHDs, as well as BIOS & hardware device ROMs | ✅ Contains all of its own ROMs+CHDs and its parent's ROMs+CHDs, as well as BIOS & hardware device ROMs | ✅ Included | Most disk space, but game files can be played entirely in isolation.
Makes for a safe default choice because of the portability of output files. |
| **Non-merged** The ROM set for each game contains all game files, including all ROM+CHD files from its parent, _without_ BIOS & hardware device ROMs. This means that games will depend on BIOS and hardware device ROMs existing in other archives. _Note: [Pleasuredome](https://pleasuredome.miraheze.org/wiki/MAME_Split_Merged_and_Non-Merged_Sets) includes BIOS files in their non-merged sets in a non-standard way._
`--merge-roms nonmerged` | Contains all of its own ROMs+CHDs, _without_ BIOS & hardware device ROMs | 👪 Contains all of its own ROMs+CHDs and its parent's ROMs+CHDs, _without_ BIOS & hardware device ROMs | ⬅️ Expected to exist elsewhere | Game files can be played mostly in isolation while eliminating frequently duplicated BIOS & device hardware ROMs. |
| **Split** The ROM set for each game contains only its own files, _excluding_ any ROMs/CHDs that are already present in its parent.
`--merge-roms split` | Contains all of its own ROMs+CHDs, _without_ BIOS & hardware device ROMs | 👶 Contains _only_ its own ROMs+CHDs, _excluding_ any ROMs/CHDs already present in its parent, and _without_ BIOS & hardware device ROMs | ⬅️ Expected to exist elsewhere | Smallest amount of disk usage that still keeps clone games as separate files.
Makes for a good choice because of its high compatibility with emulator frontends while also saving disk space. |
| **Merged** The ROM set for each game and all of its clones are merged together, eliminating duplicate ROMs/CHDs and preserving disk space. _Note: most downloads found online will be in this format because it is the most space-efficient._
`--merge-roms merged` | Contains all of its own ROMs+CHDs, _without_ BIOS & hardware device ROMs | ➡️ Merged into its parent | ⬅️ Expected to exist elsewhere | Least disk space, but emulators such as RetroArch may not be able to automatically detect clones. |
The ROM merge type can be specified with the `--merge-roms ` option, with the types described above:
=== ":fontawesome-brands-windows: Windows"
```batch
igir copy zip ^
--dat "mame0288b_64bit.exe" ^
--input ^
--output