how to unpack file .pak BMRX

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ThemGaiDesign
Posts: 11
Joined: Tue Jul 19, 2016 3:42 am

how to unpack file .pak BMRX

Post by ThemGaiDesign »

Can someone help me to extract .pak files from this game?
file: https://mega.nz/#F!w4xlmTYZ!SEMam6F4kj8QEgbvwglbpg
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: how to unpack file .pak BMRX

Post by aluigi »

Why you deleted the name of the game from your post?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: how to unpack file .pak BMRX

Post by aluigi »

This format is an encrypted version of JX3 Online for which I have already made even 2 scripts.
The encryption in this case is 0x62 for the whole data but I don't know how the 0x20 bytes header is encrypted. The header is necessary only to know where the information start.

The following are some of the games that use this PACK format:
ThemGaiDesign
Posts: 11
Joined: Tue Jul 19, 2016 3:42 am

Re: how to unpack file .pak BMRX

Post by ThemGaiDesign »

I deleted the name game because this is a kind of pack file encryption others different from the standard version of the game.
it is encoded in the file bmrx.dll
name game: 麻辣江湖
The game's standard encoding of type PACK (KiemThe,wjx2,njx,...)
site of the coding: http://www.icmprotects.com/
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: how to unpack file .pak BMRX

Post by aluigi »

ThemGaiDesign
Posts: 11
Joined: Tue Jul 19, 2016 3:42 am

Re: how to unpack file .pak BMRX

Post by ThemGaiDesign »

thank you!
ThemGaiDesign
Posts: 11
Joined: Tue Jul 19, 2016 3:42 am

Re: how to unpack file .pak BMRX

Post by ThemGaiDesign »

how to decode file BMRX to PACK format?
I want to file MBRX format to the format PACK
Can you help me
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: how to unpack file .pak BMRX

Post by aluigi »

why you need that?
Anyway it's easy so no problem:

Code: Select all

idstring "BMRX"
encryption xor "678iujhygrehFG$WE%*&iyukjhghU*&^890p-[;jhgfdvbjt5ijkbvfjklphgdfuijmfuiklmhngfre3uk;6"
log MEMORY_FILE 0 0x20
encryption "" ""
math SIGN = 0x4b434150
math SIGN ^ 0x62626262
putvarchr MEMORY_FILE 0 SIGN long
get NAME basename
get EXT extension
string NAME + "_decrypt."
string NAME + EXT
filexor 0x62
log NAME 0 0x20 MEMORY_FILE
get SIZE asize
math SIZE - 0x20
append
log NAME 0x20 SIZE
append