this post was submitted on 17 Sep 2023
11 points (100.0% liked)

Linux Crack Tips

1881 readers
7 users here now

Welcome to Linux Crack Tips!

The place to share and discuss everything about the intersection of Linux, Gaming and Piracy.

This is the official replacement for r/LinuxCrackSupport, which was abandoned by the original mod team!

Community rules:

Important links:

Related communities

founded 1 year ago
MODERATORS
 

So recently, for reasons unknown to me, the old trick of

 WINEDLLOVERRIDES="steam_api64=n,b" %command%

has not been working, at least with SteamOS 3.5 on the Steam Deck.

So here is the fix if you've been having the problem of "SteamAPI_Init() failed" in your logs, particularly when using something like the Goldberg emulator that relies on implementing a replacement for steam_api64.dll. This should work for other cracks like TENOKE's which use the same method.

1.Navigate to the folder of the Proton version that you want to use for the game (it defaults here on the Steam Deck):

 /home/deck/.local/share/Steam/steamapps/common/(THE PROTON VERSION THAT YOU USE)/user_settings.sample.py

2.Rename that file to:

 user_settings.py

3.Within that file, erase everything and add one single line:

 user_settings = {"WINEDLLOVERRIDES": "steam_api64=n,b"}

4.Save the file and check to see if your games are working through Steam.

I don't know why this works over WINEDLLOVERRIDES in the launch options - it really shouldn't. But I've found that it does.

Let me know your experience.

top 1 comments
sorted by: hot top controversial new old
[–] gr522x@lemmy.ml 1 points 1 year ago

Sorry for the n00b question, but what does the =n,b stand for in the variable?