Skip to content

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

feat: prefer WineCX as default tool, global gamefixes/default.conf

raymondchinsea836adfc05f
diff --git a/app/Sources/NotProtonApp/Model/SupportedRunner.swift b/app/Sources/NotProtonApp/Model/SupportedRunner.swift
index fc9e06b..8651419 100644
--- a/app/Sources/NotProtonApp/Model/SupportedRunner.swift
+++ b/app/Sources/NotProtonApp/Model/SupportedRunner.swift
@@ -92,7 +92,7 @@ enum SupportedRunners {
// First entry is what windows-only games get when Steam has no mapping.
static let toolPreference = [
legacyToolName, "notproton-fex", "notproton-fex-rosetta", "notproton-preview",
- "notproton-fex-41069", "notproton-fex-rosetta-41069", "notproton-preview-41069", "notproton-26.3", "notproton-winehq",
+ "notproton-fex-41069", "notproton-fex-rosetta-41069", "notproton-preview-41069", "notproton-26.3", "notproton-winecx", "notproton-winehq",
]
static let legacyToolName = "notproton"
diff --git a/dylib/feats/compat_run.sh b/dylib/feats/compat_run.sh
index b3fa2a8..59506d6 100755
--- a/dylib/feats/compat_run.sh
+++ b/dylib/feats/compat_run.sh
@@ -247,6 +247,7 @@ gamefix_apply_env() {
load_gamefixes() {
case "$app_id" in ''|0) return 0 ;; esac
+ gamefix_read "$np_support/gamefixes/default.conf" global
gamefix_read "$np_support/gamefixes-default/$app_id.conf" default
gamefix_read "$np_support/gamefixes/$app_id.conf" user
for key in $gamefix_keys; do