From a9fdf6eefc760886021c3694bd32310560845903 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Mon, 9 Nov 2026 18:15:48 +0100 Subject: [PATCH] docs: state the scph10000 tie-break The model fill picks the original revision when two primaries are equally accepted, so every run ships the same file. --- scripts/launchers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/launchers.py b/scripts/launchers.py index 133269587..7e6c057a5 100644 --- a/scripts/launchers.py +++ b/scripts/launchers.py @@ -141,6 +141,10 @@ def catalogued_model_files(name: str, db: dict) -> list[dict]: for source in ("redump", "no-intro", "tosec") ] found.append(("/.variants/" in str(record.get("path", "")), names, record)) + # The core accepts every revision of the model, and neither priority nor + # region separates two primaries. The pick must still be the same on + # every run, so it goes to the original revision: the Redump name carries + # the version, and ps2-0100j sorts before ps2-0101j. return [record for *_key, record in sorted(found, key=lambda f: (f[0], f[1]))]