SGD / SGH / SGB - SGX Data¶
Applies to: GT5, GTPSP, GT6 · Extension: .sgd
/.sgh
/.sgb
/ none · Endian: Little
SGX is an audio playing library and format created by Sony used in a few games that have been developed, or published by them. PS3-era GTs and GTPSP makes use of them.
There are 3 distinct formats:
.sgd - SGX Sound container. Always starts with the `SGXD` magic.
.sgh - SGX Sound container header. This is the header only. # (1)!
.sgb - SGX Sound container data. This is the data only.
- These may be present inside BGML files.
Multiple audio formats are supported in a SGX container:
.vag
- PS-ADPCM [PS3/PSP].ac3
- AC3 [PS3].at3
- ATRAC3plus [PSP].wav
- PCM 16 LE [PS3]
Playback¶
Foobar2000 with the VGMStream plugin can be used to stream and play contents of a SGD file.
Building SGX files¶
SGXDataBuilder can be used to build these sort of files.
Header¶
As this is a Sony format and not a PDI format, it has been mostly documented through a 010 Editor template outside this repository.
Tip
The header has been documented using debug symbols from Folklore PS3.