Jump to content

[IDEA] KSP 1 Craft File Converter


Recommended Posts

Hello everyone,

I think it would be a good idea if someone could create a mod (or maybe a separate tool instead) that lets you convert a KSP 1 craft file into a KSP 2 workspace file. However, it would only let you convert a craft if all of its parts had an equivalent in KSP 2. Also, when converting a KSP 1 craft to KSP 2, the tool should be able to let you set the workspace name and description for the craft when setting it up to be converted. And maybe the tool/mod would let you convert KSP 2 workspace files to KSP 1 craft files as well. What do you think? I think something like this would save a lot of time for someone trying to recreate a KSP 1 craft in KSP 2, as you could just convert the original craft instead. Especially if it had a high part count...

Link to comment
Share on other sites

I decided to create some concept art for what the UI of this mod could look like in the VAB. My idea for the process of how this mod could work is below.

Step 1: After clicking on the icon for the mod in the app bar, a window would appear that lets you select a craft file from KSP 1. After clicking on "Select...", an explorer window would pop up asking you to specify where the .craft file you want to convert is located. After selecting one, the window would change to how it appears in Step 2.

SznO2L.png

Step 2. After selecting a craft file, the craft file section of the UI would change to show the name of your craft file. Under that, a "CONVERT!!!" button would appear which when pressed would begin converting your craft file and proceed to Step 3. The minus button next to the craft file's name could be pressed to remove the currently selected craft and revert the UI back to how it looks in Step 1, allowing you to select a different craft file if you wanted to do so.

v6vDex.png

Step 3. The window would change to show that your craft conversion is now in progress. If the conversion was successful, the window would change to how it appears in Step 4. If the conversion failed (for example, if your craft contained a part that isn't in KSP 2), you would get a conversion failed message and then the window would revert back to how it appears in Step 1.

owFg6o.png

Step 4.  After a successful craft conversion, some input boxes would appear allowing you to put in the name of your vehicle, the name of the workspace, and a description for that workspace. The converter would try to automatically pull the name and description of your vehicle from it's KSP 1 .craft file and enter that name and description in for the converted vehicle's workspace and vehicle names, as well as the workspace description. Workspace and vehicle names would be required to continue, but the workspace description would be optional. Pressing the "SAVE CRAFT" button would save your craft and create an entry in the location where you can load workspaces from in KSP 2, while pressing the "SAVE AND LOAD CRAFT" button would do the same thing as well as load the converted craft in the VAB as shown in Step 5.

f.png

Step 5. The craft converted from KSP 1 loaded in the VAB, with the craft file converter window ready to convert another craft.

Ref.png

Well, that's my concept for this mod idea. I may also create some concept art for the other part of the converter I mentioned in the original post, which you can view in the quote below.

On 3/12/2023 at 9:55 AM, Johnster_Space_Program said:

And maybe the tool/mod would let you convert KSP 2 workspace files to KSP 1 craft files as well.

As I currently have no modding experience with KSP 2, hopefully someone else will be able to turn this mod idea into a reality, as I'm sure a lot of KSP 1 players who have just started playing KSP 2 would really enjoy a helpful mod like this to speed up their KSP 1 craft recreation times.

Link to comment
Share on other sites

KSP 1 and 2 aren’t the same game and trying to get a craft file from the former to work in the latter would probably take a lot of work: wings are completely different, parts have different names, shapes and sizes not to mention mass and engine performance, the fuels are different and in different ratios, to name just a few of the things to consider even before you think about the parts that don’t exist in one game or the other (e.g. the DLC parts) or from mods.

All of that assumes that the files are structured in the same way using the same parameters, which is a big assumption that could completely scupper the whole idea if it’s not true. It would probably be easier to just manually rebuild each design in KSP2 unless it’s a really intricate design or replica.

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