Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

BankSlot.txt

By: thelink2012 on Jan 27th, 2014  |  syntax: None  |  size: 1.91 KB  |  views: 59  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ==== BankSlot.dat ====
  2.  
  3. BankSlot.dat is a dump of a CAEBankSlot array with 45 elements.
  4. Each slot can store a entire sound bank or a single sound, the entire bank or the single sound must have a
  5. maximum size as specified by the second field in the CAEBankSlot structure otherwise sound overlapping will happen.
  6.  
  7. The only field actually used by the game after reading the dump file is the second field of each structure.
  8.  
  9. The file structure is as follow:
  10.     uint16_t    Number of Slots
  11.     repeat (Number of Slots) times  // CAEBankSlot
  12.         uint32_t    Sum of all buffer size before this slot     (Ignored)
  13.         uint32_t    Sound buffer size for this slot
  14.         uint32_t    Unknown
  15.         uint32_t    Unknown
  16.         byte[4804]  Rest of CAEBankSlot structure               (Ignored)
  17.  
  18. ------------------------> Original content of BANKSLOT.DAT
  19. [ SLOT | SUM | BUFFER SIZE ]
  20. 0  = 0          724416
  21. 1  = 724416     158464
  22. 2  = 882880     1418752
  23. 3  = 2301632    441856
  24. 4  = 2743488    308672
  25. 5  = 3052160    1048576
  26. 6  = 4100736    304128
  27. 7  = 4404864    74496
  28. 8  = 4479360    74496
  29. 9  = 4553856    74496
  30. 10 = 4628352    74496
  31. 11 = 4702848    74496
  32. 12 = 4777344    74496
  33. 13 = 4851840    74496
  34. 14 = 4926336    74496
  35. 15 = 5000832    74496
  36. 16 = 5075328    74496
  37. 17 = 5149824    246680
  38. 18 = 5396504    148224
  39. 19 = 5544728    821248
  40. 20 = 6365976    83456
  41. 21 = 6449432    83456
  42. 22 = 6532888    83456
  43. 23 = 6616344    83456
  44. 24 = 6699800    83456
  45. 25 = 6783256    98304
  46. 26 = 6881560    148456    
  47. 27 = 7030016    148456
  48. 28 = 7178472    148456
  49. 29 = 7326928    253630
  50. 30 = 7580558    99584
  51. 31 = 7680142    48640
  52. 32 = 7728782    152064
  53. 33 = 7880846    16028
  54. 34 = 7896874    12910
  55. 35 = 7909784    9114
  56. 36 = 7918898    10124
  57. 37 = 7929022    30178
  58. 38 = 7959200    54976
  59. 39 = 8014176    39680
  60. 40 = 8053856    290048
  61. 41 = 8343904    105472
  62. 42 = 8449376    86272
  63. 43 = 8535648    2816
  64. 44 = 8538464    39680