fgog-anon

PES Bin files structure

Jun 28th, 2020 (edited)
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. - UniformParameter.bin
  2. (First block)
  3.  
  4. First 8 bytes are the header
  5. 4 bytes for total amount of kits
  6. 4 bytes for the offset of where the actual data is (0x08)
  7.  
  8. Every entry is 12 bytes long
  9. 4 bytes for the offset of the config's data
  10. 4 bytes for the config's size (60 or 72, usually the latter)
  11. 4 bytes for the offset of the config's filename
  12.  
  13. Demo
  14. 41 entries
  15. 41 kit configs in folder
  16.  
  17. Full
  18. 1750 entries
  19. 1793 kit configs in folder
  20. 1750 kit configs names in file
  21.  
  22. The config filenames in the second block seem to be sorted alphabetically
  23.  
  24.  
  25. - Kit configs:
  26.  
  27. 0x01 - Shirt type
  28. 0x03 - Pants type
  29. 0x14 - Collar
  30. 0x15 - Winter Collar
  31. 0x1B:7 - Tight
  32. 0x24:4 - Pattern (4 bits)
  33.  
  34.  
  35. - TeamColor.bin
  36. 16 bytes per row
  37.  
  38. 0-3 (4 bytes):
  39. Team ID
  40.  
  41. 4-6 (3 bytes):
  42. RGB color 1
  43.  
  44. Above repeats for 4 max colors every 3, until F
  45.  
  46.  
  47. - UniColor.bin
  48. 85 bytes per row
  49.  
  50. 0-3 (4 bytes):
  51. Team ID
  52.  
  53. 4:
  54. Number of kits
  55.  
  56. 5-C (8 bytes):
  57. type, icon, rgb color 1, rgb color 2
  58.  
  59. Above repeats for 10 max kits every 8, until 54
  60.  
  61. [Types:]
  62. 00-08 Player 1st-9th
  63. 10-11 GK 1st-2nd
  64. FF-Unused
  65.  
  66.  
  67. - PlayerAppearance.bin
  68. - RefereeAppearance.bin
  69. 60 bytes per row
  70.  
  71. 0-3 (4 bytes):
  72. Player/Referee ID
  73.  
  74. [Add 8 bytes of nothing to make the following byte 0C,
  75. then the bits are aligned to the edit.bin entries]
  76.  
  77.  
  78. - Ball.bin
  79. 140 bytes per row
  80.  
  81. 0-1 (2 bytes):
  82. ID
  83. 2-3 (2 bytes):
  84. Menu order
  85. 4-8B (136 bytes):
  86. Name
  87.  
  88.  
  89. - BallCondition.bin
  90. 8 bytes per row
  91.  
  92. 0-1 (2 bytes):
  93. Ball ID
  94. 2-3 (2 bytes):
  95. Entry number in the list
  96. 4-8 (4 bytes):
  97. Competition ID
  98.  
  99. [Competition IDs:]
  100. 0 All?
  101. 8 for ACL (VGL)
  102. 9 for English League (4CC Main)
  103. 10 for Serie A (4CC Backup)
  104. 11 for Spanish League (Invitationals)
  105.  
  106.  
  107. - Boots.bin
  108. 304 bytes per row
  109.  
  110. 0-1 (2 bytes):
  111. ID
  112. 2-3 (2 bytes):
  113. Menu order
  114. 4-67 (100 bytes):
  115. Colours
  116. 68-CB (100 bytes):
  117. Materials
  118. CC-12F (100 bytes):
  119. Name
  120.  
  121.  
  122. - Glove.bin
  123. 204 bytes per row
  124.  
  125. 0-1 (2 bytes):
  126. ID
  127. 2-3 (2 bytes):
  128. Menu order
  129. 4-67 (100 bytes):
  130. Colours
  131. 68-CB (100 bytes):
  132. Name
  133.  
  134.  
  135. - Stadium.bin
  136. 272 bytes per row
  137.  
  138. 0-3 (4 bytes):
  139. ???
  140. 4-5 (2 bytes):
  141. ID
  142. 6-7 (2 bytes):
  143. ?? (can be 2, 3 or 4)
  144. 8-7F (120 bytes):
  145. Japanese Name
  146. 80 (1 byte):
  147. Terminator probably
  148. 81-F8 (120 bytes):
  149. Name
  150. F9 (1 byte):
  151. Terminator probably
  152. FA-10D (20 bytes):
  153. Short Name
  154. 10E-10F (2 bytes):
  155. Terminators probably
Add Comment
Please, Sign In to add comment