MAME4ALL-Pi
MAME4ALL-Pi emulates Arcade games and SNK Neo Geo MVS. It reads 3 files, 1 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.
Its BIOS and game sets must come from the MAME 0.37b5 romset. Which version each core reads.
About this profile
Install this emulator's files
With RetroPie: the installer finds RetroPie and its BIOS folder, then downloads only the files MAME4ALL-Pi reads there and checks each one.
Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://raw.githubusercontent.com/Abdess/retrobios/main/install.sh | sh -s -- --emulator mame4allTechnical notes
Raspberry Pi port by Squid of Franxis' MAME4ALL, itself MAME 0.37b5
(readme.txt:5, src/version.cpp:1). RetroPie builds the tree with make,
installs mame, mame.cfg.template, hiscore.dat, cheat.dat, clrmame.dat,
folders/ and skins/ to its own directory, and launches mame with the
game's base name. Its mame.cfg sets rompath to the mame-mame4all and
arcade ROM directories and samplepath to their samples/ folders.
main() moves to the directory holding the binary before anything is
opened, so every relative path below is read from there. mame.cfg comes
from that directory.
ref: src/rpi/rpi.cpp:123-126, src/rpi/config.cpp:93
ROMs and samples are looked up in each rompath or samplepath entry as a
<game>/ folder, then <game>.zip. A clone also searches its parent's set,
and every Neo Geo game names neogeo as parent so that the BIOS does not
have to sit in each archive. rompath defaults to ".;roms", samplepath to
".;samples".
ref: src/rpi/fileio.cpp:349-446, src/common.cpp:140-162, src/rpi/config.cpp:273-274,
src/
hiscore.dat is opened for every game, history.dat and mameinfo.dat when
the game information screen is shown, cheat.dat only with cheat=yes. All
four are opened by bare name from the binary's directory: the cheat
branch builds a path from the cheat directory option and then opens the
bare name instead.
ref: src/rpi/fileio.cpp:950-971, src/cpuintrf.cpp:626-628,
src/usrintrf.cpp:2546, src/mame.cpp:621-623
Paths below are written under mame4all/, which stands for the binary's
directory. clrmame.dat is installed beside them and never opened. The
skins/ bitmaps and folders/Favorites.ini belong to the game list front
end.
ref: src/rpi/gp2x_frontend.cpp:85,107,131
3 files: 1 required, 2 optional. 2 more files come with the app.
By kind: 1 BIOS ZIPs and 4 game data.
In this collection: 3 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, parent of every Neo Geo game
- System: SNK Neo Geo MVS
- Opened from rompath as the parent set. neo-geo.rom, ng-sm1.rom and ng-sfix.rom are declared in every Neo Geo game through the NEO_BIOS_SOUND and NEO_SFIX macros, so a game cannot load without them. The Irritating Maze carries its own im_bios.rom in its set.
- Contents (3 members):
neo-geo.rom: 68K BIOS, 128.0 KB, CRC329036d879ng-sm1.rom: Z80 sound BIOS, 128.0 KB, CRC3297cf998bng-sfix.rom: fix layer tiles, 128.0 KB, CRC32354029fc
Game data
Section titled “Game data”history.dat optional in repo game data
Game history database
- Path:
mame4all/history.dat - System: Arcade games
- Source:
src/datafile.cpp:52,src/datafile.cpp:541,src/rpi/config.cpp:384 - Collection copy:
bios/Arcade/MAME/history.dat
- Read for the game information screen. Not installed.
mameinfo.dat optional in repo game data
Driver information database
- Path:
mame4all/mameinfo.dat - System: Arcade games
- Source:
src/datafile.cpp:53,src/datafile.cpp:568,src/rpi/config.cpp:386 - Collection copy:
bios/Arcade/MAME/mameinfo.dat
- Read with history.dat for the game information screen. Not installed.
Comes with the app
Section titled “Comes with the app”hiscore.dat comes with the app game data
High score memory ranges, HISCORE.DAT version 7.0
- Path:
mame4all/hiscore.dat - System: Arcade games
- Size: 49.6 KB
- SHA1:
830660c510bb185c3278320b2ccbf5f536a1a649 - MD5:
5567b18ff76cf4406c915d9d5deac2f4 - CRC32:
158abd35 - Source:
src/hiscore.cpp:18,src/hiscore.cpp:253-255,src/cpuintrf.cpp:626-628,src/rpi/fileio.cpp:950-962
- Read with every game. Without it no score is saved. The values are those of the file the repository installs.
cheat.dat comes with the app game data
Pugsy's cheat database of 18 May 2000
- Path:
mame4all/cheat.dat - System: Arcade games
- Size: 1.5 MB
- SHA1:
c0f20911b6f929ecd8302863d9ced3e5ba9c6b97 - MD5:
c5b456237958c7a7c120a8ad710786a0 - CRC32:
ae2b9dbb - Source:
src/cheat.cpp:210,src/cheat.cpp:616-618,src/rpi/config.cpp:379-382,src/rpi/fileio.cpp:965-971
- Read only when the cheat option is on (cheat=no in the installed mame.cfg). The cheatfile option renames it. The values are those of the file the repository installs.
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