VAG Audio: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 4: Line 4:




=== Format Specifications ===  
=== Format Specifications (version 3) ===  


<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
Line 14: Line 14:
//header
//header
4 bytes (char) - magic // "VAGp"
4 bytes (char) - magic // "VAGp"
4 bytes uint32 - format version  // e.g. "2" or "3"
4 bytes uint32 - format version  // "3"
4 bytes (uint32) - source start offset // always "0"
4 bytes (uint32) - source start offset // always "0"
4 bytes (uint32) - waveform data size  
4 bytes (uint32) - waveform data size  

Revision as of 15:33, 6 February 2021

VAG


Format Specifications (version 3)

// VAG file format

// big endian 

//header
4 bytes (char) - magic // "VAGp"
4 bytes uint32 - format version  // "3"
4 bytes (uint32) - source start offset // always "0"
4 bytes (uint32) - waveform data size 
4 bytes (uint32) - sample rate (Hz)
10 bytes - reserved area
1 byte (uint8) - number of channels  // "0" or "1" --> 1 channel
                                     // "2" --> 2 channels
1 byte (uint8) - reserved
32 bytes (char) - track name  // "s11_03/MD"

//data
x bytes - waveform data (ADPCM Audio)

MultiEx BMS Script

Not written yet.

Notes and Comments

  • This is PlayStation 1 sound file format used in many games.

Games

List of games using this file format:
// TODO

Compatible Programs

  • PSXSND
  • strVagEditor
  • vab2vag
  • vag depack
  • vag pack
  • VAGedit
  • vag2wav
  • wav2vag
  • MFAudio
  • RComage