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
Merge branch 'feat/gog-mac' into feat/epic-mac
Gabe43e3643e1fec
diff --cc Sources/HighballApp/AppState.swiftindex b1c65f9,9656117..7614856--- a/Sources/HighballApp/AppState.swift+++ b/Sources/HighballApp/AppState.swift@@@ -549,13 -545,10 +548,13 @@@ final class AppState/// Play on Mac leads for this item (see MacSteamBuild.leads).func prefersMacBuild(_ item: LibraryItem) -> Bool {- // A GOG Mac build leads once installed, unless it is one macOS no longer runs.if item.source == .gog {- return item.installedOnMac && item.gogID.flatMap { gogMacInstalled[$0] }?.arch != .only32Bit+ return StoreMacBuild.leads(entry: gameDB.entry(for: item), installedOnMac: item.installedOnMac,+ arch: item.gogID.flatMap { gogMacInstalled[$0] }?.arch)}+ if item.source == .epic {+ return item.installedOnMac && item.epicAppName.flatMap { epicMacArch[$0] } != .only32Bit+ }return MacSteamBuild.leads(entry: gameDB.entry(for: item), installedOnMac: item.installedOnMac,appInfo: item.steamAppID.flatMap { macAppInfoByAppID[$0] })}diff --cc Sources/HighballApp/GameDetailView.swiftindex 31039d7,3ef6e23..9ba3e2a--- a/Sources/HighballApp/GameDetailView.swift+++ b/Sources/HighballApp/GameDetailView.swift@@@ -718,7 -716,7 +734,7 @@@ struct GameDetailView: View: L("Its anti-cheat does not run on macOS.")).font(.callout).foregroundStyle(.secondary)}- } else if item.source == .gog || item.source == .epic, item.macListed, !item.installedOnMac {- } else if item.source == .gog, state.macListed(item), !item.installedOnMac {++ } else if item.source == .gog || item.source == .epic, state.macListed(item), !item.installedOnMac {// A Mac version is listed: that's the install on offer, the Windows one a click away.VStack(alignment: .leading, spacing: 6) {VStack(alignment: .leading, spacing: 10) {diff --cc Sources/HighballApp/L10n.swiftindex 05f62ed,2108424..5226fc5--- a/Sources/HighballApp/L10n.swift+++ b/Sources/HighballApp/L10n.swift@@@ -413,7 -413,10 +413,11 @@@ enum L10n"The Mac version's saves sync with GOG's cloud before and after you play.": "Les sauvegardes de la version Mac se synchronisent avec le cloud GOG avant et après chaque partie.","The game handles the Mac version's saves; some games sync them with GOG's cloud themselves while comet runs.":"Le jeu gère les sauvegardes de la version Mac ; certains jeux les synchronisent eux-mêmes avec le cloud GOG quand comet tourne.",+ "Make an environment first: the Windows version installs into one.": "Créez d’abord un environnement : la version Windows s’y installe.",+ "Highball can't update the Mac version yet: for a newer build, remove it and install it again.":+ "Highball ne sait pas encore mettre à jour la version Mac : pour une version plus récente, supprimez-la et installez-la de nouveau.",+ "GOG names a folder for the Mac version's saves that other apps may share, so Highball does not sync it: the saves stay on this Mac.":+ "GOG indique pour les sauvegardes de la version Mac un dossier que d’autres apps peuvent partager, donc Highball ne le synchronise pas : les sauvegardes restent sur ce Mac.","How saves sync with GOG": "Comment les sauvegardes se synchronisent avec GOG","GOG syncs saves in one of two ways, chosen per game and per version.": "GOG synchronise les sauvegardes de deux façons, selon le jeu et la version.","Folder sync: GOG names the folders a game saves in, and Highball copies them to and from GOG's cloud before and after you play, as GOG Galaxy does. When both copies changed, Highball asks which one to keep.":diff --cc Sources/HighballApp/LibraryView.swiftindex f9ab889,d967cf5..b58ff99--- a/Sources/HighballApp/LibraryView.swift+++ b/Sources/HighballApp/LibraryView.swift@@@ -352,8 -352,8 +352,8 @@@ struct LibraryTile: View}.transition(.opacity)}- SourceBadge(source: item.source, mac: state.macSteamBuild(for: item), macListed: item.macListed,+ SourceBadge(source: item.source, mac: state.macSteamBuild(for: item), macListed: state.macListed(item),- macInstalled: item.source == .gog && item.installedOnMac)+ macInstalled: (item.source == .gog || item.source == .epic) && item.installedOnMac).frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading).padding(6)if let appid = item.steamAppID, state.session(forAppID: appid) != nil {