Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: panadar on June 15, 2014, 02:56:06 am

Title: Extract Models from Freespace 2
Post by: panadar on June 15, 2014, 02:56:06 am
I have recently decided to get into game modding.  Maybe it is somewhere out there and I have missed it somehow.  But I am interested in extracting models from Freespace 2.  Does anybody out there know the tool I can download where the link actually works to extract the models or have the Freespace 2 models already extracted?  At this point, I would probably prefer the models already extracted. ;)  Thank you very much in advance.
Title: Re: Extract Models from Freespace 2
Post by: Kopachris on June 15, 2014, 03:15:28 am
You'll need to download a VP viewer/extractor (http://www.hard-light.net/wiki/index.php/VP) to open FreeSpace's VP files, which are archives that contain all the game's assets.  The model files use the file extension ".pof".  If you use Blender, you can import them directly into Blender using this plugin (https://github.com/Kopachris/bpof) (drop the "io_scene_pof" folder into your <Blender install directory>/<Blender version>/scripts/addons directory).  The plugin is fully functional for importing POF files into Blender, but exporting from Blender to POF isn't complete yet (it does the geometry and textures and that's about it right now, none of POF's special features such as engines, subsystems, or weapons).

If you use a different 3D modeler, you'll need to download PCS2 (http://www.hard-light.net/wiki/index.php/PCS2) to open the POF file and then export the POF file to a DAE (Collada) file, which you can then open in most 3D modeling programs.
Title: Re: Extract Models from Freespace 2
Post by: panadar on June 16, 2014, 12:27:26 am
First!  I want to say THANK YOU VERY MUCH!!!!!!!!!  I want you to know I downloaded the programs you told me me (VP viewer/extractor &PCS2).  I was able to extract the ships from FS2 that I wanted to mod!!  I am really excited about that! I use Modo to model my ships and after using PCS to translate my program to *.cob format, I then imported it into another program and translated it to *.obj format so I could import it into Modo for editing.  Again, I cannot thank you enough!!!  However, I do have one other question.  After my success in extracting the FS2 ships I wanted to mod, I saw some Freespace 1 ships I liked and wanted to extract them so I could mod them.  However, after extracting them, I ran into a problem.  The tool to view and convert the FS1 ships didn't work like it did for the FS2 ship.  After some research, I discovered that the *.pof format for FS1 ships is slightly different that the *.pof format for FS2 ships.  So, it looks like I need a tool to read the FS1 *.pof format.  Does anybody have the original Modelview program (the link doesn't work), or can send me the following models converted to FS2 *.pof format?  Or, a link wher eI can download them? 

bomber01.POF
fighter01.POF
fighter04.POF

Thanks again!!!!
Title: Re: Extract Models from Freespace 2
Post by: Shivan Hunter on June 16, 2014, 12:47:18 am
looks like you can get it from this (http://www.hard-light.net/wiki/index.php/ModelView) wiki page - you'll need to install the first link, then copy the file from the second one into the install folder. (I'm not sure whether that's actually necessary for just FS1 models - it just bumps certain limits to handle newer models. So you may just need to install the program from the first link.)

lol the "not-so-reliable host" is geocities, someone should really just get rid of that so there aren't some useless links on that page. I'd do it but I'm lazy
Title: Re: Extract Models from Freespace 2
Post by: Kopachris on June 16, 2014, 01:01:06 am
PCS2 doesn't do FS1 POF files? :wtf:
Title: Re: Extract Models from Freespace 2
Post by: headdie on June 16, 2014, 01:09:11 am
should do
Title: Re: Extract Models from Freespace 2
Post by: Shivan Hunter on June 16, 2014, 01:09:27 am
yeah I was curious about that too so I just tested it. They don't open. PCS2 is pretty finicky about format (detail0 lol) so I'm not too surprised.
Title: Re: Extract Models from Freespace 2
Post by: Mongoose on June 16, 2014, 02:02:36 am
In the worst case, what you can do is download the FreeSpace Port, which includes all of the retail FS1 models; I'd assume that those would be recognized as proper FS2 models by PCS2.
Title: Re: Extract Models from Freespace 2
Post by: Kopachris on June 16, 2014, 07:40:07 am
yeah I was curious about that too so I just tested it. They don't open. PCS2 is pretty finicky about format (detail0 lol) so I'm not too surprised.

Weird.  When I wrote the POF library I used for my Blender plugin, I kept it pretty feature-agnostic.  It should open FS1 files just fine (and automatically convert if you change the version of the file to 2117 after reading it) and has no requirements on submodel names.  Maybe I'll finish that export plugin someday...
Title: Re: Extract Models from Freespace 2
Post by: Colonol Dekker on June 16, 2014, 08:29:51 am
For FS1 models, FS port has everything you need.
Title: Re: Extract Models from Freespace 2
Post by: panadar on June 16, 2014, 08:22:21 pm
Again, my sincerest thanks!!!!  I downloaded the tool Modeview.  I was happy to finally be able to get this tool!!  I have a;ready converted the models I wanted to convert from Freespace 1.  Now, I can concentrate on editing the meshes and creating nice textures for them.  Again, THANK YOU VERY MUCH!!!!!!!!!  You guys are the best here!!!