xomachine / SteamForwarder

steam_api.dll implementation for wine. Your windows games now can interact with your linux steam! (This repo mirrors https://gitlab.com/xomachine/SteamForwarder)
MIT License
196 stars 8 forks source link

err:module:import_dll Library steam_api.dll not found #13

Closed ibrokemypie closed 6 years ago

ibrokemypie commented 6 years ago

Hey, trying to run appid 6060 with this, however it just doesnt seem to run. Wine-staging-nine 2.21, clean prefix, downloaded fine, log follows:

$ cat lastrun.log                                            
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
fixme:winediag:start_process Wine Staging 2.21 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
fixme:module:load_dll Loader redirect from L"d3d9.dll" to L"d3d9-nine.dll"
err:module:import_dll Library steam_api.dll (which is needed by L"Z:\\extra\\home\\.steam\\steam\\steamapps\\common\\Star Wars Battlefront II\\GameData\\BattlefrontII.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\extra\\home\\.steam\\steam\\steamapps\\common\\Star Wars Battlefront II\\GameData\\BattlefrontII.exe" failed, status c0000135

and the run script:

$ cat Star\ Wars:\ Battlefront\ 2\ \(Classic,\ 2005\).sh 

#!/bin/bash
export WINEPREFIX="/extra/home/.wine"
export WINEDLLPATH+=":/extra/home"
export LD_LIBRARY_PATH+=":/extra/home/.local/share/Steam/ubuntu12_32/:/extra/home"
export WINEDEBUG="trace+steam_api"
export WINEARCH="win32"
export WINEDLLOVERRIDES="*steam_api=b"
export SteamAppId="6060"
export SteamControllerAppId="6060"
export SteamGameId="6060"
export SteamUser="coolo_1"
export SteamAppUser="coolo_1"
LD_PRELOAD="gameoverlayrenderer.so" wine "/extra/home/.steam/steam/steamapps//common/Star Wars Battlefront II/GameData/BattlefrontII.exe"  &> "$(dirname "$0")/lastrun.log"
ibrokemypie commented 6 years ago

Seems to have been simply because of the aur package I used, it didnt actually include the dll in the path...