Game Porting Toolkit

RSS for tag

Provides an emulation environment to run your existing, unmodified Windows game on the Mac.

Posts under Game Porting Toolkit tag

35 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Game porting toolkit build error
I followed the instruction from this page https://www.applegamingwiki.com/wiki/Game_Porting_Toolkit#Game_compatibility_list to install the toolkit. Everything worked fine until I ran the command brew -v install apple/apple/game-porting-toolkit. It threw the following error: Error: apple/apple/game-porting-toolkit 1.0 did not build Logs: /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/00.options.out /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/wine64-build /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/01.configure.cc /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/02.make.cc /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/01.configure /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/02.make Do not report this issue to Homebrew/brew or Homebrew/homebrew-core! Error: You are using macOS 14. We do not provide support for this pre-release version. It is expected behaviour that some formulae will fail to build in this pre-release version. It is expected behaviour that Homebrew will be buggy and slow. Do not create any issues about this on Homebrew's GitHub repositories. Do not create any issues even if you think this message is unrelated. Any opened issues will be immediately closed without response. Do not ask for help from Homebrew or its maintainers on social media. You may ask for help in Homebrew's discussions but are unlikely to receive a response. Try to figure out the problem yourself and submit a fix as a pull request. We will review it but may or may not accept it. Did anyone have the same issue and found a fix for it?
27
3
25k
Sep ’23
Diablo IV - Entering new areas, opening Character menu causes RAM Memory Overflow and screen freezes/crashes
I have a Macbook Pro 16 M1Pro 16Gb Ram MacOS 14 Sonoma Beta 4 and GPT 1.0.2 and currently testing Diablo 4 V 1.04 (latest Update on 08.08.2023). The game is awesome and it runs in 2560x1440 in 50-60fps on my 4K-LG Display over HDMI very smoothly, until .... see Problem 1 and Problem 2 Graphics details are in full detail. smooth shadows and even FSR2 works perfectly. Diablo4 needs around 9-11 GB Ram on my system. There are no background activities running! Problem 1: exploring new areas causes Ram Buffer overflow, freezes the screen, and crashes, and a new system reboot is needed. Problem 2: when trying to buy/sell an item, or just the characters menu will be opened, the game freezes. A game reboot is necessary! While running the HUD in games I can see what's going on and could analyze, that while it's the case Problem 1 and Problem 2 happening, The RAM jumps from 9-11 GB to 16-18 GB. This is much more than the System can deliver and cause the screen freezes and crash. Either the whole system reboot or mostly just the game reboot is needed. Would be very nice if Apple could fix/adjusts GPT in the next versions of Diablo 4. Many thanks in advanced
4
2
3.1k
Aug ’23
Game Porting Toolkit issue 1.02 installment
How do I fix this, I type brew upgrade in terminal and this popped up. Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)! Please create a new installation in /opt/homebrew using one of the "Alternative Installs" from: https://docs.brew.sh/Installation You can migrate your previously installed formula list with: brew bundle dump
3
1
2.0k
Aug ’23
Error while installing Game Porting Toolkit on the gptk command
Error: Failure while executing; /usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.1.3\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 14.0\)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://mirrors.ustc.edu.cn/homebrew-bottles/bison-3.8.2.ventura.bottle.tar.gz exited with 35.
1
0
838
Aug ’23
Unknown AMD Radeon driver version
When I try to launch Star Wars Battlefront II 2017 I get an error that my AMD Radeon driver version is unknown. I found a solution for dxvk. Add: dxgi.customDeviceId = 10de dxgi.customVendorId = 1c06 into dxvk.conf. How can I fix that using Game Porting Toolkit? Screenshot - https://drive.google.com/file/d/1ueSDesizkJDcc6XufyB295k4JqhEL-bb/view?usp=share_link
0
0
600
Aug ’23
Wrong platform and OS detection from D3DMetal beta3
Using GPTK beta3, when launching steam from Sonoma b5 VM (launched from latest UTM 4.3.5) is says : D3DM: D3DMetal requires Apple silicon and macOS 14.0 Sonoma or higher command used to launch steam: gameportingtoolkit ~/my-game-prefix 'C:\Program Files (x86)\Steam\steam.exe' GPTK was compiled/installed fine using x86 homebrew and Xcode 15b6 command line tools. gameportingtoolkit have been copied to /usr/local/bin as to unmount GPTK image. On a M2 Pro 12 CPU/19GPU Mac mini, 32GB. (8 performance core and 20 GB ram allocated to the VM)
3
0
1.6k
Aug ’23
Automated, GUI-Based Installer for Apple Game Porting Toolkit
InstallAware Software has published an open source GUI to automate all of the command line chores involved in getting Apple's Game Porting Toolkit up and running: https://github.com/installaware/AGPT Features: Uninstalls Homebrew for Apple Silicon if it is already present (as mandated by the Apple Game Porting Toolkit) Installs Homebrew x86_64 Installs Wine Configures Wine settings for Windows (optional) Copies over Apple Game Porting Toolkit binaries to accelerate DirectX 12 games running on Apple Silicon when the DMG download from Apple Developer is locally available (optional) Installs the manually supplied version of Xcode Command Line Tools when the DMG download from Apple Developer is locally available (Xcode Command Line Tools are automatically set up by Homebrew unless you're running macOS Sonoma) Installs arbitrary Windows software, including games Runs previously installed Windows Software, including Wine supplied default tools (File Manager, Registry Editor, "reboot" tool, App Uninstaller, Task Manager, Notepad, Wordpad, Internet Browser); supports passing custom command line parameters to launched apps Does not require macOS Sonoma or Apple Silicon Supports Apple Intel hardware and earlier macOS versions through standard Wine functionality (running 3D games at high performance using your non-Apple Silicon embedded/dedicated GPUs) In addition to locally downloading and building the sources yourself using the repository above (and creating your own forks), you may also download a pre-built DMG, notarized by Apple and thus safe and free of security limitations - providing you with a single-click experience to run any Windows software on your Mac today: https://www.installaware.com/iamp/agpt.dmg
1
1
2.8k
Sep ’23
Debug export with game porting toolkit?
Hi all, I have tried a simple search and ended up here. I am trying to debug an issue with testing my game using GPTK. It looks like the usual debug flags do not apply to GPTK, anyone have an idea of how I can see what is being called through the GPTK or wine as my game loads? I am getting a generation error and I believe a dll is responsible as it checks for CPU id, I assume something is missing in wine's windows structure or isn't in the wrapper's windows registry or this is an api not implemented fully. I am not sure how to debug this or see what is really going on at this point. Any help is greatly appreciated.
0
0
508
Sep ’23
Cannot use `arch -x86_64 zsh` and install Game Porting Toolkit
Hi! I'm using MacOS Sonoma v14.0 on MacBook M1. But currently I cannot install Game Porting Toolkit. Could you help me please to fix this problem? ❯ softwareupdate --install-rosetta --agree-to-license By using the agreetolicense option, you are agreeing that you have run this tool with the license only option and have read and agreed to the terms. If you do not agree, press CTRL-C and cancel this process immediately. 2023-09-26 22:30:56.440 softwareupdate[6923:59484] Package Authoring Error: 042-54922: Package reference com.apple.pkg.RosettaUpdateAuto is missing installKBytes attribute Install of Rosetta 2 finished successfully ❯ arch -x86_64 zsh arch: posix_spawnp: zsh: Bad CPU type in executable I also tried to update Rosetta from /System/Library/CoreServices/Rosetta 2 Updater
2
1
2.1k
Sep ’23
Help me with this problem while installing game porting tool
Warning: apple/apple/game-porting-toolkit 1.0.4 is already installed and up-to-date. To reinstall 1.0.4, run: brew reinstall game-porting-toolkit dmitrxx@MacBook-Pro-Dima ~ % WINEPREFIX=~/Win10 brew --prefix game-porting-toolkit/bin/wine64 winecfg Error: undefined method __prefix' for Homebrew:Module Please report this issue: https://docs.brew.sh/Troubleshooting /usr/local/Homebrew/Library/Homebrew/brew.rb:86:in ' zsh: no such file or directory: /bin/wine64 dmitrxx@MacBook-Pro-Dima ~ %
1
0
1.3k
Oct ’23
[GPTK] Crash while launching Need for Speed Hot Pursuit Remastered
See attached for console output after launch. Search for "err". Once you get to the point where Origin can launch successfully, the game will attempt to launch for a second or two and then close. M1 Macbook Air running 14.0 (23A344), using Whisky to handle the creation and linking of bottles 0754: thread_get_state failed on Apple Silicon - faking zero debug registers 0750:err:d3d:wined3d_check_gl_call >>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glClear @ /private/tmp/game-porting-toolkit-20231007-39251-eze8n5/wine/dlls/wined3d/context_gl.c / 2330. 06a0:fixme:d3d:wined3d_check_device_format_conversion output 0079CCB0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! 0758: thread_get_state failed on Apple Silicon - faking zero debug registers 0758:err:d3d:wined3d_check_gl_call >>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glClear @ /private/tmp/game-porting-toolkit-20231007-39251-eze8n5/wine/dlls/wined3d/context_gl.c / 2330. 0760: thread_get_state failed on Apple Silicon - faking zero debug registers 0764: thread_get_state failed on Apple Silicon - faking zero debug registers 0768: thread_get_state failed on Apple Silicon - faking zero debug registers 076c: thread_get_state failed on Apple Silicon - faking zero debug registers 0770: thread_get_state failed on Apple Silicon - faking zero debug registers 0688:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0012FEB8 wine: Unhandled page fault on read access to 0000000000000000 at address 0000000000000000 (thread 06fc), starting debugger... 06a0:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0012FEB8 wine: Unhandled page fault on read access to 0000000000000000 at address 0000000140003035 (thread 070c), starting debugger... 067c:fixme:file:ReplaceFileW Ignoring flags 2 0798: thread_get_state failed on Apple Silicon - faking zero debug registers 0784:fixme:imm:ImeSetActiveContext (0x36b920, 1): stub 0784:fixme:imm:ImmReleaseContext (0000000000030276, 000000000036B920): stub 0794:fixme:imm:ImeSetActiveContext (0x36b920, 1): stub 0794:fixme:imm:ImmReleaseContext (00000000000202DA, 000000000036B920): stub 0640:fixme:cryptnet:check_ocsp_response_info check responder id 07a0: thread_get_state failed on Apple Silicon - faking zero debug registers 0640:fixme:cryptnet:check_ocsp_response_info check responder id 0778:fixme:imm:ImeSetActiveContext (0x36ed90, 1): stub 0778:fixme:imm:ImmReleaseContext (000000000001030E, 000000000036ED90): stub 07a8: thread_get_state failed on Apple Silicon - faking zero debug registers 07ac: thread_get_state failed on Apple Silicon - faking zero debug registers 078c:fixme:imm:ImeSetActiveContext (0x36ed90, 1): stub 078c:fixme:imm:ImmReleaseContext (0000000000010330, 000000000036ED90): stub 06f0:fixme:d3d:wined3d_guess_card_vendor Received unrecognized GL_VENDOR "Apple". Returning HW_VENDOR_NVIDIA. 06f0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 06f0:fixme:d3d:wined3d_check_device_format_conversion output 000000000027DC30, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! 07b0:err:d3d:wined3d_check_gl_call >>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glClear @ /private/tmp/game-porting-toolkit-20231007-39251-eze8n5/wine/dlls/wined3d/context_gl.c / 2330. steam-origin-launch.txt
0
0
1.5k
Oct ’23
[GPTK] Unity game controller support
While my GPTK setup works fine with games like Rocket League, any Unity made game will freeze when a joystick input is given. I've tested this with 'Zeepkist' and 'Engine Evolution 2021', both have full steam controller support enabled. If I run the GPTK game in foreground, right after moving the joystick, this error is logged: 0bac:fixme:rawinput:rawinput_from_hardware_message Unhandled rawinput type 0x100 This only happens when Steam is running. For example, running the 'Zeepkist' .exe manually while Steam is NOT RUNNING, the controller works fine! Most of the time this results in a crash throwing: 0bbc:fixme:dbghelp:SymLoadModuleExW Unsupported Flags 00000005 for (null) 0bbc:fixme:dbghelp:SymLoadModuleExW Unsupported Flags 00000005 for (null) 0bbc:fixme:dbghelp:SymRegisterFunctionEntryCallback64 (0000000000000084 0000000140036E50 2508e0): stub! wine: Unhandled page fault on read access to 0000001BFFFFFFE4 at address 000000006E73B991 (thread 0bac), starting debugger... 0bbc:fixme:file:CancelSynchronousIo (000000000000007C): stub 0810:fixme:imm:ImeSetActiveContext (0x36ed10, 1): stub 0810:fixme:imm:ImmReleaseContext (000000000009020A, 000000000036ED10): stub I would love to play Unity games using GPTK. Please suggest any tips/tricks to resolve this issue.
0
0
833
Oct ’23
Game porting toolkit installation fails with FreeType error
Hi there, I'm currently trying to install the game porting toolkit on my M2pro Mac Mini. (MacOS Sonoma 14.0) As the InstallAware AGPT-Installer always failed with "error 1" (..check disk space blabla) I tried the installation using the console and the steps described here: https://www.applegamingwiki.com/wiki/Game_Porting_Toolkit But: The general installation step always fails: brew -v install apple/apple/game-porting-toolkit It results in the following error: Error: apple/apple/game-porting-toolkit 1.0.4 did not build Logs: /Users/jgruen/Library/Logs/Homebrew/game-porting-toolkit/00.options.out /Users/jgruen/Library/Logs/Homebrew/game-porting-toolkit/wine64-build /Users/jgruen/Library/Logs/Homebrew/game-porting-toolkit/01.configure.cc /Users/jgruen/Library/Logs/Homebrew/game-porting-toolkit/01.configure If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core): apple/apple If you scroll up, you can see the likely source of the problem: ... checking for ft2build.h... yes checking for -lfreetype... not found configure: error: FreeType 64-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. ... Note that I also have XCode 15.0 installed. FreeType is also available under /usr/local/opt/ All previous steps were ok. This one fails. How can I "install" the 64 bit development version? By the way I also have the include files, so some kind of FreeType dev code is here. (/usr/local/include/freetype2/ft2build.h for example) Any help or idea would be cool.
1
0
1.5k
Oct ’23
Game porting toolkit: No Available Windows when open steam.exe
I installed and configured all the environments follow the Read Me.rtf and then installed Steam with this command. gameportingtoolkit ~/my-game-prefix ~/Downloads/SteamSetup.exe. After installation, when I first opened steam.exe, it shows me this and installing update. It seems normal at this point. Then the window disappeared, and so is the steam icon in the dock. The terminal window is also unable to enter new commands. I don't know how to kill the steam.exe, so I just close this terminal window and open a new one. No matter how many times I tried with this, there is nothing happened. gameportingtoolkit ~/my-game-prefix 'C:\Program Files (x86)\Steam\steam.exe' If I try this command, MTL_HUD_ENABLED=1 WINEESYNC=1 WINEPREFIX=~/my-game-prefix $(brew --prefix game-porting-toolkit)/bin/wine64 'C:\Program Files (x86)\Steam\steam.exe' the steam icon will appears in the Dock but it always shows no available window. at the same time, too many logs come up and seem to never stop (I suspect they're duplicate messages form a certain location, but since I can't quiet understand what they are talking about, so I just copied some of them and put them in the attachment). I was wondering if it might have something to do with the error message when create the new Wine prefix, but this error message didn't seem to affect either the appearance of the “Wine configuration” window or the configuration. Anyone else having the same issues? I really don't know what went wrong. Thank you all for your patience in reading! part of log
1
0
1.9k
Oct ’23
Game toolkit build error
I followed the instructions from the .dmg to install gpt. Everything worked fine until I ran the command brew -v install apple/apple/game-porting-toolkit. It threw the following error: apple/apple/game-porting-toolkit 1.0.4 did not build Logs: /Users/stepanegorov/Library/Logs/Homebrew/game-porting-toolkit/00.options.out /Users/stepanegorov/Library/Logs/Homebrew/game-porting-toolkit/wine64-build /Users/stepanegorov/Library/Logs/Homebrew/game-porting-toolkit/01.configure.cc /Users/stepanegorov/Library/Logs/Homebrew/game-porting-toolkit/02.make.cc /Users/stepanegorov/Library/Logs/Homebrew/game-porting-toolkit/01.configure /Users/stepanegorov/Library/Logs/Homebrew/game-porting-toolkit/02.make If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core): apple/apple I use MacBook air m2 and i have no idea how to fix it
0
0
700
Oct ’23
GPTK Installation Error: No Such File or Directory
I am attempting to install Apple's Game Porting Toolkit. I have been following the 'read me' instructions that Apple provides when you install the Game Porting Toolkit package on Apple's developer website. I ran $ brew -v install apple/apple/game-porting-toolkit, which downloaded for around 20 minutes before it reached: ==> Pouring pkg-config--0.29.2_3.sonoma.bottle.tar.gz ln -s ../Cellar/pkg-config/0.29.2_3/bin/pkg-config pkg-config ln -s ../../Cellar/pkg-config/0.29.2_3/share/aclocal/pkg.m4 pkg.m4 ln -s ../../Cellar/pkg-config/0.29.2_3/share/doc/pkg-config pkg-config ln -s ../../../Cellar/pkg-config/0.29.2_3/share/man/man1/pkg-config.1 pkg-config.1 Error: No such file or directory @ rb_sysopen - /Users/anna/Library/Caches/Homebrew/downloads/c5b6da58fb5d679eeb1765833596e7394625255fb46b165955fc4c4de746080e--pkg-config--0.29.2_3.sonoma.bottle.tar.gz I am completely stumped as to what to do in this case. I've tried uninstalling and reinstalling homebrew, trying to install GPTK on a fresh user on my mac, and running brew cleanup and trying to GPTK install again. I would really appreciate any help or suggestions for me to fix this! This is the output of brew doctor: Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks! Warning: Unbrewed dylibs were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected dylibs: /usr/local/lib/libtlImageIO.dylib /usr/local/lib/libtliadjust50.dylib /usr/local/lib/libtliclean30.dylib /usr/local/lib/libtlidejpeg40.dylib /usr/local/lib/libtlieffecta11.dylib /usr/local/lib/libtlieffecta12.dylib /usr/local/lib/libtliinfocus10.dylib /usr/local/lib/libtlistar10.dylib And this is the output of brew config HOMEBREW_VERSION: 4.1.20 ORIGIN: https://github.com/Homebrew/brew HEAD: d3d51d3448966b5250b5c60110c945040054803d Last commit: 8 days ago Core tap JSON: 19 Nov 22:15 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_CASK_OPTS: [] HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.6zCg6FefHr/org.macosforge.xquartz:0 HOMEBREW_MAKE_JOBS: 10 Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: 10-core 64-bit westmere Clang: 15.0.0 build 1500 Git: 2.39.3 => /Library/Developer/CommandLineTools/usr/bin/git Curl: 8.1.2 => /usr/bin/curl macOS: 14.1.1-x86_64 CLT: 15.1.0.0.1.1699597245 Xcode: 15.1 => /Applications/Xcode-beta.app/Contents/Developer Rosetta 2: true
1
0
946
Nov ’23