From adac87ec32429389715926022530007f4775aaac Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 10 Nov 2026 11:50:38 +0100 Subject: [PATCH] feat: name the ROM folder option of QUASI88kai -romdir replaces the ROM directory (src/getconf.cpp:282-290, 529), and RetroPie writes -romdir $biosdir/pc88 into quasi88.ini (scriptmodules/emulators/quasi88.sh:67). Its 19 ROMs move from rom/ to pc88/ in the RetroPie pack, manifest and verify. --- emulators/quasi88kai.yml | 2 ++ tests/test_launcher_placement.py | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/emulators/quasi88kai.yml b/emulators/quasi88kai.yml index 5f149dca2..a5ff83db3 100644 --- a/emulators/quasi88kai.yml +++ b/emulators/quasi88kai.yml @@ -16,6 +16,8 @@ built_by: [retropie] systems: - nec-pc-88 - nec-pc-80 +standalone_directories: + - "-romdir = rom" notes: | Continuation of Showzoh Fukunaga's QUASI88, version 0.7.1 at the pinned diff --git a/tests/test_launcher_placement.py b/tests/test_launcher_placement.py index 107767814..95170a93a 100644 --- a/tests/test_launcher_placement.py +++ b/tests/test_launcher_placement.py @@ -705,5 +705,21 @@ class AetherSX2OnKnulli(unittest.TestCase): self.assertEqual(entry.get("unplaced"), "outside_bios_folder", path) +class Quasi88OnRetroPie(unittest.TestCase): + """RetroPie writes -romdir $biosdir/pc88 into quasi88.ini (quasi88.sh:67).""" + + def test_the_roms_land_in_pc88(self) -> None: + profile = load_emulator_profiles(str(REPO_ROOT / "emulators"))["quasi88kai"] + config = load_platform_config("retropie", str(REPO_ROOT / "platforms")) + (view, standalone), = platform_layouts("quasi88kai", profile, standalone_set(config)) + self.assertTrue(standalone) + paths = [e["path"] for e in view["files"]] + self.assertTrue(paths and all(p.startswith("rom/") for p in paths)) + self.assertEqual( + [e["standalone_path"] for e in view["files"]], + ["pc88/" + p.removeprefix("rom/") for p in paths], + ) + + if __name__ == "__main__": unittest.main()