diff --git a/README.md b/README.md index ea3791e2..326382d9 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Pick your platform, download the ZIP, extract to the BIOS path. | BizHawk | 118 | `Firmware/` | [Download](../../releases/latest) | | EmuDeck | 161 | `Emulation/bios/` | [Download](../../releases/latest) | | Lakka | 530 | `system/` | [Download](../../releases/latest) | -| ROCKNIX | 38 | | [Download](../../releases/latest) | +| ROCKNIX | 38 | `/storage/roms/bios/` | [Download](../../releases/latest) | | Recalbox | 346 | `/recalbox/share/bios/` | [Download](../../releases/latest) | | RetroArch | 530 | `system/` | [Download](../../releases/latest) | | RetroBat | 341 | `bios/` | [Download](../../releases/latest) | @@ -139,4 +139,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines. This repository provides BIOS files for personal backup and archival purposes. -*Auto-generated on 2026-08-06T18:11:39Z* +*Auto-generated on 2026-08-07T09:21:54Z* diff --git a/install.py b/install.py index dbf47acd..f8150885 100644 --- a/install.py +++ b/install.py @@ -47,6 +47,7 @@ DEFAULT_DESTS = { "lakka": Path("/storage/system"), "retrodeck": Path.home() / "retrodeck", "emudeck": Path.home() / "Emulation" / "bios", + "rocknix": Path("/storage/roms/bios"), } @@ -198,7 +199,7 @@ def _detect_embedded() -> list[tuple[str, Path]]: os_id = os_release.get("ID", "").lower() if os_id == "rocknix": - found.append(("retroarch", Path("/storage/roms/bios"))) + found.append(("rocknix", Path("/storage/roms/bios"))) return found if Path("/etc/knulli-release").exists(): @@ -617,7 +618,7 @@ def main() -> None: if args.list_platforms: available = [ "retroarch", "batocera", "recalbox", "retrobat", - "emudeck", "lakka", "retrodeck", "romm", "bizhawk", + "emudeck", "lakka", "retrodeck", "rocknix", "romm", "bizhawk", ] print("Available platforms:") for p in available: diff --git a/install/rocknix.json b/install/rocknix.json index af6ba7ea..d099cb2b 100644 --- a/install/rocknix.json +++ b/install/rocknix.json @@ -4,14 +4,15 @@ "platform": "rocknix", "display_name": "ROCKNIX", "version": "1.0", - "generated": "2026-08-06T18:10:38Z", + "generated": "2026-08-07T09:24:57Z", "base_destination": "bios", "detect": [ { "os": "linux", - "method": "os_release_id", - "value": "rocknix", - "path": "/storage/roms/bios" + "method": "file_exists", + "file": "/etc/os-release", + "match": "ID=rocknix", + "bios_path": "/storage/roms/bios" } ], "standalone_copies": [], diff --git a/platforms/_registry.yml b/platforms/_registry.yml index 7513377a..f1c1453d 100644 --- a/platforms/_registry.yml +++ b/platforms/_registry.yml @@ -1624,9 +1624,10 @@ platforms: install: detect: - os: linux - method: os_release_id - value: rocknix - path: /storage/roms/bios + method: file_exists + file: /etc/os-release + match: 'ID=rocknix' + bios_path: /storage/roms/bios retropie: config: retropie.yml status: archived diff --git a/scripts/generate_readme.py b/scripts/generate_readme.py index c15ea053..fdc4633a 100644 --- a/scripts/generate_readme.py +++ b/scripts/generate_readme.py @@ -194,6 +194,7 @@ def generate_readme(db: dict, platforms_dir: str) -> str: "RetroDECK": "`~/retrodeck/bios/`", "EmuDeck": "`Emulation/bios/`", "RomM": "`bios/{platform_slug}/`", + "ROCKNIX": "`/storage/roms/bios/`", } for name, cov in sorted(coverages.items(), key=lambda x: x[1]["platform"]):