-
-
Notifications
You must be signed in to change notification settings - Fork 480
[Feat/macOS] Add Support for Apple's Gaming Toolkit #2787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Nope, won't show anything. |
What does this command shows on the terminal? |
2023-06-08 20:09:11.155 mdfind[95121:3444646] [UserQueryParser] Loading keywords and predicates for locale "de_DE" |
Same thing as on regular release, here's what that command is outputing:
Using Whisky's bottle and with Terminal usage, Control works.
With Heroic, nope. just quits, tried to log it but it's just backend things. |
@MCChristor @mavethee Ok I think I know the issue. This is not explicit in the Apple Readme, it just says to copy them to your PATH. Since $HOME/bin is inside the path, I copied them there. EDIT: I can confirm that if you do not copy the scripts to this folder Heroic cannot find them, I have updated the testing instructions. |
@flavioislima Done but still same thing, Heroic can't launch anything.
|
@mavethee but now the list appears in Heroic, right? My luck with games is varying as well, So far the ones that worked for me were:
But I am downloading more and also testing Steam. That runs fine but I tried Yakuza Like a Dragon and Death Stranding and they did not work. EDIT: |
@flavioislima I think it prevents me from my luck here:
That's if to trust Heroic game logs :P |
that's weird, I also have two brews installed but I did not did add the second one, the x64, to my path. So in my case it is using the default brew for arm64. |
@mavethee I also haven't copied the scripts like you to this folder, I have copied only the lib folder to it. Using the Ditto command like specified on the readme: And then manually I have copied the 3 scripts files to the bin folder inside my home folder. |
@flavioislima I have done exact same thing so I don't really know whats the issue. Full log on Abzu if that helps:
|
Does this work on macOS Ventura? |
I tried running Steam with the most recent build, but the "run installer first" button doesn't do anything. Please refer to the video. |
Nope as it requires Game porting toolkit beta which is only available on macOS Sonoma, and this tool requires Xcode 15 and Xcode 15 Command line tools |
Btw, can't launch anything with Heroic too |
Sonoma Only. |
@mavethee what the command: Can you also try not using Whisky? And remove the env vars as well? Let's try it vanilla as possible for now. I am thinking on trying a different approach on this PR and try using the wine64 binary that is distributed with the porting kit. But I tried this before and I could not have the same results, but maybe I missed something. For me, its working fine, even running games from Steam. And I just follow the Apple's Read me, letter by letter. |
Everything works fine when I'm outside of Heroic, it happened even with my Crossover bottle, and can't run games anymore, that's maybe because I changed my PC's user name, so Heroic thinks that he should use the old user folder. I changed every path in the Heroic launcher and it still doesn't work |
This is a log from ABZU in my case. It is running just fine and I used the same build we have here to make sure it is not a packaging issue:
|
Hmm, thats weird but yes, Heroic stores the home folder in a JSON file as a form of caching since we need it in several places like when installing a game or setting up the prefix. |
can you try running Heroic from terminal? Check what happens when you click the Run Installer First. if it shows some error, try changing the script to another one (no-hud or no-esync for instance) |
@pakkographic
@flavioislima I have it set depending on which arch in shell I'm currently using: for for
Sure thing, will use Apple's prefix renaming it to Heroic, as I assume naming isn't harmful much. Well here's the log, same case it seems:
Well I solely focus on running it from Heroic as it runs way better than macOS Steam app, could always link them to my Porting Toolkit app that runs Steam bottle but yeah, I assume it's the same case as running it from Terminal. We will see how it goes. Thanks for your work so far tho, I didn't expect someone will take a look on that this fast hah! |
I did install the toolkit using the instructions in the ReadMe included with the toolkit. I compiled it on my machine. I'll try a diffrent game |
As the description of this PR states
|
What a shame. Sorry for that. |
…uncher into feat/mac_gpt
When running a game with Game Porting Toolkit with Heroic, it launches an explorer window, that's all, when you try to launch the game through the explorer, the game crashes. Issue: #2832 |
same problem with me |
Can I get the DMG file for Apple silicon? |
https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/pull/2787/checks Click on build macOS, then arm64 Since this build is NOT signed (only releases are), you need to first run this command on the terminal: xattr -d -r com.apple.quarantine PATH_TO/Heroic.app (so you can open the app without any error message) |
when I go there it says that the file is expired and I can't download it |
![]() here a screenshot too |
@EvgeniSomlev till 2.9.0 will become stable release just use whatever is latest in main branch, artifacts and E.g.: |
can someone please explain how to do this? I am really stupid |
by just downloading a project. GPTK stuff is bundled into the project since 2.9.0 release. |
someone help me... i need to use the scrips... my result for mdfind are |
With this, Heroic will look for a current setup of the apple's GPT and list it under the Wine List:
So far it works for Epic games, GOG and also Sideloaded games.
Testers Needed!
HOW TO TEST: EPIC and GOG Games
To download the build to test, go bellow under 'CHECKS' and build_macOS click on
details
. Then on the page that will open, click on SUMMARY. And then go to ARTIFACTS and download the build for your system.Since this build is NOT signed (only releases are), you need to first run this command on the terminal:
xattr -d -r com.apple.quarantine PATH_TO/Heroic.app
Make sure you have installed the gaming porting toolkit following the Install instructions provided by Apple.
Make sure Spotlight is enabled and the command
mdfind wine64
returns something on the terminal.[IMPORTANT] If you want to use the Apple scripts, copy the 3 scripts (gamingportingtoolkit...) to
$HOME/bin
folder, otherwise Heroic won't be able to find them.Try to run some games and make sure it is working already.
When opening Heroic, go to Settings and on Game default check if, under WINE, it shows the list of the 3 gaming toolkit scripts as below and well the standalone wine (wine-7.7):

Download and install some Windows games from EPIC or GOG and select the Script you want to use on the game wine settings.
Use new prefixes instead of reusing an existing ones. If you have DXVK installed on the prefix, the game might not work.
Sideloaded Games
/Users/name/Games/GPT_PREFIX/drive_c/Program Files (x86)/Steam/Steam.exe
Use the following Checklist if you have changed something on the Backend or Frontend: