Skip to content

Strings should probably be padded again? #23

@Baezon

Description

@Baezon

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions