Game Archive Help Thread by bxaimc at 9:02 AM EDT on June 30, 2011
In order to prevent the creation of space-wasting threads for one game archive and then disappearing in to the abyss of other now useless game archive questions, why not just ask over here so life could be easier for us to find these questions instead of leaving them unanswered due to being lost.
by Polokus at 11:51 AM EDT on June 30, 2011
Glad someone finally decide to make this thread.
by cooljacker at 9:24 PM EDT on July 3, 2011
OK, it's been answered probably, sorry in advance... What tool to use to extract sound files from Ubisoft's .pck archive present in Assassin's Creed games? I understand ww2ogg can be used afterwards, I can manage that, but how to extract the damn sounds? Oh, please don't say hex editor or similar stuff, because I suck big time at those... Huge thanks!

edited 9:32 PM EDT July 3, 2011
by Infernus Animositas at 6:23 AM EDT on July 5, 2011
http://www.mediafire.com/?2djepjqrwjsscj5

SGB archive with SGH header file but vgmstream can't play them or the SGD file included.

EDIT: Mplayer can convert them just fine. But there's quite a few files. Could anyone write up a batch that will convert any extension to .wav in Mplayer?

EDIT #2: Never mind, after some messing around I managed to write up a batch script.

for %%i in (*.ext) DO mplayer.exe -ao pcm "%%i" -ao pcm:file="%%i".wav

Just in case anyone else would like it as well :)

edited 8:03 AM EDT July 5, 2011

edited 8:14 AM EDT July 5, 2011

edited 8:21 AM EDT July 5, 2011
by Polokus at 11:56 AM EDT on July 5, 2011
If you could post a sample of the pck file we may be able to help ;)
by cooljacker at 1:43 PM EDT on July 5, 2011
There are only 3 pck files I'm looking at right now (from pc version of AC2), and they are 233, 239 and 528 MB in size. I would upload say, the first, but my net is incredibly slow these days, so I can't do that... Anyway, thank you for replying and willing to help Polokus.
by Polokus at 5:39 PM EDT on July 5, 2011
Try this quickbms script:

# script for QuickBMS http://aluigi.org/papers.htm#quickbms

Endian little

# Main header
IDString "AKPK"
Get HEADER_TOTAL_SIZE long

Get HEADER_UNK1 long
If HEADER_UNK1 != 1
Print "Strange HEADER_UNK1 = %HEADER_UNK1%, may crash..."
EndIf

Get HEADER_EXTRA_DATA_SIZE long
Get SIZE_OF_BLOCK1 long
Get SIZE_OF_BLOCK2 long

SavePos TEMP_POS
Math TEMP_POS += HEADER_EXTRA_DATA_SIZE
GoTo TEMP_POS

# Block 1
Set EXTRACT_BLOCK_BASE_PATH string "1"
CallFunction EXTRACT_BLOCK

# Block 2
Set EXTRACT_BLOCK_BASE_PATH string "2"
CallFunction EXTRACT_BLOCK

# Function to extract a block
# Set EXTRACT_BLOCK_BASE_PATH to the path where the files should be extracted before calling
StartFunction EXTRACT_BLOCK
Get BLOCK_NUM_ENTRIES long

For I = 0 < BLOCK_NUM_ENTRIES
# Read the file entry
Get ENTRY_ID long
Get ENTRY_BLOCK_SIZE long
Get ENTRY_SIZE long
Get ENTRY_UNK1 long
If ENTRY_UNK1 != 0
Print "Strange ENTRY_UNK1 = %ENTRY_UNK1%, may crash..."
EndIf
Get ENTRY_OFFSET_IN_BLOCKS long
Get ENTRY_UNK2 long
If ENTRY_UNK2 != 0
If ENTRY_UNK2 != 1
Print "Strange ENTRY_UNK2 = %ENTRY_UNK2%, may crash..."
EndIf
EndIf

# Extract
Set PATH EXTRACT_BLOCK_BASE_PATH
String PATH += "/"
String PATH += ENTRY_ID

Set OFFSET ENTRY_OFFSET_IN_BLOCKS
Math OFFSET *= ENTRY_BLOCK_SIZE

Log PATH OFFSET ENTRY_SIZE
Next I
EndFunction
by bxaimc at 5:59 PM EDT on July 5, 2011
SGH/B can either be PCM, ADPCM, AC3, and ATRAC3
SGX is the conbined header+data version.

The posted SGB is ATRAC3 based on the codec id.
Looks like lossless ATRAC3 too. interesting :D

I don't think the SGH header is necessary as well as the other junk in the file since it has a smpl chunk with the standard RIFF header so i guess it'd be ok to get rid of that since it plays file with the ATRAC3 decoder.

edited 6:08 PM EDT July 5, 2011
by Infernus Animositas at 10:12 PM EDT on July 5, 2011
Interesting indeed. The music comes from a PSP game called Echoshift. So, Sony uses lossless ATRAC on PSP games and MP3 on PS3 games... -_-
by cooljacker at 6:35 AM EDT on July 6, 2011
I ran the script and I got 5711 (!) files without extension of various sizes - from just a few kb to 15-20 MB... Here are two example files, can you look at them and see if anything else can be done (to convert/play them) if they are usable at all, that is:

http://sendspace.com/file/kbuwlq

If they are, is there some batch script or something, considering there are so many of them...

Thanks again, Polokus!

edited 6:36 AM EDT July 6, 2011
by Polokus at 8:35 AM EDT on July 6, 2011
The file "9538169" is wwise Vorbis and can be decoded to a normal ogg vorbis file using ww2ogg. The Second file "-622988657" is a Wwise sound bank and it contains a wwise vorbis file. See the Riff Header in hex after the BKHD header, just cut the BKHD header away and it should be also decodable with ww2ogg. Hope this helped.
by cooljacker at 9:29 AM EDT on July 6, 2011
I took several files which begin with riff header, drag and drop on ww2ogg (0.11) and it always produces unplayable ogg of 1 kb, no matter if the original file was or 5 kb or 5 MB... It does the same for files with manually deleted BKHD header...
Simple by bxaimc at 10:20 AM EDT on July 6, 2011
Do you have the packed_codebooks.bin file in the same directory?
by cooljacker at 10:58 AM EDT on July 6, 2011
packed_codebooks.bin is in ww2ogg folder if that's what you mean. Do I need to also copy it over to folder with those 5000+ extracted files?

edited 11:06 AM EDT July 6, 2011
by Polokus at 1:09 PM EDT on July 6, 2011
That's strange, decoded without a hitch for me.
by kenshiro at 1:45 PM EDT on July 6, 2011
No you don't need, just put some files (the largest files with riff header for example) in the same directory as ww2ogg.exe and packed_codebooks.bin.
Make sure you have the latest version of ww2ogg (version 0.11).

Don't use drag and drop for now, use ww2ogg in command line and with no options to see if you get an error:
ww2ogg input.wav -o output.ogg.

It worked for me too with the 2 files you uploaded.



edited 1:50 PM EDT July 6, 2011
by cooljacker at 2:37 PM EDT on July 6, 2011
Well, I did copy packed_codebooks.bin into folder with extracted files and continued with drag & dropping to ww2ogg (so ww2ogg stays in its original folder and extracted files in their own), and it works!! No more 1 kb files. I see that isn't the best method, but again, it works, and that's all I care. Thank you very, very much people!

edited 2:41 PM EDT July 6, 2011
by Polokus at 3:07 PM EDT on July 6, 2011
Happy to help
by kenshiro at 3:41 PM EDT on July 6, 2011
Good to know, well done.
by Sir-Sabin at 5:43 PM EDT on July 6, 2011
i have tons of stuff here that needs to be looked it

Link

EDIT: stupid copy and paste, it pasted a pic instead sorry about that

edited 5:44 PM EDT July 6, 2011
by Polokus at 6:17 PM EDT on July 6, 2011
You should post one for us to look at, we really don't have time to look at everything.
by manakoAT at 12:24 PM EDT on July 7, 2011
Sir-Sabin, use "vid1_2ogg" for GUN (NGC), it's in hcs' ripping tools folder.

by kenshiro at 12:38 PM EDT on July 7, 2011
Yes there is a lot of them.

Music.vb2 file from the Castlevania Chronicles on PSX can be unpacked with the vb2rip tool from Neill Corlett.
It can be found here. Thanks to him.
Just drag and drop your file to vb2rip.exe or use it in command line.

I think it will be very useful to specify on which platforms are the other games.
by Sir-Sabin at 3:27 PM EDT on July 7, 2011
i can only convert them to .wav, is there a way to split them?
by kenshiro at 5:26 PM EDT on July 10, 2011
If you want to split them as they are in the archive you have to use an Hex editor but I am not the best person to talk about that.

For the game archive Audio_DLC1.afc from Borderlands: The Zombie Island, use the WAV/RIFF scanner of Dragon UnPACKer and convert all extracted files with towav.

edited 5:32 PM EDT July 10, 2011
by Polokus at 7:30 PM EDT on July 10, 2011
For Borderlands: The Zombie Island you could also use the Riff cutter pre-set in VGMT.
by Sir-Sabin at 9:45 AM EDT on July 11, 2011
Some of the shit on there is old and i have been deleting, i know about gun and some others and the cv was uploaded for bx to look at

edited 9:48 AM EDT July 11, 2011
Dance Dance Revolution Mario Mix | GC | .msm by neo_chip at 3:20 PM EDT on July 23, 2011
Ok here's an archive thats yet to be solved its from DDR Mario Mix and it needs to be ripped. I'm guessing DSP's are contained in this file.


Sample:

http://www.megaupload.com/?d=B6YRVO9E

edited 3:20 PM EDT July 23, 2011
by Sir-Sabin at 9:34 AM EDT on July 24, 2011
you need to use PDTExt on it, but it's in lots of pieces, i forget where to get it
by neo_chip at 10:59 AM EDT on July 24, 2011
I have pdtext which manakoAT gave me a while back but the file I provided is not .pdt. (The pdt that comes with the game only contains the menu songs, story events and songs samples (when your choosing a song in free mode).

Its an .msm extension, and I bet the dance songs are in there. Any chance someone can help me with this? This game has never been ripped, which is a shame because the music is really good, (and I'm sure most of you guys know the songs).

:)
by Sir-Sabin at 7:03 AM EDT on July 26, 2011
noone told me that i was thinking they were in the pdt file
by neo_chip at 11:11 AM EDT on July 26, 2011
Yea I've checked the pdt file myself, trust me its not there.

by neo_chip at 8:39 AM EDT on August 8, 2011
Bump
From Dust | XBLA | Ubisoft by kenshiro at 10:55 AM EDT on August 11, 2011
Hi,
I have a problem to convert these files from the game From Dust.
Tried with towav with no success and xma_test returned me a parse error. Not sure if it's XMA.
Thank you.
by hcs at 11:51 AM EDT on August 11, 2011
Yeah it's a somewhat customized XMA, the XMA info is merged into the data chunk.
File1 is 48khz 2 channels at 0x3BA
xma_test File1.sound -o 3ba -r out

File2 is 48khz 2 channels at 0x34C and 2 at 0xB4C, 0x2000 block size
xma_test File2.sound -o 34c -b 2000 -r out1
xma_test File2.sound -o b4c -b 2000 -r out2

file3 is 48khz 2 channels at 0x4A2
xma_test file3.sound -o 4a2 -r out

File4 is 48khz 2 channels at 0xB18 and 2 at 0x1318, 0x2000 block size
xma_test File4.sound -o b18 -b 2000 -r out1
xma_test File4.sound -o 1318 -b 2000 -r out2

edited 11:54 AM EDT August 11, 2011
by kenshiro at 6:13 PM EDT on August 11, 2011
As always, thanks a lot HCS for your details and your time, I managed to convert them with towav.
by kenshiro at 6:59 AM EDT on November 3, 2011
Hi,

Can someone help me with those files, I don't know which audio format they contain.
It's from LOTR War in the north on XBOX360.

Thank you.

edited 7:05 AM EDT November 3, 2011


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source