mirror of
https://github.com/Omni-guides/Jackify.git
synced 2026-08-14 03:23:42 +02:00
Release v0.7.2.1 - Mojave Express Support, BSA Decompressor Fix
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user