Repository navigation
Platform Steam
Steam has the most custom code in TcNo Account Switcher. It uses internal/steam/ and the PlatformSteam UI instead of the templated engine.
Historical Steam-only builds are covered on Platform Steam Legacy.
| Data | Source |
|---|---|
| Account list | {Steam}\config\loginusers.vdf |
| Auto-login username | HKCU\Software\Valve\Steam\AutoLoginUser |
| Persona state | {Steam}\userdata\{id}\config\localconfig.vdf |
| Avatars and profile flags | Steam Web API / community pages, unless offline mode is enabled |
- Close Steam-related processes.
- Edit
loginusers.vdfso the target account is most recent and remembers its password. - Set
AutoLoginUserin the registry. - Apply persona state if requested.
- Relaunch
Steam.exe.
Steam does not need to be open before a swap.
Steam asks for a password the first time an account logs in on a PC. Enable Remember password.
Switching itself never asks for a Steam password. It reuses Steam's own remembered-login data.
The only place the switcher takes a Steam password is the optional Steam Guard window, where Steam's sign-in requires one. It is encrypted for Steam, sent to Steam, and not written to disk; the session token Steam returns is what gets stored, in an encrypted vault.
If Steam asks every time, see FAQ details.
- Click Add New in the switcher.
- Sign in through Steam with Remember password enabled.
- Return to the switcher. The account should appear after refresh.
Do not use Steam's sign-out button for account setup.
Right-click an account and choose Forget.
This removes the entry from the switcher and loginusers.vdf. It can affect Big Picture until you sign in again.
Use Steam -> Settings -> Tools to restore from backup when available.
Accounts stored in the Steam Guard vault are removed separately. See Steam Guard.
Optional. Stores Steam mobile authenticator secrets and Steam sign-in sessions in an encrypted folder, so the app can show codes, approve confirmations, and read account-private data such as CS2 cooldowns and ranks.
Open it with the shield button in the bottom bar, or right-click an account and choose Steam Guard. Settings live under Steam -> Settings -> Steam Guard.
Full details, including what is stored and what happens if you forget the vault password: Steam Guard.
| Feature | Where |
|---|---|
| Persona state | Right-click account or CLI +s:steamId:state
|
| Copy SteamID, Steam/CS2 friend code, profile link | Right-click account -> Copy |
| Desktop shortcut | Right-click account -> Create Desktop Shortcut |
| Launch game after swap | Shortcut with --run-appid=
|
| Game shortcuts bar | Scanned and pinned shortcuts |
| Per-game settings backup | Steam settings |
| Account notes and tags | Account actions |
| Steam Guard codes and confirmations | Shield button on the Steam page, Steam Guard |
| CS2 cooldown, rank and Prime | Steam settings -> Steam Guard/Auth, Game statistics sources |
-silent / -vgui launch args |
Steam platform settings |
| Tray quick-switch | Tray menu |
Open Steam -> Settings -> Advanced Cleaning.
These actions are destructive. Close Steam first.
Deletes Steam logs, dumps, htmlcache, overlay logs, appcache, httpcache, and depotcache under Steam and %LocalAppData%\Steam.
Deletes loginusers.vdf, config.vdf, ssfn* files, and registry values:
AutoLoginUserLastGameNameUsedPseudoUUIDRememberPassword
Steam recreates these on next launch. You will need to add accounts again.
| Item | Path |
|---|---|
| Account list | {Steam}\config\loginusers.vdf |
| Persona state | {Steam}\userdata\{id}\config\localconfig.vdf |
| Auto-login user | HKCU\Software\Valve\Steam\AutoLoginUser |
| Switcher cache | {UserData}\LoginCache\Steam\ |
| VAC cache | {UserData}\LoginCache\Steam\VACCache\ |
| CS2 cooldowns | {UserData}\LoginCache\Steam\CS2Cooldowns.json |
| CS2 ranks and Prime | {UserData}\LoginCache\Steam\CS2Ranks.json |
| Steam Guard vault | {UserData}\SteamGuard\ |
Set {Steam} in Steam settings with Pick Steam Folder.
All trademarks and materials are the property of their respective owners and their licensors. This project is not affiliated with any companies referenced. This is not "Official" software or related to any companies mentioned. All it does is let you move your files around on your computer the same way you can. The use of names, icons and trademarks does not indicate endorsement of the trademark holder by this project or its creators, nor vice versa. They are only used to visually indicate which programs this project interacts with easily to the end-user.
By enabling optional features that scrape the web for publicly available information (such as limited game/profile statistics and other data), you understand and accept full responsibility for doing so on your own volition. If you appreciate accurate information, support the services providing it directly. The information collected is incredibly limited and is no replacement or competitor for sites scraped.
I am not responsible for the contents of external links. For the rest of the disclaimer, refer to the License (GNU General Public License v3.0) file: https://github.com/TCNOco/TcNo-Acc-Switcher/blob/master/LICENSE - See sections like 15, 16 and 17, as well as GitHub's 'simplification' at the top of the above website.
Information
Build and contribute
- Building from source
- Building on Linux
- Help code a platform
- Templated platform guide
- Game statistics guide
Platforms
Automation