Convert PC world of Don't Starve Together to Switch

Somebody asked me to look up if it's possible to somehow copy world from PC version of game to Switch because PC allows modifying world generation.
It was easier than I thought, so here is Python script:

https://github.com/masagrator/NXGam...n't Starve Together/ConvertPCWorldToSwitch.py

It requires Python 3 installed. You must have already save with at least 1 world on Switch. This was not tested thoroughly to see if this is 100% safe.
As an argument you must provide folder that you can find in PC save folder of your choice that has 16 random characters.

F.e. in my case that was
Code:
Cluster_2\Caves\save\session\E8041A33AD40A09C
Cluster_2\Master\save\session\222FB2FAF18FAFCC

Those last folders will definitely be different on your PC!

For each save you need to convert both Master and Caves.

There should be 4 files in each folder:
Code:
- 0000000002
- 0000000002.meta
- 0000000003
- 0000000003.meta

1697659688096.png


So we need to run script twice through Command Prompt - one for Caves, one for Master:
Code:
python ConvertPCWorldToSwitch.py Cluster_2\Caves\save\session\E8041A33AD40A09C
python ConvertPCWorldToSwitch.py Cluster_2\Master\save\session\222FB2FAF18FAFCC
Now in folder where is ConvertPCWorldToSwitch.py you should get a folder "ConvertedSave" with folders corresponding to names of PC folders.
Inside each folder should be 4 sdfs files.

1697659711684.png

You copy those sdfs files and replace existing ones inside Switch save to any Cluster's folder with 16 random characters, ignore that they are different.

So for example I got 4 sdfs files in E8041A33AD40A09C folder, and I am copying them to:
Code:
Cluster_1\Caves\save\session\04305C68F3229C15
And for 222FB2FAF18FAFCC folder I'm copying files to
Code:
Cluster_1\Master\save\session\333D259D0B1F294D

Remember that those last folders will definitely be different on your Switch and PC!

I guess you could create whole save converter, but this requires checking how all files are tagged inside save and I lost my interest already in studying this format further. :P
 

basslin96

New Member
Newbie
Joined
Feb 7, 2022
Messages
1
Trophies
0
Age
28
Location
VN
XP
41
Country
Vietnam
Hello,

Rrecently DST updated (Staying Afloat), wondering if the old world converter still work after Switch DST update?
Thank You ^^
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: My neighbors screaming over a mobile game all like bro that's discrimination of character!