Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

Game page: the variables a fix scoped to this game are listed under Advanced

Gauthier Piarrette2402906c06c5
diff --git a/Sources/HighballApp/GameDetailView.swift b/Sources/HighballApp/GameDetailView.swift
index 9e1e1fe..9b878ca 100644
--- a/Sources/HighballApp/GameDetailView.swift
+++ b/Sources/HighballApp/GameDetailView.swift
@@ -251,6 +251,22 @@ struct GameDetailView: View {
}
}
row(L("Engine"), (state.engine(for: bottle)?.displayName).map { "\($0) · \(bottle.settings.engineID)" } ?? bottle.settings.engineID)
+ // Variables a fix scoped to this game (highball#198): the environment's own
+ // editor shows only the environment-wide ones, so the page says what this
+ // game gets on top of them.
+ let scoped = bottle.settings.environment(forGame: entry?.id)
+ if !scoped.isEmpty {
+ HStack(alignment: .top, spacing: 12) {
+ Text(L("This game's variables")).font(.caption).foregroundStyle(.secondary).frame(width: 110, alignment: .leading)
+ VStack(alignment: .leading, spacing: 2) {
+ ForEach(scoped.keys.sorted(), id: \.self) { key in
+ Text("\(key)=\(scoped[key] ?? "")").font(.callout.monospaced()).textSelection(.enabled)
+ }
+ Text(L("Set by this game's fix, applied to its launches only."))
+ .font(.caption).foregroundStyle(.secondary)
+ }
+ }
+ }
HStack(alignment: .firstTextBaseline, spacing: 12) {
Text(L("Environment")).font(.caption).foregroundStyle(.secondary).frame(width: 110, alignment: .leading)
Text(bottle.name).font(.callout)
diff --git a/Sources/HighballApp/L10n.swift b/Sources/HighballApp/L10n.swift
index d94252d..65091aa 100644
--- a/Sources/HighballApp/L10n.swift
+++ b/Sources/HighballApp/L10n.swift
@@ -33,6 +33,8 @@ enum L10n {
"This engine has no usable frame generation component. Build or install the component for this engine.": "Ce moteur ne dispose pas d’un composant de génération d’images utilisable. Compilez ou installez le composant pour ce moteur.",
"The real MoltenVK override is unusable. Use a readable driver with a different filename from libMoltenVK.dylib.": "Le chemin personnalisé du véritable pilote MoltenVK est inutilisable. Utilisez un pilote lisible dont le nom diffère de libMoltenVK.dylib.",
"The shader DLL override is not a readable file. Correct LSFGM_DLL_PATH or remove the override.": "Le chemin personnalisé de la DLL de shaders ne désigne pas un fichier lisible. Corrigez LSFGM_DLL_PATH ou supprimez cette valeur.",
+ "This game's variables": "Variables de ce jeu",
+ "Set by this game's fix, applied to its launches only.": "Définies par le correctif de ce jeu, appliquées à ses lancements seulement.",
"Use a Lossless Scaling DLL from elsewhere…": "Utiliser une DLL Lossless Scaling située ailleurs…",
"Choose lsfg-vk.dll from a Lossless Scaling install on its lsfg-vk beta branch": "Choisissez lsfg-vk.dll dans une installation de Lossless Scaling sur sa branche bêta lsfg-vk",
"Clear": "Effacer",