After much trial and error, I wrote something for getting filenames and playable audio for speech files and it worked... at least, with files I tried out.
The collection of scripts is kind of "work_in_progress": at the moment it can extract names only for one language (
UK) and I'm not sure if all the problems with audio extraction are solved - sometimes the files can be extracted either with empty useless data or not completely and I haven't figured out how to detect number of audio channels yet.
If you would like to benefit from this Frankenstein's monster, I would recommend to follow those steps:
1. Firstly, you'll have to extract files from archives using
AnonBaiter's script (you can find it in the attachment if something goes wrong with the "Script Compendium" topic).
2. After that, use "
1_databank.bms" on all the "
.databank" files in "
0007" folder and save result into any folder you want.
3. Put all the extracted "
.filenames" files into
0ffb folder - that's where all the speech "
.partitio" files should be located.
4. Use "
2_filenames_UK.bms" on all the "
.filenames" files and save the output into a separate folder - it's supposed to get files with their actual filenames.
5. Put all the extracted "
.partoffs" files into the folder where you will have put the files with filenames.
6. And now, use "
3_partitio-tables.bms" onto the "
.partitio" files and save the extracted audio parts into a separate folder (again).
7. Put the programme called "
vgmstream" and the remaining files from the attachment ("
.txth" and "
for_vgmstream.bat") into the last mentioned folder.
8. Launch "
for_vgmstream.bat".
Now it should get the audio files playable. Sometimes they might have 2 channels instead of 1 - in this case you have to change the "channels" value in the "
.txth".
Also, this whole operation extracts audio as 6 seconds parts - it was the problem I couldn't see a way to resolve.
P.S. Useful information for audio seems to be located in "STREAMAB" part of "PARTITIO" files, such as sampling frequency or (maybe) number of audio channels but I didn't realize how to use it specifically for each file.