Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

Exporting Fate/Unlimited Codes sounds (not music or voice)

Get help on any and all audio formats, or chip in and help others!
Post Reply
sanyabane
n00b
Posts: 13
Joined: Thu Oct 30, 2014 8:37 pm
Has thanked: 12 times

Exporting Fate/Unlimited Codes sounds (not music or voice)

Post by sanyabane » Wed Feb 11, 2015 12:48 am

Well, as the title saids, i looking for a way to get sound from Fate/Unlimited Codes (PSP or PS2).
Because i already exported models and textures from PSP version i tried to export sound from PSP version too.
I can export from game sound in .vag format (Voices of characters, like xxx_entry_yyy, xxx_win).
"Big" voices like dialogues of characters or character "super moves" i can found by path "Fate UC PSP data\fpack\voice\" and there are many folder for each hero with .fpk inside and after extracting i get .vag audio files.

But i looking for way to export from game small sounds like sounds of hits, voices of characters when they get hit, etc.

I went here "Fate UC PSP data\fpack\snd\se\" and found many .fpk files like "se_sys_drm.fpk", "chr_sbr00.fpk", "mgsht.fpk", "se_system.fpk". After using FPK extractor i went "unpacked_folder_name\snd\se\" and there are located three files with different formats: .pbd, .pef, .phd.

.pef - always 44 bytes.
The remaining two is always different but it seems .pbd biggest, .phd middle-sized, .pef - lowest.

I can only guess what that file doing, but i thinking that there are files with voices that i need (because of their paths).

Somebody know something about those formats or just how to get sound from Fate/Unlimited Codes?

upd:
EXAMPLE: Here u can get 5 .fpk files and folders with files inside them:
https://yadi.sk/d/BF3tPCmsecAWD
Last edited by sanyabane on Wed Feb 11, 2015 4:51 pm, edited 1 time in total.

brendan19
ultra-veteran
ultra-veteran
Posts: 377
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 82 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by brendan19 » Wed Feb 11, 2015 11:35 am

So what you are looking for is the sound effects.

Post some samples of the .pbd, .pef, .phd files :)

sanyabane
n00b
Posts: 13
Joined: Thu Oct 30, 2014 8:37 pm
Has thanked: 12 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by sanyabane » Wed Feb 11, 2015 4:50 pm

Here u can get 5 .fpk files and folders with files inside them:

https://yadi.sk/d/BF3tPCmsecAWD

sanyabane
n00b
Posts: 13
Joined: Thu Oct 30, 2014 8:37 pm
Has thanked: 12 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by sanyabane » Sat Mar 14, 2015 5:31 pm

i'l up theme, still need sound effects and have no idea to how export them =(

sanyabane
n00b
Posts: 13
Joined: Thu Oct 30, 2014 8:37 pm
Has thanked: 12 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by sanyabane » Sat Oct 17, 2015 4:49 pm

up :)

brendan19
ultra-veteran
ultra-veteran
Posts: 377
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 82 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by brendan19 » Mon Oct 26, 2015 10:46 am

Code: Select all

chr_sk200.pbd
mgsht.pbd
system.pbd
These three are ADPCM. Not sure what the other two are sorry :(

You can use VGM Toolbox's GENH to make these .PBD files playable though :)

Change the extension of the files to .MIB and open it up in Winamp. Look at the stream info (Alt+3) and it should tell you the interleave, so take a note of that.
EDIT: You will need vgmstream to see this information.

Then open VGM Toolbox and go to the GENH creator, select the .PBD file and use the following settings:

Input File Format: PlayStation 4-bit ADPCM
Header Skip: 0
Interleave: <whatever vgmstream told you the interleave was>
Channels: 1
Frequency: 22050 or 44100
No Loops

Then select the create GENH :)
Last edited by brendan19 on Wed Oct 28, 2015 10:44 am, edited 1 time in total.

sanyabane
n00b
Posts: 13
Joined: Thu Oct 30, 2014 8:37 pm
Has thanked: 12 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by sanyabane » Tue Oct 27, 2015 5:10 pm

brendan19 wrote: You can use VGM Toolbox's GENH to make these .PBD files playable though :)
Thanks for reply. I tried to do what you have writen, but no result.
Let me show you steps which i did:

1) Rename .pbd to .MIB
2) Open that .MIB file in Winamp
3) In Winamp select that .MIB file and press Alt+3 in order to get file "Interleave"

So i think for now i stop at that step - because it shows me only "Payload size", no other thing like "Interleave"

Image

Well, i tried to take that digit and insert it into VGM Toolbox.
So i run VGMToolbox => GEHN => here i select .pbd file, make settings like u wrote, then put that didit into "interleave" field. Press "Create GENHs".
It showed me:
...\...se\chr_sk200.genh Created.

Image

But.. uhm... well... EVEN if that file created CORRECTLY (very doubt) - i dont know what to do with that file.
I tried play it in Winamp, tried extract him using VGMToolbox in that programm, but in the end i get nothing.

Did i miss something?

P.S. Did you tried to do that procedure with at least one of those files from archive? Maybe they just different from other files which you talking about

brendan19
ultra-veteran
ultra-veteran
Posts: 377
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 82 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by brendan19 » Tue Oct 27, 2015 5:30 pm

Yes I did try it :)

You'll need vgmstream to get the interleave and you'll need it to be able to playback the GENH files as well.

Download vgmstream

and these external DLLs for vgmstream


Place the in_vgmstream.dll in Winamp's 'plugins' folder.

Put everything else including the external DLLs in the winamp directory.

sanyabane
n00b
Posts: 13
Joined: Thu Oct 30, 2014 8:37 pm
Has thanked: 12 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by sanyabane » Tue Oct 27, 2015 6:28 pm

brendan19 wrote:Yes I did try it :)

You'll need vgmstream to get the interleave and you'll need it to be able to playback the GENH files as well.
Download vgmstream
and these external DLLs for vgmstream

Place the in_vgmstream.dll in Winamp's 'plugins' folder.

Put everything else including the external DLLs in the winamp directory.
OH. MY. GOD. Its working! Thanks a lot! Half year of waiting worth it =D

P.S. Actually i tried setup "Interleave" from 0x10 to 0x8000 and at first sight i dont see any differences. Well, maybe i will see those in future.

Anyway, thanks a lot again. I can start adding to my mods more sounds from game!

Pepper
mega-veteran
mega-veteran
Posts: 278
Joined: Thu Apr 17, 2008 3:48 am
Has thanked: 47 times
Been thanked: 38 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by Pepper » Fri Oct 30, 2015 2:59 pm

sanyabane wrote:
brendan19 wrote:Yes I did try it :)

You'll need vgmstream to get the interleave and you'll need it to be able to playback the GENH files as well.
Download vgmstream
and these external DLLs for vgmstream

Place the in_vgmstream.dll in Winamp's 'plugins' folder.

Put everything else including the external DLLs in the winamp directory.
OH. MY. GOD. Its working! Thanks a lot! Half year of waiting worth it =D

P.S. Actually i tried setup "Interleave" from 0x10 to 0x8000 and at first sight i dont see any differences. Well, maybe i will see those in future.

Anyway, thanks a lot again. I can start adding to my mods more sounds from game!
You could also scan those three files with Psound. it's much faster and auto detects each individual stream.

Looking at the other files, Psound can't find anything, and they seem to have almost no structure compared to the others. Looking at an analysis of the rate certain values appear shows it as a near match to the others which are adpcm, a ton of 00 (used for silence or padding typically) and then going from 00 to FF, a sort of inverse bell curve spikes pattern. It seems like it's most certainly some form of adpcm, but while mgsht.pdb is clearly structured in aligned blocks, battle.pdb is hard to find clear points of interest in, it's like all the right bits are there, just jumbled.

Weirder still, if you drag the whole fpks that held the bad pdbs into psound, you DO find the audio, and you can see the structure clearly inside the fpk with a hex editor (where the others were scrambled, but with the same ratio of characters)

it seems like those pdbs where you didnt find anything were in fpks that not XOR'd or encrypted, and the fpk unpacker did the same thing it does normally. it gave you the files from the container, but it also moved the characters around with a pattern, because it expected this is solve to logical data. in the instances where logical data already existed (se_battle and se_sys_ber) this just messed it up.

sanyabane
n00b
Posts: 13
Joined: Thu Oct 30, 2014 8:37 pm
Has thanked: 12 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by sanyabane » Sun Nov 01, 2015 3:47 pm

Pepper wrote: You could also scan those three files with Psound. it's much faster and auto detects each individual stream.
Wow thank you very much too!

Before your post i used above method and it forced me to "cut" all sound files by myself. But PSound do it automatically. You save me a lot of time, thanks =)

Pepper
mega-veteran
mega-veteran
Posts: 278
Joined: Thu Apr 17, 2008 3:48 am
Has thanked: 47 times
Been thanked: 38 times

Re: Exporting Fate/Unlimited Codes sounds (not music or voic

Post by Pepper » Thu Nov 05, 2015 3:32 am

sanyabane wrote:
Pepper wrote: You could also scan those three files with Psound. it's much faster and auto detects each individual stream.
Wow thank you very much too!

Before your post i used above method and it forced me to "cut" all sound files by myself. But PSound do it automatically. You save me a lot of time, thanks =)
no problem, also for the ones that dont detect with a pdb, drop the whole fpk into it.

Post Reply