Next Page

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

Next Page
Go to Page 0 1 2 3

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