Advertisement
Nightseeker

Fur Fighters Dreamcast level PGMS info

Apr 4th, 2018
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. format 1: 12 bytes
  2. format 2: 12 bytes (has texture count in level pgms first byte)
  3. format 3(final): 12 bytes (has texture count in level pgms first byte)
  4.  
  5.  
  6. format 3
  7. pgms header 12 bytes
  8.  
  9. PGMS 00 00 00
  10.  
  11. newyk_l1.lpc
  12. 50 47 4D 53 94 0B 37
  13.  
  14. first for bytes don't change, the PGMS
  15.  
  16. next three are file size in little endian order
  17.  
  18. in calculator sci mode hex mode, insert the values from right to left, 37, next 0b, last 94
  19.  
  20. value in bytes is 3607444
  21.  
  22. this does not include the the last files:
  23. newyk_l1_aidx.dat
  24. newyk_l1_wpts.dat
  25. newyk_l1_lpts.dat
  26. newyk_l1_bbox.dat
  27. newyk_l1_skel.dat
  28. newyk_l1_scpt.dat
  29. newyk_l1_code.dat
  30. newyk_l1_text.txt
  31. newyk_l1_apos.dat
  32.  
  33. pgms data starts with xV4
  34. 78 56 34 12 06
  35. or
  36. 78 56 34 12 00
  37. Unsure as compressed
  38. 00 00 00
  39.  
  40. texture count
  41. 00 00
  42. first value is for 255 and under
  43. second value is for if there is 256+ textures in the level
  44.  
  45. textures
  46. 44 bytes
  47. first four bytes contain the texture file size, minus the 44 bytes
  48. size stored in little endian order
  49. airstairs1
  50. 60 1D 00 00
  51. 1d, then 60
  52. 7520 bytes
  53. can use three values
  54. Demo 1's final_dm has seven square twiddled 256 x 256 textures, not the usual vq for 256.
  55. AC AA 02
  56. 02 AA AC
  57. 174764 bytes
  58. (The size info is the best one to go with. demo 2's newyk_l1 shows the dirt texture is 128 x 128, but the file size info is correct. It is actually 256 x 256.)
  59. also contains texture name, length, and width, and some other data
  60. next is the texture data itself, a .pvr without a 16 byte header
  61. two formats, square twiddled and vq, both have 1555 alpha, textures must be square(same length/width)
  62. square twiddled: 8, 16, 32
  63. vq(compression): 64, 128, 256, 512, 1024
  64.  
  65. pgms level data and internal models(if any)
  66. Halp!
  67.  
  68. pgms data end
  69. XXXX(for demo 2 and final format, demo 1 has some data stored in different locations)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement