No Man's Sky

No Man's Sky

Not enough ratings
[Save Editor]Restoring Terrain messes at your base.
By Poofer
Wether you build a lot underground, visit underground bases, dig for treasure or simply have a crazy night and wake up to a mess at your home base, there's a limit to how many times you can edit terrain in a single save and once you hit that limit there's no way to keep going or fix a number of problems that arise from this feature. Using the save editor to go into your savefile directly, you can select, backup and overwrite any undesired data that prevents you from having a nice clean base. The process is simple and while it take a bit getting used to, once you get the hang on if you'll be able to fix any terrain mess within 1 minute.
 
Rate  
Favorite
Favorited
Unfavorite
Disclaimer
This is my first guide and is by no means perfect. The instructions are in my opinion fairly clear and easy to follow. If you have suggestions as to how to improve it, feel free.

That being said, i am not the developer of the save editor and it is responsibility of each player to keep backups of their saves before attempting to fix anything.
Prep work.
If you:

  • Log in to find your base buried.
  • Find that the terrain won't get dug when placing floors or rooms and you simply place a room thats buried.
  • For some reason dug around your base so much that fixing it is virtually impossible (been there).
  • Another player joined your session and did a number on your base's terrain.

Fret not. There's a tool that can help, download and install the save editor. [github.com]


Once installed, point the editor towards your savefile.


Here you can see and edit a wide range of stuff about your save but we're gonna focus on your bases and the terrain. Go to the bases and storage and back up each base you have.

You're now ready to start editing.
Deleting the terrain data and clearing your base.
Make a manual save using a beacon near your base. Then go to the editor and it should prompt you to "reload" the latest savefile, this means it will load the file you just saved ingame instead of the one it had before. Hit *save changes* in the editor afterwards. Whenever you save using the editor, the editor will create a backup before doing so, so that you can return safely in case anything goes wrong, this is an easy way to create regular backups of your savefile whenever.

Once the backup is created, it's time to directly delete the nasty terrain data. Go to the json file.

Go to the Player state Data and hit the + on the left. This will expand and isolate the sections that are within the The PlayerStateData folder.

Scroll down until you find The subfolder "TerrainEditData" and select it, the data in that subfolder should appear on the right panel.


Select everything on the right panel and delete it. Once you delete hit, hit the x on the upper right corner to exit the json file and a prompt should ask you if you want to save any changes. Hit yes.

Once again hit *save changes* And you're technically done. All the terrain should reset to its original state and your base should be either, covered in dirt if it was underground, or covered in grass at the floor if it was just above ground level.

You could manually clear the area and wait until you need to do this again manually but we're trying to reduce future effort, so we're taking this a bit further.



Creating a backup "TerrainEditData" folder.
In order to not have to go through the entire process of clearing your base everytime you delete the data, we're gonna make a backup you can simply overwrite into your json file and will restore the clean look of your base. This is why we backed up your bases earlier.

While doing this, only visit your own bases that need to be dug up, don't visit your bases that are perfectly fine above ground, don't go to other player bases and don't use the terrain editor for anything, unless necesary to access a building you need to replace. (we'll talk about this later)

Load up the save with the TerrainEditData deleted, again, you will find fresh terrain all over your base.

If your base was big and complex delete your base ingame (you can safely restore it later since you backed it up previously) and place a beacon where the computer was, save and reload. If your base was built on a computer you found already built on the planet, you can just delete the base, save your game and reload, an unclaimed computer will respawn.

If your base was at ground level, this will be quicker. Put down another base computer where the old one was or claim the one that respawned and start placing wood/concrete/metal floors around it until you cover the area that your old base covered, this will clear all that pesky grass and leave a level ground to work with.


Once you've cleared the area, save once again either by placing a beacon or getting in/out of your ship. Go once again to the editor (which should be prompting you to reload to the latest savefile), and go to the bases section again. The new base should appear on the list while your old base should be gone.


Select it, hit restore and choose the old base you deleted. Rename the base accordingly and once again save the changes you've made.

Proceed to loading up your savefile ingame and your base should now rest upon cleared, leveled land. Now do this for every *big* base at ground level with terrain clipping inside you have.

For small outposts, with not many things inside, it is enough to simply delete and replace room by room, this will automatically clear just the right amount of land.

For underground bases or bases, partially underground, we follow the same basic principle, save your game both ingame and in the editor to create a backup. Delete and replace room by room don't bother with the interiors, as we will restore the base from a backup as well. Once you have cleared all the base and enough room around it, save your file and restore the base from the editor.

Once you've finished clearing all your bases and are satisfied with how it looks make one last save and head over to the editor, and go into the json file like you did at the start. This time, instead of deleting all the data, you're gonna select everything from the TerrainEditData folder that's in the right panel and copy it.


Save this data as a txt file with your preferred tool, i use notepad++.

You're done, whenever you into another terrain problem simply load up your save in the editor, go into the json file and overwrite the data with your backup.

You can tell how close are you to hitting the limit by checking the lower right corner of the resources needed when placing any building part that goes in the floor like a paving or a room.


< >
4 Comments
Archmage May 27 @ 4:35am 
Cool guide, nice to see a tech-smart approach to un-janking this delightfully janky game.
ihleslie Dec 19, 2018 @ 1:21pm 
I remember reading this article and thinking it was a good idea. I took a different approach and wrote a program in Python that resets terrain in a more targeted fashion. I specify the planets that I do not want to modify. I had a big base that involved lots of terrain edits from placing buildings and using the terrain manipulator (TM). I found a better planet so salvaged all the materials and deleted the base. Of course, that didn't get my edits back until I ran the program. Here are a couple of before/after images that you might find interesting: edit recovery [forums.atlas-65.com] .

My next effort will be to target individual locations on a planet. This would be handy to back TM edits from mining outside the range of the base computer.

This is all single player specific. I have no idea what would happen in multiplayer.
demahoney4 Oct 11, 2018 @ 4:09am 
Becuase you could make it out of ANYTHING, couldnt it be made out of nothing?
demahoney4 Oct 11, 2018 @ 4:09am 
Well it is cheating