Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 1.53 KB

README.md

File metadata and controls

57 lines (45 loc) · 1.53 KB

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: