mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 12:33:53 -06:00
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.