Jump to content

Editing Science in Save game


Recommended Posts

Hiya

I hope you're all well.

I was wondering if anyone with a grasp on save game editing knows how to reset the collected science for a given Planet/Moon back to 0.

Basically, having unlocked the tree I now want to go out and completely re-do a few of my favourite missions to refine the Craft/Route/agenda in order to maximise the science and fun.  So I want to keep all the unlocked parts, but be able to start collecting science again from scratch. 

Anyone know if that's possible?

Thanks 

Link to comment
Share on other sites

Yes, but you'll have to do quite a bit of editing to remove all the science results.

  • MAKE A BACKUP FIRST!!
  • Open the persistent.sfs file in a text editor.
  • Search for: name = ResearchAndDevelopment
    • You should find something like this:
    • Spoiler
      
      SCENARIO
      {
        name = ResearchAndDevelopment
        scene = 7, 8, 5, 6
        sci = XXXXX
        Tech
        {
          id = start
          ...
        }
        [LOTS MORE TECH NODES]
      
        Science
        {
          id = temperatureScan@KerbinSrfLandedLaunchPad
          title = Temperature Scan from LaunchPad
          ...
        }
        [LOTS MORE SCIENCE NODES]
      }

       

    • Carefully delete all those Science {...} nodes
    • Optional: edit the sci = XXXXX line to be sci = 0 to reset your total science points
  • That will have removed all the standard stock and modded science results (but not the breaking ground deployed science or some of the more specialised modded science)
  • Search for name = ProgressTracking
    • You should find something like:
    • Spoiler
      
      SCENARIO
      {
      	name = ProgressTracking
      	scene = 7, 8, 5
      	Progress
      	{
      		FirstLaunch
      		{
      			completed = 1572.271919183
      		}
      		FirstCrewToSurvive
      		{
      			...
      		}
      		[MORE NODES]
      	}
      }

       

    • Carefully remove everything inside the Progress { } brackets while leaving the brackets
    • Spoiler
      
      SCENARIO
      {
      	name = ProgressTracking
      	scene = 7, 8, 5
      	Progress
      	{
      	}
      }
      			

       

  • That will reset all the progress tracking so that you can get the "returned from orbit", "returned from minmus surface" etc. science again.
  • If you have breaking ground and want to reset the deployed science then that's a bit more complicated. Easiest way is to create a fresh new save and copy the SCENARIO { name = DeployedScience ... } section from that and use it to replace the corresponding section of the save you are editing.
  • If you have DMagic Orbital Science and want to redo an asteroid science mission then you need to search for name = DMScienceScenario
    • replace the found section with the starting values:
    • Spoiler
      
      SCENARIO
      {
        name = DMScienceScenario
        scene = 7, 5, 8, 6
        Asteroid_Science
        {
        }
        Anomaly_Records
        {
        }
      }

       

I think that covers the main points.

Part mods with extra experiments will generally have been reset by editing the ResearchAndDevelopment scenario.

Mods with "complex" or highly modified science systems (e.g. Kerbalism) may require special handling.

 

Link to comment
Share on other sites

2 hours ago, Aelfhe1m said:

Yes, but you'll have to do quite a bit of editing to remove all the science results.

  • MAKE A BACKUP FIRST!!
  • Open the persistent.sfs file in a text editor.
  • Search for: name = ResearchAndDevelopment
    • You should find something like this:
    •   Reveal hidden contents
      
      
      SCENARIO
      {
        name = ResearchAndDevelopment
        scene = 7, 8, 5, 6
        sci = XXXXX
        Tech
        {
          id = start
          ...
        }
        [LOTS MORE TECH NODES]
      
        Science
        {
          id = temperatureScan@KerbinSrfLandedLaunchPad
          title = Temperature Scan from LaunchPad
          ...
        }
        [LOTS MORE SCIENCE NODES]
      }

       

    • Carefully delete all those Science {...} nodes
    • Optional: edit the sci = XXXXX line to be sci = 0 to reset your total science points
  • That will have removed all the standard stock and modded science results (but not the breaking ground deployed science or some of the more specialised modded science)
  • Search for name = ProgressTracking
    • You should find something like:
    •   Reveal hidden contents
      
      
      SCENARIO
      {
      	name = ProgressTracking
      	scene = 7, 8, 5
      	Progress
      	{
      		FirstLaunch
      		{
      			completed = 1572.271919183
      		}
      		FirstCrewToSurvive
      		{
      			...
      		}
      		[MORE NODES]
      	}
      }

       

    • Carefully remove everything inside the Progress { } brackets while leaving the brackets
    •   Reveal hidden contents
      
      
      SCENARIO
      {
      	name = ProgressTracking
      	scene = 7, 8, 5
      	Progress
      	{
      	}
      }
      			

       

  • That will reset all the progress tracking so that you can get the "returned from orbit", "returned from minmus surface" etc. science again.
  • If you have breaking ground and want to reset the deployed science then that's a bit more complicated. Easiest way is to create a fresh new save and copy the SCENARIO { name = DeployedScience ... } section from that and use it to replace the corresponding section of the save you are editing.
  • If you have DMagic Orbital Science and want to redo an asteroid science mission then you need to search for name = DMScienceScenario
    • replace the found section with the starting values:
    •   Reveal hidden contents
      
      
      SCENARIO
      {
        name = DMScienceScenario
        scene = 7, 5, 8, 6
        Asteroid_Science
        {
        }
        Anomaly_Records
        {
        }
      }

       

I think that covers the main points.

Part mods with extra experiments will generally have been reset by editing the ResearchAndDevelopment scenario.

Mods with "complex" or highly modified science systems (e.g. Kerbalism) may require special handling.

 

That's Amazing, I really appreciate your time. Thanks

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