RAINE
RAINE emulates Arcade games, SNK Neo Geo MVS and SNK Neo Geo CD. It reads 10 files, 2 of them required: without a required file it does not start games. A required file is needed only by the machines that use it. Each file below cites the line of source code that reads it.
About this profile
Install this emulator's files
With RetroBat: the installer finds RetroBat and its BIOS folder, then downloads only the files RAINE reads there and checks each one.
Open the Start menu. Type PowerShell and open it. Paste the line. Press Enter.
&([scriptblock]::Create((irm https://raw.githubusercontent.com/Abdess/retrobios/main/install.ps1))) --emulator raineTechnical notes
Multi-system arcade emulator by Emmanuel Anne, built on SDL2. RetroBat installs a package whose raine.exe reports 0.97.5 and carries the joystick dead zone setting added on 2025-03-15, one day before the build date, so the pin is the last commit before that build. Its hiscore.dat, command.dat and history.dat are byte for byte the ones at that commit.
emulatorlauncher runs raine.exe -n -fs 0|1 <set> from the package folder
and rewrites config/raine32_sdl.cfg first: rom_dir_0 is the folder of the
game, rom_dir_1 the RetroBat bios folder, neocd_bios points at
bios/neocdz.zip, emudx and artwork stay under the package, and the Neo-Geo
BIOS selection defaults to 25
(emulatorLauncher Generators/Raine.Generator.cs:76-142).
A set is loaded from each rom_dir in turn as <set>.zip, <set>.7z or a
<set>/ folder (source/loadroms.c:258-275). Inside an archive a ROM is found
by CRC32 first and by name second (source/files.c:370-403). A ROM missing
from the set and its parents ends the load with a fatal error
(source/loadroms.c:1302-1317). The Windows build has curl and, before
giving up, offers to download a missing archive from archive.org, neogeo.zip
included (source/loadroms.c:1200-1240).
Files read from the shared folder go through get_shared, which tries the
current directory, then the share path, then share path config/
(source/files.c:50-95). On Windows the share path is the folder of the
executable (source/raine.c:378).
10 files: 2 required, 8 optional. 4 more files come with the app.
By kind: 1 BIOS, 1 BIOS ZIPs and 12 game data.
| File | Required | Hash |
|---|---|---|
neogeo.zip |
for SNK Neo Geo MVS | - |
neocd.bin |
for SNK Neo Geo CD | - |
emudx/dkongm.dx2 |
no | - |
emudx/dkongg.dx2 |
no | - |
emudx/froggerm.dx2 |
no | - |
emudx/froggerg.dx2 |
no | - |
emudx/galdxm.dx2 |
no | - |
emudx/galdxg.dx2 |
no | - |
emudx/pacmang.dx2 |
no | - |
emudx/mspacmang.dx2 |
no | - |
hiscore.dat |
with the app | MD5 c996961db77b |
history.dat |
with the app | MD5 4941042df918 |
command.dat |
with the app | MD5 0ed03c88b93b |
gamecontrollerdb.txt |
with the app | MD5 0727c8530c51 |
In this collection: 10 in repo and 0 missing.
Required
Section titled “Required”neogeo.zip required for SNK Neo Geo MVS in repo BIOS ZIP
Neo-Geo BIOS set
- System: SNK Neo Geo MVS
- Parent of every MVS set (ROMOF("neogeo") in the drivers). The board ROMs come from rom_neogeo and the 68K BIOS from the rom_bios list, picked by the [neogeo] bios index (
source/neocd/neocd.c:159-161). Index 0 is sp-s2.sp1, RetroBat writes 25 by default, uni-bios_3_2.rom. The selected BIOS, sm1.sm1, 000-lo.lo and sfix.sfix are read for every MVS game, and a missing one ends the load. Members are matched by CRC32, so sp-s3.sp1 answers for asia-s3.rom.
- Contents (31 members):
sp-s2.sp1: 128.0 KB, CRC329036d879sp-s.sp1: 128.0 KB, CRC32c7f2fa45sp-u2.sp1: 128.0 KB, CRC32e72943desp-e.sp1: 128.0 KB, CRC322723a5b5asia-s3.rom: 128.0 KB, CRC3291b64be3vs-bios.rom: 128.0 KB, CRC32f0e8f27dsp-j2.sp1: 128.0 KB, CRC32acede59csp1.jipan.1024: 128.0 KB, CRC329fb0abe4sp-45.sp1: 512.0 KB, CRC3203cc9f6ajapan-j3.bin: 128.0 KB, CRC32dff6d41fsp-1v1_3db8c.bin: 128.0 KB, CRC32162f0ebeuni-bios_3_1.rom: 128.0 KB, CRC320c58093funi-bios_3_0.rom: 128.0 KB, CRC32a97c89a9uni-bios_2_3.rom: 128.0 KB, CRC3227664eb5uni-bios_2_2.rom: 128.0 KB, CRC322d50996auni-bios_2_1.rom: 128.0 KB, CRC328dabf76buni-bios_2_0.rom: 128.0 KB, CRC320c12c2aduni-bios_1_3.rom: 128.0 KB, CRC32b24b44a0uni-bios_1_2.rom: 128.0 KB, CRC324fa698e9uni-bios_1_1.rom: 128.0 KB, CRC325dda0d84uni-bios_1_0.rom: 128.0 KB, CRC320ce453a0neodebug.rom: 128.0 KB, CRC32698ebb7dneo-epo.sp1: 128.0 KB, CRC32d27a71f1neo-po.sp1: 128.0 KB, CRC3216d0c132236-bios.sp1: 128.0 KB, CRC32853e6b96uni-bios_3_2.rom: 128.0 KB, CRC32a4e8b9b3uni-bios_3_3.rom: 128.0 KB, CRC3224858466uni-bios_4_0.rom: 128.0 KB, CRC32a7aab458sm1.sm1: 128.0 KB, CRC3294416d67000-lo.lo: 128.0 KB, CRC325a86cff2sfix.sfix: 128.0 KB, CRC32c2ea0cfd
neocd.bin required for SNK Neo Geo CD in repo
Neo-Geo CD BIOS
- System: SNK Neo Geo CD
- Size: 512.0 KB
- Source:
source/neocd/neocd.c:335-385 - Collection copy:
bios/SNK/Neo Geo CD/neocd.bin - Platforms: AmberELEC:
bios/neocd/neocd_z.rom, Batocera:neocd/neocd.bin, EmuELEC:bios/neocd/neocd_z.rom, KNULLI:neocd/neocd.bin, Lakka:neocd/neocd.bin, MiSTer FPGA:NeoGeo-CD/neocd.bin, Recalbox:neocd/neocd.bin, RetroArch:neocd/neocd.bin, RetroBat:neocd/neocd.bin, RetroDECK:bios/neocd.bin, RetroPie:neocd/neocd.bin, RomM:neo-geo-cd/neocd.bin
- Path from [neocd] neocd_bios (
source/raine.c:564). Left empty, neocd.bin then neocd.zip are looked up through get_shared. A path ending in zip is opened and its neocd.bin member read by name, anything else is read raw, 0x80000 bytes. Nothing found opens a file dialog once, then the program exits. The image is byte swapped when the word at 0x582 reads f94e and rejected unless it then reads 4ef9. RetroBat sets neocd_bios to neocdz.zip in its bios folder, which must hold a neocd.bin member.
Game data
Section titled “Game data”8 files
dkongm.dx2 optional in repo game data
EmuDX sound pack, Donkey Kong
- Path:
emudx/dkongm.dx2 - System: Arcade games
- Source:
source/emudx.c:29-46,source/games/dkong.c:832-837 - Collection copy:
bios/Arcade/ Arcade/ emudx/ dkongm.dx2
- Without it dkong and dkongjp run with no sound and a warning.
dkongg.dx2 optional in repo game data
EmuDX graphics pack, Donkey Kong
- Path:
emudx/dkongg.dx2 - System: Arcade games
- Source:
source/games/dkong.c:839-860 - Collection copy:
bios/Arcade/ Arcade/ emudx/ dkongg.dx2
froggerm.dx2 optional in repo game data
EmuDX sound pack, Frogger
- Path:
emudx/froggerm.dx2 - System: Arcade games
- Source:
source/games/ frogger.c:1444-1449 - Collection copy:
bios/Arcade/ Arcade/ emudx/ froggerm.dx2
- Without it the EmuDX Frogger runs with no sound and a warning.
froggerg.dx2 optional in repo game data
EmuDX graphics pack, Frogger
- Path:
emudx/froggerg.dx2 - System: Arcade games
- Source:
source/games/ frogger.c:1451-1458 - Collection copy:
bios/Arcade/ Arcade/ emudx/ froggerg.dx2
galdxm.dx2 optional in repo game data
EmuDX sound pack, Galaxian
- Path:
emudx/galdxm.dx2 - System: Arcade games
- Source:
source/games/frogger.c:1263,source/games/galaga.c:1082 - Collection copy:
bios/Arcade/ Arcade/ emudx/ galdxm.dx2
galdxg.dx2 optional in repo game data
EmuDX graphics pack, Galaxian
- Path:
emudx/galdxg.dx2 - System: Arcade games
- Source:
source/games/ frogger.c:1466-1473 - Collection copy:
bios/Arcade/ Arcade/ emudx/ galdxg.dx2
pacmang.dx2 optional in repo game data
EmuDX graphics pack, Pac-Man
- Path:
emudx/pacmang.dx2 - System: Arcade games
- Source:
source/games/pengo.c:1853-1860 - Collection copy:
bios/Arcade/ Arcade/ emudx/ pacmang.dx2
mspacmang.dx2 optional in repo game data
EmuDX graphics pack, Ms. Pac-Man bootleg
- Path:
emudx/mspacmang.dx2 - System: Arcade games
- Source:
source/games/pengo.c:1853-1860 - Collection copy:
bios/Arcade/ Arcade/ emudx/ mspacmang.dx2
Comes with the app
Section titled “Comes with the app”4 files
hiscore.dat comes with the app game data
High score save definitions
- Size: 80.5 KB
- SHA1:
4c1d58f7c1830694933e472ec1289060f7083fa9 - MD5:
c996961db77b48b54a2daa3cda12da0d - Source:
source/hiscore.c:24,source/hiscore.c:303
history.dat comes with the app game data
Game history text
- Size: 1.9 MB
- SHA1:
ce810602b74214726059bbd12e8010dc077aef3d - MD5:
4941042df918f0f1370e2b70d0f7d0de - Source:
source/history.c:56,source/emumain.c:642-647
command.dat comes with the app game data
Move lists
- Size: 1.4 MB
- SHA1:
0b358f637e01b10f7a4d45b774ebf7950fcec466 - MD5:
0ed03c88b93b036f2f0035f32b200f27 - Source:
source/history.c:56,source/emumain.c:642-647
gamecontrollerdb.txt comes with the app game data
SDL gamepad mappings
- Size: 492.3 KB
- SHA1:
9963636d2f9decc72e36bb3c5a9f568ad6a74710 - MD5:
0727c8530c51fbd030c710d2af4389cb - Source:
source/sdl/control.c:2396-2405
- Added to SDL when present, followed by config/userdb.txt. The RetroBat package carries a different revision of this file.
Next steps
Section titled “Next steps”- Get your files, for the setup you play on
- Every system, and the files each one needs
- When a game does not start