Skip to content

ztgasdf/steampkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

steampkg

  • steampkg is a wrapper script for SteamCMD that downloads and packages games for easy archival.
  • Run ./steampkg.sh -h for full usage options.
  • Requirements: python3, jq, 7z, unbuffer (expect package)
  • If steamcmd.sh is NOT detected, then it will download it automatically.
  • asciinema demo

Account management

Unlike other tools, steampkg utilises cached credentials obtained from Steam's config.vdf file. Only three keys are actually required, however: Accounts, MTBF, ConnectCache. These values would then be made into a new file, accounts/<your username>.vdf, located in the same directory as the script.

Example account config (could be either tab or space-separated):

"InstallConfigStore"
{
  "Software"
  {
    "Valve"
    {
      "Steam"
      {
        "Accounts"
        {
          "username"
          {
            "SteamID"    "xxxxx"
          }
        }
        "MTBF"    "xxxxx"
        "ConnectCache"
        {
          "CRC32 hash of username with 1 added AFTER (username = f85e06771)"    "verylonghash, ~1000 characters"
        }
      }
    }
  }
}
$ ls accounts
username.vdf username2.vdf username3.vdf

$ ./steampkg.sh -u username 4000   #Downloads Garry's Mod (assuming username owns it) for Windows

todo:

  • add if statement for goldsrc games, ref. linuxgsm here unsure, might delete

scripts used:

Releases

No releases published

Packages

No packages published