Jump to content

Opening craft files on different versions


Ivan Cheung

Recommended Posts

I saw a few crafts on KerbalX but sadly I am currently on 1.4.1 (As Steam Auto updates game and usually ends up ruining the game, and I prefer a stable version) while the craft are built in version beyond 1.4.1

 

is there anyway to modify a craft so it it is compatible with 1.4.1? I installed too many mods that updating the game would take ages to do so.

Link to comment
Share on other sites

So long as the parts are still the same, you can go in and edit the craft file & change the version.   Results may vary - the parts Squad has updated since 1.4.1 are "new" parts - so for example, the Mk 2 lander can in pre-1.6 still exists, but post 1.6, the game uses the new Mk 2 lander can. 

AFAIK, the only thing that will happen is you will get a message saying the parts are invalid & the craft won't load, so it's worth a try.

The craft files should look something like this (from one of mine on KerbalX).  Just change the version to 1.4.1.   And maybe delete the "steamPublishedFileID" line - that was added after 1.4

Spoiler

ship = Jet-3
version = 1.7.0
description =
type = SPH
size = 13.0740223,5.09718418,14.1610661
steamPublishedFileId = 0
persistentId = 1757850739
rot = 0,0,0,0
missionFlag = Squad/Flags/REBEL2
vesselType = Debris

<snip>

 

Edited by Cavscout74
Link to comment
Share on other sites

On 6/18/2019 at 2:48 AM, Cavscout74 said:

So long as the parts are still the same, you can go in and edit the craft file & change the version.   Results may vary - the parts Squad has updated since 1.4.1 are "new" parts - so for example, the Mk 2 lander can in pre-1.6 still exists, but post 1.6, the game uses the new Mk 2 lander can. 

AFAIK, the only thing that will happen is you will get a message saying the parts are invalid & the craft won't load, so it's worth a try.

The craft files should look something like this (from one of mine on KerbalX).  Just change the version to 1.4.1.   And maybe delete the "steamPublishedFileID" line - that was added after 1.4

  Hide contents

ship = Jet-3
version = 1.7.0
description =
type = SPH
size = 13.0740223,5.09718418,14.1610661
steamPublishedFileId = 0
persistentId = 1757850739
rot = 0,0,0,0
missionFlag = Squad/Flags/REBEL2
vesselType = Debris

<snip>

 

Thanks A lot for that and by the way can I delete parts with this method?

Link to comment
Share on other sites

Do what most of us do.   Keep your stable 1.4 version in one directory, but then install the latest version in another.   This way you can have your cake and eat it too.   And if you then find a craft you must have in your earlier version, you can do the above methods to move it between versions. 

Link to comment
Share on other sites

12 hours ago, Ivan Cheung said:

can I delete parts with this method?

It can be done, although if it's a major structural component, it is not going to be easy or pretty.  But if its something simple, it's not hard to do.  Just <Control-F>, find the part you are looking for and delete it out, as well as the lines on other parts where it shows the part you are deleting is attached to other parts.  They will look something like this:

    link = telescopicLadderBay_4289293210

The part section will look like this:

Spoiler

PART
{
    part = telescopicLadderBay_4289293210
    partName = Part
    persistentId = 1441084643
    pos = -0.884961128,3.75085855,-0.240345597
    attPos = 0,0,0
    attPos0 = -1.18718433,-0.223206431,0.0830595791
    rot = 8.94069672E-08,0.0914892256,1.78813934E-07,0.995806217
    attRot = -0.707106709,0,0,0.707106709
    attRot0 = 0.7041412,-0.0646927729,0.0646925196,-0.704141319
    mir = 1,1,1
    symMethod = Mirror
    autostrutMode = Off
    rigidAttachment = False
    istg = -1
    resPri = 0
    dstg = 0
    sidx = -1
    sqor = -1
    sepI = -1
    attm = 1
    modCost = 0
    modMass = 0
    modSize = 0,0,0
    srfN = srfAttach,M2X.BladeCockpit_4290548974
    EVENTS
    {
    }
    ACTIONS
    {
    }
    PARTDATA
    {
    }
    MODULE
    {
        name = RetractableLadder
        isEnabled = True
        StateName = Retracted
        stagingEnabled = True
        EVENTS
        {
        }
        ACTIONS
        {
            ToggleAction
            {
                actionGroup = None
                wasActiveBeforePartWasAdjusted = False
            }
            ExtendAction
            {
                actionGroup = None
                wasActiveBeforePartWasAdjusted = False
            }
            RetractAction
            {
                actionGroup = None
                wasActiveBeforePartWasAdjusted = False
            }
        }
        UPGRADESAPPLIED
        {
        }
    }
    MODULE
    {
        name = AYPart
        isEnabled = True
        stagingEnabled = True
        EVENTS
        {
        }
        ACTIONS
        {
        }
        VesselProdPartsList
        {
        }
        VesselConsPartsList
        {
        }
        UPGRADESAPPLIED
        {
        }
    }
}

So you need to delete out the entire part from the first { to the last }, then delete out the "link =" lines from any parts the deleted part is attached to.  I used the retractable ladder as an example because it happened to be the first linked part of the root part of the craft file I opened to use as an example.  You'll have to find the actual part name either by educated guess or find the part.cfg & looking for the "name =" line

Edited by Cavscout74
Link to comment
Share on other sites

On 6/24/2019 at 2:03 AM, Cavscout74 said:

It can be done, although if it's a major structural component, it is not going to be easy or pretty.  But if its something simple, it's not hard to do.  Just <Control-F>, find the part you are looking for and delete it out, as well as the lines on other parts where it shows the part you are deleting is attached to other parts.  They will look something like this:

    link = telescopicLadderBay_4289293210

The part section will look like this:

  Hide contents

PART
{
    part = telescopicLadderBay_4289293210
    partName = Part
    persistentId = 1441084643
    pos = -0.884961128,3.75085855,-0.240345597
    attPos = 0,0,0
    attPos0 = -1.18718433,-0.223206431,0.0830595791
    rot = 8.94069672E-08,0.0914892256,1.78813934E-07,0.995806217
    attRot = -0.707106709,0,0,0.707106709
    attRot0 = 0.7041412,-0.0646927729,0.0646925196,-0.704141319
    mir = 1,1,1
    symMethod = Mirror
    autostrutMode = Off
    rigidAttachment = False
    istg = -1
    resPri = 0
    dstg = 0
    sidx = -1
    sqor = -1
    sepI = -1
    attm = 1
    modCost = 0
    modMass = 0
    modSize = 0,0,0
    srfN = srfAttach,M2X.BladeCockpit_4290548974
    EVENTS
    {
    }
    ACTIONS
    {
    }
    PARTDATA
    {
    }
    MODULE
    {
        name = RetractableLadder
        isEnabled = True
        StateName = Retracted
        stagingEnabled = True
        EVENTS
        {
        }
        ACTIONS
        {
            ToggleAction
            {
                actionGroup = None
                wasActiveBeforePartWasAdjusted = False
            }
            ExtendAction
            {
                actionGroup = None
                wasActiveBeforePartWasAdjusted = False
            }
            RetractAction
            {
                actionGroup = None
                wasActiveBeforePartWasAdjusted = False
            }
        }
        UPGRADESAPPLIED
        {
        }
    }
    MODULE
    {
        name = AYPart
        isEnabled = True
        stagingEnabled = True
        EVENTS
        {
        }
        ACTIONS
        {
        }
        VesselProdPartsList
        {
        }
        VesselConsPartsList
        {
        }
        UPGRADESAPPLIED
        {
        }
    }
}

So you need to delete out the entire part from the first { to the last }, then delete out the "link =" lines from any parts the deleted part is attached to.  I used the retractable ladder as an example because it happened to be the first linked part of the root part of the craft file I opened to use as an example.  You'll have to find the actual part name either by educated guess or find the part.cfg & looking for the "name =" line

Ooh sweet! Thanks for your help!

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