Jump to content

FIX FOUND: KSP crashing after removing mods? read here


Recommended Posts

Hello KSP community!

So about a week or so ago, I posted here because I was having a problem with my save game of KSP crashing after removing mods. Basically my game would either crash or when I would get into the screen with all the buildings, I would not be able to click on any of them or basically do anything and I feared that my save game was corrupt! But due to some responses on this board, I found the culprit of this issue.

If you game is acting up after removing mods (particularly, in the contract career mode) then your problem most likely is CONTRACTS. Certain mods (tiberdyne shuttle to be one as an example) create their own contracts to use their parts in different scenarios. If you delete mods that create contracts, KSP will not reset the contracts and will cause your game to act up/crash. There is a moderately simple fix to this, and this is how I went about doing it (FYI, I happen to be a programmer and game developer myself so I poke around on these issues):

1) Back up your game saves

2) Go to you saves folder for your problematic career save

3) Delete your quicksave files

4) Open the "persistent" file for your game save

5) In the file you will find a section of code called "Contracts", and in between contracts there are the individual contracts labeled as "contract" with their own bracket system of code. I use a program called "Rapid PHP Editor 2014" (for my work) but in this case I used it for my KSP file. I selected all the code between the "Contracts" brackets (that contains the individual contracts) and deleted all the current active contracts. If you don't have a fancy program, you can go through and individually delete contracts. Just make sure you leave the outer "contracts" bracket, just delete the individual one named "contract".

6) This should fix your game, any KSP mods that were forcing you to use contracts should reset and new KSP contracts should come up!

Note, this will reset contracts available at the contract building, but this is the one sure fire way to fix this problem from what I discovered. Another forum poster told me this issue may be related to kerbals stuck in orbit that were part of a contract. The fix for me was to simply remove all the contracts related to modded parts. Anyway I hope this helps someone, if you need help respond here and I will try to assist you in fixing your KSP saves! :cool:

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...