Hi, just wondering if I could get some help with a way to unpack and repack this file.
I'm trying to create an undub for the Europe version of the game and this is the Japanese voice sound file that I'm trying to replace the Europe version with but because it refuses to play when inserted into the Europe game I thought I see if it could be unpacked and repacked so I could replace the files inside it, as far as I'm aware both version of the files are the same format but if it would help to upload the Europe one then I will upload it as well.
Here is the Japanese sound file. https://mega.nz/#!H48xQa4A!RuNhEQw0VEWG ... Z3C8WuB744
Earth Defense Force 3/2017 Portable Voice File - Sound_Sgo.dpk
-
- Posts: 3
- Joined: Fri Sep 16, 2016 4:06 am
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Earth Defense Force 3/2017 Portable Voice File - Sound_Sgo.dpk
It's just a raw sequence of RIFF files.
You can use a file ripper or just this script:
Maybe someone can help you with the codec of these audio files.
You can use a file ripper or just this script:
Code: Select all
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
-
- Posts: 3
- Joined: Fri Sep 16, 2016 4:06 am
Re: Earth Defense Force 3/2017 Portable Voice File - Sound_Sgo.dpk
aluigi wrote:It's just a raw sequence of RIFF files.
You can use a file ripper or just this script:Maybe someone can help you with the codec of these audio files.Code: Select all
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
Thanks so much, it extracted perfectly.
Now I have a small problem, I'm unable to reinsert them into the Europe file because the sizes are different, so do you know of a way to make a brand new Sound_Sgo.dpk with the smaller files so there won't be a size issue?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Earth Defense Force 3/2017 Portable Voice File - Sound_Sgo.dpk
First you have to find the file that contains the information about the archived files (because you provided only a raw container) and then you have to edit its information by hand or by making a program. No automatic "ready-to-use" solutions.
-
- Posts: 3
- Joined: Fri Sep 16, 2016 4:06 am
Re: Earth Defense Force 3/2017 Portable Voice File - Sound_Sgo.dpk
I looked but I really don't think there is one unless it's the eboot itself then I'm not sure how to edit it since I don't really know hex editing.