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.
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
    NinStar @ NinStar: people are so dramatic that I can't even tell if they are being serious