Advertisement
Nightseeker

Fur Fighters level footer info

Apr 4th, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. // level mesh and internal models if any
  2. <level_name>_pgms.dat
  3.  
  4. // footer data
  5. <level_name>_aidx.dat
  6. <level_name>_wpts.dat
  7. <level_name>_lpts.dat
  8. <level_name>_bbox.dat // empty
  9. <level_name>_skel.dat // empty
  10. <level_name>_scpt.dat
  11. <level_name>_code.dat // empty
  12. <level_name>_text.txt
  13. <level_name>_apos.dat
  14.  
  15.  
  16. AIDX info
  17. aidx header: 12 bytes
  18. AIDX
  19. next 2-3 bytes is file size of aidx data in little endian order.
  20. 00 00
  21.  
  22.  
  23. WPTS info
  24. wpts header: 12 bytes
  25. WPTS
  26. next 2-3 bytes is file size of wpts data in little endian order.
  27. 00 00
  28.  
  29.  
  30. LPTS info
  31. lpts header: 12 bytes
  32. LPTS
  33. next 2-3 bytes is file size of lpts data in little endian order.
  34. 00 00
  35.  
  36. 00 padding
  37.  
  38. lpts count
  39.  
  40. 64 bytes for each one
  41.  
  42. Character spawn points?
  43. cutscenes: 0
  44. levels: 1 usually
  45. newyk_l1: 2
  46. newyk_l2: 2
  47. dino_l1: 3
  48. fluffmatch: multiple
  49.  
  50.  
  51. SCPT info
  52. scpt header: 12 bytes
  53. SCPT
  54. next 2-3 bytes is file size of scpt data in little endian order.
  55. 00 00
  56.  
  57.  
  58. TEXT info
  59. text header: 12 bytes
  60. TEXT
  61. next 2-3 bytes is file size of text data in little endian order.
  62. 00 00
  63.  
  64. 9th byte is string count.
  65.  
  66. Data
  67. First byte string length
  68. Second byte 00 padding
  69. Text string
  70. 00 padding
  71.  
  72.  
  73. APOS info
  74. 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.
  75. 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.
  76.  
  77. apos header: 12 bytes
  78. APOS
  79. next 2-3 bytes is file size of apos data in little endian order.
  80. 00 00
  81. object count
  82.  
  83. order
  84. _apos_header.dat
  85. _apos001.dat
  86. _apos002.dat
  87. ...
  88. _apos_last.dat
  89.  
  90. object count first
  91. 00-ff
  92.  
  93. object count second
  94. 01: 256
  95. 02: 512
  96. 03: 768
  97. 04: 1024
  98.  
  99. Note:
  100. 12 byte apos header not included in file size.
  101. STOP is not part of the apos data and not included in the file size.
  102.  
  103. furballs intro apos bit different.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement