Help with undub for earth defense force 2017 portable

Discussion in 'PS Vita - Hacking & Homebrew' started by blazevx, Sep 15, 2016.

  1. blazevx
    OP

    blazevx Member

    Newcomer
    39
    3
    Feb 3, 2016
    United States
    Hi, i'm just running into some problems trying to make an undub for earth defense force 2017 portable, with earth defense force 2 invader from planet space i was able to copy the japanese sound files from the japanese game to the us one without any problems and as far as i can tell the game runs perfectly.

    but with earth defense force 2017 portable when i did the same the eur game doesn't play the voices instead it stays silent, i'm not quite sure how to get it to work since the voice file is now a dpk instead of at9 and i couldn't find a way to unpack and repack the file.
     
  2. blazevx
    OP

    blazevx Member

    Newcomer
    39
    3
    Feb 3, 2016
    United States
    So I was able to find a way to unpack the file with this quickbms script but I'm stuck at either reinserting the japanese sound files into the eur sound files or creating a brand new file.

    Code:
    get DPK_SIZE asize
    for OFFSET = 0 != DPK_SIZE
        savepos OFFSET
        idstring "RIFF"
        get SIZE long
        math SIZE + 8
        log "" OFFSET SIZE
        math OFFSET + SIZE
        goto OFFSET
    next
    Any assistance would be appreciated.