Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
M2 online
Re: M2 online
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
-------------------------------------------------------------------
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:解包
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
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:解包
You do not have the required permissions to view the files attached to this post.
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 667 times
- Contact:
Re: M2 online
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 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
-
pixellegolas
- ultra-veteran

- Posts: 423
- Joined: Mon Aug 11, 2008 11:30 pm
- Has thanked: 27 times
- Been thanked: 15 times
Re: M2 online
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
I debug and found the zlib password in MwEngine_Shipping_dll.dll, How to use in my bms scripts ??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
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 667 times
- Contact:
Re: M2 online
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:instead of the only "log FILENAME OFFSET ZSIZE"
but I don't remember if cryptdecrypt wanted different parameters (default is md5+rc4)
anyway if only the archived file is encrypted then use:
Code: Select all
encryption cryptdecrypt "Mw2zd198703k2001231237"
log FILENAME OFFSET ZSIZE
encryption "" ""but I don't remember if cryptdecrypt wanted different parameters (default is md5+rc4)
-
pixellegolas
- ultra-veteran

- Posts: 423
- Joined: Mon Aug 11, 2008 11:30 pm
- Has thanked: 27 times
- Been thanked: 15 times
Re: M2 online
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
the encryption thingy did not do any difference
