Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: thelink2012 on Jan 27th, 2014  |  syntax: None  |  size: 0.64 KB  |  views: 116  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ==== SFX Package File ====
  3. (Files without extension at audio/SFX)
  5. The file structure is basically many bank headers (at any offset) followed by the sound buffers.
  6. The offset where each bank is located is specified by the file BankLkup.dat.
  8. Bank header structure:
  9.     uint16_t        Number of sounds in this bank
  10.     uint16_t        __padding
  11.     repeat (400) times:
  12.         uint32_t    Sound buffer offset relative to the end of the header (The buffer must be raw mono PCM-16)
  13.         uint32_t    Loop offset (divided by two)
  14.         uint16_t    Sample rate
  15.         uint16_t    Sound headroom
  17.     ... SOUND BUFFERS HERE ...
clone this paste RAW Paste Data