Tomb Raider: Legend

Tomb Raider: Legend

Not enough ratings
SteamOverlay fix for TombRaider:Legend - no PID searching
By Tomi ISP
Way to fix not working SteamOverlay in TombRaider:Legend without bothering with PID.
   
Award
Favorite
Favorited
Unfavorite
Basic info
Just quick "fix" for not working SteamOverlay in TombRaider:Legend without bothering with PID
How to
- create a new file and change extension to .cmd (or .bat) , for example : tr-legend.cmd (or .bat)
- edit this file and paste this lines to file:

@Echo off & SetLocal EnableDelayedExpansion set "PID=" "C:\Program Files (x86)\Steam\Steam.exe" steam://rungameid/7000 Timeout 5 for /f "tokens=2" %%A in ('tasklist ^| findstr /i "trl.exe" 2^>NUL') do @Set "PID=%%A" if defined PID "C:\Program Files (x86)\Steam\GameOverlayUI.exe" -pid %PID% -manuallyclearframes 0

And that is, now instead starting game via Steam shortcut you should start this game via this .cmd (.bat) file (just create a shortcut on desktop or so)
6 Comments
Herbert 1 Mar, 2023 @ 11:34pm 
can i adapt this for pubg?
Moonless Sky 15 Mar, 2022 @ 6:22pm 
Couldn't be simpler right? Thanks a lot dude! ~ :happyfaye:
Regina 19 Jan, 2022 @ 5:10pm 
OMG THANKS
NoctuaNympha 8 Aug, 2021 @ 3:47pm 
Siiiick, thank you
Phatty057 20 Nov, 2019 @ 2:49pm 
it pooped out a log file on the desktop on my win10 box. I had to change the steam location in the script that's it.

GameOverlayUI.exe.log

Wed Nov 20 22:45:16 2019 UTC - GameOverlay process started: pid: 13696
Wed Nov 20 22:45:16 2019 UTC - GameOverlay process connecting to: pid: 16920
Wed Nov 20 22:45:16 2019 UTC - BuildID: 1573780595
Wed Nov 20 22:45:16 2019 UTC - Steam Path: C:\Steam
Wed Nov 20 22:45:16 2019 UTC - c:\buildslave\steam_rel_client_win32\build\src\overlay\gameoverlayui\main.cpp (468) : Assertion Failed: No -steampid command line param to gameoverlayui
Wed Nov 20 22:45:29 2019 UTC - Game Exit Event signaled.
Wed Nov 20 22:45:29 2019 UTC - Shutting down overlay
Phatty057 20 Nov, 2019 @ 2:46pm 
nice little work around bro. thx. I was going down that path then saw this article. Thanks.:pinball_machine: