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
  • SylverReZ @ SylverReZ:
    Ah, I see.
  • Xdqwerty @ Xdqwerty:
    and i wasnt even born when fox kids/jetix was alive
  • Xdqwerty @ Xdqwerty:
    also a couple years ago latin american fox got renamed to star channel
  • SylverReZ @ SylverReZ:
    Yes?
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, sorry
    i thought you didnt read the last couple messages before quoting you agin
  • BakerMan @ BakerMan:
    ah sonic x, that show is valid
  • BakerMan @ BakerMan:
    (of course the mf with a sonic pfp would say that 😭)
    +1
  • BigOnYa @ BigOnYa:
    @Xdqwerty you are not dumb or stupid, you need to stop saying that, you are very smart, even about alot of things I have no clue about. We all love you here, like a big family.
    +1
  • K3Nv2 @ K3Nv2:
    Yeah @BigOnYa love me so much he started yelling at me for having my shoes on in the bed when he caught me with his wife
    +2
  • BigOnYa @ BigOnYa:
    True, I don't want mud crumbs in my bed, and btw you left without paying your tab. Ill add it to next month but getting tired of extending.
  • K3Nv2 @ K3Nv2:
    I hope silent hill 2 turns out good
    +1
  • BigOnYa @ BigOnYa:
    I seen that, hope so too, the first was so epic back then.
  • K3Nv2 @ K3Nv2:
    Didn't look into much is it just a remake
  • BigOnYa @ BigOnYa:
    Only thing drive me crazy is all these new horror games nowadays is its so dark, all time. I can't even play them. I understand they trying to create spooky but be creative a little, not just darkness with pop out scare scenes.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, either that or mascot horror
  • Xdqwerty @ Xdqwerty:
    gonna watch gintama for the first time
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, I always turn the lights up on those lol
  • K3Nv2 @ K3Nv2:
    Two studio lights for one horror game
  • K3Nv2 @ K3Nv2:
    Couch casting for horror
  • K3Nv2 @ K3Nv2:
    Mig switch already has a v2 lol
  • OGSniper @ OGSniper:
    How we doin' in here?
    OGSniper @ OGSniper: How we doin' in here?