Skip to main content

Steam Cloud Save Downloader

Project description

steamCloudSaveDownloader

MIT License Check and Build Publish PyPi GitHub Release Docker Hub

Download/Backup Saves on Steam Cloud

:warning: DISCLAIMER

  • This program is not affiliated with Valve or Steam. Steam is a trademark of Valve Corporation.
  • Even though this program is thoroughly tested and theoretically does not violate EULA. This program does not come with warranty and use at your own risk. More of this on Rate Limit Section

Description

For supported games, Steam will automatically upload game saves to the cloud. This is intended for seamless playing across multiple devices but NOT as a form of backup. Assume your game save is corrupted by the game itself or you perform something cannot be undone. Once you close the game Steam will automatically uploads newest(corrupted) game saves to the cloud. That is basically game over if you haven't backup your save or unplug your Internet cord before you close the game. This is when steamCloudSaveDownloader(abbreviated as scsd) come to the rescue.

You can view and download your save files stored on Steam cloud here. This program automatically crawls the webpages and download if the files are outdated. A number of copies are kept locally in case something goes wrong. You can rollback your saves whenever anything goes wrong.

:warning: Limitation

  • If the game does not support Steam Cloud then the file cannot be backuped. You should look for alternatives like GameSave Manager
  • File will be uploaded to Steam Cloud after you close the game. If the game save modification happens between a long game session without closing the game. Your last save point would be the last save uploaded to Steam Cloud and downloaded by scsd.
  • You might want to increase the frequency of scsd run if you have multiple short gaming session. Please be aware of Rate Limit and set an acceptable frequency in this case.

Installation

This program is available on PyPI. All you have to do is install Python and run.

pip install scsd

Linux and Windows executable can also be found on the release page

Usage

Simply run scsd -a <username> to login to Steam. Then run scsd to start downloading saves. The saves for each game will be stored within the data directory with the corresponding AppID. If rotation is specified the old version of the file will have suffix .scsd_<version_num> to the corresponding file name.

Please refer to Scheduled Run if you want to run scsd automatically at given time.

For more detail usages please reference Command Arguments and Config File

Authentication

By running scsd -a <username> scsd save a session file with NO password within. This session last approximately about a month if your IP has not been changed. Once expired scsd will notify you if the notification options are given.

Notification

Right now scsd supports the following notification system whenever scsd finishes the download process or encountered error. Please refer to Config File for setting options

  • Discord
  • Script

Scheduled Run

The saves will be download and saved locally only if you execute scsd. scsd relies on external scheduler to run automatically.

  • For Windows users you can run it with Task Scheduler
  • For Linux/Mac users you can run it with cron

Rate Limit

Even though this program does not use Steam API directly. This program still complies to Steam maximum API calls limit (100,000) per day. This program will limit itself to 85% of the usage (which is 85,000). Once exceed the aforementioned limit, the program will stop sending requests to Steam.

In addition to that, the program will wait for a random amount of time (a few seconds) between each request. This will significantly lower chance for the program to be identified as DDoS attack and potentially ban your account. As a trade off, it might took awhile for all your cloud saves to be downloaded.

Docker

Docker image is available at Docker Hub. It has built in scheduler and will run scsd automatically at given time (At minute 39 past every 2nd hour).

Below is the minimal example for running within docker. This will bind mount the data directory and run the authentication process.

mkdir data
docker run -d --name scsd -v ./data:/data -v /etc/localtime:/etc/localtime:ro hhhhojeihsu/scsd:latest
docker exec -it scsd scsd_auth <username>

Volumes

  • /data: Where the save files and program related files are located
  • /config: Where the configuration file is stored.
    • scsd will look for scsd.conf within this directory and take it as config file.
    • If not, scsd will create a config file named scsd.conf.default. Which takes precedence after scsd.conf, if co-exist.

Environment Variables

Name Purpose Default
PUID Effective UID for scsd to run with 1000
PGID Effective GID for scsd to run with 1000
CRON_VAR Cron syntax for scheduled run 39 */2 * * *
AUTO_UPDATE Set to true to enable scsd auto update false

Special Thanks

  • maer for beta test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scsd-0.0.76.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

scsd-0.0.76-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file scsd-0.0.76.tar.gz.

File metadata

  • Download URL: scsd-0.0.76.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for scsd-0.0.76.tar.gz
Algorithm Hash digest
SHA256 f2a81e8461286f64cac65f69232253b44bfe6d3e58b009e58d681394879480cd
MD5 0a8068f83697f0141565c4cca4f907f4
BLAKE2b-256 47967c15a8b189f496a5f6278df67aba0955a8aeac666b0b7e09f31ed0060082

See more details on using hashes here.

File details

Details for the file scsd-0.0.76-py3-none-any.whl.

File metadata

  • Download URL: scsd-0.0.76-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for scsd-0.0.76-py3-none-any.whl
Algorithm Hash digest
SHA256 f6c4e5d9c7a3627e819888d689d7d001a43607e111b96f13f6490bab44b7d9ca
MD5 6dfb812df49497a5b0ab6d4dd73fd72a
BLAKE2b-256 8692887ec40bd6b6a15cf6f51af5e11bc9188f4303f9385455611f0e23b83dc5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page