@jmaxdev/steamcli
v1.0.1
Published
An interactive command-line interface (CLI) to manage, DRM-protect, build, and deploy your games to Steam using SteamCMD and SteamPipe.
Downloads
56
Maintainers
Readme
stmcli
An interactive command-line interface (CLI) to manage, DRM-protect, build, and deploy your games to Steam using SteamCMD and SteamPipe.
Installation
Install the package globally:
pnpm install -g @jmaxdev/steamclistmcliUsage
Start the interactive menu by running:
stmcliFeatures
1. Game Profile Management
Register your game profiles locally to avoid typing App IDs and paths repeatedly.
- Add New Game: Prompts for name, App ID, executable paths, and DRM flags.
- Edit Game: Update fields interactively. Editing App ID, Depot ID, or Content Root automatically relocates, updates, and syncs VDF files on disk.
- Delete Game: Removes the profile from the database.
2. Automatic SteamPipe VDF Generation
Generates compliant SteamPipe build scripts automatically:
- App VDF: Saved under
~/.steamcli/games/app_build_[AppID].vdf - Depot VDF: Saved under
~/.steamcli/depot/[AppID]/depot_build_[DepotID].vdf - Content Root: Configured relatively or resolved to absolute paths.
- Cross-Drive Portability: Backslashes are correctly escaped for Windows environments.
3. DRM Wrap Executable
Uploads your game executable to Valve servers, wraps it with Steam DRM, and downloads it back.
- Self-Healing TLS Error Recovery: If wrapping fails with code 11 (common in Unity/Ren'Py executables with TLS callbacks under maximum protection), the CLI prompts to automatically retry using Compatibility Mode (Flag 6) and updates the profile's flags database.
4. Upload Builds
Launches SteamPipe to build and upload your game depots.
- Safe Beta Branching: Supports setting target live beta branches via the VDF. Blocks
publicanddefaultbranch entries for safety to prevent accidental release to production. - Preview Mode: Test the upload script without sending files.
5. Install / Update / Validate
Directly downloads, updates, or validates game files and dedicated servers. Supports beta branches and passwords.
6. Custom SteamCMD Command
Send custom console command sequences directly to SteamCMD.
7. Account Linking
Logs in to Steam and caches your credentials securely using SteamCMD. Prompts for Steam Guard and passwords interactively when needed.
Directory Structure
All local database files, logs, and generated scripts are kept in your user home directory:
- Configuration Database:
~/.steamcli/config.json - App Build VDFs:
~/.steamcli/games/ - Depot Build VDFs:
~/.steamcli/depot/[AppID]/ - Build Logs & Metadata:
~/.steamcli/output/[AppID]/
