fix: read EmuDeck's MAME in ES-DE's rom folders

EmuDeck writes mame.ini rompath ${romsPath}/arcade;${biosPath};
${biosPath}/mame (emuDeckMAME.sh:66-68). Steam ROM Manager starts MAME
through tools/launchers/mame.sh with the game alone, so that list is
read there. Every standalone MAME command of ES-DE v3.5.0, which EmuDeck
installs, passes -rompath %GAMEDIR%\;%ROMPATH%/<system>, and the command
line outranks mame.ini. A set the mame.ini record places keeps that
place and also goes to each folder a command passes for a machine that
reads it.

The Model 3 folder, live in EmuDeck's list and commented out in
RetroDECK's, holds the machines of sega/model3.cpp.

Manifests: EmuDeck gains 1483 files (466.7 MB) below roms/, 480 each in
arcade, consolearcade and mame, the others in adam, daphne, laserdisc,
macintosh and 15 more. The pack ZIP does not change, roms/ being
written by the installer. No file leaves.
This commit is contained in:
Abdessamad Derraz committed 2026-11-11 12:32:06 +01:00
1 parent 7035da1154
commit 852ce19ca9
2 files changed
+35 -5

No files matched your search

+13
View File
@@ -1174,6 +1174,19 @@ class LibretroMameOnEsdeRomPaths(unittest.TestCase):
self.assertEqual(places, {("", "mame/bios/gamate.zip"), read}, platform)
class StandaloneMameOnEmuDeck(unittest.TestCase):
"""EmuDeck writes mame.ini rompath roms/arcade;bios;bios/mame
(emuDeckMAME.sh:66-68), read when Steam ROM Manager starts MAME with no
-rompath (tools/launchers/mame.sh). ES-DE's commands pass their own."""
def test_a_set_keeps_its_ini_place_and_gains_the_command_folder(self) -> None:
view = standalone_view("mame", "emudeck")
places = {(e.get("root") or "", e["standalone_path"]) for e in view["files"]
if e["name"] == "adam.zip"}
self.assertIn(("", "adam.zip"), places)
self.assertIn(("roms", "adam/adam.zip"), places)
class MacBootDisksOnKnulli(unittest.TestCase):
def test_the_hard_records_bind(self) -> None:
# mameGenerator.py and libretroMAMEConfig.py pass the boot disk as