You also might wanna just use Whisky which does this automatically
This guide works on macOS 13.4+ using Command Line Tools for XCode 15 Beta!
In the recent WWDC, Apple announced and released the "game porting toolkit", which upon further inspection this is just a modified version of CrossOver's fork of wine which is a "compatibility layer" that allows you to run Windows applications on macOS and Linux.
Playing Windows games on MacOS
First, install homebrew which is an amazing macOS package manager, which is weirdly enough what Apple themselves have used for distrobution of this program
brew tap apple/homebrew-apple
This adds apple's offical "repository" for their "forumula" (package), which includes the game-porting-toolkit
Make sure that rosetta2 is installed
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
homebrew to inside Rosetta
arch -x86_64 zsh
cd /usr/local && mkdir homebrew
curl -L github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
arch -x86_64 /usr/local/homebrew/bin/brew tap apple/homebrew-apple
arch -x86_64 /usr/local/homebrew/bin/brew install game-porting-toolkit
Now, you can install the game-porting-toolkit
Warning: This will take a LONG TIME, and will use up a LOT of system resources because it needs to compile a really large project (LLVM)
brew install game-porting-toolkit
Then, go to this url (on apple.com) to download the actual toolkit, place it somewhere memorable.
First, you need to create a "wine prefix" for your game.
To do this,
WINEPREFIX=~/my-game-prefix `brew --prefix game-porting-toolkit`/bin/wine64 winecfg
Where you would replace my-game-prefix
with whatever you want you want it to be.
You should now change (in the window that pops up) the windows version to "windows 10"
Press ok, and then install your game into my-game-prefix
Finally, to install apple's game porting toolkit, use
ditto [REPLACE THIS WITH WHEREVER YOU PUT THE GAME PORTING TOOLKIT]/lib/ `brew --prefix game-porting-toolkit`/lib/
and finally, to run the executable,
[REPLACE THIS WITH WHEREVER YOU PUT THE GAME PORTING TOOLKIT]/gameportingtoolkit ~/my-game-prefix 'C:\\Program Files\\MyGame\\MyGame.exe'
or, for without the debug GUI
[REPLACE THIS WITH WHEREVER YOU PUT THE GAME PORTING TOOLKIT]/gameportingtoolkit-no-hud ~/my-game-prefix 'C:\\Program Files\\MyGame\\MyGame.exe'
TODO
Hi there,
I`ve managed (probably) - to install the gptk as well as windows version of steam and two games ESO and Skyrim - last one is only a windows game - so I think I am good this far... BUT: when I try to start the games, I do get the following error:
Unhandled exception: page fault on read access to 0x0000000000000000 in 64-bit code (0x00000140006bb1).
Register dump:
rip:0000000140006bb1 rsp:000000000011f400 rbp:000000000011f9d0 eflags:00000202 ( - -- I - - - )
rax:00004c020cd4f878 rbx:000000000011f988 rcx:0000000000000000 rdx:0000000000000000
rsi:0000000000000001 rdi:0000000000000000 r8:000000023d8d67d0 r9:000000023d8d64c0 r10:00000000c0000001
r11:000000017006ba60 r12:0000000000000000 r13:0000000000000000 r14:000000000025a3cb r15:0000000140000000
Stack dump:
....
What am I doing wrong?
THX for help!
Marcus