A StarRupture save consists of a folder named exactly like the session of your server, containing two files with the same base name: AutoSave0.sav and AutoSave0.met. In addition you have to enter the session name in the configuration file DSSettings.txt so the server finds and loads the save.
Structure of the savegame
| Path | Content |
|---|---|
/StarRupture/Saved/SaveGames/<SessionName>/AutoSave0.sav |
The actual save containing world, base and progress |
/StarRupture/Saved/SaveGames/<SessionName>/AutoSave0.met |
The matching metadata file – belongs to the .sav and is mandatory |
/StarRupture/Saved/SaveGames/SaveData.dat |
Higher level file that the server manages itself |
The DSSettings.txt file
Which session the server uses and whether it loads an existing save or creates a new world is controlled in the file DSSettings.txt in the main directory of your server:
/DSSettings.txt
Its content uses JSON format:
{
"SessionName": "MyServer",
"SaveGameName": "AutoSave0.sav",
"SaveGameInterval": "300",
"StartNewGame": "false",
"LoadSavedGame": "true"
}
| Value | Meaning |
|---|---|
SessionName |
Name of the session – matches the folder name under Saved/SaveGames/ exactly, maximum 20 characters |
SaveGameName |
File name of the save, AutoSave0.sav by default |
SaveGameInterval |
Interval of the automatic save in seconds, "300" by default |
StartNewGame |
"true" creates a completely new world on startup |
LoadSavedGame |
"true" loads the existing save of the configured session |
Find your local savegame
You can find your own save from your PC under:
C:\Program Files (x86)\Steam\userdata\<SteamID64>\1631270\remote\Saved\SaveGames\
Upload the savegame
-
Stop the server
Stop your server via the dashboard. While the server is running it writes to the save files itself. -
Connect via SFTP
Connect to your server via SFTP. -
Open the directory
Navigate to the following directory:/StarRupture/Saved/SaveGames/ -
Create the session folder
Create a folder there named exactly like theSessionNamevalue in yourDSSettings.txt. The name may be up to 20 characters long. -
Upload the files
Upload the.savfile and the matching.metfile of your save into that folder. -
Rename the files
Rename both files so they match theSaveGameNamevalue:AutoSave0.sav AutoSave0.met -
Adjust DSSettings.txt
Open the file/DSSettings.txtand set the following values:"SessionName": "<your folder name>", "SaveGameName": "AutoSave0.sav", "StartNewGame": "false", "LoadSavedGame": "true" -
Start the server
Save all changes and start your server. Your uploaded save is now loaded on startup.
Create a new world
If you want to start with a completely new world instead, proceed as follows:
-
Stop the server
Stop your server via the dashboard. -
Enable a new world
Open the file/DSSettings.txt, enter the desiredSessionNameand set:"StartNewGame": "true", "LoadSavedGame": "false" -
Start the server
Start your server. It now creates a new world. -
Join the server
Connect to your server, see Join server. -
Save the world
PressESCin game and select Save. Only this actually writes the new world to the server as a save. -
Disconnect and stop the server
Leave the server and stop it afterwards via the dashboard. -
Reset the values
Set both values in/DSSettings.txtback again:"StartNewGame": "false", "LoadSavedGame": "true" -
Start the server
Start your server again. From now on your new world is loaded on every start and progress is kept.
