Since version 0.10 SPADS supports automatic replay uploading to replays.springrts.com, which allows players to download and watch the replays of all the games played on your autohost.
To enable this functionality, you need to:
If you want more information about the replay upload script, full documentation is available here. If you still have questions concerning this script or the Spring replays site, you can contact Dansan.* log in once with a Spring account which will be the "owner" of the uploaded replays: http://replays.springrts.com/login/
* update endGameCommand, endGameCommandEnv and endGameCommandMsgsettings in spads.conf as follows (replace <owner> by the actual Spring account used in previous step):* WARNING: this configuration will send your autohost password to the replay site for authentication. If you don't want this to happen, you can create a new Spring account just to upload the replays (replace %ahName and %ahPassword by this account name and password in previous step)
Code: Select all
endGameCommand:python replay_upload.py -v -r %result -d %gameDuration "%type on %map" "autouploaded" "%type,%structure" "%demoFile" "<owner>" endGameCommandEnv:XMLRPC_USER=%ahName;XMLRPC_PASSWORD=%ahPassword endGameCommandMsg:(0)Demo file uploaded to http://replays.springrts.com/replay/%gameId|(1-9)Failed to upload demo file!
* restart SPADS