Hey SirNuke,
I have spend the last days to find a way to get this nice library to work on MacOS.
I have already come quite far and have difficulties sorting out some final errors.
- I am using the pre-compiled steam_api_proxy.dll you uploaded.
- I got the steam_api_bridge.dll.so to compile after linking explicitly against libstdc++. (MacOS defaults to libc++, which does not compile correctly with the bridge, but thats another bug).
- I installed the helper tools and got a working Wine 1.7.20 install up and running.
- I have checked that the steam_api.dll gets replaced correctly, and all environment variables for launching Wine are set correctly.
- I also replaced the linux libsteam_api.so with my mac libsteam_api.dylib (taken from Left 4 Dead 2 for Mac, I did not find a global one).
- I also adjusted all paths in the config.py and utility.py to match the MacOS equivalent paths.
(7. You have a lot typo's in the python scripts like "app = app.Entry(...)", instead of "app = appdb.Entry(...)")
So at first I made a second steam account for testing and tried to get "Loadout" running. I know it is a multiplayer title (which is not supported), but it was the first free game, that came into my mind and I was only hoping to get into the main menu.
I installed the game in another wine prefix via Windows Steam and manually moved the Manifest and the Game Files.
Upon starting the game process killed itself very quickly. I forget to install the windows Steam version to that prefix and instead tried to run Alien Swarm, as I though the game itself is probably just not working.
Alien Swarm was giving me an error message instead (GetSteamInstallPath not implemented).
Then I just linked my new steam account with family sharing to my real account to get some more games to test. Next try was "South Park: The Stick Of Truth", I got the same bug like with Loadout and finally realized Steam was not installed into the prefix probably. So I did that and now starting SouthPark was just launching the windows steam version instead and starting the game that way...
To debug this issue I was running wine with WINEDEBUG=+loaddll and WINEDEBUG=+module and I found not a single line about the steam_api.dll (neither proxy or bridge), instead the game did load c:\program\ files\steam\steam.exe.
For further debugging I downloaded the dependency walker and did open the southpark.exe with it. The result is, that the steam_api.dll is loaded lazy and it's dependency steam_api_bridge.dll cannot be loaded. Which means that the steam_api_bridge.dll.so fails to load, am I correct?
I have no idea, what I may try to continue debugging this error, as I do not find any errors in the wine logs about loading the bridge.
To you have an idea, how to fix this?
If this issue might be game related, can you recommend a game (best free or with a demo version), that is known to work correctly on linux with steambridge?
Hey SirNuke,
I have spend the last days to find a way to get this nice library to work on MacOS.
I have already come quite far and have difficulties sorting out some final errors.
(7. You have a lot typo's in the python scripts like "app = app.Entry(...)", instead of "app = appdb.Entry(...)")
So at first I made a second steam account for testing and tried to get "Loadout" running. I know it is a multiplayer title (which is not supported), but it was the first free game, that came into my mind and I was only hoping to get into the main menu.
I installed the game in another wine prefix via Windows Steam and manually moved the Manifest and the Game Files.
Upon starting the game process killed itself very quickly. I forget to install the windows Steam version to that prefix and instead tried to run Alien Swarm, as I though the game itself is probably just not working.
Alien Swarm was giving me an error message instead (GetSteamInstallPath not implemented).
Then I just linked my new steam account with family sharing to my real account to get some more games to test. Next try was "South Park: The Stick Of Truth", I got the same bug like with Loadout and finally realized Steam was not installed into the prefix probably. So I did that and now starting SouthPark was just launching the windows steam version instead and starting the game that way...
To debug this issue I was running wine with WINEDEBUG=+loaddll and WINEDEBUG=+module and I found not a single line about the steam_api.dll (neither proxy or bridge), instead the game did load c:\program\ files\steam\steam.exe.
For further debugging I downloaded the dependency walker and did open the southpark.exe with it. The result is, that the steam_api.dll is loaded lazy and it's dependency steam_api_bridge.dll cannot be loaded. Which means that the steam_api_bridge.dll.so fails to load, am I correct?
I have no idea, what I may try to continue debugging this error, as I do not find any errors in the wine logs about loading the bridge.
To you have an idea, how to fix this?
If this issue might be game related, can you recommend a game (best free or with a demo version), that is known to work correctly on linux with steambridge?