Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

fix(gamefixes): STEAMDECK key; Mortal Kombat 1 reads controllers only with SteamDeck=1

raymondchins92517b5d615b
diff --git a/dylib/feats/compat_run.sh b/dylib/feats/compat_run.sh
index 9686e34..2a3e1df 100755
--- a/dylib/feats/compat_run.sh
+++ b/dylib/feats/compat_run.sh
@@ -256,7 +256,7 @@ gamefix_reason() {
case "$1" in
BACKEND)
case "$2" in dxmt|dxvk|wined3d|d3dmetal) ;; *) echo "not dxmt, dxvk, wined3d or d3dmetal" ;; esac ;;
- MSYNC|RETINA|NVAPI|FRAMEGEN_UI|FRAMEGEN_FALLBACK)
+ MSYNC|RETINA|NVAPI|FRAMEGEN_UI|FRAMEGEN_FALLBACK|STEAMDECK)
case "$2" in 0|1) ;; *) echo "not 0 or 1" ;; esac ;;
FRAMEGEN)
# 1 is the 2x of the first release.
@@ -347,6 +347,8 @@ load_gamefixes() {
gamefix_log "ARGS not applied, $verb is not the game launch"
fi ;;
RETINA) gamefix_apply_env NOTPROTON_RETINA "$value" "$from" ;;
+ # Steam reads SteamDeck in mixed case, which a conf key cannot spell.
+ STEAMDECK) gamefix_apply_env SteamDeck "$value" "$from" ;;
FRAMEGEN|FRAMEGEN_QUALITY|FRAMEGEN_UI|FRAMEGEN_FALLBACK|FRAMEGEN_ENGINE)
gamefix_apply_env "NOTPROTON_$key" "$value" "$from" ;;
*) gamefix_apply_env "$key" "$value" "$from" ;;
diff --git a/gamefixes/1971870.conf b/gamefixes/1971870.conf
index 275f1ee..3e4a77a 100644
--- a/gamefixes/1971870.conf
+++ b/gamefixes/1971870.conf
@@ -2,3 +2,7 @@
# Evidence: PCGamingWiki lists Direct3D 12 as the only Direct3D version (https://www.pcgamingwiki.com/wiki/Mortal_Kombat_1).
# Route D3D12 through wined3d (vkd3d); prefer BACKEND=d3dmetal once that engine ships.
BACKEND=wined3d
+# Controllers do nothing in game unless the game sees SteamDeck=1 (GE-Proton 10-10 adds the same
+# fix: https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton10-10).
+# Verified 2026-10-11: GameSir G7 Pro works in MK1 only with it.
+STEAMDECK=1