Page 1 of 1

M2 online

Posted: Mon Mar 08, 2010 1:04 am
by pixellegolas
The contents of this post was deleted because of possible forum rules violation.

Re: M2 online

Posted: Wed Mar 10, 2010 11:06 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? ?

Chinese friend add QQ:16381780 POST:解包

Re: M2 online

Posted: Wed Mar 10, 2010 1:04 pm
by aluigi
no luck with the compression.
I have scanned all the compression algorithms supported by quickbms and I have also tried to apply the CryptDecrypt encryption with the key "#4sldfWERx*(^^*3" but still no luck

Re: M2 online

Posted: Thu Mar 11, 2010 12:02 pm
by pixellegolas
there was some info in one of the dll about some kind of packing i think...like bcpacker...bgpacker or something. I am at work and cannot see the files now but look in the dll also

Re: M2 online

Posted: Fri Apr 30, 2010 10:15 am
by Emir
aluigi wrote:no luck with the compression.
I have scanned all the compression algorithms supported by quickbms and I have also tried to apply the CryptDecrypt encryption with the key "#4sldfWERx*(^^*3" but still no luck
I debug and found the zlib password in MwEngine_Shipping_dll.dll, How to use in my bms scripts ??

Re: M2 online

Posted: Fri Apr 30, 2010 10:48 am
by aluigi
depends by the algorithm, personally I can't test it because the sample file no longer exists.
anyway if only the archived file is encrypted then use:

Code: Select all

encryption cryptdecrypt "Mw2zd198703k2001231237" 
log FILENAME OFFSET ZSIZE 
encryption "" ""
instead of the only "log FILENAME OFFSET ZSIZE"
but I don't remember if cryptdecrypt wanted different parameters (default is md5+rc4)

Re: M2 online

Posted: Fri Apr 30, 2010 7:17 pm
by pixellegolas
the script emir provides 1 file but then it seems to extract that same file infinite times, so only one 1 file is extracted but quickbms keeps working

the encryption thingy did not do any difference