Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.
Swift apple-silicond3dmetaldxmtdxvkfexgame-porting-toolkitgamingmac-gamingmacosmetalmoltenvksteamswiftuivkd3d-protonwhisky-alternativewindows-gameswinewine-wrapper
Release gate: the database tests run in a release worktree, and the game smoke says when the Steam account is busy elsewhere. RecipeDBTests looked only for a highball-db checkout beside the repo, which rel/gin-release has none of, so the 0.10.15 gate skipped six of its seven tests; they now take the database Scripts/make-app.sh bundles, the sibling checkout or else .build/highball-db, and all seven run there. game-smoke.sh reported The Sims, FNAF and PEAK as 'no window' on 2026-10-12 while Steam was waiting to end the account's session on another computer (KickingOtherSession in its console log, the account in MSFS 2024 on the M4); a row whose launch Steam held back that way is now 'account busy elsewhere', skipped rather than failed, and the smoke never answers that prompt. The pattern matches those three launches in last night's log.
Gauthier Piarrette516e31360cd8
diff --git a/Scripts/game-smoke.sh b/Scripts/game-smoke.shindex 5deb140..34fc6d1 100755--- a/Scripts/game-smoke.sh+++ b/Scripts/game-smoke.sh@@ -75,10 +75,20 @@ for row in "${GAMES[@]}"; do# Steam when both ran (2026-09-19).$HB bottle kill "$bottle" >/dev/null 2>&1; sleep 3($HB run "$bottle" 'C:\Program Files (x86)\Steam\steam.exe' --renderer $renderer -- -silent > /dev/null 2>&1 &); sleep 35+ # Steam's own log from here on tells a launch Steam held back from one that failed.+ clog="$H/bottles/$bottle/drive_c/Program Files (x86)/Steam/logs/console_log.txt"+ clines=$(wc -l < "$clog" 2>/dev/null | tr -d ' '); clines=${clines:-0}($HB run "$bottle" 'C:\Program Files (x86)\Steam\steam.exe' -- -applaunch $appid $extra > "$OUT/$name.log" 2>&1 &)n=0; until "$WINLIST" 2>/dev/null | grep -iE "wine.*($winre)" | grep -q 'on=true' || [ $n -ge 60 ]; do sleep 3; n=$((n+1)); doneid=$("$WINLIST" 2>/dev/null | grep -iE "wine.*($winre)" | grep on=true | head -1 | awk '{print $1}')- if [ -z "$id" ]; then echo " FAIL: no window within $((n*3))s"; results+=("{\"appid\":$appid,\"name\":\"$name\",\"result\":\"no window\"}"); passed=false+ # The account playing on another computer (the M4, say) makes Steam wait for an answer to+ # end that session before it starts a paid game. Nothing ran then, and the smoke must never+ # answer for the owner, so the row is skipped rather than failed (2026-10-12: The Sims, FNAF+ # and PEAK read as "no window" while the account was in Microsoft Flight Simulator 2024).+ if [ -z "$id" ] && tail -n +$((clines + 1)) "$clog" 2>/dev/null | grep -qE "AppID $appid.*waiting for user response to KickingOtherSession"; then+ echo " SKIPPED: Steam waits to end this account's session on another computer, nothing ran"+ results+=("{\"appid\":$appid,\"name\":\"$name\",\"result\":\"account busy elsewhere\"}")+ elif [ -z "$id" ]; then echo " FAIL: no window within $((n*3))s"; results+=("{\"appid\":$appid,\"name\":\"$name\",\"result\":\"no window\"}"); passed=falseelse# Capture three frames ten seconds apart. Prefer the per-window grab, but some games use a# layer-hosted (Metal) window that screencapture -l cannot image (it returns nothing/black);@@ -126,8 +136,8 @@ for row in "${GAMES[@]}"; dodonefor b in Gaming canary-r6 re-w11; do $HB bottle kill "$b" >/dev/null 2>&1; done# Nothing installed is not a pass: say so and exit 3 so Scripts/gate.sh records "skipped".-if ! printf '%s\n' "${results[@]}" | grep -qv '"not installed"'; then- echo "GAME SMOKE SKIPPED: none of the table's games is installed in the Gaming bottle"+if ! printf '%s\n' "${results[@]}" | grep -qvE '"(not installed|bottle absent|account busy elsewhere)"'; then+ echo "GAME SMOKE SKIPPED: nothing in the table ran (not installed, or the account busy on another computer)"python3 -c "import json,time;json.dump({'passed':False,'skipped':True,'epoch':int(time.time()),'date':time.strftime('%Y-%m-%d'),'results':[]},open('$OUT/latest.json','w'),indent=2)"exit 3fidiff --git a/Tests/HighballKitTests/RecipeDBTests.swift b/Tests/HighballKitTests/RecipeDBTests.swiftindex 5226e5f..c1436c9 100644--- a/Tests/HighballKitTests/RecipeDBTests.swift+++ b/Tests/HighballKitTests/RecipeDBTests.swift@@ -6,10 +6,16 @@ import XCTest/// Skips cleanly when the sibling checkout isn't present (e.g. bare CI).final class RecipeDBTests: XCTestCase {+ /// The database the app build bundles, chosen the way Scripts/make-app.sh chooses it: the+ /// checkout beside the repo, else the build's own clone in .build/highball-db, which a release+ /// worktree has and which a build resets to origin/main. With the sibling only, the release+ /// gate skipped six of these seven tests (2026-10-12, the 0.10.15 gate).private var dbRoot: URL {- URL(fileURLWithPath: #filePath)+ let repo = URL(fileURLWithPath: #filePath).deletingLastPathComponent().deletingLastPathComponent().deletingLastPathComponent()- .deletingLastPathComponent().appending(path: "highball-db")+ let sibling = repo.deletingLastPathComponent().appending(path: "highball-db")+ if FileManager.default.fileExists(atPath: sibling.appending(path: "recipes").path) { return sibling }+ return repo.appending(path: ".build/highball-db")}/// highball-db#195: Wine Mono writes the same NDP v4 Release value as Microsoft's .NET 4.8.1@@ -18,7 +24,7 @@ final class RecipeDBTests: XCTestCase {/// The shipped recipe must look for the real runtime, clr.dll, which Mono never installs.func testDotNet48IsNotInstalledWhereOnlyWineMonoIs() throws {let f = dbRoot.appending(path: "recipes/tweaks/dotnet48.json")- guard FileManager.default.fileExists(atPath: f.path) else { throw XCTSkip("highball-db checkout not found next to the repo") }+ guard FileManager.default.fileExists(atPath: f.path) else { throw XCTSkip("no highball-db checkout beside the repo and no .build/highball-db clone") }let recipe = try JSONDecoder.highball.decode(Recipe.self, from: Data(contentsOf: f))let dir = FileManager.default.temporaryDirectory.appending(path: "hb-dotnet-\(UUID().uuidString)")defer { try? FileManager.default.removeItem(at: dir) }@@ -36,7 +42,7 @@ final class RecipeDBTests: XCTestCase {func testAllShippedRecipesDecode() throws {let recipes = dbRoot.appending(path: "recipes")guard FileManager.default.fileExists(atPath: recipes.path) else {- throw XCTSkip("highball-db checkout not found next to the repo")+ throw XCTSkip("no highball-db checkout beside the repo and no .build/highball-db clone")}var checked = 0for sub in ["launchers", "games", "tweaks"] {@@ -62,7 +68,7 @@ final class RecipeDBTests: XCTestCase {func testAllShippedGameDBEntriesDecode() throws {let dir = dbRoot.appending(path: "db/games")guard FileManager.default.fileExists(atPath: dir.path) else {- throw XCTSkip("highball-db checkout not found next to the repo")+ throw XCTSkip("no highball-db checkout beside the repo and no .build/highball-db clone")}var checked = 0for f in try FileManager.default.contentsOfDirectory(at: dir, includingPropertiesForKeys: nil)@@ -112,7 +118,7 @@ final class RecipeDBTests: XCTestCase {func testRockstarRecipeAsksForTheWine11EngineInsteadOfBlocking() throws {let f = dbRoot.appending(path: "recipes/launchers/rockstar.json")guard FileManager.default.fileExists(atPath: f.path) else {- throw XCTSkip("highball-db checkout not found next to the repo")+ throw XCTSkip("no highball-db checkout beside the repo and no .build/highball-db clone")}let r = try JSONDecoder.highball.decode(Recipe.self, from: Data(contentsOf: f))XCTAssertNil(r.blocked, "a blocked recipe refuses on every engine, including the one it works on")@@ -125,7 +131,7 @@ final class RecipeDBTests: XCTestCase {func testVcrunInstallersArePinnedAndVerified() throws {let f = dbRoot.appending(path: "recipes/tweaks/vcrun2022.json")guard FileManager.default.fileExists(atPath: f.path) else {- throw XCTSkip("highball-db checkout not found next to the repo")+ throw XCTSkip("no highball-db checkout beside the repo and no .build/highball-db clone")}let r = try JSONDecoder.highball.decode(Recipe.self, from: Data(contentsOf: f))var installers = 0@@ -146,7 +152,7 @@ final class RecipeDBTests: XCTestCase {func testGogRecipeUsesOfflineInstaller() throws {let f = dbRoot.appending(path: "recipes/launchers/gog-galaxy.json")guard FileManager.default.fileExists(atPath: f.path) else {- throw XCTSkip("highball-db checkout not found next to the repo")+ throw XCTSkip("no highball-db checkout beside the repo and no .build/highball-db clone")}let r = try JSONDecoder.highball.decode(Recipe.self, from: Data(contentsOf: f))let installers = r.steps.compactMap { step -> URL? in