Harry Potter and the Prisoner of Azkaban (console versions) extract/split sound files with proper names

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Harry Potter and the Prisoner of Azkaban (console versions) extract/split sound files with proper names

Post by Puterboy1 »

I was wondering if anyone could extract the sound files of the console version of said game by parsing it with the .ids files which contain the proper IDs for each sound.

This example comes from the speech folder. See if any of you can extract or split them with proper file names.
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: Harry Potter and the Prisoner of Azkaban (console versions) extract/split sound files with proper names

Post by Anexenaumoon »

Really this should be under Game Archives or Sound Formats but never less…

Attached is a BMS script to extract these pairs with names. Uncertain if the correct names are attached, as I can't assume that they're in the correct order (but, judging by the fact there is no information to link the names to the sound files, I'm assuming the sound data is in order corresponding to the IDs). Open the SDT as input archive, and it will ask you to select the "other archive file" (in this case the IDS) and will extract .mus that is playable with vgmstream.

harryp_poa_sdt-ids.bms
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Harry Potter and the Prisoner of Azkaban (console versions) extract/split sound files with proper names

Post by aluigi »

Right, moved.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Harry Potter and the Prisoner of Azkaban (console versions) extract/split sound files with proper names

Post by Puterboy1 »

Anexenaumoon wrote:Really this should be under Game Archives or Sound Formats but never less…

Attached is a BMS script to extract these pairs with names. Uncertain if the correct names are attached, as I can't assume that they're in the correct order (but, judging by the fact there is no information to link the names to the sound files, I'm assuming the sound data is in order corresponding to the IDs). Open the SDT as input archive, and it will ask you to select the "other archive file" (in this case the IDS) and will extract .mus that is playable with vgmstream.

harryp_poa_sdt-ids.bms


Well, I tried it but the results only created the properly named .mus files in one byte that is not playable in foobar2000.

Update: I followed your instructions and it looks to me like we might need some extra work on it. Like properly identifying the sounds.
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: Harry Potter and the Prisoner of Azkaban (console versions) extract/split sound files with proper names

Post by Anexenaumoon »

Don't understand why. The script I provided works with your samples. Make sure you have the vgmstream component installed. You need to open the SDT first and then it will ask you to select the other archive, which then you chose the corresponding IDS.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Harry Potter and the Prisoner of Azkaban (console versions) extract/split sound files with proper names

Post by Puterboy1 »

Anexenaumoon wrote:Don't understand why. The script I provided works with your samples. Make sure you have the vgmstream component installed. You need to open the SDT first and then it will ask you to select the other archive, which then you chose the corresponding IDS.

Well, I managed to fix it, now we need to fork on it further so that the ids accurately matches the .mus files.
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: Harry Potter and the Prisoner of Azkaban (console versions) extract/split sound files with proper names

Post by Anexenaumoon »

There's no way I can find to change the order. The only thing I can assume is that they're correct, but clearly they're not. So, I don't know what to tell you... Either that. or there's some linkage I'm missing but by the looks of it the IDS doesn't contain anything other than file IDs (but those are just increasing # from 0 - filecount) so.
avifors
Posts: 11
Joined: Sun Feb 25, 2018 7:20 pm

Re: Harry Potter and the Prisoner of Azkaban (console versions) extract/split sound files with proper names

Post by avifors »

Hey. So I am trying to use the bms script that was created and I am getting an error saying:

- error in src\file.c line 615: fdnum_open()
Error: Invalid argument

Last script line before the error or that produced the error:
1 open FDSE ? 1 #open IDS here!
coverage file 0 0% 0 5985792 . offset 00000000

Press ENTER or close the window to quit

I am loading the script first. Then I am selecting fandg.sdt. Next I select the output folder. Lastly, I select eaudiofandgconvevent.ids then I get the error above. What am I doing wrong? Both files are in the same folder.