Skip to content

Instantly share code, notes, and snippets.

@zephenryus
Last active October 4, 2018 06:29
Show Gist options
  • Save zephenryus/e32d55dff39441256ca1c304c200a6de to your computer and use it in GitHub Desktop.
Save zephenryus/e32d55dff39441256ca1c304c200a6de to your computer and use it in GitHub Desktop.

PrOD File Specification

PrOD files contain information about placement of smaller detail object on the MainField (i.e. small rocks and flowers).

PrOD File Layout

PrOD Header

Header Structure

Offset Length Type Description
0x00 4 String PrOD file signature (magic) 50 72 4F 44 or "PrOD"
0x04 4 Unsigned Int Unknown

Segments (Good name??)

Offset Length Type Description
0x00 4 Unsigned Int Segments count
Offset Length Type Description
0x00 4 Unsigned Int Segment header size
0x04 4 Unsigned Int File size
0x08 4 Unsigned Int Object array count
0x0a 4 Unsigned Int String table offset (Relative to segment header)
0x10 4 Padding

Object Arrays

Offset Length Type Description
0x00 4 Unsigned Int Object array size (in bytes)
0x04 4 Unsigned Int Array length
0x08 4 Unsigned Int String table index
0x0c 4 Padding
Offset Length Type Description
0x00 4 Float x
0x04 4 Float y
0x08 4 Float z
0x10 4 Float Rotation x
0x14 4 Float Rotation y
0x18 4 Float Rotation z
0x1a 4 Float Scale
0x1c 4 Padding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment