POF ALIGNER aligns the .pof files that Freespace 2 uses so they are up to original Volition standarts and can be parsed by ARM cpus.
The reason of this is that ModelView32 is removing space padding and PCS2 does not enforces it, this causes the pof files to end with pointers offsets in unaligned position, that may end in a SEGBUS.
Warning: Since Version 0.2 output pof version is 2118 (up from 2117), and creates an additional chunk type called "SLC2", SLC2 is a revised version of the SLDC sytem but with an int instead of a char for data alignment.
Version 2118 means the file is aligned and the SLC2 chunk presence.
You may want to check this thread for context:
https://www.hard-light.net/forums/index.php?topic=96055.0How to useIn general you only need to to
pof_aligner -align -vp_in C:\unaligned.vp -vp_out C:\aligned.vpView readme in github for full options.
Source Code avalible here:https://github.com/Shivansps/pof_alignerCodeblocks project provided.
Changelog:v0.3
-Fixed a bug that caused up to 84 bytes of data been cut off the end of the file.
v0.2
-Pof version output is changed to 2118
-VP Write support, VP to VP alignment now supported.
-SLDC to SLC2 conversion.
Pre-Build Avalible here:v0.3
https://www.dropbox.com/s/w7e02ousfgbe3d6/pof_aligner_0.3.zip?dl=0Old Versions
v0.2
https://www.dropbox.com/s/bo21sgtq1sx77oq/pof_aligner_0.2.zip?dl=0v0.1 - Initial Release
https://www.dropbox.com/s/rm9jr67wjqbjuhj/pof_aligner_0.1.zip?dl=0This tool still needs futher testing.
Im interested in .pof files that cant be processed or end up producing broken model files.