Skip to content

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

Merge pull request #39 from Michael-Liendo/clipboard-command-key

Gauthier Piarrettebc261206adb9
diff --cc Sources/HighballKit/Bottle.swift
index f808ff5,b3fdcad..176c97b
--- a/Sources/HighballKit/Bottle.swift
+++ b/Sources/HighballKit/Bottle.swift
@@@ -190,22 -156,20 +190,32 @@@ public struct BottleSettings: Codable,
public var sync: SyncMode = .msync
public var metalHUD: Bool = false
public var advertiseAVX: Bool = false
- /// DXVK async pipeline compilation — big shader-stutter relief, minor risk of artifacts.
- public var dxvkAsync: Bool = true
+ /// DXVK async pipeline compilation. Off, and deliberately so.
+ ///
+ /// The name oversells it: on a pipeline miss it does not compile in the background and draw
+ /// later, it SKIPS THE DRAW and presents the frame without that geometry. Upstream DXVK has
+ /// refused the patch twice, naming multiplayer explicitly, and refused it even as an
+ /// off-by-default option; the fork that carries it tells users not to report bugs with it
+ /// enabled, and warns it may be risky in multiplayer. The engine's own built-in default is
+ /// off, so writing True was an active opt-in for every game, not stock behaviour.
+ ///
+ /// It was on for every game from 0.3.0, arriving as a trailing clause in a commit about sync
+ /// modes, and it has never been measured to help here: 16 alternated Unigine Heaven runs
+ /// through d9vk on an M1 Pro gave −0.1%, p = 0.43. Turn it on per game with a recipe
+ /// dxvkconfig step if a title ever demonstrates a win.
+ public var dxvkAsync: Bool = false
/// Cap the frame rate (0 = uncapped). Applied per renderer (DXVK_FRAME_RATE / DXMT_CONFIG).
public var fpsCap: Int = 0
+ /// Map the Mac Command keys to Windows Ctrl, so Cmd+C/Cmd+V/Cmd+A do what a Mac user expects
+ /// inside Windows apps. Wine's default leaves Command as Alt, which is why pasting into Steam
+ /// beeps instead of pasting. Option is mapped to Alt alongside it — without that, mapping both
+ /// Command keys leaves no way to send Alt at all (winemac.drv warns about exactly this).
+ public var commandIsControl: Bool = true
+ /// The commandIsControl value last mirrored into the prefix registry. Bottles created before
+ /// this setting existed carry nil, so the first launch after updating applies it — otherwise a
+ /// user would have to know to press Repair, which is exactly the discoverability problem this
+ /// setting exists to fix.
+ public var commandIsControlSynced: Bool?
/// Windows UI scale as a DPI value (LogPixels): 96 = 100% (1x), up to 240 = 250%. Above 96 the
/// Mac driver switches to native Retina pixels so the scaled UI stays crisp. Applied to the prefix
/// registry on change. Supersedes the old on/off retinaMode (which was just 96 / 192).