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
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
  • Xdqwerty @ Xdqwerty:
    sigh
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
    Xdqwerty @ Xdqwerty: i guess not...