Don't Starve Together

Don't Starve Together

Not enough ratings
Don't Starve Together Dedicated Server Setup with old save files [Windows]
By KaPpa
This is a complete Don't Starve Together Dedicated Server setup guide with your old save files from in-game servers.



   
Award
Favorite
Favorited
Unfavorite
Introduction
Hi Guys

I was trying to setup a dedicated Don't Starve Together Server because as we all know how irritating the in-game non-dedicated servers are. Really bad resource management. So I started hunting for guides on dedicated server setup [forums.kleientertainment.com]. It is a pretty simple process and a lot of guides are already available with multiple ways to setup one. BUT NOTHING FOR MY PRECIOUS SAVE FILES :(

I obviously found out how to solve this really important problem (for me and my friends) and found no guides on steam nor on klei forums. And hence i am here to save you guys from all the trouble.
1. Downloading the Dedicated Server
To do this simply open your Steam desktop Client.

Select Library => Tools



Now Select and Install Don't Starve Together Dedicated Server

2. Setting up the Server
Now lets Setup the Server

  • Go to Documents\Klei


  • Create a New Folder Named "DoNotStarveTogetherMaster"

  • Now Find Your SteamApps location(Default in C:\ProgramFiles\Steam). And navigate to Don't Starve Together bin folder as shown


  • Create a File Named "DST_MasterServer.bat" and open it using your favorite text editor (I use Sublime text 3). Enter the Code Given below (Change the directory to your Steamapps directory):
    cd D:\SteamLibrary\SteamApps\common\Don't Starve Together Dedicated Server\bin dontstarve_dedicated_server_nullrenderer -conf_dir DoNotStarveTogetherMaster

  • Save and Run the DST_MasterServer.bat. It will look something like this.



  • Close the running cmd

  • Now Launch Don't Starve Together. Click on account.


  • Click on Generate Server Token. Copy this code


  • Now Go to "Documents\Klei\DoNotStarveTogetherMaster\Cluster_1". Create a "cluster_token.txt" file and paste the Server Token in the file

  • Create another file "cluster.ini" and paste that code using a text editor. For more info on the settings check this post[forums.kleientertainment.com].

    [GAMEPLAY] game_mode = social max_players = 4 pvp = false pause_when_empty = true [NETWORK] lan_only_cluster = false cluster_intention = social cluster_description = cluster_name = My Dedicated Server offline_cluster = false cluster_password = password [MISC] console_enabled = true [SHARD] shard_enabled = false bind_ip = 127.0.0.1 master_ip = 127.0.0.1 master_port = 10889 cluster_key = supersecretkey

  • The Folder will look like this


  • Now go to the "Master" folder and create a file "server.ini" and paste this:

    [NETWORK] server_port = 10999 [SHARD] shard_enable = true is_master = true master_port = 11200 cluster_key = supersecretkey

  • Now Run the "DST_MasterServer.bat" file again. Let it print. Copy the new session identifier shown below:


  • Close the server and make a new folder in "Documents\Klei\DoNotStarveTogetherMaster\Cluster_1\Master\Save\session".


  • Now to find the old save files. Go to "Documents\Klei\DoNotStarveTogether\client_save\". Open the file "saveindex" in a text editor. And find the name of your old server. Find the session_id of the server as shown below :


  • Now go to sessions and find the folder with the session_id name :


  • Copy the contents of that folder to "Documents\Klei\DoNotStarveTogetherMaster\Cluster_1\Master\save\session\[newsession id folder created earlier]\"
3. Run the Server
One final step before starting the server is the need to port forward the port 10889. Use this website[portforward.com] to learn how to port forward on your router.

Now Go to SteamApps\common\Don't Starve dedicated Server\bin. And run the "DST_MasterServer.bat" file to start the server.
4. Run the game
Launch Don't Starve Together and find your server in LAN. Cheers

:D
6 Comments
Razzer 29 Dec, 2024 @ 1:48am 
avois :O nice!
soldieR 31 Jul, 2022 @ 2:01am 
ok :csgohelmet:
JUNGLE WOLF 10 Dec, 2016 @ 12:03am 
厉害咯
✪ Arima Kisho 9 Dec, 2016 @ 4:47pm 
1
加百洛斯 8 Dec, 2016 @ 8:52am 
1
Vanilla studio 8 Dec, 2016 @ 6:36am 
1