Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // level mesh and internal models if any
- <level_name>_pgms.dat
- // footer data
- <level_name>_aidx.dat
- <level_name>_wpts.dat
- <level_name>_lpts.dat
- <level_name>_bbox.dat // empty
- <level_name>_skel.dat // empty
- <level_name>_scpt.dat
- <level_name>_code.dat // empty
- <level_name>_text.txt
- <level_name>_apos.dat
- AIDX info
- aidx header: 12 bytes
- AIDX
- next 2-3 bytes is file size of aidx data in little endian order.
- 00 00
- WPTS info
- wpts header: 12 bytes
- WPTS
- next 2-3 bytes is file size of wpts data in little endian order.
- 00 00
- LPTS info
- lpts header: 12 bytes
- LPTS
- next 2-3 bytes is file size of lpts data in little endian order.
- 00 00
- 00 padding
- lpts count
- 64 bytes for each one
- Character spawn points?
- cutscenes: 0
- levels: 1 usually
- newyk_l1: 2
- newyk_l2: 2
- dino_l1: 3
- fluffmatch: multiple
- SCPT info
- scpt header: 12 bytes
- SCPT
- next 2-3 bytes is file size of scpt data in little endian order.
- 00 00
- TEXT info
- text header: 12 bytes
- TEXT
- next 2-3 bytes is file size of text data in little endian order.
- 00 00
- 9th byte is string count.
- Data
- First byte string length
- Second byte 00 padding
- Text string
- 00 padding
- APOS info
- 12 byte header containing object count, among other stuff. Objects include model files like weapons, ammo, pickups and more. Also skeletons for enemies and npcs. Also has level internal models.
- 96 byte data most likely containing actor id and position data, maybe other stuff as well. The xyz position might be stored as a float.
- apos header: 12 bytes
- APOS
- next 2-3 bytes is file size of apos data in little endian order.
- 00 00
- object count
- order
- _apos_header.dat
- _apos001.dat
- _apos002.dat
- ...
- _apos_last.dat
- object count first
- 00-ff
- object count second
- 01: 256
- 02: 512
- 03: 768
- 04: 1024
- Note:
- 12 byte apos header not included in file size.
- STOP is not part of the apos data and not included in the file size.
- furballs intro apos bit different.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement