├── README.md ├── Resources ├── WindowsSteamOnMac.png ├── gameporting.png ├── shortcuts.png ├── shortcuts2.png └── winecfg.png └── self-builder.md /README.md: -------------------------------------------------------------------------------- 1 | # Howto install the Windows version of Steam on Apple Silicon runing macOS Sonoma or Sequoia 2 | 3 | We will install the x86 version Homebrew in order to be able to use Apple's modified version of `Wine` and to install the Windows version Steam on Apple Silicon hardware. 4 | 5 | We will make sure that our existing environment (and the Apple silicon version of Homebrew we need for 'serious' work) remains undisturbed. 6 | 7 | 8 | 9 | This guide is only tested for Apple Silicon machines. 10 | 11 | ![Security warning:](http://img.shields.io/badge/Warning-orange.svg?style=flat): [Apple's homebrew recipe](https://raw.githubusercontent.com/apple/homebrew-apple/main/Formula/game-porting-toolkit.rb) uses heavily patched infrastructure components and is currently broken. This guide uses a prebuilt toolkit. 12 | 13 | ## Alternative: use Asahi Linux instead of unreliable macOS for gaming 14 | 15 | - Given the fact that arbitrary and undocumented and intranspartent updates of Apple's macOS continue to break efforts to use macOS for gaming, and 16 | - Given the recent progress of graphics support and wine support with Asahi Linux, the recommended path of action is to instead use an [Asahi Linux](https://asahilinux.org/) installation for Steam gaming, see [AAA Gaming on Asahi Linux](https://asahilinux.org/2024/10/aaa-gaming-on-asahi-linux/). 17 | 18 | The trade-offs are: 19 | 20 | - you'll have a second (excellent!) operating system on your Mac hardware, which requires additional disk space 21 | - You will need technical skills to install and maintain Asahi Linux 22 | - The graphics environment for Asahi Linux is still in a very early stage and under heavy development 23 | - On the plus-side you'll have an **ever-improving, transparent and open operating system to work with** 24 | 25 | ## Latest tested versions 26 | 27 | - 2024-12-11: ![ERROR:](http://img.shields.io/badge/Error-red.svg?style=flat): This guide is currently broken. Steam setup seems to crash on new installations. Some hints if you want to experiment: `wine` has to be replaced by `wine64` when using the latest (2024/11) beta 3 of GCenX's game-porting-toolkit. 28 | 29 | **ALTERNATIVE**: See note on Asahi Linux above. 30 | 31 | - 2024-09-22: macOS 15.1 Sequoia and GCenX prebuilt toolkit (see **Update notes**) 32 | - 2024-06-15: macOS 14.5 and the prebuilt `game_porting_toolkit` versions provided by [Dean Greer (GCenX)](https://github.com/Gcenx/game-porting-toolkit) which includes the latest 2.0 beta drivers for easy & up-to-date installation, it's no longer necessary (and anyway broken) to build the toolkit yourself, and all necessary components are included CGenX's build, so no longer necessary to download Apple's toolkit, Xcode or Command Line Toolkits. 33 | 34 | ## Preparations: 35 | 36 | - [Download Steam](https://store.steampowered.com/about/download). Make sure to download the [Windows setup](https://cdn.akamai.steamstatic.com/client/installer/SteamSetup.exe), and not the (default) Mac version. You should now have a file `SteamSetup.exe`. 37 | 38 | ## Step-by-step installation 39 | 40 | - The minimum macOS version is macOS Sonoma 14.5, a prebuilt game-porting-toolkit will be downloaded later via homebrew. 41 | - This guide only applies to **Apple Silicon Macs. No Intel support.** 42 | - Open a terminal (or iTerm2) 43 | - Make sure that rosetta is installed by entering: 44 | 45 | ```bash 46 | softwareupdate --install-rosetta 47 | ``` 48 | 49 | Now your Mac is able to execute x86_64 code. This is the basis for all the following installation. 50 | 51 | - Now switch to a x86 shell by entering: 52 | 53 | ```bash 54 | arch -x86_64 zsh 55 | ``` 56 | 57 | Type `arch` again, to make sure that you are using Intel. It should **not** show `arm64`, but `i386` ( ;-) ) 58 | 59 | Now, from a terminal that uses `x86_64` arch, install homebrew for x86: 60 | 61 | ```bash 62 | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 63 | ``` 64 | 65 | This will install the Intel x86 version of homebrew to `/usr/local`. If you already installed homebrew 66 | for Apple Silicon, then that version resides in `/opt/homebrew` and won't be touched. This guide will assume that the Apple Silicon 67 | homebrew is your important version, and will remain the default when working with terminal or using `brew`. If you do not have 68 | an Apple Silicon version of homebrew installed, don't worry, nothing we do here requires that or modifies any of it. 69 | 70 | Do **not** follow the recommendation at the end of the x86-homebrew install script to put `shellenv` into `.zprofile`. (That 71 | would put the x86 Version of Homebrew into your paths, conflicting with an Apple Silicon version of homebrew. No paths or 72 | environment modifications are needed in order to proceed!) 73 | 74 | In order not to mess up the two homebrew versions, we create an alias for the Intel homebrew: 75 | 76 | ```bash 77 | alias brew86=/usr/local/bin/brew 78 | ``` 79 | 80 | Note: if you are following Apple's readme, make sure to replace all instances of `brew` in Apple's doc with `brew86` from now on. 81 | 82 | ## Installation using a pre-built toolkit 83 | 84 | Use [Dean Greer's (GCenX)](https://github.com/Gcenx/game-porting-toolkit) versions of the toolkit that have been prebuilt. This is the faster installation method (and currently the only non-broken one): 85 | 86 | ```bash 87 | brew86 install --cask --no-quarantine gcenx/wine/game-porting-toolkit 88 | ``` 89 | 90 | This installs a macOS Application "Game Porting Toolkit" based on the old working binaries that opens a pre-configured terminal with all the game-porting tools. Go to macOS 'Applications' and open "Game Porting Toolkit". In the terminal window that gets started by the application, enter: 91 | 92 | `wine winecfg` 93 | 94 | to verify everything is working. Close Winecfg and start with the update procedure to the latest drivers. 95 | 96 | ### Updating the drivers (OPTIONAL, currently not necessary) 97 | 98 | Since CGenc's toolkit already contains the 2.0 beta drivers, it's currently not necessary to manually update the drivers. Skip to **Steam installation**, if current version of toolkit is 2.0 beta. 99 | 100 | > Make sure that you have opened the "Evaluation environment for Windows Games". You should see a folder at `/Volumes/Evaluation environment for Windows games 2.0`. Then start the update: 101 | > 102 | > ```bash 103 | > cd /Applications/Game\ Porting\ Toolkit.app/Contents/Resources/wine/lib/external 104 | > 105 | > mv D3DMetal.framework D3DMetal.framework-old; mv libd3dshared.dylib libd3dshared.dylib-old 106 | > 107 | > ditto /Volumes/Evaluation\ environment\ for\ Windows\ games\ 2.0/redist/lib/external/ . 108 | > ``` 109 | > 110 | > This is silent on success. 111 | 112 | ### Steam installation 113 | 114 | Now you are ready to install Steam. Again, use a Terminal that is opened by the "Game Porting Toolkit" application in your `Applications` folder, not the default terminal. Enter: 115 | 116 | ```bash 117 | MTL_HUD_ENABLED=0 WINEESYNC=1 wine ~/Downloads/SteamSetup.exe 118 | ``` 119 | 120 | After some time, the Steam login appears! 121 | 122 | Steam has been installed into the wine prefix at `~/.wine` and your Toolkit software resides within the application "Game Porting Toolkit". From any Terminal, you can now start Steam directly with: 123 | 124 | ```bash 125 | MTL_HUD_ENABLED=0 WINEESYNC=1 /Applications/Game\ Porting\ Toolkit.app/Contents/Resources/wine/bin/wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/steam.exe 126 | ``` 127 | 128 | This takes some times, but then Steam starts. 129 | 130 | ## Create a shortcut for Steam 131 | 132 | We can use Apple's 'Shortcuts' app to automate the process of launching Wine & Steam Windows. Start the Shortcuts app, create a new shortcut and add the action 'Run Shell Script'. 133 | 134 | ![](Resources/shortcuts2.png) 135 | 136 | The script text is: 137 | 138 | ```bash 139 | cd ~/.wine/drive_c 140 | MTL_HUD_ENABLED=0 WINEESYNC=1 /Applications/Game\ Porting\ Toolkit.app/Contents/Resources/wine/bin/wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/steam.exe 141 | ``` 142 | 143 | > **Note:** 'Shortcut' might ask you for confirmation, if you want to run scripts, and you need to enable that via the settings-link provided. 144 | 145 | Add an icon to the shortcut, and you are ready to go. The shortcut can be put into the dock, and now you simply can directly start Steam for Windows! 146 | (Right-click the shortcut script in the 'Shortcuts' app and select 'Add to dock' to create shortcut for your shortcut in the Shortcuts app...) 147 | 148 | Just be patient when starting Steam, it takes quite a long time! 149 | 150 | ## Update or repair notes 151 | 152 | - Steam should work with macOS 15.0 and Gcenx's version of the game-porting-toolkit. 153 | - I had to reinstall and update `brew86` _and_ Steam, your mileage might vary. 154 | 155 | After an OS update, you might want: 156 | 157 | - Make sure that you have Xcode 16 or the v16 Command Line Tools installed. When using Xcode, start Xcode at least once, because Apple only allows to compile code after you accepted their license agreement. 158 | 159 | Switch to X86 console: 160 | 161 | ```bash 162 | arch -x86_64 zsh 163 | ``` 164 | 165 | Add an alias: 166 | 167 | ```bash 168 | alias brew86=/usr/local/bin/brew 169 | ``` 170 | 171 | Upgrade x86 brew: 172 | 173 | ```bash 174 | brew86 upgrade 175 | ``` 176 | 177 | Reinstall or upgrade [Dean Greer's (GCenX) game-porting-toolkit](https://github.com/Gcenx/game-porting-toolkit) Use `upgrade` instead of `install` below to simply look for upgrades of the toolkit: 178 | 179 | ```bash 180 | brew86 upgrade --cask --no-quarantine gcenx/wine/game-porting-toolkit 181 | ``` 182 | ***or*** 183 | ```bash 184 | brew86 install --cask --no-quarantine gcenx/wine/game-porting-toolkit 185 | ``` 186 | 187 | Note: if `install` fails, because there are still debris of old versions, (Errors like "`wine already exists`"), look at `ls /usr/local/bin/wine*` and remove the files that block the install. 188 | 189 | Now check that `wine` works correctly: 190 | 191 | ```bash 192 | wine winecfg 193 | ``` 194 | 195 | The Wine setup screen should appear. There's no need to adapt settings in the setup dialog, simply close it with 'OK'. 196 | 197 | At last, install a fresh copy of steam, after downloading the _Windows_ version of Steam's setup: `SteamSetup.exe`, then: 198 | 199 | ```bash 200 | MTL_HUD_ENABLED=0 WINEESYNC=1 wine ~/Downloads/SteamSetup.exe 201 | ``` 202 | 203 | The setup throws quite a number of warning, not-implemented, and error messages. Nevertheless, after waiting patiently for a few minutes, the Steam login should appear! 204 | 205 | ### References 206 | 207 | - Good collection of information: [Apple Gaming Wiki](https://www.applegamingwiki.com/wiki/Game_Porting_Toolkit) 208 | - A 'batteries-included' GUI version to get the game-porting-toolkit running: [Whisky](https://github.com/Whisky-App/Whisky) 209 | - Pre-built versions of the toolkit are available at [Gcenx repository](https://github.com/Gcenx/game-porting-toolkit/releases) 210 | - [Apple Games](https://developer.apple.com/games/) hosts the original [Game Porting Toolkit](https://developer.apple.com/download/all/?q=game%20porting%20toolkit). There are two possible downloads: "Evaluation environment for Windows games 2.0 beta" and "Game porting toolkit 2.0 beta". The later is larger and contains the 'Evaluation environment' too. We will need the "Evaluation environment for Windows games 2.0" only. The "Evaluation environment for Windows games 2.0" contains a Readme that outlines the installation process, but here we will customize it, in order to run Steam. 211 | 212 | ### History 213 | 214 | - 2024-12-11: This guide stops recommending to fight against Apple's undocumented and intransparent macOS updates and recommends using Asahi Linux instead. 215 | - 2024-09-22: Retested installation with macOS 15.0 Sequoia, added paragraph 'Update notes'. 216 | - 2024-06-15: Installation based on [Gcenx repository](https://github.com/Gcenx/game-porting-toolkit) is now even easier, since it already contains the toolkit components. 217 | - 2024-06-11: Apple releases `game_porting_toolkit` 2.0 beta 1, self-built is __still__ broken, but a work-around is available using a pre-built toolkit. The self-builder instructions have been moved [here](https://github.com/domschl/WinSteamOnMac/blob/main/self-builder.md) (build is broken!). 218 | - 2024-03-26: Apple's `game_porting_toolit` requires Command Line Tools version 15.1 to build successfully, newer versions are not (yet) supported. 219 | - 2024-03-24: Apple's `game_porting_toolkit` is broken, the project currently doesn't install until the build is fixed by Apple. 220 | - 2024-03-08: macOS 14.4 testet ok. 221 | - 2023-11-24: Apple Game Porting Toolkit 1.1 changes. Addressed suggestions by @mobigroup and @cdtj concerning username placeholders. 222 | - 2023-10-06: New installations with Xcode 15, Sonoma 14.0 release and `game-porting-toolkit` 1.0 retested, ok. 223 | - 2023-10-06: Small fixes for release version of `game-porting-toolkit` 1.0, Uninstallation and troubleshooting notes. 224 | - 2023-09-26: macOS Sonoma 14.0 Release tested ok. No changes. 225 | - 2023-09-24: Retest with Sonoma RC, `game-porting-toolkit` Beta 4 (Note: library path on Apple's IMG has changed from `lib` to `redist/lib`. 226 | - 2023-08-14: Updates for `game-porting-tookit` Beta 3 alias 1.0.3 and Sonoma Beta 5. (No significant changes to the update procedure). 227 | - 2023-07-04: Section **Update notes** added. Apple has published a new version 1.0.2 of the game-porting toolkit. 228 | -------------------------------------------------------------------------------- /Resources/WindowsSteamOnMac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domschl/WinSteamOnMac/a6ac356cd3f5be7951141b8d2aff2ec5c58b7501/Resources/WindowsSteamOnMac.png -------------------------------------------------------------------------------- /Resources/gameporting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domschl/WinSteamOnMac/a6ac356cd3f5be7951141b8d2aff2ec5c58b7501/Resources/gameporting.png -------------------------------------------------------------------------------- /Resources/shortcuts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domschl/WinSteamOnMac/a6ac356cd3f5be7951141b8d2aff2ec5c58b7501/Resources/shortcuts.png -------------------------------------------------------------------------------- /Resources/shortcuts2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domschl/WinSteamOnMac/a6ac356cd3f5be7951141b8d2aff2ec5c58b7501/Resources/shortcuts2.png -------------------------------------------------------------------------------- /Resources/winecfg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domschl/WinSteamOnMac/a6ac356cd3f5be7951141b8d2aff2ec5c58b7501/Resources/winecfg.png -------------------------------------------------------------------------------- /self-builder.md: -------------------------------------------------------------------------------- 1 | - 2024-06-03: ![Note:](http://img.shields.io/badge/🛑-Error-red.svg?style=flat) Unfortunately Apple's installation is currently broken when not using a 3rd-party pre-built toolkit. See main readme. 2 | - 2024-03-24: ![Note:](http://img.shields.io/badge/⚠️-Warning-orange.svg?style=flat) Apple's `game-porting-toolkit` currently requires an older version of Apple's command line tool (version 15.1) in order to install successfully! Current Xcode 15.3 __will not work__! 3 | 4 | ----------------------- 5 | 6 | ### Built yourself __(currently broken)__ 7 | 8 | - If you want to try to build the toolkit yourself (currently broken!): Command Line Tools for Xcode **15.1** are required to be able to install `Game Porting Toolkit`. **WARNING** Apple's `game-porting-toolkit` currently fails to built with _all_ versions, so use a prebuilt toolkit for the time being. 9 | 10 | > #### Get the correct command line tools (optional, only for self-builders, won't work anyway) 11 | > 12 | > Get the command line tools here [Command line tools 15.1](https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_15.1/Command_Line_Tools_for_Xcode_15.1.dmg) 13 | > 14 | > If you have Xcode concurrent to command line tools installed, you can use `xcode-select -p` to check which version is active. The correct output after installation of command line tools 15.1 should be: `/Library/Developer/CommandLineTools`. In case a path to Xcode is shown, you can can correct the path with: 15 | > 16 | > ``` 17 | > sudo xcode-select -s /Library/Developer/CommandLineTools`. 18 | > ``` 19 | 20 | #### Continue with preparations 21 | Now we install Apple's homebrew tap: 22 | 23 | ```bash 24 | brew86 tap apple/apple http://github.com/apple/homebrew-apple 25 | ``` 26 | 27 | and install the toolkit: 28 | 29 | ```bash 30 | brew86 -v install apple/apple/game-porting-toolkit 31 | ``` 32 | 33 | > **Note:** This starts a rather lengthy install- and compilation process that takes a long time! The compilation process (which can take an hour or more depending on your machine) finished with. It will compile ancient compiler versions required first and then setup a specific version of `wine` tools that allow Windows programs to run on macOS. 34 | 35 | If the build is successful, you should see: 36 | 37 | ``` 38 | ==> game-porting-toolkit 39 | Please follow the instructions in the Game Porting Toolkit README to complete installation. 40 | ``` 41 | 42 | Instead, in order to continue the initial installation, skip down to **Continue with initial installation** 43 | 44 | ### Update notes 45 | 46 | > **Note:** This section is only for updates to a new version, once the complete installation was finished successfully before. 47 | > For initial installation, continue with **Continue with initial installation**. 48 | 49 | - Make sure to use both the latest release of macOS Sonoma, the latest latest release of `game-porting-toolkit`, and precise version 15.1 of the Command Line Tools for Xcode. 15.1 is the only supported version! 50 | 51 | If you want to update your x86 homebrew at a later point, start an x86 shell in Terminal with: 52 | 53 | ```bash 54 | arch -x86_64 zsh 55 | ``` 56 | 57 | then in the x86 shell: 58 | 59 | ```bash 60 | alias brew86=/usr/local/bin/brew 61 | ``` 62 | 63 | ```bash 64 | brew86 update 65 | brew86 upgrade 66 | ``` 67 | 68 | This will update your x86 homebrew environment and automatically build the latest `game-porting-toolkit`. 69 | Remember, the build process will take about 30min even on a very fast machine! 70 | 71 | Then you will need to download the latest [Game Porting Toolkit](https://developer.apple.com/download/all/?q=game%20porting%20toolkit) (select the "Evaluation environment for Windows games 2.0 beta") or the game porting toolkit, which contains the former too, to update the libraries in your wine prefix. Open the download and: 72 | 73 | ```bash 74 | ditto /Volumes/Evaluation\ Environment\ For\ Windows\ Games-2.0/redist/lib/ `brew --prefix game-porting-toolkit`/lib/ 75 | ``` 76 | 77 | That's all that's needed for an update. Below information applies only to the initial installation. 78 | 79 | When starting the Steam client after an update, remember that the initial first start might take several minutes (**patience!**), and is not always successful without 'retry': see below for common issues. 80 | 81 | #### Update trouble 82 | 83 | If steam doesn't start after an update: 84 | 85 | - have _patience_! First startup of steam seems to take several minutes. Sometimes a huge error-box displayed. Click on the box to make sure it has active input focus and press `Enter` to make it vanish. 86 | - When asked, select 'restart Steam' as response to possible errors. In many cases, the steam client at some point does appear! 87 | 88 | ##### Last resort on failed updates 89 | 90 | - try to re-install steam: `WINEPREFIX=~/Win10 /usr/local/opt/game-porting-toolkit/bin/wine64 SteamSetup.exe`, or: 91 | - completely remove your homebrew x86 installation at `/usr/local/` and start over. (See below 'Uninstallation Notes' for proper removal.) 92 | 93 | #### Problems after Steam Client self-update 94 | 95 | - Self-update of steam client gets stuck. Wait for things to 'settle', then restart your computer to eliminate old rogue processes. It might be necessary to manually kill `wine64-preloader` instances before a restart is possible. After restart, the Steam Client update should work fine. 96 | 97 | ### Continue with initial installation 98 | 99 | Now create a directory that will contain all the Windows stuff, Steam and any games you download. Here we'll use `~/Win10`, 100 | which is our `wine` prefix (Apple uses the example of `my-game-prefix`, we'll go with `Win10`): 101 | 102 | ```bash 103 | mkdir ~/Win10 104 | WINEPREFIX=~/Win10 `brew86 --prefix game-porting-toolkit`/bin/wine64 winecfg 105 | ``` 106 | 107 | Note: we use the alias `brew86` we defined above. 108 | 109 | 110 | 111 | This should start the `winecfg` program, a small setup for our `wine` environment. 112 | 113 | - In WineCfg, select `Windows 10`, and `Apply`, 114 | 115 | - Now open the Game Porting Toolkit which you downloaded above in Finder to verify it's mounted. 116 | 117 | 118 | 119 | From your Terminal, it should be available at: 120 | 121 | ```bash 122 | ls /Volumes/Evaluation\ Environment\ For\ Windows\ Games-2.0 123 | ``` 124 | 125 | Make sure you see the files of the toolkit and then: 126 | 127 | ```bash 128 | ditto /Volumes/Evaluation\ Environment\ For\ Windows\ Games-2.0/redist/lib/ `brew --prefix game-porting-toolkit`/lib/``` 129 | 130 | This (silently) copies the required apple libraries into your `wine` installation. Note that since beta-4, the libs on the image from Apple are in `redist/lib` (older Beta versions: `lib`) 131 | 132 | Now copy the Windows setup of steam (we assume you downloaded into the default `~/Downloads` folder) into your new Windows drive: 133 | 134 | ```bash 135 | cp ~/Downloads/SteamSetup.exe ~/Win10/drive_c 136 | ``` 137 | 138 | Now enter your `Win10` directory and note the full path of this directory: 139 | 140 | ```bash 141 | cd ~/Win10 142 | pwd 143 | ``` 144 | 145 | It should say something like `/Users/you-user-name/Win10`. This is your `wine`-prefix, which you need to use below. 146 | 147 | Apple provides a few scripts to start games, which we will not use: `gameportingtoolkit`, `gameportingtoolkit-no-esync`, and `gameportingtoolkit-no-hud`. Open those script with your favorite editor to learn how to configure `wine`. The `Readme.rtf` or the Game Porting Toolkit explains the differences. 148 | 149 | We use what we learned from inspecting the scripts and directly start the Steam setup with: 150 | 151 | ```bash 152 | cd ~/Win10/drive_c 153 | MTL_HUD_ENABLED=0 WINEESYNC=1 WINEPREFIX=~/Win10 /usr/local/opt/game-porting-toolkit/bin/wine64 SteamSetup.exe 154 | ``` 155 | 156 | This should now start the Steam setup process. Be patient. 157 | 158 | - If you get a failure dialog box with several options, as "Restart Steam?", try that, and on continued failure exit the dialog, 159 | - Reboot(!) (There seem to be rogue processes that prevent successful retries without reboot) 160 | - And after reboot, open 'Terminal' and start Steam directly: 161 | 162 | ```bash 163 | cd ~/Win10/drive_c 164 | MTL_HUD_ENABLED=0 WINEESYNC=1 WINEPREFIX=~/Win10 /usr/local/opt/game-porting-toolkit/bin/wine64 Program\ Files\ \(x86\)/Steam/Steam.exe 165 | ``` 166 | 167 | This took some time (**patience!**), but then the Steam logon appears! Horray! 168 | 169 | Login, and start installing your favorite Windows games... 170 | 171 | ### Quality of life enhancement. 172 | 173 | We can use Apple's 'Shortcuts' app to automate the process of launching Wine & Steam Windows. Start the Shortcuts app, create a new shortcut and add the action 'Run Shell Script'. 174 | 175 | ![](Resources/shortcuts.png) 176 | 177 | The script text is: 178 | 179 | ```bash 180 | cd ~/Win10/drive_c 181 | MTL_HUD_ENABLED=0 WINEESYNC=1 WINEPREFIX=~/Win10 /usr/local/opt/game-porting-toolkit/bin/wine64 Program\ Files\ \(x86\)/Steam/Steam.exe 182 | ``` 183 | 184 | > **Note:** 'Shortcut' might ask you for confirmation, if you want to run scripts, and you need to enable that via the settings-link provided. 185 | 186 | Add an icon to the shortcut, and you are ready to go. The shortcut can be put into the dock, and now you simply can directly start Steam for Windows! 187 | (Right-click the shortcut script in the 'Shortcuts' app and select 'Add to dock' to create shortcut for your shortcut in the Shortcuts app...) 188 | 189 | ### Closing Steam 190 | 191 | - Use Steamclient's GUI menu (Steam / Exit) or the menu bar icon (right-click, 'Exit Steam') to terminate steam. The GUI should display 'Shutting down Steam', indicating a proper termination of all Steam processes. 192 | - Just Ctrl-C-ing in the terminal (or other methods to 'suddenly' terminate Steam will cause crash-bug-workarounds to kick in, restarting Steam automatically again and again... 193 | 194 | ### Troubleshooting 195 | 196 | - See the `Readme.rtf`, section 'Troubleshooting' in Apple's `game-porting-toolkit` for advice on problems with specific games. 197 | - In case you got stuck somewhere during install, follow the 'Uninstallation notes' below before retrying a new installation. 198 | 199 | ### Uninstallation notes 200 | 201 | - Uninstall the Intel version of homebrew, enter a x86 shell with `arch -x86_64 zsh`, following [this link to the uninstall-script](https://github.com/homebrew/install#uninstall-homebrew). There are three different deinstall scripts listed, you'll want the last one that selects the specific homebrew x86 version at `/usr/local`. Use the last option that allows selecting the prefix `/usr/local` to make sure that you remove the correct Homebrew version. Execute this script from a X86-64 Shell created with `arch -x86_64 zsh`. 202 | - Simply remove the directory tree that holds your wine-prefix: remove `~/Win10`. 203 | - Note: If you want to reinstall, make sure to _reboot once_ to remove any remaining steam or setup processes from memory. 204 | --------------------------------------------------------------------------------