scp-fs2open / PCS2

A tool to convert and edit models for use in FreeSpace 2 and FreeSpace Open
3 stars 11 forks source link

Strings should probably be padded again? #23

Open Baezon opened 2 years ago

Baezon commented 2 years ago

Not as sure on this one, but retail pof strings always contain a null-terminator, and pad with 0s until the string length is mod 4 again (and does count that as part of the string's length). For instance, (where - is a 0 byte) "Detail0" should be len = 8, Detail0-, and Turret2a would be len=12, Turret2a----, where current PCS2 generated POFs are len = 7, Detail0 and len = 8, Turret2a

Otherwise, the rest of the file becomes unaligned.

TRBlount commented 2 years ago

This and SLC2 should be added concurrently.