STEAM GROUP
Linux Nvidia Optimus Users LinuxOptimus
STEAM GROUP
Linux Nvidia Optimus Users LinuxOptimus
3
IN-GAME
36
ONLINE
Founded
19 November, 2012
All Discussions > Tips and Tricks > Topic Details
 This topic has been pinned, so it's probably important
CyberXZT 19 Nov, 2012 @ 2:21pm
How to Fix: "[S_API FAIL] SteamAPI_Init() failed; no appID found. Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder."
[S_API FAIL] SteamAPI_Init() failed; no appID found. Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
The above error will often show up when you launch a game outside of Steam. It can cause problems with multiplayer, DLC, etc.

To fix (in terminal):
cd ~/Steam/SteamApps/path/to/binary/ echo "00000" > steam_appid.txt

Note: Replace '/path/to/binary/' with the actual path where you launch the game. Also replace '00000' with the ID of the game you are trying to play. To find the ID, use one of the below websites:
http://marlamin.com/cdr/
http://cdr.thebronasium.com/
Last edited by CyberXZT; 19 Nov, 2012 @ 5:25pm
< >
Showing 1-1 of 1 comments
I can confirm this works with Superbrothers: Sword & Sworcery EP

I first modified the file "~/.local/share/Steam/SteamApps/common/Superbrothers\ Sword\ \&\ Sworcery\ EP/run.sh" and I included this line:

export LD_LIBRARY_PATH="~/.local/share/Steam/ubuntu12_32:$LD_LIBRARY_PATH"

Then I created the file steam_appid.txt in the subfolder "bin" with the ID 204060:

echo "204060" > bin/steam_appid.txt

Then I started the game:

optirun ./run.sh

Regards!
< >
Showing 1-1 of 1 comments
Per page: 1530 50

All Discussions > Tips and Tricks > Topic Details