From 1cedc9930bfba72199b05ed1b89e0f20b48fe1e1 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 10 Oct 2026 10:56:09 +0200 Subject: [PATCH] fix: let search order guard regional files --- install.ps1 | 2 +- install.py | 27 ++- install.sh | 2 +- install/batocera.json | 270 ++++++++++++++++-------- install/bizhawk.json | 24 ++- install/emudeck.json | 246 ++++++++++++++-------- install/lakka.json | 302 +++++++++++++++++---------- install/recalbox.json | 270 ++++++++++++++++-------- install/retroarch.json | 302 +++++++++++++++++---------- install/retrobat.json | 30 ++- install/retrodeck.json | 276 ++++++++++++++++-------- install/retropie.json | 276 ++++++++++++++++-------- install/rocknix.json | 276 ++++++++++++++++-------- install/romm.json | 24 ++- schemas/install-manifest.schema.json | 8 + scripts/manifestselect.py | 7 +- scripts/region.py | 55 ++++- tests/test_install_selection.py | 7 +- tests/test_region.py | 21 ++ 19 files changed, 1635 insertions(+), 790 deletions(-) diff --git a/install.ps1 b/install.ps1 index 1832895f..49faa7a0 100644 --- a/install.ps1 +++ b/install.ps1 @@ -8,7 +8,7 @@ param( $ErrorActionPreference = "Stop" $defaultInstallUrl = "https://raw.githubusercontent.com/Abdess/retrobios/main/install.py" -$defaultInstallSha256 = "0ed41bd31c30985281983309ec97162a7ae0176d737340bb728103efabae81f1" +$defaultInstallSha256 = "44492e7dea7639fec18b2b9c040606481b11dd7a91987e8b2548313fc82c902d" $maximumInstallerBytes = 2MB $installer = if ($PSScriptRoot) { Join-Path $PSScriptRoot "install.py" } else { $null } $temporary = $null diff --git a/install.py b/install.py index 6123e0e9..d346bc46 100644 --- a/install.py +++ b/install.py @@ -1110,9 +1110,9 @@ def region_drops( The pack builder's rule (region.resolve_region_drops), replayed over the groups the manifest records. Per group, the best-ranked regional file - stays; a world file beats unmatched regional ones; when nothing matches - and no world file exists, every regional file stays, so a group is never - emptied. A file with no region never competes and always stays. + stays; a world file beats unmatched regional ones the code does not search + before it (`priority`, lower first); when nothing matches and no world + file exists, every regional file stays, so a group is never emptied. A file with no region never competes and always stays. A core extra competes whatever systems are chosen; a platform's own declaration competes only when its system is kept, as in the pack. @@ -1120,7 +1120,7 @@ def region_drops( if not requested: return set() kept_systems = set(systems) if systems else None - groups: dict[str, list[tuple[set, str]]] = {} + groups: dict[str, list[tuple[set, str, object]]] = {} for entry in entries: regions = entry.get("regions") if not regions: @@ -1130,15 +1130,19 @@ def region_drops( group for group in entry.get("region_system_groups") or [] if kept_systems is None or group in kept_systems ] + priority = entry.get("priority") + if not isinstance(priority, int) or isinstance(priority, bool): + priority = None for group in joined: - groups.setdefault(group, []).append((set(regions), entry["dest"])) + groups.setdefault(group, []).append((set(regions), entry["dest"], priority)) keep: set[str] = set() drop: set[str] = set() for members in groups.values(): - world = {dest for regions, dest in members if WORLD_REGION in regions} + world = {dest for regions, dest, _p in members if WORLD_REGION in regions} + ranks = {dest: priority for _regions, dest, priority in members} regional = [ (_region_rank(regions, requested), dest) - for regions, dest in members + for regions, dest, _p in members if WORLD_REGION not in regions ] keep |= world @@ -1150,7 +1154,14 @@ def region_drops( keep |= {dest for rank, dest in matched if rank == best} drop |= {dest for _rank, dest in regional} elif world: - drop |= {dest for _rank, dest in regional} + world_ranks = [ranks[dest] for dest in world] + best_world = min(world_ranks) if None not in world_ranks else None + for _rank, dest in regional: + ours = ranks[dest] + if best_world is not None and ours is not None and ours < best_world: + keep.add(dest) + else: + drop.add(dest) else: keep |= {dest for _rank, dest in regional} return drop - keep diff --git a/install.sh b/install.sh index 9783cd93..49747189 100755 --- a/install.sh +++ b/install.sh @@ -18,7 +18,7 @@ esac TEMP_INSTALLER="" TEMP_DIRECTORY="" DEFAULT_INSTALL_URL="https://raw.githubusercontent.com/Abdess/retrobios/main/install.py" -DEFAULT_INSTALL_SHA256="0ed41bd31c30985281983309ec97162a7ae0176d737340bb728103efabae81f1" +DEFAULT_INSTALL_SHA256="44492e7dea7639fec18b2b9c040606481b11dd7a91987e8b2548313fc82c902d" MAX_INSTALLER_BYTES=2097152 cleanup() { diff --git a/install/batocera.json b/install/batocera.json index f75f55fa..167554b9 100644 --- a/install/batocera.json +++ b/install/batocera.json @@ -49592,7 +49592,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "scph101_v45.bin", @@ -49650,7 +49651,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "ps2_scph18000.bin", @@ -49669,7 +49671,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30003.bin", @@ -49689,7 +49692,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh10000_0117.bin", @@ -49708,7 +49712,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_0117.bin", @@ -49727,7 +49732,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0217.bin", @@ -49746,7 +49752,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_15000.bin", @@ -49765,7 +49772,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0224.bin", @@ -49784,7 +49792,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30001.bin", @@ -49803,7 +49812,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0727.bin", @@ -49822,7 +49832,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0902.bin", @@ -49841,7 +49852,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30002.bin", @@ -49861,7 +49873,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh30102_0902.bin", @@ -49881,7 +49894,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_0902.bin", @@ -49901,7 +49915,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh003.bin", @@ -49920,7 +49935,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh008.bin", @@ -49939,7 +49955,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30101.bin", @@ -49958,7 +49975,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_35001.bin", @@ -49977,7 +49995,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30102_1228.bin", @@ -49997,7 +50016,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_1228.bin", @@ -50017,7 +50037,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30000.bin", @@ -50036,7 +50057,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_35000.bin", @@ -50055,7 +50077,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0427.bin", @@ -50074,7 +50097,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_0427.bin", @@ -50093,7 +50117,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0704.bin", @@ -50112,7 +50137,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_0704.bin", @@ -50132,7 +50158,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_1004.bin", @@ -50151,7 +50178,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_1004.bin", @@ -50171,7 +50199,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30005r.bin", @@ -50190,7 +50219,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39001.bin", @@ -50209,7 +50239,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39002.bin", @@ -50229,7 +50260,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph37000_39000.bin", @@ -50248,7 +50280,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39008.bin", @@ -50268,7 +50301,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph39005.bin", @@ -50287,7 +50321,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50000.bin", @@ -50306,7 +50341,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_55000.bin", @@ -50325,7 +50361,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50002.bin", @@ -50345,7 +50382,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50002_0227.bin", @@ -50365,7 +50403,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0325.bin", @@ -50384,7 +50423,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0325.bin", @@ -50403,7 +50443,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50009.bin", @@ -50422,7 +50463,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5000.bin", @@ -50441,7 +50483,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph55000_0623.bin", @@ -50460,7 +50503,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0623.bin", @@ -50479,7 +50523,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0623.bin", @@ -50498,7 +50543,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50002_0623.bin", @@ -50518,7 +50564,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50006.bin", @@ -50537,7 +50584,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50005.bin", @@ -50556,7 +50604,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50008.bin", @@ -50576,7 +50625,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50009.bin", @@ -50595,7 +50645,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_0822.bin", @@ -50614,7 +50665,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50004_0822.bin", @@ -50634,7 +50686,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50011.bin", @@ -50653,7 +50706,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70000.bin", @@ -50672,7 +50726,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70001.bin", @@ -50691,7 +50746,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002.bin", @@ -50711,7 +50767,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002_alt.bin", @@ -50731,7 +50788,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh70002.bin", @@ -50751,7 +50809,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph70005.bin", @@ -50770,7 +50829,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5500.bin", @@ -50789,7 +50849,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000.bin", @@ -50808,7 +50869,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75000.bin", @@ -50827,7 +50889,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000a.bin", @@ -50846,7 +50909,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75001.bin", @@ -50865,7 +50929,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75002.bin", @@ -50885,7 +50950,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75006.bin", @@ -50904,7 +50970,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77000.bin", @@ -50923,7 +50990,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77001.bin", @@ -50942,7 +51010,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77002.bin", @@ -50962,7 +51031,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77006.bin", @@ -50981,7 +51051,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_j.bin", @@ -51000,7 +51071,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79000_90000.bin", @@ -51019,7 +51091,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_a.bin", @@ -51038,7 +51111,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79001_90001.bin", @@ -51057,7 +51131,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79002_90002.bin", @@ -51077,7 +51152,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79006_90006.bin", @@ -51096,7 +51172,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90000_0220.bin", @@ -51115,7 +51192,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90001_0220.bin", @@ -51134,7 +51212,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90002_0220.bin", @@ -51154,7 +51233,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90005_0220.bin", @@ -51173,7 +51253,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_kdl22px300.bin", @@ -51193,7 +51274,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "descent.hog", @@ -95925,7 +96007,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "SegaCDBIOS9303.bin", @@ -95941,7 +96024,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "us_scd1_9210.bin", @@ -95970,7 +96054,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "eu_mcd2_9303.bin", @@ -95989,7 +96074,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "eu_mcd1_9210.bin", @@ -96008,7 +96094,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "jp_mcd2_921222.bin", @@ -96027,7 +96114,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "jp_mcd1_9112.bin", @@ -96046,7 +96134,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "jp_mcd1_9111.bin", @@ -96065,7 +96154,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "32X_G_BIOS.BIN", diff --git a/install/bizhawk.json b/install/bizhawk.json index 83174b04..b70e9a59 100644 --- a/install/bizhawk.json +++ b/install/bizhawk.json @@ -10456,7 +10456,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "SegaCDBIOS9303.bin", @@ -10472,7 +10473,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "us_scd1_9210.bin", @@ -10498,7 +10500,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "eu_mcd2_9303.bin", @@ -10514,7 +10517,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "eu_mcd1_9210.bin", @@ -10530,7 +10534,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "jp_mcd2_921222.bin", @@ -10546,7 +10551,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "jp_mcd1_9112.bin", @@ -10562,7 +10568,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "jp_mcd1_9111.bin", @@ -10578,7 +10585,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "PPSSPP/ppge_atlas.zim", diff --git a/install/emudeck.json b/install/emudeck.json index f951bb25..72b18ea5 100644 --- a/install/emudeck.json +++ b/install/emudeck.json @@ -1654,7 +1654,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "scph101_v45.bin", @@ -1712,7 +1713,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "ps2_scph18000.bin", @@ -1731,7 +1733,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30003.bin", @@ -1751,7 +1754,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh10000_0117.bin", @@ -1770,7 +1774,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_0117.bin", @@ -1789,7 +1794,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0217.bin", @@ -1808,7 +1814,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_15000.bin", @@ -1827,7 +1834,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0224.bin", @@ -1846,7 +1854,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30001.bin", @@ -1865,7 +1874,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0727.bin", @@ -1884,7 +1894,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0902.bin", @@ -1903,7 +1914,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30002.bin", @@ -1923,7 +1935,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh30102_0902.bin", @@ -1943,7 +1956,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_0902.bin", @@ -1963,7 +1977,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh003.bin", @@ -1982,7 +1997,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh008.bin", @@ -2001,7 +2017,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30101.bin", @@ -2020,7 +2037,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_35001.bin", @@ -2039,7 +2057,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30102_1228.bin", @@ -2059,7 +2078,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_1228.bin", @@ -2079,7 +2099,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30000.bin", @@ -2098,7 +2119,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_35000.bin", @@ -2117,7 +2139,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0427.bin", @@ -2136,7 +2159,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_0427.bin", @@ -2155,7 +2179,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0704.bin", @@ -2174,7 +2199,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_0704.bin", @@ -2194,7 +2220,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_1004.bin", @@ -2213,7 +2240,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_1004.bin", @@ -2233,7 +2261,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30005r.bin", @@ -2252,7 +2281,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39001.bin", @@ -2271,7 +2301,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39002.bin", @@ -2291,7 +2322,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph37000_39000.bin", @@ -2310,7 +2342,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39008.bin", @@ -2330,7 +2363,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph39005.bin", @@ -2349,7 +2383,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50000.bin", @@ -2368,7 +2403,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_55000.bin", @@ -2387,7 +2423,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50002.bin", @@ -2407,7 +2444,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50002_0227.bin", @@ -2427,7 +2465,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0325.bin", @@ -2446,7 +2485,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0325.bin", @@ -2465,7 +2505,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50009.bin", @@ -2484,7 +2525,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5000.bin", @@ -2503,7 +2545,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph55000_0623.bin", @@ -2522,7 +2565,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0623.bin", @@ -2541,7 +2585,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0623.bin", @@ -2560,7 +2605,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50002_0623.bin", @@ -2580,7 +2626,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50006.bin", @@ -2599,7 +2646,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50005.bin", @@ -2618,7 +2666,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50008.bin", @@ -2638,7 +2687,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50009.bin", @@ -2657,7 +2707,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_0822.bin", @@ -2676,7 +2727,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50004_0822.bin", @@ -2696,7 +2748,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50011.bin", @@ -2715,7 +2768,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70000.bin", @@ -2734,7 +2788,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70001.bin", @@ -2753,7 +2808,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002.bin", @@ -2773,7 +2829,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002_alt.bin", @@ -2793,7 +2850,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh70002.bin", @@ -2813,7 +2871,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph70005.bin", @@ -2832,7 +2891,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5500.bin", @@ -2851,7 +2911,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000.bin", @@ -2870,7 +2931,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75000.bin", @@ -2889,7 +2951,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000a.bin", @@ -2908,7 +2971,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75001.bin", @@ -2927,7 +2991,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75002.bin", @@ -2947,7 +3012,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75006.bin", @@ -2966,7 +3032,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77000.bin", @@ -2985,7 +3052,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77001.bin", @@ -3004,7 +3072,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77002.bin", @@ -3024,7 +3093,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77006.bin", @@ -3043,7 +3113,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_j.bin", @@ -3062,7 +3133,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79000_90000.bin", @@ -3081,7 +3153,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_a.bin", @@ -3100,7 +3173,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79001_90001.bin", @@ -3119,7 +3193,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79002_90002.bin", @@ -3139,7 +3214,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79006_90006.bin", @@ -3158,7 +3234,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90000_0220.bin", @@ -3177,7 +3254,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90001_0220.bin", @@ -3196,7 +3274,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90002_0220.bin", @@ -3216,7 +3295,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90005_0220.bin", @@ -3235,7 +3315,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_kdl22px300.bin", @@ -3255,7 +3336,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "openbios.bin", diff --git a/install/lakka.json b/install/lakka.json index 76b18fae..e07f91e2 100644 --- a/install/lakka.json +++ b/install/lakka.json @@ -8091,7 +8091,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "scph101_v45.bin", @@ -8149,7 +8150,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "ps2_scph18000.bin", @@ -8168,7 +8170,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30003.bin", @@ -8188,7 +8191,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh10000_0117.bin", @@ -8207,7 +8211,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_0117.bin", @@ -8226,7 +8231,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0217.bin", @@ -8245,7 +8251,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_15000.bin", @@ -8264,7 +8271,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0224.bin", @@ -8283,7 +8291,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30001.bin", @@ -8302,7 +8311,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0727.bin", @@ -8321,7 +8331,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0902.bin", @@ -8340,7 +8351,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30002.bin", @@ -8360,7 +8372,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh30102_0902.bin", @@ -8380,7 +8393,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_0902.bin", @@ -8400,7 +8414,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh003.bin", @@ -8419,7 +8434,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh008.bin", @@ -8438,7 +8454,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30101.bin", @@ -8457,7 +8474,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_35001.bin", @@ -8476,7 +8494,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30102_1228.bin", @@ -8496,7 +8515,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_1228.bin", @@ -8516,7 +8536,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30000.bin", @@ -8535,7 +8556,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_35000.bin", @@ -8554,7 +8576,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0427.bin", @@ -8573,7 +8596,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_0427.bin", @@ -8592,7 +8616,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0704.bin", @@ -8611,7 +8636,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_0704.bin", @@ -8631,7 +8657,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_1004.bin", @@ -8650,7 +8677,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_1004.bin", @@ -8670,7 +8698,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30005r.bin", @@ -8689,7 +8718,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39001.bin", @@ -8708,7 +8738,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39002.bin", @@ -8728,7 +8759,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph37000_39000.bin", @@ -8747,7 +8779,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39008.bin", @@ -8767,7 +8800,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph39005.bin", @@ -8786,7 +8820,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50000.bin", @@ -8805,7 +8840,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_55000.bin", @@ -8824,7 +8860,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50002.bin", @@ -8844,7 +8881,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50002_0227.bin", @@ -8864,7 +8902,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0325.bin", @@ -8883,7 +8922,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0325.bin", @@ -8902,7 +8942,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50009.bin", @@ -8921,7 +8962,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5000.bin", @@ -8940,7 +8982,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph55000_0623.bin", @@ -8959,7 +9002,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0623.bin", @@ -8978,7 +9022,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0623.bin", @@ -8997,7 +9042,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50002_0623.bin", @@ -9017,7 +9063,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50006.bin", @@ -9036,7 +9083,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50005.bin", @@ -9055,7 +9103,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50008.bin", @@ -9075,7 +9124,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50009.bin", @@ -9094,7 +9144,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_0822.bin", @@ -9113,7 +9164,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50004_0822.bin", @@ -9133,7 +9185,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50011.bin", @@ -9152,7 +9205,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70000.bin", @@ -9171,7 +9225,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70001.bin", @@ -9190,7 +9245,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002.bin", @@ -9210,7 +9266,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002_alt.bin", @@ -9230,7 +9287,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh70002.bin", @@ -9250,7 +9308,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph70005.bin", @@ -9269,7 +9328,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5500.bin", @@ -9288,7 +9348,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000.bin", @@ -9307,7 +9368,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75000.bin", @@ -9326,7 +9388,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000a.bin", @@ -9345,7 +9408,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75001.bin", @@ -9364,7 +9428,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75002.bin", @@ -9384,7 +9449,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75006.bin", @@ -9403,7 +9469,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77000.bin", @@ -9422,7 +9489,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77001.bin", @@ -9441,7 +9509,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77002.bin", @@ -9461,7 +9530,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77006.bin", @@ -9480,7 +9550,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_j.bin", @@ -9499,7 +9570,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79000_90000.bin", @@ -9518,7 +9590,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_a.bin", @@ -9537,7 +9610,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79001_90001.bin", @@ -9556,7 +9630,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79002_90002.bin", @@ -9576,7 +9651,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79006_90006.bin", @@ -9595,7 +9671,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90000_0220.bin", @@ -9614,7 +9691,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90001_0220.bin", @@ -9633,7 +9711,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90002_0220.bin", @@ -9653,7 +9732,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90005_0220.bin", @@ -9672,7 +9752,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_kdl22px300.bin", @@ -9692,7 +9773,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "easyrpg.soundfont", @@ -56777,7 +56859,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "SegaCDBIOS9303.bin", @@ -56793,7 +56876,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "us_scd1_9210.bin", @@ -56822,7 +56906,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "eu_mcd2_9303.bin", @@ -56841,7 +56926,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "eu_mcd1_9210.bin", @@ -56860,7 +56946,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "jp_mcd2_921222.bin", @@ -56879,7 +56966,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "jp_mcd1_9112.bin", @@ -56898,7 +56986,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "jp_mcd1_9111.bin", @@ -56917,7 +57006,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "32X_G_BIOS.BIN", @@ -57780,6 +57870,19 @@ "qemu" ] }, + { + "dest": "quasi88/font.rom", + "sha1": "84b90f69671d4b72e8f219e1fe7cd667e976cf7f", + "sha256": "3227087599afd9304f260cdeb3bf1533e39e425cf444ceb3c24f55f561e71a0c", + "size": 2048, + "repo_path": "bios/NEC/PC-88/font.rom", + "cores": [ + "quasi88" + ], + "systems": [ + "nec-pc-88" + ] + }, { "dest": "quasi88/font2.rom", "sha1": "0a056b6d28b4b9e29a2d255bdaa25c24f176cf1e", @@ -61688,19 +61791,6 @@ "nec-pc-98" ] }, - { - "dest": "quasi88/font.rom", - "sha1": "84b90f69671d4b72e8f219e1fe7cd667e976cf7f", - "sha256": "3227087599afd9304f260cdeb3bf1533e39e425cf444ceb3c24f55f561e71a0c", - "size": 2048, - "repo_path": "bios/NEC/PC-88/font.rom", - "cores": [ - "quasi88" - ], - "systems": [ - "nec-pc-88" - ] - }, { "dest": "scummvm/extra/MT32_CONTROL.ROM", "sha1": "b083518fffb7f66b03c23b7eb4f868e62dc5a987", @@ -62772,7 +62862,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 100 }, { "dest": "pcsx2/bios/ps2_scph50008.bin", @@ -62792,7 +62883,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 150 }, { "dest": "pcsx2/bios/ps2-dvd-110u.bin", diff --git a/install/recalbox.json b/install/recalbox.json index 7ac99954..e1682313 100644 --- a/install/recalbox.json +++ b/install/recalbox.json @@ -10524,7 +10524,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "scph101_v45.bin", @@ -10582,7 +10583,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "ps2_scph18000.bin", @@ -10601,7 +10603,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30003.bin", @@ -10621,7 +10624,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh10000_0117.bin", @@ -10640,7 +10644,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_0117.bin", @@ -10659,7 +10664,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0217.bin", @@ -10678,7 +10684,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_15000.bin", @@ -10697,7 +10704,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0224.bin", @@ -10716,7 +10724,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30001.bin", @@ -10735,7 +10744,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0727.bin", @@ -10754,7 +10764,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0902.bin", @@ -10773,7 +10784,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30002.bin", @@ -10793,7 +10805,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh30102_0902.bin", @@ -10813,7 +10826,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_0902.bin", @@ -10833,7 +10847,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh003.bin", @@ -10852,7 +10867,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh008.bin", @@ -10871,7 +10887,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30101.bin", @@ -10890,7 +10907,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_35001.bin", @@ -10909,7 +10927,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30102_1228.bin", @@ -10929,7 +10948,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_1228.bin", @@ -10949,7 +10969,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30000.bin", @@ -10968,7 +10989,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_35000.bin", @@ -10987,7 +11009,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0427.bin", @@ -11006,7 +11029,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_0427.bin", @@ -11025,7 +11049,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0704.bin", @@ -11044,7 +11069,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_0704.bin", @@ -11064,7 +11090,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_1004.bin", @@ -11083,7 +11110,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_1004.bin", @@ -11103,7 +11131,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30005r.bin", @@ -11122,7 +11151,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39001.bin", @@ -11141,7 +11171,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39002.bin", @@ -11161,7 +11192,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph37000_39000.bin", @@ -11180,7 +11212,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39008.bin", @@ -11200,7 +11233,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph39005.bin", @@ -11219,7 +11253,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50000.bin", @@ -11238,7 +11273,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_55000.bin", @@ -11257,7 +11293,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50002.bin", @@ -11277,7 +11314,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50002_0227.bin", @@ -11297,7 +11335,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0325.bin", @@ -11316,7 +11355,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0325.bin", @@ -11335,7 +11375,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50009.bin", @@ -11354,7 +11395,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5000.bin", @@ -11373,7 +11415,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph55000_0623.bin", @@ -11392,7 +11435,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0623.bin", @@ -11411,7 +11455,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0623.bin", @@ -11430,7 +11475,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50002_0623.bin", @@ -11450,7 +11496,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50006.bin", @@ -11469,7 +11516,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50005.bin", @@ -11488,7 +11536,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50008.bin", @@ -11508,7 +11557,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50009.bin", @@ -11527,7 +11577,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_0822.bin", @@ -11546,7 +11597,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50004_0822.bin", @@ -11566,7 +11618,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50011.bin", @@ -11585,7 +11638,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70000.bin", @@ -11604,7 +11658,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70001.bin", @@ -11623,7 +11678,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002.bin", @@ -11643,7 +11699,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002_alt.bin", @@ -11663,7 +11720,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh70002.bin", @@ -11683,7 +11741,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph70005.bin", @@ -11702,7 +11761,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5500.bin", @@ -11721,7 +11781,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000.bin", @@ -11740,7 +11801,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75000.bin", @@ -11759,7 +11821,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000a.bin", @@ -11778,7 +11841,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75001.bin", @@ -11797,7 +11861,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75002.bin", @@ -11817,7 +11882,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75006.bin", @@ -11836,7 +11902,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77000.bin", @@ -11855,7 +11922,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77001.bin", @@ -11874,7 +11942,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77002.bin", @@ -11894,7 +11963,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77006.bin", @@ -11913,7 +11983,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_j.bin", @@ -11932,7 +12003,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79000_90000.bin", @@ -11951,7 +12023,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_a.bin", @@ -11970,7 +12043,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79001_90001.bin", @@ -11989,7 +12063,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79002_90002.bin", @@ -12009,7 +12084,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79006_90006.bin", @@ -12028,7 +12104,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90000_0220.bin", @@ -12047,7 +12124,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90001_0220.bin", @@ -12066,7 +12144,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90002_0220.bin", @@ -12086,7 +12165,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90005_0220.bin", @@ -12105,7 +12185,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_kdl22px300.bin", @@ -12125,7 +12206,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "easyrpg.soundfont", @@ -31694,7 +31776,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "SegaCDBIOS9303.bin", @@ -31710,7 +31793,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "us_scd1_9210.bin", @@ -31739,7 +31823,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "eu_mcd2_9303.bin", @@ -31758,7 +31843,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "eu_mcd1_9210.bin", @@ -31777,7 +31863,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "jp_mcd2_921222.bin", @@ -31796,7 +31883,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "jp_mcd1_9112.bin", @@ -31815,7 +31903,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "jp_mcd1_9111.bin", @@ -31834,7 +31923,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "32X_G_BIOS.BIN", diff --git a/install/retroarch.json b/install/retroarch.json index 61d554e7..1148477e 100644 --- a/install/retroarch.json +++ b/install/retroarch.json @@ -8330,7 +8330,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "scph101_v45.bin", @@ -8388,7 +8389,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "ps2_scph18000.bin", @@ -8407,7 +8409,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30003.bin", @@ -8427,7 +8430,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh10000_0117.bin", @@ -8446,7 +8450,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_0117.bin", @@ -8465,7 +8470,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0217.bin", @@ -8484,7 +8490,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_15000.bin", @@ -8503,7 +8510,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0224.bin", @@ -8522,7 +8530,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30001.bin", @@ -8541,7 +8550,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0727.bin", @@ -8560,7 +8570,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0902.bin", @@ -8579,7 +8590,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30002.bin", @@ -8599,7 +8611,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh30102_0902.bin", @@ -8619,7 +8632,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_0902.bin", @@ -8639,7 +8653,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh003.bin", @@ -8658,7 +8673,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh008.bin", @@ -8677,7 +8693,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30101.bin", @@ -8696,7 +8713,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_35001.bin", @@ -8715,7 +8733,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30102_1228.bin", @@ -8735,7 +8754,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_1228.bin", @@ -8755,7 +8775,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30000.bin", @@ -8774,7 +8795,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_35000.bin", @@ -8793,7 +8815,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0427.bin", @@ -8812,7 +8835,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_0427.bin", @@ -8831,7 +8855,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0704.bin", @@ -8850,7 +8875,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_0704.bin", @@ -8870,7 +8896,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_1004.bin", @@ -8889,7 +8916,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_1004.bin", @@ -8909,7 +8937,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30005r.bin", @@ -8928,7 +8957,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39001.bin", @@ -8947,7 +8977,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39002.bin", @@ -8967,7 +8998,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph37000_39000.bin", @@ -8986,7 +9018,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39008.bin", @@ -9006,7 +9039,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph39005.bin", @@ -9025,7 +9059,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50000.bin", @@ -9044,7 +9079,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_55000.bin", @@ -9063,7 +9099,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50002.bin", @@ -9083,7 +9120,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50002_0227.bin", @@ -9103,7 +9141,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0325.bin", @@ -9122,7 +9161,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0325.bin", @@ -9141,7 +9181,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50009.bin", @@ -9160,7 +9201,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5000.bin", @@ -9179,7 +9221,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph55000_0623.bin", @@ -9198,7 +9241,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0623.bin", @@ -9217,7 +9261,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0623.bin", @@ -9236,7 +9281,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50002_0623.bin", @@ -9256,7 +9302,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50006.bin", @@ -9275,7 +9322,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50005.bin", @@ -9294,7 +9342,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50008.bin", @@ -9314,7 +9363,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50009.bin", @@ -9333,7 +9383,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_0822.bin", @@ -9352,7 +9403,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50004_0822.bin", @@ -9372,7 +9424,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50011.bin", @@ -9391,7 +9444,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70000.bin", @@ -9410,7 +9464,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70001.bin", @@ -9429,7 +9484,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002.bin", @@ -9449,7 +9505,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002_alt.bin", @@ -9469,7 +9526,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh70002.bin", @@ -9489,7 +9547,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph70005.bin", @@ -9508,7 +9567,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5500.bin", @@ -9527,7 +9587,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000.bin", @@ -9546,7 +9607,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75000.bin", @@ -9565,7 +9627,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000a.bin", @@ -9584,7 +9647,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75001.bin", @@ -9603,7 +9667,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75002.bin", @@ -9623,7 +9688,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75006.bin", @@ -9642,7 +9708,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77000.bin", @@ -9661,7 +9728,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77001.bin", @@ -9680,7 +9748,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77002.bin", @@ -9700,7 +9769,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77006.bin", @@ -9719,7 +9789,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_j.bin", @@ -9738,7 +9809,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79000_90000.bin", @@ -9757,7 +9829,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_a.bin", @@ -9776,7 +9849,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79001_90001.bin", @@ -9795,7 +9869,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79002_90002.bin", @@ -9815,7 +9890,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79006_90006.bin", @@ -9834,7 +9910,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90000_0220.bin", @@ -9853,7 +9930,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90001_0220.bin", @@ -9872,7 +9950,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90002_0220.bin", @@ -9892,7 +9971,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90005_0220.bin", @@ -9911,7 +9991,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_kdl22px300.bin", @@ -9931,7 +10012,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "easyrpg.soundfont", @@ -57016,7 +57098,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "SegaCDBIOS9303.bin", @@ -57032,7 +57115,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "us_scd1_9210.bin", @@ -57061,7 +57145,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "eu_mcd2_9303.bin", @@ -57080,7 +57165,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "eu_mcd1_9210.bin", @@ -57099,7 +57185,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "jp_mcd2_921222.bin", @@ -57118,7 +57205,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "jp_mcd1_9112.bin", @@ -57137,7 +57225,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "jp_mcd1_9111.bin", @@ -57156,7 +57245,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "32X_G_BIOS.BIN", @@ -58019,6 +58109,19 @@ "qemu" ] }, + { + "dest": "quasi88/font.rom", + "sha1": "84b90f69671d4b72e8f219e1fe7cd667e976cf7f", + "sha256": "3227087599afd9304f260cdeb3bf1533e39e425cf444ceb3c24f55f561e71a0c", + "size": 2048, + "repo_path": "bios/NEC/PC-88/font.rom", + "cores": [ + "quasi88" + ], + "systems": [ + "nec-pc-88" + ] + }, { "dest": "quasi88/font2.rom", "sha1": "0a056b6d28b4b9e29a2d255bdaa25c24f176cf1e", @@ -61927,19 +62030,6 @@ "nec-pc-98" ] }, - { - "dest": "quasi88/font.rom", - "sha1": "84b90f69671d4b72e8f219e1fe7cd667e976cf7f", - "sha256": "3227087599afd9304f260cdeb3bf1533e39e425cf444ceb3c24f55f561e71a0c", - "size": 2048, - "repo_path": "bios/NEC/PC-88/font.rom", - "cores": [ - "quasi88" - ], - "systems": [ - "nec-pc-88" - ] - }, { "dest": "scummvm/extra/MT32_CONTROL.ROM", "sha1": "b083518fffb7f66b03c23b7eb4f868e62dc5a987", @@ -63011,7 +63101,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 100 }, { "dest": "pcsx2/bios/ps2_scph50008.bin", @@ -63031,7 +63122,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 150 }, { "dest": "pcsx2/bios/ps2-dvd-110u.bin", diff --git a/install/retrobat.json b/install/retrobat.json index ff300fc3..fa6016ec 100644 --- a/install/retrobat.json +++ b/install/retrobat.json @@ -92145,7 +92145,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "SegaCDBIOS9303.bin", @@ -92161,7 +92162,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "us_scd1_9210.bin", @@ -92190,7 +92192,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "eu_mcd2_9303.bin", @@ -92209,7 +92212,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "eu_mcd1_9210.bin", @@ -92228,7 +92232,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "jp_mcd2_921222.bin", @@ -92247,7 +92252,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "jp_mcd1_9112.bin", @@ -92266,7 +92272,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "jp_mcd1_9111.bin", @@ -92285,7 +92292,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "PPSSPP/ppge_atlas.zim", @@ -130391,7 +130399,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50008.bin", @@ -130411,7 +130420,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 150 }, { "dest": "ps2-dvd-110u.bin", diff --git a/install/retrodeck.json b/install/retrodeck.json index a3a0f057..92e4b1e0 100644 --- a/install/retrodeck.json +++ b/install/retrodeck.json @@ -27217,7 +27217,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "bios/scph101_v45.bin", @@ -27275,7 +27276,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "bios/ps2_scph18000.bin", @@ -27294,7 +27296,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30003.bin", @@ -27314,7 +27317,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_dtlh10000_0117.bin", @@ -27333,7 +27337,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph10000_0117.bin", @@ -27352,7 +27357,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh10000_0217.bin", @@ -27371,7 +27377,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph10000_15000.bin", @@ -27390,7 +27397,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh10000_0224.bin", @@ -27409,7 +27417,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh30001.bin", @@ -27428,7 +27437,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30001_0727.bin", @@ -27447,7 +27457,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30001_0902.bin", @@ -27466,7 +27477,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh30002.bin", @@ -27486,7 +27498,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_dtlh30102_0902.bin", @@ -27506,7 +27519,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_scph30002_0902.bin", @@ -27526,7 +27540,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph18000_gh003.bin", @@ -27545,7 +27560,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph18000_gh008.bin", @@ -27564,7 +27580,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh30101.bin", @@ -27583,7 +27600,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30001_35001.bin", @@ -27602,7 +27620,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh30102_1228.bin", @@ -27622,7 +27641,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_scph30002_1228.bin", @@ -27642,7 +27662,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh30000.bin", @@ -27661,7 +27682,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30000_35000.bin", @@ -27680,7 +27702,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30001r_0427.bin", @@ -27699,7 +27722,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30000_0427.bin", @@ -27718,7 +27742,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30001r_0704.bin", @@ -27737,7 +27762,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30002r_0704.bin", @@ -27757,7 +27783,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30001r_1004.bin", @@ -27776,7 +27803,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30002r_1004.bin", @@ -27796,7 +27824,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph30005r.bin", @@ -27815,7 +27844,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph39001.bin", @@ -27834,7 +27864,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph39002.bin", @@ -27854,7 +27885,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph37000_39000.bin", @@ -27873,7 +27905,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph39008.bin", @@ -27893,7 +27926,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_scph39005.bin", @@ -27912,7 +27946,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh50000.bin", @@ -27931,7 +27966,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph50000_55000.bin", @@ -27950,7 +27986,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh50002.bin", @@ -27970,7 +28007,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_scph50002_0227.bin", @@ -27990,7 +28028,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh50001_0325.bin", @@ -28009,7 +28048,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph50001_0325.bin", @@ -28028,7 +28068,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh50009.bin", @@ -28047,7 +28088,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_desr5000.bin", @@ -28066,7 +28108,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph55000_0623.bin", @@ -28085,7 +28128,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh50001_0623.bin", @@ -28104,7 +28148,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph50001_0623.bin", @@ -28123,7 +28168,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph50002_0623.bin", @@ -28143,7 +28189,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph50006.bin", @@ -28162,7 +28209,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph50005.bin", @@ -28181,7 +28229,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph50008.bin", @@ -28201,7 +28250,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_scph50009.bin", @@ -28220,7 +28270,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph50000_0822.bin", @@ -28239,7 +28290,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph50004_0822.bin", @@ -28259,7 +28311,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_scph50011.bin", @@ -28278,7 +28331,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph70000.bin", @@ -28297,7 +28351,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph70001.bin", @@ -28316,7 +28371,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph70002.bin", @@ -28336,7 +28392,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph70002_alt.bin", @@ -28356,7 +28413,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_dtlh70002.bin", @@ -28376,7 +28434,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/ps2_scph70005.bin", @@ -28395,7 +28454,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_desr5500.bin", @@ -28414,7 +28474,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh75000.bin", @@ -28433,7 +28494,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph75000.bin", @@ -28452,7 +28514,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh75000a.bin", @@ -28471,7 +28534,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph75001.bin", @@ -28490,7 +28554,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph75002.bin", @@ -28510,7 +28575,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph75006.bin", @@ -28529,7 +28595,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph77000.bin", @@ -28548,7 +28615,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph77001.bin", @@ -28567,7 +28635,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph77002.bin", @@ -28587,7 +28656,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph77006.bin", @@ -28606,7 +28676,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh90000_j.bin", @@ -28625,7 +28696,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph79000_90000.bin", @@ -28644,7 +28716,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_dtlh90000_a.bin", @@ -28663,7 +28736,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph79001_90001.bin", @@ -28682,7 +28756,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph79002_90002.bin", @@ -28702,7 +28777,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph79006_90006.bin", @@ -28721,7 +28797,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph90000_0220.bin", @@ -28740,7 +28817,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph90001_0220.bin", @@ -28759,7 +28837,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph90002_0220.bin", @@ -28779,7 +28858,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_scph90005_0220.bin", @@ -28798,7 +28878,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "bios/ps2_kdl22px300.bin", @@ -28818,7 +28899,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "bios/easyrpg.soundfont", @@ -75405,7 +75487,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "bios/SegaCDBIOS9303.bin", @@ -75421,7 +75504,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "bios/us_scd1_9210.bin", @@ -75450,7 +75534,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "bios/eu_mcd2_9303.bin", @@ -75469,7 +75554,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "bios/eu_mcd1_9210.bin", @@ -75488,7 +75574,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "bios/jp_mcd2_921222.bin", @@ -75507,7 +75594,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "bios/jp_mcd1_9112.bin", @@ -75526,7 +75614,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "bios/jp_mcd1_9111.bin", @@ -75545,7 +75634,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "bios/pocketstation.bin", @@ -86003,7 +86093,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 100 }, { "dest": "bios/pcsx2/bios/ps2_scph50008.bin", @@ -86023,7 +86114,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 150 }, { "dest": "bios/pcsx2/bios/ps2-dvd-110u.bin", diff --git a/install/retropie.json b/install/retropie.json index 8a56a86a..2c91fa46 100644 --- a/install/retropie.json +++ b/install/retropie.json @@ -44347,7 +44347,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "scph101_v45.bin", @@ -44405,7 +44406,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "ps2_scph18000.bin", @@ -44424,7 +44426,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30003.bin", @@ -44444,7 +44447,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh10000_0117.bin", @@ -44463,7 +44467,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_0117.bin", @@ -44482,7 +44487,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0217.bin", @@ -44501,7 +44507,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_15000.bin", @@ -44520,7 +44527,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0224.bin", @@ -44539,7 +44547,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30001.bin", @@ -44558,7 +44567,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0727.bin", @@ -44577,7 +44587,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0902.bin", @@ -44596,7 +44607,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30002.bin", @@ -44616,7 +44628,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh30102_0902.bin", @@ -44636,7 +44649,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_0902.bin", @@ -44656,7 +44670,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh003.bin", @@ -44675,7 +44690,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh008.bin", @@ -44694,7 +44710,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30101.bin", @@ -44713,7 +44730,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_35001.bin", @@ -44732,7 +44750,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30102_1228.bin", @@ -44752,7 +44771,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_1228.bin", @@ -44772,7 +44792,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30000.bin", @@ -44791,7 +44812,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_35000.bin", @@ -44810,7 +44832,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0427.bin", @@ -44829,7 +44852,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_0427.bin", @@ -44848,7 +44872,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0704.bin", @@ -44867,7 +44892,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_0704.bin", @@ -44887,7 +44913,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_1004.bin", @@ -44906,7 +44933,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_1004.bin", @@ -44926,7 +44954,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30005r.bin", @@ -44945,7 +44974,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39001.bin", @@ -44964,7 +44994,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39002.bin", @@ -44984,7 +45015,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph37000_39000.bin", @@ -45003,7 +45035,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39008.bin", @@ -45023,7 +45056,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph39005.bin", @@ -45042,7 +45076,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50000.bin", @@ -45061,7 +45096,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_55000.bin", @@ -45080,7 +45116,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50002.bin", @@ -45100,7 +45137,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50002_0227.bin", @@ -45120,7 +45158,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0325.bin", @@ -45139,7 +45178,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0325.bin", @@ -45158,7 +45198,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50009.bin", @@ -45177,7 +45218,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5000.bin", @@ -45196,7 +45238,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph55000_0623.bin", @@ -45215,7 +45258,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0623.bin", @@ -45234,7 +45278,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0623.bin", @@ -45253,7 +45298,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50002_0623.bin", @@ -45273,7 +45319,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50006.bin", @@ -45292,7 +45339,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50005.bin", @@ -45311,7 +45359,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50008.bin", @@ -45331,7 +45380,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50009.bin", @@ -45350,7 +45400,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_0822.bin", @@ -45369,7 +45420,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50004_0822.bin", @@ -45389,7 +45441,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50011.bin", @@ -45408,7 +45461,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70000.bin", @@ -45427,7 +45481,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70001.bin", @@ -45446,7 +45501,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002.bin", @@ -45466,7 +45522,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002_alt.bin", @@ -45486,7 +45543,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh70002.bin", @@ -45506,7 +45564,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph70005.bin", @@ -45525,7 +45584,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5500.bin", @@ -45544,7 +45604,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000.bin", @@ -45563,7 +45624,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75000.bin", @@ -45582,7 +45644,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000a.bin", @@ -45601,7 +45664,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75001.bin", @@ -45620,7 +45684,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75002.bin", @@ -45640,7 +45705,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75006.bin", @@ -45659,7 +45725,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77000.bin", @@ -45678,7 +45745,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77001.bin", @@ -45697,7 +45765,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77002.bin", @@ -45717,7 +45786,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77006.bin", @@ -45736,7 +45806,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_j.bin", @@ -45755,7 +45826,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79000_90000.bin", @@ -45774,7 +45846,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_a.bin", @@ -45793,7 +45866,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79001_90001.bin", @@ -45812,7 +45886,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79002_90002.bin", @@ -45832,7 +45907,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79006_90006.bin", @@ -45851,7 +45927,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90000_0220.bin", @@ -45870,7 +45947,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90001_0220.bin", @@ -45889,7 +45967,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90002_0220.bin", @@ -45909,7 +45988,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90005_0220.bin", @@ -45928,7 +46008,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_kdl22px300.bin", @@ -45948,7 +46029,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "descent.hog", @@ -94642,7 +94724,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "SegaCDBIOS9303.bin", @@ -94658,7 +94741,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "us_scd1_9210.bin", @@ -94687,7 +94771,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "eu_mcd2_9303.bin", @@ -94706,7 +94791,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "eu_mcd1_9210.bin", @@ -94725,7 +94811,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "jp_mcd2_921222.bin", @@ -94744,7 +94831,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "jp_mcd1_9112.bin", @@ -94763,7 +94851,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "jp_mcd1_9111.bin", @@ -94782,7 +94871,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "32X_G_BIOS.BIN", @@ -104100,7 +104190,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 100 }, { "dest": "pcsx2/bios/ps2_scph50008.bin", @@ -104120,7 +104211,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 150 }, { "dest": "pcsx2/bios/ps2-dvd-110u.bin", diff --git a/install/rocknix.json b/install/rocknix.json index 5a268669..cea1debe 100644 --- a/install/rocknix.json +++ b/install/rocknix.json @@ -3304,7 +3304,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "scph101_v45.bin", @@ -3362,7 +3363,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 10 }, { "dest": "ps2_scph18000.bin", @@ -3381,7 +3383,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30003.bin", @@ -3401,7 +3404,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh10000_0117.bin", @@ -3420,7 +3424,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_0117.bin", @@ -3439,7 +3444,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0217.bin", @@ -3458,7 +3464,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph10000_15000.bin", @@ -3477,7 +3484,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh10000_0224.bin", @@ -3496,7 +3504,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30001.bin", @@ -3515,7 +3524,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0727.bin", @@ -3534,7 +3544,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_0902.bin", @@ -3553,7 +3564,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30002.bin", @@ -3573,7 +3585,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh30102_0902.bin", @@ -3593,7 +3606,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_0902.bin", @@ -3613,7 +3627,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh003.bin", @@ -3632,7 +3647,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph18000_gh008.bin", @@ -3651,7 +3667,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30101.bin", @@ -3670,7 +3687,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001_35001.bin", @@ -3689,7 +3707,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30102_1228.bin", @@ -3709,7 +3728,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph30002_1228.bin", @@ -3729,7 +3749,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh30000.bin", @@ -3748,7 +3769,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_35000.bin", @@ -3767,7 +3789,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0427.bin", @@ -3786,7 +3809,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30000_0427.bin", @@ -3805,7 +3829,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_0704.bin", @@ -3824,7 +3849,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_0704.bin", @@ -3844,7 +3870,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30001r_1004.bin", @@ -3863,7 +3890,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30002r_1004.bin", @@ -3883,7 +3911,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph30005r.bin", @@ -3902,7 +3931,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39001.bin", @@ -3921,7 +3951,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39002.bin", @@ -3941,7 +3972,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph37000_39000.bin", @@ -3960,7 +3992,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph39008.bin", @@ -3980,7 +4013,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph39005.bin", @@ -3999,7 +4033,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50000.bin", @@ -4018,7 +4053,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_55000.bin", @@ -4037,7 +4073,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50002.bin", @@ -4057,7 +4094,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50002_0227.bin", @@ -4077,7 +4115,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0325.bin", @@ -4096,7 +4135,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0325.bin", @@ -4115,7 +4155,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50009.bin", @@ -4134,7 +4175,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5000.bin", @@ -4153,7 +4195,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph55000_0623.bin", @@ -4172,7 +4215,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh50001_0623.bin", @@ -4191,7 +4235,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50001_0623.bin", @@ -4210,7 +4255,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50002_0623.bin", @@ -4230,7 +4276,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50006.bin", @@ -4249,7 +4296,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50005.bin", @@ -4268,7 +4316,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50008.bin", @@ -4288,7 +4337,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50009.bin", @@ -4307,7 +4357,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50000_0822.bin", @@ -4326,7 +4377,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph50004_0822.bin", @@ -4346,7 +4398,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph50011.bin", @@ -4365,7 +4418,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70000.bin", @@ -4384,7 +4438,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70001.bin", @@ -4403,7 +4458,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002.bin", @@ -4423,7 +4479,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph70002_alt.bin", @@ -4443,7 +4500,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_dtlh70002.bin", @@ -4463,7 +4521,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "ps2_scph70005.bin", @@ -4482,7 +4541,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_desr5500.bin", @@ -4501,7 +4561,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000.bin", @@ -4520,7 +4581,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75000.bin", @@ -4539,7 +4601,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh75000a.bin", @@ -4558,7 +4621,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75001.bin", @@ -4577,7 +4641,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75002.bin", @@ -4597,7 +4662,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph75006.bin", @@ -4616,7 +4682,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77000.bin", @@ -4635,7 +4702,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77001.bin", @@ -4654,7 +4722,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77002.bin", @@ -4674,7 +4743,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph77006.bin", @@ -4693,7 +4763,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_j.bin", @@ -4712,7 +4783,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79000_90000.bin", @@ -4731,7 +4803,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_dtlh90000_a.bin", @@ -4750,7 +4823,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79001_90001.bin", @@ -4769,7 +4843,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79002_90002.bin", @@ -4789,7 +4864,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph79006_90006.bin", @@ -4808,7 +4884,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90000_0220.bin", @@ -4827,7 +4904,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90001_0220.bin", @@ -4846,7 +4924,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90002_0220.bin", @@ -4866,7 +4945,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_scph90005_0220.bin", @@ -4885,7 +4965,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 100 }, { "dest": "ps2_kdl22px300.bin", @@ -4905,7 +4986,8 @@ ], "region_groups": [ "sony-playstation" - ] + ], + "priority": 150 }, { "dest": "easyrpg.soundfont", @@ -51681,7 +51763,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "SegaCDBIOS9303.bin", @@ -51697,7 +51780,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "us_scd1_9210.bin", @@ -51726,7 +51810,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "eu_mcd2_9303.bin", @@ -51745,7 +51830,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "eu_mcd1_9210.bin", @@ -51764,7 +51850,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "jp_mcd2_921222.bin", @@ -51783,7 +51870,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "jp_mcd1_9112.bin", @@ -51802,7 +51890,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "jp_mcd1_9111.bin", @@ -51821,7 +51910,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "32X_G_BIOS.BIN", @@ -59460,7 +59550,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 100 }, { "dest": "pcsx2/bios/ps2_scph50008.bin", @@ -59480,7 +59571,8 @@ ], "region_groups": [ "sony-playstation-2" - ] + ], + "priority": 150 }, { "dest": "pcsx2/bios/ps2-dvd-110u.bin", diff --git a/install/romm.json b/install/romm.json index 4fffa34c..b83cc467 100644 --- a/install/romm.json +++ b/install/romm.json @@ -13016,7 +13016,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "gamegear/SegaCDBIOS9303.bin", @@ -13032,7 +13033,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "gamegear/us_scd1_9210.bin", @@ -13061,7 +13063,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "gamegear/eu_mcd2_9303.bin", @@ -13080,7 +13083,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "gamegear/eu_mcd1_9210.bin", @@ -13099,7 +13103,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "gamegear/jp_mcd2_921222.bin", @@ -13118,7 +13123,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 1 }, { "dest": "gamegear/jp_mcd1_9112.bin", @@ -13137,7 +13143,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 2 }, { "dest": "gamegear/jp_mcd1_9111.bin", @@ -13156,7 +13163,8 @@ ], "region_groups": [ "PicoDrive:variant:mega-cd-bios" - ] + ], + "priority": 3 }, { "dest": "gamegear/32X_G_BIOS.BIN", diff --git a/schemas/install-manifest.schema.json b/schemas/install-manifest.schema.json index 472b5e73..506185a4 100644 --- a/schemas/install-manifest.schema.json +++ b/schemas/install-manifest.schema.json @@ -229,6 +229,10 @@ "minItems": 1, "maxItems": 1000, "uniqueItems": true + }, + "priority": { + "description": "The rank the code searches the file at, lower first: a world file withdraws an unmatched regional one only when it ranks no worse.", + "type": "integer" } } } @@ -369,6 +373,10 @@ "minItems": 1, "maxItems": 1000, "uniqueItems": true + }, + "priority": { + "description": "The rank the code searches the file at, lower first: a world file withdraws an unmatched regional one only when it ranks no worse.", + "type": "integer" } }, "oneOf": [ diff --git a/scripts/manifestselect.py b/scripts/manifestselect.py index 0a2ddf91..5b4a88ad 100644 --- a/scripts/manifestselect.py +++ b/scripts/manifestselect.py @@ -90,7 +90,7 @@ class SelectionIndex: `systems` drives --system. A regional entry adds its regions, `region_groups` it always competes in as a core extra, and `region_system_groups` it competes in only when that platform system - is kept. An entry that never competes carries no region field: an + is kept, and `priority` the rank the code searches it at. An entry that never competes carries no region field: an untagged file always survives a region filter. """ out: dict = {} @@ -109,4 +109,9 @@ class SelectionIndex: declared = self.declared_by.get(dest) if declared: out["region_system_groups"] = sorted(declared) + # The code's search rank decides whether a world file may withdraw + # this one when no region matches. + priority = region_mod.lookup_priority(self.region_index, dest, name) + if priority is not None: + out["priority"] = priority return out diff --git a/scripts/region.py b/scripts/region.py index b961fa23..d6336caa 100644 --- a/scripts/region.py +++ b/scripts/region.py @@ -150,12 +150,15 @@ def build_region_index(profiles: dict) -> dict[str, dict]: # Path-keyed so same-named entries stay separate (Dolphin declares # three IPL.bin), name-keyed so a candidate identified by name alone # sees the union and is never dropped on ambiguity. + priority = f.get("priority") for key in {path, name} - {""}: entry = index.setdefault( key, - {"regions": set(), "has_untagged": False, "emulators": []}, + {"regions": set(), "has_untagged": False, "emulators": [], + "priorities": set()}, ) entry["regions"] |= regions + entry["priorities"].add(priority if isinstance(priority, int) else None) if not regions: entry["has_untagged"] = True if emu_name not in entry["emulators"]: @@ -185,6 +188,33 @@ def lookup_regions(index: dict[str, dict], destination: str, name: str) -> set[s return set(entry["regions"]) +def _index_entry(index: dict[str, dict], destination: str, name: str) -> dict | None: + """The index entry a candidate resolves to, by the lookup_regions order.""" + if destination: + entry = index.get(destination) + if entry: + return entry + parts = destination.split("/") + for i in range(1, len(parts)): + entry = index.get("/".join(parts[i:])) + if entry: + return entry + return index.get(name) + + +def lookup_priority(index: dict[str, dict], destination: str, name: str) -> int | None: + """The search rank the code gives a candidate, lower first. + + None when no entry declares one, or when two declarations disagree: a + rank in doubt cannot decide what to drop. + """ + entry = _index_entry(index, destination, name) + priorities = (entry or {}).get("priorities", set()) + if len(priorities) != 1: + return None + return next(iter(priorities)) + + def _competing_ranks( members: list[tuple[str, str]], index: dict[str, dict], @@ -212,8 +242,8 @@ def resolve_region_drops( """Destinations to skip for a requested region priority list. Per group, an exact/parent regional match beats other regional candidates. - A world candidate beats unmatched regional fallbacks, while untagged files - always survive. If neither a requested nor a world candidate exists, all + A world candidate beats unmatched regional fallbacks the code does not + search before it, while untagged files always survive. If neither a requested nor a world candidate exists, all regional candidates survive so filtering can never empty a group. """ if not requested: @@ -243,7 +273,24 @@ def resolve_region_drops( keep |= {destination for r, destination in matched if r == best} drop |= {destination for _r, destination in regional if destination not in keep} elif world: - drop |= {destination for _r, destination in regional} + # A world file beats an unmatched regional one, unless the code + # provably looks for the regional one first: DuckStation ranks its + # PS1 images 5 to 50 and its world PS2 images 100, so a request + # for Brazil would otherwise leave it only the PS2 fallbacks. + world_ranks = [ + lookup_priority(index, destination, name) + for destination, name in members + if destination in world + ] + known = None not in world_ranks + best_world = min(world_ranks) if known and world_ranks else None + for _r, destination in regional: + name = next(n for d, n in members if d == destination) + ours = lookup_priority(index, destination, name) + if best_world is not None and ours is not None and ours < best_world: + keep.add(destination) + else: + drop.add(destination) else: # Preserve every unmatched candidate as a visible fallback. keep |= {destination for _r, destination in regional} diff --git a/tests/test_install_selection.py b/tests/test_install_selection.py index 4fb054ea..519a2301 100644 --- a/tests/test_install_selection.py +++ b/tests/test_install_selection.py @@ -64,16 +64,21 @@ class TheRegionRuleIsTheBuilders(unittest.TestCase): if rng.random() < 0.2 else set(rng.sample(self.POOL, rng.randint(1, 2))) ) + priority = rng.choice([None, None, 5, 10, 100, 200]) entries[dest] = {"dest": dest, "regions": sorted(regions), "region_groups": []} + if priority is not None: + entries[dest]["priority"] = priority index[dest] = {"regions": regions, - "has_untagged": not regions, "emulators": []} + "has_untagged": not regions, "emulators": [], + "priorities": {priority}} groups.setdefault(f"g{g}", []).append((dest, dest)) if f"g{g}" not in entries[dest]["region_groups"]: entries[dest]["region_groups"].append(f"g{g}") for entry in entries.values(): if not entry["regions"]: del entry["regions"], entry["region_groups"] + entry.pop("priority", None) requested = rng.sample(["north-america", "europe", "japan", "uk", "canada"], rng.randint(1, 3)) return groups, index, list(entries.values()), requested diff --git a/tests/test_region.py b/tests/test_region.py index 3db5b521..7fdddf7f 100644 --- a/tests/test_region.py +++ b/tests/test_region.py @@ -265,6 +265,25 @@ class TestResolveRegionDrops(unittest.TestCase): def _drops(self, groups, requested): return region.resolve_region_drops(groups, self.index, requested) + def test_a_world_file_the_code_ranks_lower_keeps_the_regional_ones(self): + """DuckStation looks for its PS1 images (5) before the world PS2 ones + (100): asked for Brazil, it kept only the PS2 fallbacks.""" + index = region.build_region_index({"duckstation": {"files": [ + {"name": "scph5501.bin", "region": ["north-america"], "priority": 5}, + {"name": "ps2_scph30001.bin", "region": ["north-america"], "priority": 150}, + {"name": "ps2_scph10000.bin", "region": ["world"], "priority": 100}, + ]}}) + groups = {"psx": [(n, n) for n in ("scph5501.bin", "ps2_scph30001.bin", + "ps2_scph10000.bin")]} + self.assertEqual( + region.resolve_region_drops(groups, index, ["brazil"]), {"ps2_scph30001.bin"} + ) + + def test_without_ranks_the_world_file_still_wins(self): + groups = {"psx": [("scph5501.bin", "scph5501.bin"), + ("psxonpsp660.bin", "psxonpsp660.bin")]} + self.assertEqual(self._drops(groups, ["brazil"]), {"scph5501.bin"}) + def test_best_rank_wins_and_siblings_drop(self): groups = { "psx": [ @@ -677,6 +696,8 @@ class RegionalRequestsKeepWhatTheCodeLoads(unittest.TestCase): ("ace-dl", ["denmark"], "private/firmware/XMEM_FW_3_15_UK.rom"), ("ace-dl", ["spain"], "private/hacker/hacker481fr.rom"), ("ace-dl", ["france"], "private/firmware/Amstrad_s4.cpr"), + ("duckstation", ["brazil"], "scph5501.bin"), + ("duckstation", ["south-korea"], "scph5500.bin"), ) def test_each_request_keeps_its_file(self):