VAG Audio: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→Games) |
||
| (49 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== VAG == | == VAG == | ||
* ''' Format Type ''': | * ''' Format Type ''': Audio <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian <br> | ||
* ''' Signature ''': VAGp <br> | |||
=== Format Specifications === | === Format Specifications (version 2) === | ||
<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;"> | ||
<pre> | <pre> | ||
// VAG file format | // VAG file format | ||
4 bytes - magic // "VAGp" | // big endian | ||
//header | |||
4 bytes (char) - magic // "VAGp" | |||
4 bytes uint32 - format version // "2" | |||
4 bytes (uint32) - source start offset // always "0" | |||
4 bytes (uint32) - waveform data size | |||
4 bytes (uint32) - sample rate (Hz) | |||
2 bytes (uint16) - base volume for left channel | |||
2 bytes (uint16) - base volume for right channel | |||
2 bytes (uint16) - base pitch (includes fs modulation) | |||
2 bytes (uint16) - base ADSR1 | |||
2 bytes (uint16) - base ADSR2 | |||
2 bytes (uint16) - reserved | |||
16 bytes (char) - track name | |||
//data | |||
x bytes - waveform data (ADPCM Audio) | |||
</pre> | |||
</div> | |||
=== Format Specifications (version 3) === | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | |||
// VAG file format | |||
// big endian | |||
//header | |||
4 bytes (char) - signature // "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 // e.g. "s11_03/MD" | |||
//data | |||
x bytes - waveform data (ADPCM Audio) | |||
</pre> | |||
</div> | |||
=== Format Specifications (version 6) === | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | |||
// VAG file format | |||
// big endian | |||
//header | |||
4 bytes (char) - magic // "VAGp" | |||
4 bytes uint32 - format version // "6" | |||
//TODO | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 24: | Line 83: | ||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
/ | * F1 2009 (PSP) (*.ABC) (version 6) | ||
* Mace Griffin: Bounty Hunter (PS2) (*.VAG) (version 32) | |||
* Ready 2 Rumble Boxing (PS1) (*.VAG / *.BIN) (version 32) | |||
* Wipeout Fusion (PS2) (*.VAG) (version 32) | |||
* many more... | |||
=== Compatible Programs === | === Compatible Programs === | ||
| Line 36: | Line 99: | ||
* vag2wav | * vag2wav | ||
* wav2vag | * wav2vag | ||
* MFAudio | |||
* RComage | |||
* PSound | |||
[[Category:Complete | [[Category:Complete Almost Done|VAG Audio]] | ||
[[Category:Platform PS1|VAG]] | [[Category:Platform PS1|VAG Audio]] | ||
[[Category:CE None|VAG]] | [[Category:Platform PSP|VAG Audio]] | ||
[[Category:CE None|VAG Audio]] | |||
[[Category:Format_Audio | Type: Audio]] | [[Category:Format_Audio | Type: Audio]] | ||
[[Category:Extension_vag | Extension: vag]] | [[Category:Extension_vag | Extension: vag]] | ||
[[Category:BMS_None | BMS: None]] | [[Category:BMS_None | BMS: None]] | ||
Latest revision as of 08:42, 25 June 2023
VAG
- Format Type : Audio
- Endian Order : Big Endian
- Signature : VAGp
Format Specifications (version 2)
// VAG file format // big endian //header 4 bytes (char) - magic // "VAGp" 4 bytes uint32 - format version // "2" 4 bytes (uint32) - source start offset // always "0" 4 bytes (uint32) - waveform data size 4 bytes (uint32) - sample rate (Hz) 2 bytes (uint16) - base volume for left channel 2 bytes (uint16) - base volume for right channel 2 bytes (uint16) - base pitch (includes fs modulation) 2 bytes (uint16) - base ADSR1 2 bytes (uint16) - base ADSR2 2 bytes (uint16) - reserved 16 bytes (char) - track name //data x bytes - waveform data (ADPCM Audio)
Format Specifications (version 3)
// VAG file format
// big endian
//header
4 bytes (char) - signature // "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 // e.g. "s11_03/MD"
//data
x bytes - waveform data (ADPCM Audio)
Format Specifications (version 6)
// VAG file format // big endian //header 4 bytes (char) - magic // "VAGp" 4 bytes uint32 - format version // "6" //TODO
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:
- F1 2009 (PSP) (*.ABC) (version 6)
- Mace Griffin: Bounty Hunter (PS2) (*.VAG) (version 32)
- Ready 2 Rumble Boxing (PS1) (*.VAG / *.BIN) (version 32)
- Wipeout Fusion (PS2) (*.VAG) (version 32)
- many more...
Compatible Programs
- PSXSND
- strVagEditor
- vab2vag
- vag depack
- vag pack
- VAGedit
- vag2wav
- wav2vag
- MFAudio
- RComage
- PSound