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
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
    +1
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
    +1
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    +1
  • Xdqwerty @ Xdqwerty:
    Good night
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, big day tomorrow. Congrats.
    K3Nv2 @ K3Nv2: https://www.instagram.com/reel/C7iLZ35NrQt/?igsh=MWd2Z3U0dmNlMmNxcw==