yonguelink / steam-game-launcher

Small tool to launch Steam as Admin & launch a game afterward

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steam Game Launcher

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)

Usage

  1. Compile the project, or use the compiled version found from the latest release or directly from here

  2. The executable takes two arguments:

    1. Steam folder complete path (e.g.: C:/Program Files/Steam)
    2. The Steam ID of the game (or even non-steam game added to steam) - To get the game ID you can do the following:
      1. Open Steam
      2. Find the game in your library
      3. Right click on it, navigate to Manage and click on Add desktop shortcut
      4. Go on your desktop, find the new shortcut, right click on it and hit Properties
      5. In the Target you should see the following: steam:://rungameid/{bunch-of-numbers}
      6. The bunch of numbers is the game ID, copy that
      7. Delete the shortcut

    NOTE: For simplicity, all paths can be defined with either forward slashes (/) OR double-backslashes (\\). The program deals with both format.

  3. You can run the executable using CMD or create a shortcut

How To Create the shortcut

  1. Create a new shortcut pointing to the compiled EXE of this tool

    • Right click on the EXE and click Create Shortcut
  2. Right click on the shortcut and click on Properties

  3. Inside the Properties, in the Target 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

Releasing

The release process happens with GitHub's hub CLI.

  1. Build the project in Release mode

    dotnet build --configuration Release
  2. Write up your release title in RELEASE.md

  3. Add an empty line after your title

  4. Add whatever message you want

  5. Create the release in GitHub

    hub release create -oa steam-game-launcher/bin/Release/steam-game-launcher.exe -F RELEASE.md v1.0.0
  6. A browser page will open, confirm the release happened correctly and you're done!

About

Small tool to launch Steam as Admin & launch a game afterward


Languages

Language:C# 100.0%