Skip to content

Native Games

podiki edited this page Mar 16, 2021 · 5 revisions

stl also works with native linux games. Currently the first distinction is if "waitforexitandrun" appears in the game %command%. If yes, stl assumes we have a proton game. Now, when another check finds "steamapps/common" (without "waitforexitandrun") a linux game is assumed, and the (now generic) launchSteamGame function is started. Looks like only proton games have the Variable STEAM_COMPAT_DATA_PATH, so if it is missing several features are disabled in the setLinGameVals function, as they do not work with native linux games (f.e. ReShade). The Game and Exe Path Variables are differently extracted as well when STEAM_COMPAT_DATA_PATH is missing.

Clone this wiki locally