Files
libretro/emulators/mame2000.yml
T
Abdessamad Derraz a8cfd20f49 fix: place MAME 2016 and older sets by the game
MAME 2000, 2003, 2003-Plus, 2009, 2010, 2014, 2015, 2016 and UME 2015
search the folder of the loaded game for their sets and never the system
folder: osd_get_path gives FILETYPE_ROM the content path (mame2003 and
mame2003-plus src/fileio.c:217-220), -rompath is MgamePath (mame2009
retromain.c:432-434, mame2014 retromain.c:1851-1856, mame2015 and
ume2015 retromain.c:1980-2042, mame2016 retromain.cpp:1364-1402), ROMs
open with libretro_content_directory (mame2010 romload.c:667-685) or
IMAMEBASEPATH (mame2000 libretro.c:1044-1053, 1247). Their 421 sets are
load_from: content_dir. Samples, artwork, cheats and the data files read
from the system folder keep their paths.

A set read beside the game goes to the roms folder of each system the
platform launches the core for: libretro_systems, the default core of a
rom folder, the cores a system offers under its own name, the systems a
RetroPie package registers (the lr-mess packages build SUBTARGET=mess,
lr-mess2016.sh:31, and read none of these arcade sets). A roms root in
the install tree takes a plain dest, as a standalone entry placed there.
A platform with no folder per system, or none it can place (RetroArch,
Lakka, RetroBat, EmuDeck, MyMinUI), names the set as read outside the
BIOS folder. EmulatorJS writes the BIOS and the game to one folder
(emulator.js:845, 990, 1054): RomM keeps its firmware entries. Game data
read beside the content is left to the game.

Manifests: roms folders gain 408 files on RetroDECK, 182 on RetroPie,
179 on Recalbox, 140 on AmberELEC, 134 on KNULLI, 52 on Batocera and
ROCKNIX, 39 on EmuELEC. BIOS root copies no other core reads leave: 80
on RetroArch, Lakka and ROCKNIX, 61 on EmuELEC, 60 on Recalbox, 59 on
AmberELEC, 57 on RetroPie, 26 on MyMinUI, 20 on RetroDECK, 19 on
Batocera and EmuDeck, 16 on KNULLI, 13 on RetroBat. verify --all keeps
its severity and status counts.
2026-11-11 11:11:24 +01:00

115 lines
3.7 KiB
YAML

emulator: MAME 2000
type: libretro
core_classification: frozen_snapshot
source: "https://github.com/libretro/mame2000-libretro"
upstream: "https://www.mamedev.org"
profiled_date: "2026-03-24"
source_commit: "181b42e5da0d2f0c7a2e59244f23633ed594de2e"
core_version: "0.37b5"
version_basis:
kind: file
path: "src/libretro/libretro.c"
pattern: 'info->library_version\s+=\s+"([^"]+)'
display_name: "Arcade (MAME 2000)"
cores:
- mame2000
- imame4all
systems:
- snk-neogeo-mvs
- deco-cassette
- arcade
notes: |
Frozen snapshot of MAME 0.37b5 via iMAME4All (David Valdeita). Fastest and
least accurate MAME core. Supports ~2000 arcade games from the 0.37b5 ROM set.
BIOS handling follows MAME 0.37b5 conventions. Shared BIOS files are packaged
as parent ROM ZIPs (e.g. neogeo.zip) and placed in the ROM directory alongside
game ROMs. The core searches only the ROM directory for ROMs and BIOS sets:
the rom path is IMAMEBASEPATH, the folder of the loaded content
(src/libretro/libretro.c:1044-1053, 1247, src/libretro/fileio.c:400-424).
Samples (per-game WAV files) are loaded from system_dir/mame2000/samples/.
They provide sound effects for certain games and are optional.
hiscore.dat, history.dat and mameinfo.dat are loaded from the ROM directory.
cheat.dat is loaded from system_dir/mame2000/cheat/.
hiscore.dat and cheat.dat are bundled in the core repo (metadata/).
files:
- name: hiscore.dat
load_from: content_dir
required: false
category: game_data
system: arcade
sha1: "21ddda0c61bd4f1cc04fb9d09e16d403d620f9e8"
md5: "9b262149ec70cbda741a8ba55784f8e1"
size: 36182
source_ref: "src/hiscore.c:18,132-146,252-254, src/cpuintrf.c:664-666, src/libretro/fileio.c:1002-1014, src/libretro/libretro.c:1044-1052"
note: >-
high score definitions, opened from IMAMEBASEPATH, the directory of the loaded content. metadata/hiscore.dat
of the core repository. is_mem_range reads only "cpu:addr:len:start:end"
lines under a "gamename:" header.
- name: cheat.dat
path: "mame2000/cheat/cheat.dat"
required: false
category: game_data
system: arcade
source_ref: "src/cheat.c:210, src/cheat.c:618, src/cheat.c:833"
note: "cheat definitions, loaded from system_dir/mame2000/cheat/"
- name: history.dat
load_from: content_dir
required: false
category: game_data
system: arcade
source_ref: "src/datafile.c:52,281,541, src/libretro/fileio.c:1002-1014"
note: "game history database, opened from IMAMEBASEPATH, the directory of the loaded content"
- name: mameinfo.dat
load_from: content_dir
required: false
category: game_data
system: arcade
source_ref: "src/datafile.c:53,281,568, src/libretro/fileio.c:1002-1014"
note: "game technical info database, opened from IMAMEBASEPATH, the directory of the loaded content"
- name: neogeo.zip
required: true
category: bios_zip
load_from: content_dir
system: snk-neogeo-mvs
source_ref: "src/drivers/neogeo.c:4499-4508"
contents:
- name: neo-geo.rom
description: 68K BIOS
size: 131072
crc32: "9036d879"
- name: ng-sm1.rom
description: Z80 sound BIOS
size: 131072
crc32: "97cf998b"
- name: ng-sfix.rom
description: fix layer tiles
size: 131072
crc32: "354029fc"
- name: decocass.zip
required: true
category: bios_zip
load_from: content_dir
system: deco-cassette
source_ref: "src/drivers/btime.c:1996-2005"
contents:
- name: rms8.cpu
description: 6502 BIOS
size: 4096
crc32: "23d929b7"
- name: rms8.snd
description: audio CPU
size: 2048
crc32: "b66b2c2a"