PlayStation 2 BD HD Audio

From XentaxWiki
Jump to: navigation, search

BD, HD


Format Specifications

// HD file format
// PlayStation 2 Audio

// little endian

// version chunk
4 bytes (char) - creator name // e.g. "IECS"
4 bytes (char) - chunk type   // "sreV"
4 bytes (uint32) - chunk size
2 bytes (uint16) - reserved
1 byte (uint8) - major version  // "1"
1 byte (uint8) - minor version  // "1"

// header chunk
4 bytes (char) - creator name // e.g. "IECS"
4 bytes (char) - chunk type   // "daeH"
4 bytes (uint32) - chunk size
4 bytes (uint32) - total header size
4 bytes (uint32) - body size
4 bytes (uint32) - program chunk offset
4 bytes (uint32) - sample set chunk offset
4 bytes (uint32) - sample chunk offset
4 bytes (uint32) - VAG info chunk offset
x bytes - padding  // "0xFF"

// VAG info chunk
4 bytes (char) - creator name // e.g. "IECS"
4 bytes (char) - chunk type   // "igaV"
4 bytes (uint32) - chunk size
4 bytes (uint32) - max VAG info number
x bytes - VAG info param offsets

num_of_params *
{
   4 bytes (uint32) - VAG offset
   2 bytes (uint16) - sampling rate
   1 byte (uint8) - loop flag
   1 byte (uint8) - reserved // "0xFF"
}


// sample chunk
4 bytes (char) - creator name // e.g. "IECS"
4 bytes (char) - chunk type   // "lpmS"
4 bytes (uint32) - chunk size
4 bytes (uint32) - max sample number
x bytes - sample param offsets
x bytes - sample params

// sample set chunk
4 bytes (char) - creator name // e.g. "IECS"
4 bytes (char) - chunk type   // "tesS"
4 bytes (uint32) - chunk size
4 bytes (uint32) - max sample set number
x bytes - sample set param offsets
x bytes - sample set params

// program chunk
4 bytes (char) - creator name // e.g. "IECS"
4 bytes (char) - chunk type   // "gorP"
4 bytes (uint32) - chunk size
4 bytes (uint32) - max program number
x bytes - program param offsets
x bytes - program params

MultiEx BMS Script

Not written yet.

Notes and Comments

  • PlayStation 2 Audio files.
  • HD files contain header chunks while BD files contain audio data.

Games

List of games using this file format:

  • King of Colosseum II
  • Many more...

Compatible Programs

  • Awave Studio
  • VGMTrans