[SOLVED] Harry Potter and the Half-Blood Prince *.sdh/*.sdt pairs

Codecs, formats, encoding/decoding of game audio, video and music
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

[SOLVED] Harry Potter and the Half-Blood Prince *.sdh/*.sdt pairs

Post by AlphaTwentyThree »

Edit: Working script is attached!

Here's how you get the sdh files from the game:
1) extract the main *.big archives with Luigi's script (http://aluigi.altervista.org/bms/ea_big4.bms)
2) search for *.rpk and move everything into one single directory, rename duplicate file names
3) use the rpk unpacker from this post: viewtopic.php?t=11073
4) move the extracted folder structure into the main directory (combine folders)
5) search for *.sdh - you'll find the corresponding *.sdt in the same folder

Edit: updated to account for EA-XAS and EA-XA streams. Multichannel works fine, too. For the above game these are saved in the strange order "Fl, C, Fr, Rl, Rr, LFE".
Last edited by AlphaTwentyThree on Fri Jan 21, 2022 8:45 am, edited 4 times in total.
DKDave
Posts: 136
Joined: Mon Nov 23, 2020 6:01 pm

Re: Harry Potter and the Half-Blood Prince (sdh/sdt -> exa.snu EALayer3)

Post by DKDave »

Those .snu files play ok for me in Foobar/vgmstream, although some of them do seem slightly off - music_5 seems cut off, might be just looped. And music_1 has 50 seconds of silence at the end, but that may just be how the file is from looking at the end of the data for that one.

Edit: I should read properly - those samples are not the ones you generated.
DKDave
Posts: 136
Joined: Mon Nov 23, 2020 6:01 pm

Re: Harry Potter and the Half-Blood Prince (sdh/sdt -> exa.snu EALayer3)

Post by DKDave »

Sorry, double post!

The files outputted from your script are 0x20 bytes too short, which affects the file being recognised in Foobar/vgmstream. So you just need to account for that extra 0x20 bytes of header and then they play correctly.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Harry Potter and the Half-Blood Prince (sdh/sdt -> exa.snu EALayer3)

Post by AlphaTwentyThree »

OMFG, why am I this stupid sometimes? I wrote "SIZE" instead of "PSIZE" and didn't notice it... Then again, I'm already 38, so go figure. XD
Thanks for that embarrassing correction, lol. ;)
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Harry Potter and the Half-Blood Prince *.sdh/*.sdt pairs [-solved-]

Post by AlphaTwentyThree »

Made two more updates for *.sdt files with "ADAT" files as well as for EAXA streams (PS2).
Please note that the subtitles are skipped in the resulting exa.snu files.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: [SOLVED] Harry Potter and the Half-Blood Prince *.sdh/*.sdt pairs

Post by Puterboy1 »

I’ve tried with little success. But just to be reassured, will they be ripped with proper names?
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: [SOLVED] Harry Potter and the Half-Blood Prince *.sdh/*.sdt pairs

Post by AlphaTwentyThree »

yes they will
you can already find complete rips on Josh's server ;)
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: [SOLVED] Harry Potter and the Half-Blood Prince *.sdh/*.sdt pairs

Post by Puterboy1 »

AlphaTwentyThree wrote:yes they will
you can already find complete rips on Josh's server ;)
Can you direct me to Josh’s server?