Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Assassin's Creed II (pck)
-
- advanced
- Posts: 72
- Joined: Sun Oct 26, 2008 2:41 am
- Has thanked: 3 times
- Been thanked: 4 times
Assassin's Creed II (pck)
The contents of this post was deleted because of possible forum rules violation.
Re: Assassin's Creed II (pck)
Code: Select all
# script for QuickBMS http://aluigi.org/papers.htm#quickbms
Endian big
# 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_UNK1 long
If ENTRY_UNK1 != 0
Print "Strange ENTRY_UNK1 = %ENTRY_UNK1%, may crash..."
EndIf
Get ENTRY_SIZE long
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
Re: Assassin's Creed II (pck)
No, unless someone figures out how it's packed, probably they're just vorbis packets.
-
- mega-veteran
- Posts: 263
- Joined: Sun Oct 18, 2009 9:41 pm
- Location: Portland, OR
- Has thanked: 3 times
- Been thanked: 79 times
- Contact:
Re: Assassin's Creed II (pck)
I finished a Audiokinetic Wwise RIFF/RIFX Vorbis to Ogg Vorbis converter yesterday, ww2ogg here http://hcs64.com/vgm_ripping.html
(All interested parties already know, but I thought it'd be best to give this thread closure)
(All interested parties already know, but I thought it'd be best to give this thread closure)
-
- advanced
- Posts: 72
- Joined: Sun Oct 26, 2008 2:41 am
- Has thanked: 3 times
- Been thanked: 4 times