Gran Turismo 5 and 6 store track streams in Sony SGXD containers.
Creating a music track¶
- SGXDataBuilder to create SGXD containers
- GTMusicLibraryEditor to edit BGML files
- (Optional) VagConvSharp to create Sony/PS-ADPCM
.vagaudio streams for sound effects
Building an SGX Audio Container¶
SGXDBuilder.GUI.exe. From here, you can import an audio source from standard formats (refer to the format specification for the supported formats).
An SGX container can contain multiple audio streams (of different formats too!) that the game can then address.
Once you've added your audio sources, you can hit
Export to SGD to output SGX (
Sound Effects (SFX)¶
When creating individual SFX, it is recommended that you use
.vag as the file format as it is the most suitable both in compression and file size. You can use VagConvSharp to create these.
You can convert as such:
Registering tracks into the game¶
Open the BGML editor (
GTBGMLibraryEditor.exe) and open
From here you can edit track listings, add or remove tracks and playing groups. From here you would add a new entry with the file name of your newly created SGX file.
Once that's done, just save the library file.
Your newly added track may not show up in the track list in-game, that's because the initial list is created when the game is booted and stored in the save. It is not yet known how to alert the game to update the list.
Created: September 22, 2023