Jump to content

How to Delete Kerbals from existence in KSP 1.12?


Recommended Posts

I accidentally created two named Kerbals with the wrong gender. I need to 100% delete them from existance so I can make new ones with the correct gender. Is there no way to do this? I know there is another thread about the same topic, but that one is quite old. Are there any new methods that have been discovered? I can't code, and since they're custom Kerbals, the dismiss-and-cycle method doesn't work. The only way that I can think of is deleting my entire save file, but I have a lot of stuff that I've done in that save, and I would rather not lose all of my ships.

Edited by John Adler
Link to comment
Share on other sites

24 minutes ago, John Adler said:

I accidentally created two named Kerbals with the wrong gender. I need to 100% delete them from existance so I can make new ones with the correct gender. Is there no way to do this? I know there is another thread about the same topic, but that one is quite old. Are there any new methods that have been discovered? I can't code, and since they're custom Kerbals, the dismiss-and-cycle method doesn't work. The only way that I can think of is deleting my entire save file, but I have a lot of stuff that I've done in that save, and I would rather not lose all of my ships.

It's easier than you think.

  1. Open your KSP folder, look for the folder called 'save
  2. Inside 'save' Look for a folder with the name of the savegame you are running.
  3. Inside this folder there's a file named 'persistentsfs'. BACKUP IT. (Do a ctrl-c followed by a ctrl-v).
  4. Now open the persistent.sfs file using notepad.exe or, better, notepad++.
  5. Do a find using the name of the kerbals you want to remove.

You will find something like this:

                KERBAL
                {
                        name = <Something> Kerman
                        gender = Male
                        type = Crew
                        trait = Pilot
                        brave = 0.5
                        dumb = 0.5
                        badS = False
                        veteran = False
                        tour = False
                        state = Available
                        inactive = False
                        inactiveTimeEnd = 0
                        gExperienced = 0
                        outDueToG = False
                        ToD = 0
                        idx = -1
                        extraXP = 0
                        hasHelmetOn = False
                        hasNeckRingOn = False
                        hasVisorDown = False
                        lightR = 1
                        lightG = 0.5176
                        lightB = 0
                        completedFirstEVA = False
                        suit = Default
                        hero = False
                        CAREER_LOG
                        {
                                flight = 0
                        }
                        FLIGHT_LOG
                        {
                                flight = 0
                        }
                }

Now you can edit the gender directly (male to female or viceversa) or you can delete everything - the KERBAL string and all lines from the fist "{" until the respective "}" (note that they are always in pairs with stuff inside).

Be carefull to do not delete to much or too few, the savegame is sensitive to these brackets and will fail lo load if you make a mistake - since the absolute need to have a backup (even me screw up something now and then).

Cheers!

Edited by Lisias
on my computer now.
Link to comment
Share on other sites

  • 2 weeks later...
On 5/8/2022 at 9:35 AM, Lisias said:

It's easier than you think.

  1. Open your KSP folder, look for the folder called 'save
  2. Inside 'save' Look for a folder with the name of the savegame you are running.
  3. Inside this folder there's a file named 'persistentsfs'. BACKUP IT. (Do a ctrl-c followed by a ctrl-v).
  4. Now open the persistent.sfs file using notepad.exe or, better, notepad++.
  5. Do a find using the name of the kerbals you want to remove.

You will find something like this:

                KERBAL
                {
                        name = <Something> Kerman
                        gender = Male
                        type = Crew
                        trait = Pilot
                        brave = 0.5
                        dumb = 0.5
                        badS = False
                        veteran = False
                        tour = False
                        state = Available
                        inactive = False
                        inactiveTimeEnd = 0
                        gExperienced = 0
                        outDueToG = False
                        ToD = 0
                        idx = -1
                        extraXP = 0
                        hasHelmetOn = False
                        hasNeckRingOn = False
                        hasVisorDown = False
                        lightR = 1
                        lightG = 0.5176
                        lightB = 0
                        completedFirstEVA = False
                        suit = Default
                        hero = False
                        CAREER_LOG
                        {
                                flight = 0
                        }
                        FLIGHT_LOG
                        {
                                flight = 0
                        }
                }

Now you can edit the gender directly (male to female or viceversa) or you can delete everything - the KERBAL string and all lines from the fist "{" until the respective "}" (note that they are always in pairs with stuff inside).

Be carefull to do not delete to much or too few, the savegame is sensitive to these brackets and will fail lo load if you make a mistake - since the absolute need to have a backup (even me screw up something now and then).

Cheers!

Thank you. I will... attempt to try this...

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...