Small tool to launch Steam as Admin & launch a game afterward. Useful for games that requires Steam to run as admin (e.g.: controller support)
-
Compile the project, or use the compiled version found from the latest release or directly from here
-
The executable takes two arguments:
- Steam folder complete path (e.g.:
C:/Program Files/Steam
) - The Steam ID of the game (or even non-steam game added to steam) - To get the game ID you can do the following:
- Open Steam
- Find the game in your library
- Right click on it, navigate to
Manage
and click onAdd desktop shortcut
- Go on your desktop, find the new shortcut, right click on it and hit
Properties
- In the
Target
you should see the following:steam:://rungameid/{bunch-of-numbers}
- The bunch of numbers is the game ID, copy that
- Delete the shortcut
NOTE: For simplicity, all paths can be defined with either forward slashes (
/
) OR double-backslashes (\\
). The program deals with both format. - Steam folder complete path (e.g.:
-
You can run the executable using CMD or create a shortcut
-
Create a new shortcut pointing to the compiled EXE of this tool
- Right click on the EXE and click
Create Shortcut
- Right click on the EXE and click
-
Right click on the shortcut and click on
Properties
-
Inside the
Properties
, in theTarget
box append the arguments explained above-
If any of your path contains spaces you will need to quote them like so
-
An exemple
C:\steam-game-launcher.exe "C:/Program Files/Steam" 1234567890
-
The release process happens with GitHub's hub
CLI.
-
Build the project in
Release
modedotnet build --configuration Release
-
Write up your release title in
RELEASE.md
-
Add an empty line after your title
-
Add whatever message you want
-
Create the release in GitHub
hub release create -oa steam-game-launcher/bin/Release/steam-game-launcher.exe -F RELEASE.md v1.0.0
-
A browser page will open, confirm the release happened correctly and you're done!