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

Linux Crack Tips

1910 readers
4 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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago (1 children)

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

[โ€“] MattyXarope 2 points 1 year ago

Native, binary