steveshi
2023-08-15 18:35:10 +08:00
更新步骤:
## Ensure the toolkit is already on latest version
Ensure you're in an x86_64 shell to continue the following steps in a Rosetta environment. All subsequent commands should be run within this shell, re-run if you're unsure if you're in correct shell or just doing an update.
arch -x86_64 zsh
Run Homebrew to gather potential updates and upgrade Apple's GPTK formula:
brew update && brew upgrade apple/apple/game-porting-toolkit
If you're updating from previous release, make sure to repeat Preparing the toolkit section below.
On base M1 takes around ~48 mins to update, clean install takes ~75mins, for comparison M2 Max: ~19mins to update, 36mins for clean install.
## Preparing the toolkit
Make sure the Game Porting Toolkit dmg downloaded earlier is mounted at /Volumes/Game Porting Toolkit-1.0. Use this script to copy the Game Porting Toolkit library directory into Wine’s library directory.
ditto /Volumes/Game\ Porting\ Toolkit-1.0/lib/ `brew --prefix game-porting-toolkit`/lib/
Put the 3 scripts from the Game Porting Toolkit DMG into here /usr/local/bin using this command:
cp /Volumes/Game\ Porting\ Toolkit*/gameportingtoolkit* /usr/local/bin