Jump to content

converting .CRAFT files into another format such as .OBJ?


mobious44

Recommended Posts

Erm, not with the tools we have I don't think.

AFAIK, a .craft file is not a 3D model file, rather it is a list of parts and their details. (Location, rotation, where they connect to other parts, etc.)

You would have to write a program that examined a craft file and then pulled all the 3D model files from the parts directories and placed them into a combined 3D model file.

That might be possible as a plugin to blender, but I would not have a clue where to start.

D.

Link to comment
Share on other sites

A .craft file is just a textual description of which parts are connected to what and their locations. Technically, it should be possible to create a converter that uses the actual part models and a .craft to build a .obj or whatever, but I'm not sure if it has been done. I do remember hearing something about this awhile ago though.

EDIT: Ninja'd

DOUBLE EDIT: Apparently KSP uses .mu files which are specific to KSP and can't be reverse engineered, so unless you get the originals from Squad, theres no way to directly grab the parts and use them.

Edited by Xaiier
Link to comment
Share on other sites

The only way that this could be done is if you had a sub-program which contained all of KSP's assets and was solely used to render the craft. It'd probably be trivial to create for squad but on the other hand it'd require updating at every iteration so it probably wouldn't be worth their time to keep it updated as it'd just be KSP-lite.

Link to comment
Share on other sites

unfortunately you've all confirmed what i already thought but hoped wasn't true. Thank you all. but the idea of writing a script/program to analyze a .CRAFT file and make a .OBJ file from that sounds interesting... But my coding skills are very lacking, nonetheless I may try to create something like that, although i probably won't ever finish it. If someone who is actually adept at writing code did this i would be very thankful.

Link to comment
Share on other sites

DOUBLE EDIT: Apparently KSP uses .mu files which are specific to KSP and can't be reverse engineered, so unless you get the originals from Squad, theres no way to directly grab the parts and use them.

They absolutely can be reverse engineered. After Googling around on the subject, it appears Squad has asked people to not do it, and to not develop/distribute tools to do it. But it absolutely can be done... after all, the game is able to decode them for display!

Capturing the 3D models directly from memory (a la Ninja Ripper) is by far the most direct method.

=Smidge=

Link to comment
Share on other sites

It maybe possible, but then you're getting into the area of ripping off their IP so to speak. You would be better off just modeling it by hand I would think. I've been thinking of doing that but then I'd have to take some time away from playing the game...

Link to comment
Share on other sites

It maybe possible, but then you're getting into the area of ripping off their IP so to speak. You would be better off just modeling it by hand I would think. I've been thinking of doing that but then I'd have to take some time away from playing the game...

I'd never rip off this IP or any other. I just merely wanted the 3D models of the ships I've made in an attempt to see if I could 3D print them off. Thought it'd be cool to have a physical version of them.

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