Release v0.7.2.1 - Mojave Express Support, BSA Decompressor Fix

This commit is contained in:
Omni
2026-07-25 13:26:02 +01:00
parent ada21f90c8
commit 22bf5e30e5
21 changed files with 1488 additions and 169 deletions
@@ -1,4 +1,4 @@
"""Per-modlist Proton version requirements for ENB compatibility warnings."""
"""Per-modlist and per-game Proton version requirements/warnings."""
from typing import Optional
@@ -17,3 +17,21 @@ def get_proton_requirement(modlist_name: str) -> Optional[dict[str, str]]:
if not modlist_name:
return None
return MODLIST_PROTON_REQUIREMENTS.get(modlist_name.strip().lower())
# Keys are lowercase game_type identifiers (e.g. "falloutnv", "fallout_new_vegas").
# recommended: Proton builds recommended for this game, in order of recommendation
GAME_PROTON_WARNINGS: dict[str, dict] = {
"falloutnv": {
"recommended": ["GE-Proton10-14", "Proton Experimental (latest)", "Proton-CachyOS"],
},
"fallout_new_vegas": {
"recommended": ["GE-Proton10-14", "Proton Experimental (latest)", "Proton-CachyOS"],
},
}
def get_game_proton_warning(game_type: str) -> Optional[dict]:
if not game_type:
return None
return GAME_PROTON_WARNINGS.get(game_type.strip().lower())