Skip to content

Instantly share code, notes, and snippets.

@TeroKeso
Forked from Frityet/game-porting-toolkit.md
Created June 7, 2023 13:23
Show Gist options
  • Save TeroKeso/93437abf5f79ad6cad5836f9fc8cb7ad to your computer and use it in GitHub Desktop.
Save TeroKeso/93437abf5f79ad6cad5836f9fc8cb7ad to your computer and use it in GitHub Desktop.

How to install game-porting-toolkit (aka proton for macOS)

What is this?

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.

Why would I want this?

Playing Windows games on MacOS

How?

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

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.

How do I use it?

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'

Integration into Steam

TODO

@TeroKeso
Copy link
Author

TeroKeso commented Jun 7, 2023

Do you mind if I put this in the main tutorial?

Sure, missing way to get Game_porting_toolkit_beta.dmg so this is getting old really fast :(

In main, there was nice link to https://github.com/IsaacMarovitz/Whisky and I will try it out on later date

@Frityet
Copy link

Frityet commented Jun 7, 2023

Do you mind if I put this in the main tutorial?

Sure, missing way to get Game_porting_toolkit_beta.dmg so this is getting old really fast :(

I main, there was nice link to github.com/IsaacMarovitz/Whisky and I will try it out on later date

lol yeah, im actually contributing to that rn, seems to be the best option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment