Tomb Raider: Underworld

Tomb Raider: Underworld

76 ratings
SteamOverlay fix for TombRaider:Underworld (or any other game) - no PID searching
By Tomi ISP
Way to fix not working SteamOverlay in TombRaider:Underworld or any other game which have broken or not support SteamOverlay without bothering with PID.
3
   
Award
Favorite
Favorited
Unfavorite
Basic info
Just quick "fix" for not working SteamOverlay in TombRaider:Underworld without bothering with PID
How to
- create a new file and change extension to .cmd (or .bat) , for example : underworld.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/8140 Timeout 5 for /f "tokens=2" %%A in ('tasklist ^| findstr /i "tru.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)
Other games modification
This script can also work for other games which have broken SteamOverlay but it need some changes:

- change ID on line with steam://rungameid/8140 to match your game (ID you can find by looking in Properties of original shortcut created by Steam)

- change "tru.exe" to match game .exe file, you can find it in your Steam game directory or start a game, Alt+Tab to desktop, open Task Manager and find your game exe there


Hope it helps :)
21 Comments
Number Eight 6 Aug, 2023 @ 7:28am 
New Text Document would be ideal since you need to place the text command line inside. :)
Ezio ッ 4 Aug, 2023 @ 11:37pm 
"create a new file and change extension" What file?
Number Eight 4 Jun, 2023 @ 6:16am 
You should mention that command line need to be launched as administrator in order for "timeout" command to work and PID definition is made at the right time after the game is launched.

Also why not extending this to make the Steam Chat, Community HUB and Game Overlay in Big Picture Mode available as well?

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

Nonetheless, thanks for the guide. It was good foundation for learning few things about the those commands.
To be honest though, while it does works for me, I'm not 100% sure I have everything correct in there.
Laffibob Dongripants 6 Apr, 2023 @ 9:47pm 
Thanks. This worked!

For those who wants this clean, do it like this:

Create .bat / .cmd file:
-Make a folder
-Make a normal notepad file
-Push the arrow down in the folder to access "display"
-Find "filtypes" and cross it (can remove it after making the file)
-Rename your file as .bat/.cmd and it will change icon to cog icon.
-Paste what you see on this page

Finishing touch:
-Move the file into steamapps -> Tomb Raider Underworld folder
-Make a shortcut for your .bat/.cmd file
-Put icon on desktop
-Properties -> Change icon -> "tru" (in TR - UW folder)

Congratulations! Your Tomb Raider Underworld game will work properly with Steam Overlay, and the icon itself looks just like the exe file.
ohboje 30 Mar, 2023 @ 11:05am 
Thanks!
Regina 19 Jan, 2022 @ 5:16pm 
THANK YOU SO MUCH
finger 11 Jan, 2022 @ 9:12am 
Thank you, it really works
ApeirogonGames 19 May, 2021 @ 12:49am 
Much better solution, no shade towards the other person who came up with the PID solution.
Sansa™ 20 Mar, 2021 @ 12:51pm 
TR2, 3, 4, 5 has problems with steam overlay
Lucas 15 Dec, 2020 @ 3:37pm 
:Neko::jhheart: