Jump to content

How to Update Mod to 1.2.0?


Recommended Posts

Hey I'm trying to figure out what broke in my mod during the update to KSP 1.2.0 but I'm running into a wall.  None of my part plugins seem to be loading.  I've just downloaded the current version from GitHub (version 0.0.4) that I know works with 1.1.3.  The only changes I've made are to the GameData/CivilianPopulationRevamp/CivilianPopulationRevamp.version and CRP.version files.  In both, I've changed it to:

{
     "NAME":"Civilian Population Revamp",
     "URL":"https://github.com/maanderson22/CivilianPopulationRevamp/releases",
     "DOWNLOAD":"https://github.com/maanderson22/CivilianPopulationRevamp/releases",
     "GITHUB":{
         "USERNAME":"MAAnderson22",
         "REPOSITORY":"CivilianPopulationRevamp",
         "ALLOW_PRE_RELEASE":false
     },
     "VERSION":{
         "MAJOR":0,
         "MINOR":0,
         "PATCH":4,
         "BUILD":0
     },
     "KSP_VERSION":{
         "MAJOR":1,
         "MINOR":2,
         "PATCH":0
     },
     "KSP_VERSION_MIN":{
         "MAJOR":1,
         "MINOR":1,
         "PATCH":2
     },
     "KSP_VERSION_MAX":{
         "MAJOR":1,
         "MINOR":2,
         "PATCH":5
     }
 } 

Example of an error for a part (both are present in the part's .cfg file):

[LOG 18:56:17.097] PartLoader: Compiling Part 'CivilianPopulationRevamp/Parts/DockingPorts/CivieDockingPort/civieDockingPort/civieDock'
[ERR 18:56:17.102] Cannot find a PartModule of typename 'CivilianDockGrowth'
[ERR 18:56:17.103] Cannot find a PartModule of typename 'KerbalRecruitment'

Is this normal operation at this point (mods disabled for 1.2), or am I seeing something unique to my mod?  Otherwise, does anyone have any ideas why this would happen?

Link to comment
Share on other sites

@JPLRepo

I am actually the author.  I just happen to be a very inexperienced author. :)

I'll try recompiling when I get home tonight.  I didn't see anything about .NET changing from 3.5, so to recompile for the latest KSP version, would there be anything else I need to do other than reference KSP 1.2's dll's (e.g. KSPUtil, KSP.UI, cSharpFirstPass, UnityEngine...)?

Edited by Tralfagar
Formatting
Link to comment
Share on other sites

1 minute ago, Tralfagar said:

@JPLRepo

I am actually the author.  I just happen to be a very inexperienced author. :)

I'll try recompiling when I get home tonight.  I didn't see anything about .NET changing from 3.5, so to recompile for the latest KSP version, would there be anything else I need to do other than reference KSP 1.2's dll's (e.g. KSPUtil, KSP.UI, cSharpFirstPass, UnityEngine...)?

ah ok. sorry. Um, yes change your references and then deal with all the errors you get. :wink:
This might help.

any other help for 1.2 go to the forum that post is in for the prerelease.

Link to comment
Share on other sites

Errors?  What errors.  My code is perfectly functional the first time, every time.  It just tends to have some bonus, unexpected features that the compiler can't comprehend.

Thank you!  I didn't realize there was a version 1.2 forum.  Time to do some reading on my lunch break!

Edited by Tralfagar
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...