Fractal Softworks Forum

Starsector => General Discussion => Topic started by: Bangle on November 10, 2022, 02:24:16 AM

Title: Planet size edit in save files
Post by: Bangle on November 10, 2022, 02:24:16 AM
I was trying to edit my colony/planets radius in the save file, but for some reason, colonized planets seem to miss their <radius> section in the codes, unlike non-colonized planets.
Any ideas?
Title: Re: Planet size edit in save files
Post by: n3xuiz on November 10, 2022, 03:10:18 AM
i also like to edit my planets radius and find it to be very tedious. so in my example i have a jungle world and want to edit the radius.

i save the game while orbiting the planet i want to edit and copy that save to the desktop or wherever as a backup. i leave the game running.

then i search for jungle planets in the save file, edit the radius and save. then i alt-tab into the game load the edited save and see if the radius has changed on my planet (it probably didn't). so i go back into the notepad++ and change the radius back to what it was and look for the next jungle entry and edit that radius..

rinse and repeat until i found the planet i wanted to edit and there you go..

basically brute force it until you find the right one.

its a pain especially if the planet type you want to change is a common one.
Title: Re: Planet size edit in save files
Post by: Bangle on November 10, 2022, 04:13:09 AM
Bloody hell, i did try out the method for hours but never realized i found the right code.
Thanks mate!
Title: Re: Planet size edit in save files
Post by: SafariJohn on November 10, 2022, 04:19:26 AM
Search for the market's name, then find the connected entities' IDs and search for each of those until you find the planet itself. That will get you to the right planet pretty quickly.