:http://www.megaupload.com/?d=AZURSCIH Splinter Cell: Pandora Tomorrow
http://www.megaupload.com/?d=XKUWRNE8 King Arthur
I'm looking music.

Thanks in advance.
:

Code: Select all
+-------------------------+
| King Arthur (PS2) *.rkv |
+-------------------------+
// first filename is empty
// Not sure how to work out the file size/offset, but probably has something
// to do with multiplying one of the fields by some value
4 - Header (RKV2)
4 - Number Of Files
4 - Filename Directory Length
4 - Number Of Files
4 - File Tree Name Directory Length
4 - Hash Directory Offset
4 - Total Directory Length (Length of all directories)
4 - Unknown
4 - Unknown
92 - null Padding to offset 128
X - File Data
// HASH DIRECTORY
// for each file
8 - Unknown
12 - CRC?
// FILENAME DIRECTORY
// for each file
X - Filename
1 - null Filename Terminator
0-11 - null Padding to a multiple of 12 bytes?
// FILES DIRECTORY
// for each file
8 - File Length?
4 - Hash?
4 - File Offset?
// FILE TREE NAME DIRECTORY
// for each file
X - Filename (including full path, starting with "L:\")
1 - null Filename Terminator
0-11 - null Padding to a multiple of 12 bytesCode: Select all
+---------------------------------------------+
| Splinter Cell: Pandora Tomorrow (PS2) *.img |
+---------------------------------------------+
// Compressed files use ZLib
4 - Archive Size
4 - Total Directory Length (not including padding at the end of the filename directory)
4 - Padding Multiple (2048)
4 - Empty Directory Offset
4 - Filename Directory Offset
4 - First File Offset
8 - null
4 - Unknown Directory Offset
2012 - null Padding to offset 2048
// FILES DIRECTORY
12 - null
4 - Unknown (585)
32 - null
// for each file (48-bytes per entry)
4 - Filename Offset (relative to the start of the filename directory)
4 - File ID?
4 - Parent Folder ID (folder that this file/folder belongs to) [+1]
4 - Folder ID (0=file, #=folder)
4 - Compression (0=uncompressed, 1=compressed)
4 - Entry Type (0=folder, 1=file)
4 - Compressed File Length
4 - Decompressed File Length
4 - File Offset
4 - Unknown
2 - Unknown
2 - Unknown
4 - Unknown (often null)
// EMPTY DIRECTORY
2400 - null
// UNKNOWN DIRECTORY
X - Unknown
// FILENAME DIRECTORY
// for each file
X - Filename
1 - null Filename Terminator
// FILE DATA
// for each file
if (compressed){
4 - Unknown
4 - Unknown
X - Compressed File Data
}
else if (uncompressed){
X - File Data
}
0-2047 - null Padding to a multiple of 2048 bytes





