Page 1 of 1

Magic World 2 packfile .mw2 QuickBMS HELP (GameBryo Game)

Posted: Wed Mar 10, 2010 11:01 am
by Emir
Magic World 2 packfile .mw2
Game Website: http://db.12ha.com/

Pack Header

string DLOG 14 / / file header
DWORD CRC / / CRC??
DWORD ZSIZE / / compressed size
DWORD SIZE / / decompressed size
DWORD FILENAMESIZE / / file name length
string FILENAME FILENAMESIZE / / file name
filedata .... / / file compression data

-------------------------------------------------------------------

Code: Select all


# Initialize the offset address of the variable OFFSET 
set OFFSET long 0 

# Loop
for 

# Jump to the offset address 
GOTO OFFSET 

# Read the file header in the variable 
getdstring DLOG 14 
get CRC long 
get ZSIZE long 
get SIZE long 
get FILENAMESIZE long 
getdstring FILENAME FILENAMESIZE 

# Define compression decompression format 
# ComType uncompress 

# Calculate offset address + header length + file name length
math OFFSET + = 30 
math OFFSET + = FILENAMESIZE 

# Read file data 
# clog FILENAME OFFSET ZSIZE SIZE 
log FILENAME OFFSET ZSIZE 

# Calculate offset address + file data length 
math OFFSET + = ZSIZE 

next 

Mw2 file compression in the file mw_pack.rar.

Expert analysis of the current assistance package compressed format (non-encrypted ZIP or have been) ComType what you can decrypt the file data? ?