Hello Guys i am requiring help with opening these SDT files i want to locate all the voice files of the game from all cutscenses and even when not in a cutscene. I did take a look first on the PS2 version but couldn't find where those Perticular sounds are Located the PS2 disc does contain a Sound.hog that i did extract but i couldn't locate the Voice files. The Program P Sound did indeed open all the Sound folder but as far as i could tell this directory only contains FX rather than Voice.
So i instead opened the Gamecube Version and there does contain a archive called USA and within this archive lies many whatg sound to me like Voice Files one example is (Speech_Reaction_Dumbledore) i will contain his file and a few mor samples i understand that Metal Gear Solid also used SDT as audio but i cant remember which game?
I am hoping that someone can shed light as how to open these files and hopfuly make a script.
It's a weird format. The gcadpcm data is clearly visible but without the coefficient data it's all useless.
Every file is referend with a 0x44 bytes set of information where we can see the number of channels and the frequency but nothing clearly visible about offset and size.
There is enough space to store the coefficients but what's weird here is that the position of the information depends by the 8bit field at offset 6:
idstring "BNK" get MYENDIAN byte if MYENDIAN == 'b' endian big endif get DUMMY byte # 5 get FILES threebyte get INFO_SIZE long get DATA_SIZE long get ZERO long for i = 0 < FILES savepos BASE_OFF get OFFSET long
savepos TMP math OFFSET + BASE_OFF goto OFFSET getdstring DUMMY 0x44 goto TMP next i
Hello in regards to your post it does indeed extract the sdt contents but now the last hurdle is knowing how to convert the genh files to a standard Audio format like MP3 or WAV.
Also i download a program called BZR Player that supports Genh files the website has a sample Genh that plays but the harry potter Genh's dont play i will upload two files one the working Genh and one extracted from the SDT archive?
If you have the vgmstream plugin installed (on Winamp or Foobar2000 for example), you can actually open your SDT archives and it'll split them into different files which play properly.
Warthog1336 wrote:If you have the vgmstream plugin installed (on Winamp or Foobar2000 for example), you can actually open your SDT archives and it'll split them into different files which play properly.
Ok thanks will try your suggestion even though Luigi has been working his magic on a script but ofcourse if this works it save Luigi time and me.
Update wow it has worked!!! Thank you very much Warthog and of course thanks Luigi for the script to extract SDTs and furthur plans if you do create the updated script i would still love to test it.