[PSP] SF:DM - sfx audio container?

Discussion in 'PSP - Hacking & Homebrew' started by SILENT_Pavel, Apr 26, 2014.

  1. SILENT_Pavel
    OP

    SILENT_Pavel Member

    Newcomer
    18
    9
    Apr 6, 2014
    Canada
    [​IMG]

    Firstly hi all, you are great community, i'm always loved to read this forums, so i thought maybe someone can help me a little with hacking/extracting audio files from this psp game. Because you guys have wide experience with it. I have some work experience with this kind of things, (but not enough) mostly on less compressed console formats like ps2 and ect.

    Subject: I need to extract all the sounds of actor voices (but not from CGI .pmf movies/radio communications - only 'sfx' enemy voices, like "he shot my leg", this kind of sound usually in pretty low quality and heavy compressed in game resources). I was figured out how to extract .HOG main game archives, but inside game sounds is compressed as hell (like most psp games). I tried to record this voices from emulator/real psp, but some sound effects is still there and i can't delete them from final recorded stream for clear sound. Also extracted all the music and ambient music (with UMDgen), but i don't need this music. I'm feel heavy frustrated, seems like this audio containers is something special. Any help would be very nice. All the technical info below. Thanks.

    Download .bnk, .ska samples: https://www.mediafire.com/?k5r4lsy2fkv0865
    (7-zip 9.20, LZMA, 2,38/6,74 MB)
    How to unpack .HOG
    Here is my little research of game directories, i was searching for anything, that looks like audio files, results:

    GAMEDATA/FRONTEND/BONUS/AUDIO/*.AT3
    GAMEDATA/FRONTEND/MUSIC/*.AT3
    GAMEDATA/FRONTEND/RATINGS_VO/*.AT3
    -
    This is usual at3 files, "audio" and "music" is just music and such stuff, nothing more. "Raitings" folder containing some radio communications, i don't need this too, but i can convert them to wav with SonicStage and himdrenderer like always.

    GAMEDATA/COMMON/UNFREED.HOG/SND.HOG/SHELL.BNK
    GAMEDATA/SINGLE/TRAIN_1P/TRAIN_1/VOLATILE.HOG/SND.HOG/*.BNK
    GAMEDATA/SINGLE/HKONG_1P/HKONG_A1/VOLATILE.HOG/SND.HOG/*.BNK
    GAMEDATA/SINGLE/AERO_1P/AERO_A1/VOLATILE.HOG/SND.HOG/*.BNK
    -
    This is highly possibly mysterious sfx sound containers (I need to extract this!), two for each level individually, plus unlinked one in "common" folder. Why this is sfx audio and effects? You can open it with hex for proof, and you will see something like this:
    random hex screen of 'WEPS.BNK' from 'HKONG_A1' level
    In the header only one thing remains always unchanged, this is "SBlk" or "53 42 6C 6B" - that's all i can tell. Maybe this is not header at all, idk...
    header of .BNK
    GAMEDATA/SINGLE/TRAIN_1P/TRAIN_1/VOLATILE.HOG/SKA.HOG/*.SKA
    GAMEDATA/COMMON/SKALEVEL.HOG/*.SKA
    GAMEDATA/COMMON/SKA.HOG/*.SKA
    -
    This is unknown files, that might be sfx in-game voices too, but i'm not sure, maybe this is not audio files... Therefore, you should not pay much attention to it. I was found some tools for .bnk files, but every of them is failed. Here attached is pack contains several extracted .bnk/.ska files samples plus not working tools, that i have found. Thanks.
     
  2. SILENT_Pavel
    OP

    SILENT_Pavel Member

    Newcomer
    18
    9
    Apr 6, 2014
    Canada
    Bump. Nobody? There is 3 downloads of samples on mediafire right now, has anyone tried to do something with it? I will be grateful for any help with this files.
    (sorry if thread bumping is against forum rules)
     
  3. SkyBladeCloud

    SkyBladeCloud GBAtemp Fan

    Member
    435
    867
    Oct 7, 2010
    As usual in PSP, the audio is encoded in ADPCM-XA. Should be fairly easy to decode it to playable audio.

    EDIT: One example, no voice acting here, though.

    http://www.mediafire.com/download/4mjrwuudbk1zu83/WEPS.wav

    Btw you have to download it and play it with WMP, as the mediafire online player sucks and can't play this file correctly.

    ~Sky
     
    SILENT_Pavel likes this.
  4. SILENT_Pavel
    OP

    SILENT_Pavel Member

    Newcomer
    18
    9
    Apr 6, 2014
    Canada
    Finally, thanks! VGMToolbox + vgmstream - is way to extract PS ADPCM!

    So, i decide to move up on ps2 version (less compressed, more bitrate) of SF DM and just found, what i'm was searching for! Individually voices for each level on ps2 is compressed in .vag (44100 Hz, 16 bit, mono) from archives "VOLEVL_E.SKX". Jaeder Naub v2.1.4g with default settings perfectly fine to extract all the .vag sounds from this archive, then convert it to .wav with MF Audio.

    example: https://www.mediafire.com/?2cvb8q12ejyf3du
    This is solution. Thread can be closed, thanks.