-
Notifications
You must be signed in to change notification settings - Fork 3
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
Mac Support #1
Comments
Unfortunately I don't think it's possible.
The bridge relies on direct calls to the Linux kernel for operations beyond the Wine prefix. |
Check if v1.1-rc1 works for you. |
I couldn't reproduce the issue you're having (unless I kill Discord). |
Weird, I tested on macOS Monterey and it works without any issues. What version of macOS you are running? How did you launch the bridge? |
I'm on MacOS Sonoma (Using Whisky btw). I launch the executable from the gui and then launch steam and my game. |
I see, the issue is that the bridge can't get Line 169 in 5d0e6c4
Unfortunately, $TMPDIR is not hard-coded and I don't know yet how to get it without getenv() .Launching Whisky from the terminal may work? |
I may be able to find a solution. How do you launch the progam on your machine? Also does $TMPDIR changes or it is a static value? |
This is currently my bash script to launch Steam and the bridge.exe: #!/bin/bash
echo "$TMPDIR"
WINEDEBUG="fixme-all" WINEPREFIX="/Users/marlon/Library/Containers/com.isaacmarovitz.Whisky/Bottles/AA8F5A78-D5C8-47C9-910E-56E81DEEB64A" GST_DEBUG="1" WINEESYNC="1" WINEDLLOVERRIDES="dxgi,d3d9,d3d10core,d3d11=n,b" DXVK_ASYNC="1" /Users/marlon/Library/Application\ Support/com.isaacmarovitz.Whisky/Libraries/Wine/bin/wine64 start /unix /Users/marlon/Library/Containers/com.isaacmarovitz.Whisky/Bottles/AA8F5A78-D5C8-47C9-910E-56E81DEEB64A/drive_c/bridge.exe
WINEDLLOVERRIDES="dxgi,d3d9,d3d10core,d3d11=b" WINEPREFIX="/Users/marlon/Library/Containers/com.isaacmarovitz.Whisky/Bottles/AA8F5A78-D5C8-47C9-910E-56E81DEEB64A" WINEDEBUG="fixme-all" GST_DEBUG="1" DXVK_ASYNC="1" WINEESYNC="1" /Users/marlon/Library/Application\ Support/com.isaacmarovitz.Whisky/Libraries/Wine/bin/wine64 start /unix /Users/marlon/Library/Containers/com.isaacmarovitz.Whisky/Bottles/AA8F5A78-D5C8-47C9-910E-56E81DEEB64A/drive_c/Program\ Files\ \(x86\)/Steam/steam.exe When I run it from the terminal (./launch.sh), it returns:
So the variable is correctly set, but not accessible in the program. How am I supposed to launch the program with the args then? |
Ok so I did some changes and I added Add
The binary: bridge.zip |
Okay! This seems to work. After narrowing the problem a bit more, I found that this was Whisky's fault as it escapes env variables 😅. Appart from that, the problem where the bridge was printing EOF is also fixed. |
Got another problem on mac sorry 😅
|
|
After some testing, I haven't encountered an error for a long while 👍 |
I've just had an idea to support installing in the wine prefix on MacOS. You said it was not possible due to the $TMPDIR folder changing each reboot. What if there was a simple bash script that launched with launchctl every reboot, and that symlinked the $TMPDIR folder to a static path? If you don't know how to do that on Mac, I would be glad to help. |
After some tinkering, I managed to make it work! Here's a bare bone fix. Basically, you have to use the |
Oh wow! I didn't know about launchd agent. I will look in your code and integrate the patches, if that is okay. |
If you want, I can make a pull request once you're done reviewing the code. Some things may be strange because I don't know C very well. |
Yes, the code is okay, you can make a pull request. |
I made a pull request :D |
It is possible to add support for Darwin systems? I may have done a mistake in setting up the bridge but I am not certain.
The text was updated successfully, but these errors were encountered: