Giter VIP home page Giter VIP logo

steamforwarder's People

Contributors

xomachine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

steamforwarder's Issues

Error "Reader not found"

python3 sf_install --steamnative --no-download <appid is here>

outputs

Connecting to steam instance...
Traceback (most recent call last):
  File "sf_install", line 189, in <module>
    steaminterface = SteamNativeInterface(config)
  File "/home/tarik02/tmp/SteamForwarder/installer/steam.py", line 38, in __init__
    self.rpid = findReader(self.pid)
  File "/home/tarik02/tmp/SteamForwarder/installer/steam.py", line 15, in findReader
    raise Exception("Reader not found")
Exception: Reader not found

Can't make using either method

A simple make or make generate-code gives me the same errors on compile:

wineg++ -c -m32 -fpermissive -Wno-attributes -Isteam -I. -Iautoclass -D__WINESRC__ -DVERSION_SAFE_STEAM_API_INTERFACES -DUSE_BREAKPAD_HANDLER -o autoclass/wrap_isteamclient.o autoclass/wrap_isteamclient.cpp
In file included from steam/steam_api.h:13:0,
from autoclass/steam_api_.h:3,
from autoclass/wrap_isteamclient.cpp:1:
steam/isteamclient.h:77:0: warning: "__cdecl" redefined
#define cdecl
^
:0:0: note: this is the location of the previous definition
autoclass/wrap_isteamclient.cpp: In member function ‘virtual HSteamPipe ISteamClient
::CreateSteamPipe()’:
autoclass/wrap_isteamclient.cpp:6:8: error: ‘result’ does not name a type
auto result = this->internal->CreateSteamPipe();
^
In file included from ./config.h:7:0,
from autoclass/steam_api
.h:4,
from autoclass/wrap_isteamclient.cpp:1:
autoclass/wrap_isteamclient.cpp:7:35: error: ‘result’ was not declared in this scope
TRACE("() = (HSteamPipe )%p\n", result);
^
autoclass/wrap_isteamclient.cpp:9:10: error: ‘result’ was not declared in this scope
return result;

Failure to install with steamnative

As asked on reddit:

I've used your aur package to build it, nothing else to configure anything (maybe that's the issue)

SF in the console:
app_install --steamnative -v 2 20900 --depot
Connecting to steam instance...
Steam process found
PID:
Command pipe: /home/john/.steam/steam.pipe
Output reader PID:
Volumes: [<1>, <2>, <3>]
Obtaining app info...
'oslist'
Failed to get appinfo via steamcmd, falling back to http method...
Depot downloading is not available with http method!
Generating manifest...
Downloading The Witcher: Enhanced Edition via steamcmd...
Downloading started! Check out your steam. When download is finished, run this script again with the same options and additional --no-download argument.

Steam console (that's big):

https://gist.github.com/John-Gee/ab5f85d6bf8dc48174fcb9eb31d42397

The last 2 lines seem related to the UI and not SteamForwarder

Error when using app_install.py

I am using Ubuntu 16.04.3 LTS. When I run:

python3 app_install.py --wineprefix ~/steamWindowsPrefix/ --login ********* --password ********** 730

I get this python error:

Traceback (most recent call last):
File "app_install.py", line 159, in
aparser.add_argument('-s', '--steamapps-dir', help='path to the steamapps dir', type=str, dest='steamapps', default=config["steamapps"])
KeyError: 'steamapps'

app_install password is visible in command history

Because the password is passed in via a command line argument, it is recorded in the user's shell history. Most applications ask for a password separately using something like getpass. It also gives the user peace-of-mind because the password isn't cleary visible in the terminal.

Downloads in root

Quite funny.
Looked for an hour, why he can't find the game.
Turns out he downloaded it inside the root folder.
On Arch here.

Games fail to start recently

lastrun.txt
Hey,

until recently the script worked perfectly but now games simply fail to start.
"recently" is a broad term because I can't pin point the date.. Shouldn't be more than 3 months, though.

I'm on Arch 4.12.4-1 with all the latest updates installed. SteamForwarder is the latest precompiled release.

The thing is..
On the very same prefix with the very same version of Wine (2.13 staging) the very same games will start when run through the official windows steam client.

I suspect a change in the api that your dll doesn't cover.
The line from the attached log that makes me think that is this one:
wine: Call from 0x7bc77fb9 to unimplemented function steam_api.dll.SteamInternal_ContextInit, aborting
but in the end I'm clueless..

Does anyone else experience this behavior? Any clue where I could look for a fix?

P.S.:
Thanks for providing this great script.

Steam API specs request

It is possible to avoid the steam_api.dll.so compilation process (and get rid of Nim dependency) for user. To achieve that I need to collect spec files from all versions of steam_api.dll. I already collected some of them, but earlier versions still required.

If you have a steam_api.dll of version listed below, please make a spec file and post it here.
To make a spec file you need winedump utility which can be found in the wine-devel package (or in wine package in arch-based distros). The command you need to enter is winedump spec <path to steam_api.dll>. Then the steam_api.spec file will be placed at your current working dir.

The list of missing versions:

  • 1.26
  • 1.27
  • 1.28
  • 1.29
  • 1.30
  • 1.31
  • 1.32
  • 1.33

Is it possible to do this with a VM?

Not sure if this is even feasible, but I find that my games sometimes work better in VirtualBox than in Wine. Could this project integrate Windows games in a VM guest with the host's Linux Steam installation?

undefined symbol `SteamAPI_ISteamMusic_GetVolume` in generated steam_api.dll.so

Thank you for the cool project.

Installed latest (75df618) steamforwarder-git from AUR.

Game installation log: https://gist.github.com/bmwalters/91554a89a18f6f704fb24f740d99fa18

Game execution log:

$ ./Launch.sh 
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
0012:fixme:wer:WerSetFlags (2) stub!
0012:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0009:err:module:load_builtin_dll failed to load .so lib for builtin L"steam_api.dll": /usr/share/SteamForwarder/versions/1.33b/steam_api.dll.so: undefined symbol: SteamAPI_ISteamMusic_GetVolume
0009:err:module:import_dll Loading library steam_api.dll (which is needed by L"Z:\\home\\zerf\\.local\\share\\Steam\\steamapps\\common\\CastleCrashers\\castle.exe") failed (error c000007a).
0009:err:module:attach_dlls Importing dlls for L"Z:\\home\\zerf\\.local\\share\\Steam\\steamapps\\common\\CastleCrashers\\castle.exe" failed, status c0000135

Not working for game in standalone using steam_api.dll

Hi,

I want to use the steamforwarder.

I know, now we have Steamplay and proton.

But in my case, I have the game on Steam (it is an old game), but I install it in standalone with a moded pack with hd version, better music, better graphics etc... so outside Steam.

And this modded version can deal with the Steam Api. It use steam_api.dll to dialog with steam and get achievment etc...
It work on windows of course, and it work too with wine (I installed it with Lutris) and installing steam windows version on the same wine prefix of the game.

But, I want to "translate" the steam_api.dll to allow this wine game to dialog directly with steam native version.
Therefore, it will not be necessary to install a windows client. That the purpose of SteamForwarder.

I'm on Arch Linux. I tried SteamForwarder, but it did not work.
I can't generate an steam_api.dll.so, and the script .sh to launch the game with wine (with DLLOVERRIDE...).

So can you help me please, or explain how can I make it work ?

I didn't need to download the game on steam, it is already dowloaded. Or use steamcmd.
Juste need to find how can I forward wine steam game (or exactly a standalone game using the steam api) to linux native.

Thank you so much if you can learn me how I can realize this project.

See you :)

steamnative: local variable 'curlang' referenced before assignment

I got the following error when trying to download a game (Divinity II 219780) via --steamnative

Traceback (most recent call last):
  File "./sf_install", line 211, in <module>
    appinfos = steaminterface.getAppInfo()
  File "/home/user/projects/SteamForwarder/installer/steam.py", line 92, in getAppInfo
    self.appinfo = parse_app_info(answer, self.appid)
  File "/home/user/projects/SteamForwarder/installer/steaminterface.py", line 106, in parse_app_info
    appinfos['regfile'] = makeRegFile(installactions['Registry'], curlang)
UnboundLocalError: local variable 'curlang' referenced before assignment

I "fixed" it by adding a default curlang = "english" just above the if 'baselanguages' in appinfo['depots']:.

I'm not sure if this is a change in steam's appinfo format or just for this game but here is the json from the console:

{
	"common"
	{
		"name"		"Divinity II: Developer's Cut"
		"type"		"Game"
		"clienticon"		"c3fa656adf90d83643e4a912554f66a72a632d9a"
		"clienttga"		"543dab2aa5001768d54ff31e836b9c31cf848191"
		"icon"		"e0dae7e1b381620b7265023f350b169990da1abf"
		"logo"		"4f27f30ba5b89a80f162072e824d2255752945ad"
		"logo_small"		"4f27f30ba5b89a80f162072e824d2255752945ad_thumb"
		"metacritic_name"		"Divinity 2: Developer's Cut"
		"small_capsule"
		{
			"english"		"capsule_231x87.jpg"
		}
		"header_image"
		{
			"english"		"header.jpg"
		}
		"community_hub_visible"		"1"
		"gameid"		"219780"
		"store_tags"
		{
			"0"		"122"
			"1"		"1684"
			"2"		"1695"
			"3"		"4046"
			"4"		"1697"
			"5"		"4231"
			"6"		"21"
			"7"		"19"
			"8"		"4182"
			"9"		"4057"
			"10"		"4166"
			"11"		"4747"
			"12"		"1719"
			"13"		"4172"
			"14"		"1756"
			"15"		"7208"
			"16"		"4136"
			"17"		"1742"
		}
	}
	"extended"
	{
		"developer"		"Larian Studios"
		"gamedir"		"Divinity 2 Director's Cut"
		"homepage"		"http://www.larian.com"
		"icon"		""
		"noservers"		"0"
		"sourcegame"		"1"
		"state"		"eStateAvailable"
		"thirdpartycdkey"		"1"
		"visibleonlywhensubscribed"		"1"
		"publisher"		"Larian Studios"
		"gamemanualurl"		"http://store.steampowered.com/manual/219780/"
	}
	"config"
	{
		"contenttype"		"3"
		"installdir"		"divinity2_dev_cut"
		"launch"
		{
			"0"
			{
				"executable"		"Autorun.exe"
				"config"
				{
					"oslist"		"windows"
				}
			}
		}
		"installscriptsignature"		"344175d13c643b23acf9fa9a7c9c100b6b711955bbbcd9fd670dc754f95efc36ccc8e528fe34cd1382bb2ca9af8dde688312d2ab5ba96f9c3666aa9d08953c22477ae794c1c419c4e729537e616f3ce861ec14e1473069e7e9b56be43fafd49ccccb1029bd724770074ea3c83b3c93faf4ebb653e19aca837d003f406a506d93"
		"installscriptoverride"		"1"
	}
	"install"
	{
		"Registry"
		{
			"hkey_current_user\\software\\larian studios\\divinity ii - dks"
			{
				"string"
				{
					"target_folder"		"%INSTALLDIR%"
				}
			}
		}
		"run process"
		{
			"directx"
			{
				"hasrunkey"		"HKEY_LOCAL_MACHINE\\Software\\Valve\\Steam\\Apps\\219780"
				"process 1"		"%INSTALLDIR%\\support\\DirectX\\Feb2007\\DXSETUP.exe"
				"command 1"		"/silent"
				"nocleanup"		"1"
			}
			"vcredist"
			{
				"hasrunkey"		"HKEY_LOCAL_MACHINE\\Software\\Valve\\Steam\\Apps\\219780"
				"process 1"		"%INSTALLDIR%\\support\\VCRedist\\VS80sp1-redist_x86-4053.exe"
				"command 1"		"/q"
				"nocleanup"		"1"
			}
			"vcredist2"
			{
				"hasrunkey"		"HKEY_LOCAL_MACHINE\\Software\\Valve\\Steam\\Apps\\219780"
				"process 1"		"%INSTALLDIR%\\support\\VCRedist\\VS90sp1-redist_x86-9.0.30729.17.exe"
				"command 1"		"/q"
				"nocleanup"		"1"
			}
			"physx"
			{
				"hasrunkey"		"HKEY_LOCAL_MACHINE\\Software\\Valve\\Steam\\Apps\\219780"
				"process 1"		"%INSTALLDIR%\\support\\PhysX\\PhysX_9.09.0428_SystemSoftware.exe"
				"command 1"		"/quiet"
				"nocleanup"		"1"
			}
		}
	}
	"depots"
	{
		"219781"
		{
			"name"		"Divinity 2: Developer's Cut Content"
			"systemdefined"		"1"
			"config"
			{
				"oslist"		"windows"
			}
			"manifests"
			{
				"public"		"680918273947975519"
			}
			"maxsize"		"3051386981"
		}
		"219782"
		{
			"name"		"English"
			"config"
			{
				"language"		"english"
				"oslist"		"windows"
			}
			"manifests"
			{
				"public"		"6253915778589161688"
			}
			"maxsize"		"6758992006"
		}
		"219783"
		{
			"name"		"French"
			"config"
			{
				"language"		"french"
				"oslist"		"windows"
			}
			"manifests"
			{
				"public"		"7129837099643880910"
			}
			"maxsize"		"7544423299"
		}
		"219784"
		{
			"name"		"German"
			"config"
			{
				"language"		"german"
				"oslist"		"windows"
			}
			"manifests"
			{
				"public"		"8969967851637397177"
			}
			"maxsize"		"7410703885"
		}
		"219785"
		{
			"name"		"Russian"
			"config"
			{
				"language"		"russian"
				"oslist"		"windows"
			}
			"manifests"
			{
				"public"		"2894376249660804045"
			}
			"maxsize"		"7527235358"
		}
		"219786"
		{
			"name"		"Polish"
			"config"
			{
				"language"		"polish"
				"oslist"		"windows"
			}
			"manifests"
			{
				"public"		"2196818784475338260"
			}
			"maxsize"		"7711172530"
		}
		"219787"
		{
			"name"		"Anthology"
			"config"
			{
				"oslist"		"windows"
			}
			"manifests"
			{
				"public"		"5709788403628094774"
			}
			"maxsize"		"209482781"
		}
		"219788"
		{
			"name"		"Italian"
			"config"
			{
				"language"		"italian"
				"oslist"		"windows"
			}
			"manifests"
			{
				"public"		"7151150613532782803"
			}
			"maxsize"		"6758992006"
		}
		"219789"
		{
			"name"		"Spanish"
			"config"
			{
				"language"		"spanish"
				"oslist"		"windows"
			}
			"manifests"
			{
				"public"		"6918006692494886749"
			}
			"maxsize"		"6758992006"
		}
		"overridescddb"		"1"
		"preloadonly"		"1"
		"branches"
		{
			"public"
			{
				"buildid"		"23566"
			}
		}
	}
	"ufs"
	{
		"quota"		"1000000000"
		"maxnumfiles"		"1000"
		"savefiles"
		{
			"0"
			{
				"root"		"WinAppDataLocal"
				"path"		"Divinity 2/Savegames"
				"pattern"		"*.dxg"
				"platforms"
				{
					"1"		"Windows"
				}
				"recursive"		"1"
			}
		}
	}
}

sf_install python3 shebang line is wrong

$ ./sf_install --help
bash: ./sf_install: /bin/env: bad interpreter: No such file or directory
$ head -n1 ./sf_install 
#!/bin/env python3

I'm pretty sure that should be /usr/bin/env python3. I know it says to use python3 sf_install ... in the readme but it is already marked executable so you may as well make running it directly work too.

Failure to build with LTO

As asked on reddit:

When LTO is set in /etc/makepkg.conf the build fails at link.

I'm using the aur package without modification to it.

Full flags:
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fno-plt -fstack-check -flto=$(nproc)"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-flto"

Failure:

aur-steamforwarder-git/src/SteamForwarder/tools/nimcache/dllparser.o: In function findBestSOLib_JqYlfcFyaB8KuQo9ckp8G9bA': dllparser.c:(.text+0xd8c): undefined reference to contains_HKT6OZnEmHzo1Z3izIwLZQ'
aur-steamforwarder-git/src/SteamForwarder/tools/nimcache/dllparser.o: In function NimMainModule': dllparser.c:(.text+0x1bc5): undefined reference to NTI_O5h9b2DHiZ9as6IlqEXhDAkg_'
dllparser.c:(.text+0x1ff4): undefined reference to NTI_PACZxzsw3jicSea9ai2ghqw_' dllparser.c:(.text+0x2011): undefined reference to initTable_zV5oU6FeS1GaZMwcoDufeg'
dllparser.c:(.text+0x224d): undefined reference to contains_HKT6OZnEmHzo1Z3izIwLZQ' dllparser.c:(.text+0x22eb): undefined reference to X5BX5Deq__B8MciEVBahlJqgunXtrlVg'
dllparser.c:(.text+0x263e): undefined reference to contains_Oi9bcvMPJyGzGx7X1KepzhA' dllparser.c:(.text+0x2664): undefined reference to NTI_pfrdooyxJsC6cg34ebuBag_'
dllparser.c:(.text+0x26a4): undefined reference to X5BX5D__reB9awySmHmXRCQNcbeZdSA' aur-steamforwarder-git/src/SteamForwarder/tools/nimcache/stdlib_system.o: In function systemDatInit000':
stdlib_system.c:(.text+0x22a9d): undefined reference to NTI_Ryg5db24dBRIzTUa2BQTPg_' aur-steamforwarder-git/src/SteamForwarder/tools/nimcache/spec.o: In function readSpecFile_n9aGpRsAchlau7r235IRJGA':
spec.c:(.text+0x185): undefined reference to NTI_O5h9b2DHiZ9as6IlqEXhDAkg_' spec.c:(.text+0x1a1): undefined reference to initOrderedTable_Pa27xKKJzIWadP7w7QXP8Q'
spec.c:(.text+0x3dd): undefined reference to X5BX5Deq__MFsEny7JeInf7luyFRIddw' aur-steamforwarder-git/src/SteamForwarder/tools/nimcache/spec.o: In function unknown_specDatInit000':
spec.c:(.text+0x4b5): undefined reference to NTI_hLlQjbV9bLNq5PFxYcqacsA_' aur-steamforwarder-git/src/SteamForwarder/tools/dllparser: hidden symbol initOrderedTable_Pa27xKKJzIWadP7w7QXP8Q' isn't defined
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

It builds fine if I remove "-flto=$(nproc)" from CFLAGS, but simply adding it without the correct LDFLAGS would probably not do much.

(It's not that I need LTO on to build this, it's just annoying to have to turn it off either in makepkg.conf or in the pkgbuild :) )

ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

hello,
i successfully download the game. when i try to run the via .sh script i get this:

lastrun.log

ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

any ideas?
thanks

Failure to download

Following your directions from a base install, these are the steps I took...

sudo apt-get install steamcmd
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine

<unzipped into ~/Games/>
cd ~/Games/SteamForwarder-master
python3 app_install.py 205100

I get the following output

sakuramboo@Betsy:~/Games/SteamForwarder-master$ python3 app_install.py 205100
Obtaining app info...
http://steamdb.info/app/205100/config/
Generating manifest...
Traceback (most recent call last):
File "app_install.py", line 134, in
with open(manifest_location, "w") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/sakuramboo/.local/share/Steam/steamapps/appmanifest_205100.acf'

To get around this I put -s /home/sakuramboo/.local/share/Steam/SteamApps.

I am not sure why your install uses steamapps in all lowercase and my has two upper case characters. Not a big issue, but since the directions didn't work, I figured I would point this out.

LD_PRELOAD / ELFCLASS error with gameoverlayrenderer.so

Hey there,

Just wanted to report a bug that i'm experiencing. I'm currently using Ubuntu 16.10 x64 and after setting up a game, I attempt to run the Launch.sh script. When I do, WINE temporarily opens but closes with the following error:

./Launch.sh 
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

Steam is opened prior to running the launcher. Let me know if there's any more info you require.

KeyError: 'steamapps'

$ python3 app_install.py 369200

Traceback (most recent call last):
  File "app_install.py", line 159, in <module>
    aparser.add_argument('-s', '--steamapps-dir', help='path to the steamapps dir', type=str, dest='steamapps', default=config["steamapps"])
KeyError: 'steamapps'

If I specify steamapps path with -s I still get the same error.

err:module:import_dll Library steam_api.dll not found

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"

Unhandled exception: unimplemented function steam_api.dll.SteamInternal_ContextInit called in 32-bit code (0x7bc78789).

Got this issue with Battlefront 2, not sure what it means myself, but if you could take a look thatd be awesome!

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"
trace:steam_api:SteamAPI_RestartAppIfNecessary_ ((uint32 )6060)
trace:steam_api:SteamAPI_RestartAppIfNecessary_ () = (bool )0
trace:steam_api:SteamAPI_Init_ ()
Setting breakpad minidump AppID = 6060
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198057670172 [API loaded no]
trace:steam_api:SteamAPI_Init_ () = (bool )1
wine: Call from 0x7bc78789 to unimplemented function steam_api.dll.SteamInternal_ContextInit, aborting
wine: Unimplemented function steam_api.dll.SteamInternal_ContextInit called at address 0xf7b60023:0x7bc78789 (thread 0009), starting debugger...
Unhandled exception: unimplemented function steam_api.dll.SteamInternal_ContextInit called in 32-bit code (0x7bc78789).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7bc78789 ESP:023efb3c EBP:023efbb0 EFLAGS:00200216(   - --  I   -A-P- )
 EAX:007ddeda EBX:7bd0f000 ECX:00000000 EDX:7bd2b720
 ESI:023efb54 EDI:0250eac0
Stack dump:
0x023efb3c:  7e24b418 7e2233a0 7bc78763 023efb88
0x023efb4c:  7e24b418 05ce461c 80000100 00000001
0x023efb5c:  00000000 7bc78789 00000002 007ddfc6
0x023efb6c:  007ddeda 023efbc0 7e1eda74 00000003
0x023efb7c:  7e24b418 7e2233a0 7e21e508 00000001
0x023efb8c:  0250eac0 023efbc0 7e1eda2d 00000001
f3aa00c: sel=79d50067 base=00000000 limit=00000000 16-bit --x
Backtrace:
=>0 0x7bc78789 call_dll_entry_point+0x539() in ntdll (0x023efbb0)
  1 0x0023001e (0x023efbd0)
  2 0x00618896 in battlefrontii (+0x218895) (0x023efdbc)
  3 0x00618d85 in battlefrontii (+0x218d84) (0x023efdf4)
  4 0x00753fa1 in battlefrontii (+0x353fa0) (0x023efe40)
  5 0x7b462db9 call_process_entry+0x18() in kernel32 (0x023efe68)
  6 0x7b463f2c in kernel32 (+0x43f2b) (0x023efeb8)
  7 0x7bca84c0 call_thread_func_wrapper+0xb() in ntdll (0x023efedc)
  8 0x7bcabaa6 in ntdll (+0x6baa5) (0x023effcc)
  9 0x7bca849e RtlRaiseException+0x49() in ntdll (0x023effec)
0x7bc78789 call_dll_entry_point+0x539 in ntdll: addl	$12,%esp
Modules:
Module	Address			Debug info	Name (111 modules)
PE	  400000- 1fe6000	Export          battlefrontii
PE	10000000-10424000	Deferred        galaxy
PE	18000000-18039000	Deferred        binkw32
ELF	79313000-7a800000	Deferred        steamclient.so
ELF	7a800000-7a93e000	Deferred        opengl32<elf>
  \-PE	7a820000-7a93e000	\               opengl32
ELF	7b400000-7b7ee000	Dwarf           kernel32<elf>
  \-PE	7b420000-7b7ee000	\               kernel32
ELF	7bc00000-7bd2d000	Dwarf           ntdll<elf>
  \-PE	7bc40000-7bd2d000	\               ntdll
ELF	7c000000-7c004000	Deferred        <wine-loader>
ELF	7d228000-7d568000	Deferred        libsteam.so
ELF	7d568000-7d571000	Deferred        libffi.so.6
ELF	7d571000-7d5fb000	Deferred        libgmp.so.10
ELF	7d5fb000-7d631000	Deferred        libhogweed.so.4
ELF	7d631000-7d66f000	Deferred        libnettle.so.6
ELF	7d66f000-7d684000	Deferred        libtasn1.so.6
ELF	7d684000-7d6b8000	Deferred        libidn.so.11
ELF	7d6b8000-7d7fa000	Deferred        libp11-kit.so.0
ELF	7d7fa000-7d9c2000	Deferred        libgnutls.so.30
ELF	7d9c2000-7d9c8000	Deferred        libtxc_dxtn.so
ELF	7d9c8000-7d9d4000	Deferred        libxcursor.so.1
ELF	7db5b000-7db8d000	Deferred        libexpat.so.1
ELF	7db8d000-7dc05000	Deferred        libpcre.so.1
ELF	7dc05000-7dd37000	Deferred        libglib-2.0.so.0
ELF	7dd37000-7dddc000	Deferred        libharfbuzz.so.0
ELF	7dddc000-7dea9000	Deferred        libfreetype.so.6
ELF	7df0a000-7df11000	Deferred        libxfixes.so.3
ELF	7df11000-7df5c000	Deferred        libfontconfig.so.1
ELF	7df5c000-7df9a000	Deferred        libpng16.so.16
ELF	7df9a000-7dfab000	Deferred        libbz2.so.1.0
ELF	7dfab000-7dfc4000	Deferred        libz.so.1
ELF	7dfc4000-7dfd7000	Deferred        libxi.so.6
ELF	7dfd7000-7dfe4000	Deferred        libxrandr.so.2
ELF	7dfe4000-7dff0000	Deferred        libxrender.so.1
ELF	7dff0000-7dff7000	Deferred        libxxf86vm.so.1
ELF	7e02e000-7e0bb000	Deferred        winex11<elf>
  \-PE	7e040000-7e0bb000	\               winex11
ELF	7e0bb000-7e0df000	Deferred        imm32<elf>
  \-PE	7e0c0000-7e0df000	\               imm32
ELF	7e0df000-7e0fb000	Deferred        dinput8<elf>
  \-PE	7e0e0000-7e0fb000	\               dinput8
ELF	7e0fb000-7e14a000	Deferred        dsound<elf>
  \-PE	7e100000-7e14a000	\               dsound
ELF	7e14a000-7e184000	Deferred        libsteam_api.so
ELF	7e184000-7e24c000	Deferred        steam_api<elf>
ELF	7e24c000-7e277000	Deferred        iphlpapi<elf>
  \-PE	7e250000-7e277000	\               iphlpapi
ELF	7e277000-7e331000	Deferred        winmm<elf>
  \-PE	7e280000-7e331000	\               winmm
ELF	7e331000-7e41f000	Deferred        msvcr120<elf>
  \-PE	7e350000-7e41f000	\               msvcr120
ELF	7e41f000-7e53d000	Deferred        msvcp120<elf>
  \-PE	7e460000-7e53d000	\               msvcp120
ELF	7e53d000-7e55c000	Deferred        bcrypt<elf>
  \-PE	7e540000-7e55c000	\               bcrypt
ELF	7e55c000-7e598000	Deferred        ws2_32<elf>
  \-PE	7e560000-7e598000	\               ws2_32
ELF	7e598000-7e6e8000	Deferred        wined3d<elf>
  \-PE	7e5b0000-7e6e8000	\               wined3d
ELF	7e6e8000-7e76a000	Deferred        rpcrt4<elf>
  \-PE	7e6f0000-7e76a000	\               rpcrt4
ELF	7e76a000-7e8c5000	Deferred        ole32<elf>
  \-PE	7e780000-7e8c5000	\               ole32
ELF	7e8c5000-7e8ed000	Deferred        d3dxof<elf>
  \-PE	7e8d0000-7e8ed000	\               d3dxof
ELF	7e8ed000-7e962000	Deferred        d3dcompiler_43<elf>
  \-PE	7e900000-7e962000	\               d3dcompiler_43
ELF	7e962000-7ea02000	Deferred        d3dx9_43<elf>
  \-PE	7e970000-7ea02000	\               d3dx9_43
ELF	7ea02000-7ebe6000	Deferred        user32<elf>
  \-PE	7ea20000-7ebe6000	\               user32
ELF	7ebe6000-7ed14000	Deferred        gdi32<elf>
  \-PE	7ebf0000-7ed14000	\               gdi32
ELF	7ed14000-7ed8e000	Deferred        advapi32<elf>
  \-PE	7ed20000-7ed8e000	\               advapi32
ELF	7ed8e000-7eda3000	Deferred        libegl.so.1
ELF	7eda3000-7eda6000	Deferred        libx11-xcb.so.1
ELF	7eda6000-7edaf000	Deferred        libxcb-xfixes.so.0
ELF	7edaf000-7edb3000	Deferred        libxcomposite.so.1
ELF	7edb3000-7edb7000	Deferred        libxinerama.so.1
ELF	7edb7000-7edcc000	Deferred        mswsock<elf>
  \-PE	7edc0000-7edcc000	\               mswsock
ELF	7edcc000-7ede6000	Deferred        version<elf>
  \-PE	7edd0000-7ede6000	\               version
ELF	7ef82000-7ef96000	Deferred        libnss_files.so.2
ELF	7ef96000-7efa4000	Deferred        libnss_nis.so.2
ELF	7efa4000-7efbf000	Deferred        libnsl.so.1
ELF	7efbf000-7efc9000	Deferred        libnss_compat.so.2
ELF	7efca000-7efce000	Deferred        libxcb-present.so.0
ELF	7efce000-7f000000	Deferred        d3d9-nine<elf>
  \-PE	7efe0000-7efe5000	\               d3d9
ELF	f75dd000-f75e4000	Deferred        libxdmcp.so.6
ELF	f75e4000-f75e9000	Deferred        libxau.so.6
ELF	f75e9000-f7614000	Deferred        libxcb.so.1
ELF	f7614000-f7630000	Deferred        libgcc_s.so.1
ELF	f7630000-f768f000	Deferred        libgldispatch.so.0
ELF	f768f000-f76a4000	Deferred        libxext.so.6
ELF	f76a4000-f77f1000	Deferred        libx11.so.6
ELF	f77f1000-f7814000	Deferred        libglx.so.0
ELF	f7816000-f78da000	Deferred        libm.so.6
ELF	f7a55000-f7a5a000	Deferred        libdl.so.2
ELF	f7a5a000-f7a64000	Deferred        librt.so.1
ELF	f7a64000-f7ac4000	Deferred        libgl.so.1
ELF	f7ac6000-f7aca000	Deferred        libxcb-dri3.so.0
ELF	f7afb000-f7ccf000	Deferred        libc.so.6
ELF	f7ccf000-f7cee000	Deferred        libpthread.so.0
ELF	f7cee000-f7ebf000	Dwarf           libwine.so.1
ELF	f7ebf000-f7ef8000	Deferred        gameoverlayrenderer.so
ELF	f7efa000-f7f21000	Deferred        ld-linux.so.2
ELF	f7f24000-f7f25000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\extra\home\.steam\steam\steamapps\common\Star Wars Battlefront II\GameData\BattlefrontII.exe
	["Z:\extra\home\.steam\steam\steamapps\common\Star Wars Battlefront II\GameData\BattlefrontII.exe"]
	00000009    0 <==
0000000e services.exe
	[C:\windows\system32\services.exe]
	0000002d    0
	00000024    0
	0000001f    0
	00000017    0
	00000016    0
	00000015    0
	00000012    0
	0000000f    0
00000010 explorer.exe
	[C:\windows\system32\explorer.exe /desktop]
	0000002c    0
	0000002b    0
	0000002a    0
	00000011    0
00000013 winedevice.exe
	[C:\windows\system32\winedevice.exe]
	0000001e    0
	0000001b    0
	0000001a    0
	00000019    0
	00000018    0
	00000014    0
0000001c plugplay.exe
	[C:\windows\system32\plugplay.exe]
	00000021    0
	00000020    0
	0000001d    0
00000022 winedevice.exe
	[C:\windows\system32\winedevice.exe]
	00000035    0
	00000034    0
	00000033    0
	00000032    0
	00000029    0
	00000028    0
	00000027    0
	00000026    0
	00000025    0
	00000023    0
00000030 explorer.exe
	[C:\windows\system32\explorer.exe /desktop]
	00000038    0
	00000037    0
	00000036    0
	00000031    0
System information:
    Wine build: wine-2.21 (Staging)
    Platform: i386
    Version: Windows 7
    Host system: Linux
    Host version: 4.15.0-rc3-mainline

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.