ℹ️ This project is a mess, so I made a far better one in Rust
Do you have a "smurf" account? Does the whole process of logging off, waiting, copy-pasting/remembering login information, logging in, waiting and so on bother you?
You don't have to go through that.
⚠️ Although chances are low, it is your responsibility if a precious account gets stolen
This script stores your information as plain text
- Validates provided information, asks for input if needed
- Shuts down currently running Steam process
- Logs in and launches game with provided info
optionally ↴ - Waits for game to exit with a hidden window
- Restarts Steam
ℹ️ The optional part only works if the
game
variable is provided, you can find a game's path easily in Task Manager by right clicking the game's process, and selecting Open file location
- Username
- Password
- Steam folder path (if not default)
- Game's Steam ID (:bulb: leave this empty)
- Game's executable path (optional)
ℹ️ All of these can be entered manually, by editing the script with a preferred text editor like notepad
- if the
game
variable is wrong, it can only be corrected like so- if you wish to change anything, it can only be done like so (at the very least by emptying the variables)
ℹ️ To get
id
you could just leave it empty, the script finds all the available ones, leaving you to simply select from them . .
Otherwise it's right next tostore.steampowered.com/app/
on the game's store page
Example of how the script should look like for Dota2 ↴
set "username=anonym"
set "password=mynona"
set "steamFolder=%ProgramFiles(x86)%\Steam"
set "id=570"
set "game=%steamFolder%\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe"
💡 On Windows 10 you could set up a shortcut to the
script in %appdata%\Microsoft\Windows\Start Menu\Programs
. .
This way you can quickly launch it by pressing
Win and typing in the shortcuts' name,
also you can set an icon . .