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.

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

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.55.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

scsd-0.0.55-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scsd-0.0.55.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for scsd-0.0.55.tar.gz
Algorithm Hash digest
SHA256 282f049679e56bd12bdee803c2aac2804234957372f582a7e4bb35e5d44e041d
MD5 f7ab201f37eba75e47228d5b86317299
BLAKE2b-256 1e955f1c091c3631d1e22e230092ba5e9da43b60c1af79b874390c5783139401

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scsd-0.0.55-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for scsd-0.0.55-py3-none-any.whl
Algorithm Hash digest
SHA256 95962a6d26f197df8c9fcf2dc43aabae84663cb0d0297f1baad3fdfe09bc54d4
MD5 f972de414b442151537ebf492a7b2c9b
BLAKE2b-256 06ebe4dfc4ffecef27922c27495c0e7034157061887c2223444fb98276744fc5

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