Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Tools => Topic started by: PIe on August 26, 2018, 12:40:03 am

Title: [WINDOWS RELEASE] ModelExtractor 0.2 beta: extract POF files and textures
Post by: PIe on August 26, 2018, 12:40:03 am
Let's say you've figured out the POF filename of some shiny new model.  Now you've got to go looking through the mod's other VP files to find not only the POF but also its textures.  This is where ModelExtractor comes in to find and write all those files for you.
Usage: 
Code: [Select]
ModelExtractor.exe <Path\To\Input\Folder> <Path\To\Output.pof>Platforms:  32 and 64-bit Windows; Windows 7 or later
32-bit download link:  http://www.mediafire.com/file/6kk2833hva23zbf/ModelExtractor_32.7z/file
64-bit download link:  http://www.mediafire.com/file/yqygm6lwc2zu3qg/ModelExtractor_64.7z/file
Source code:  https://github.com/plieblang/ModelExtractor

The output path must point to a POF file (i.e. the path must end in ".pof or .POF").
If the output file already exists, it will be overwritten silently.
Current limitations:
The tool can only look inside VP files in the given directory; it will not find VP files in subdirectories and cannot currently handle loose files.
It will not find textures in base mods.
No relative paths
Title: Re: [WINDOWS RELEASE] ModelExtractor, a tool to extract POF files and their textures
Post by: Galemp on August 26, 2018, 05:40:58 am
Yoink!
Title: Re: [WINDOWS RELEASE] ModelExtractor, a tool to extract POF files and their textures
Post by: Andreas Rybak on September 02, 2018, 02:25:14 pm
Fantastic.
Title: Re: [WINDOWS RELEASE] ModelExtractor, a tool to extract POF files and their textures
Post by: PIe on September 04, 2018, 04:52:13 pm
v0.2 update:  fixed some very embarrassing bugs, like I forgot that -shine, -glow, etc maps existed beyond the base color map (there were other bad ones but that's the major one).
Please update and forget that you ever downloaded the first version.