No Man's Sky 无人深空

No Man's Sky 无人深空

评价数不足
Clearing All Terrain Edits Using the Save Editor (5.70+ Beacons)
由 Azure Fang 制作
Getting close to the edit limit but can't remember where you dug out that entire ruin? Lot of sloppy base building, but don't want to fight with the restoration tool to repair literally non-existent edits? Just want a fresh start on terrain edits? Look no further.
3
   
奖励
收藏
已收藏
取消收藏
Foreword and Warning
Terrain manipulation is... lets just say "messy". By default, most base parts have a zone around them that will automatically carve out terrain. Base terrain edits are "protected" meaning they will remain no matter what in theory. However, the game caches 30,000 total terrain edits per save and once that limit is reached edits start to revert based on age and protection; having tons of protected base edits that you might not have even wanted means you have less room in the world for edits in general. Beyond that, there's some rules for automatically reverting even protected edits, leading to base fill-in when intentional edits revert suddenly. With all of that in mind, it would be great to have a way to revert all edits on a wide, even save-wide, scale. This guide provides just that.

WARNING
This method utilizes the No Man's Sky Save Editor[github.com] by goatfungus. It should go without saying, but directly editing your save is dangerous if you're not careful. Always back up your save before making any edits. As with all save manipulation, you assume all risks when making edits and I will not be held liable for any damage you cause to your save or for your failure to keep backups.
Method
By following this method, you will automatically revert all terrain edits on your targeted save by emptying the JSON arrays associated with storing the edits. The method is quick and simple.

  1. Start No Man's Sky and load your save. Doing this while the save is loaded will ensure that Steam Cloud will not interfere with the process.
  2. Make a few terrain edits, then enter and exit your ship to update your save.
  3. Load the save editor and select the slot and file you wish to clear.
  4. In the Edit menu, select "Edit Raw JSON".
  5. In BaseContext > PlayerStateData, locate and open TerrainEditData. Inside you will find six JSON arrays: GalacticAddresses, BufferSizes, BufferAges, BufferAnchors, BufferProtected, and Edits.
  6. Click on GalacticAddresses, then on the data field. Hit CTRL+A, then type this line:
    {}
  7. Click on any JSON object or array to open a prompt asking if you want to apply changes. Hit YES.
  8. Repeat steps #6 and #7 on BufferSizes, BufferAges, BufferAnchors, BufferProtected, and Edits in turn.
  9. Close the JSON editor, hitting YES to save chances if prompted.
  10. On the Main tab, hit "Save Changes".
  11. In No Man's Sky, reload your save.
    • Make sure you're reloading the right save. The new autosave system can make file targeting a little confusing. You'll know you loaded the right save if your step #1 terrain edits are gone.
  12. Save and reload one more time. This will ensure than No Man's Sky rebuilds the proper JSON structures for future terrain edits in your save.

Congratulations! If you followed everything correctly, every single terrain edit on your save has been wiped clean.
3 条留言
Phrayzur 2023 年 8 月 24 日 下午 12:56 
I'd love to grab that script...
Atlas 2023 年 8 月 19 日 下午 2:54 
Hopefully you dont mind but ive been writing a script on this very guide and building tips for youtube. I'll drop a link here. i know it's years old but to know that this information isn't even covered and it took me 3 days of searching to find this very guide is sad. So have some awards for your effort and much love mate.
Atlas 2023 年 8 月 19 日 下午 2:52 
<3