The Secret Order *.cub

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

The Secret Order *.cub

Post by hackspeedok »

Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: The Secret Order *.cub

Post by Ekey »

Code: Select all

# The Secret Order(CUB format)
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

idstring "cub\0"
idstring "1.0\0"
get FILES long
getdstring ID 256 #Paczka danych CUBE

for i = 0 < FILES
    getdstring NAME 256
    get OFFSET long
    get SIZE long
    log NAME OFFSET SIZE
next i
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Secret Order *.cub

Post by aluigi »

The script is the same for Enigmatis, the only difference is the absence of xor obfuscation.
Try this script 0.3:
http://aluigi.org/bms/enigmatis.bms

The script should work also with other games by Artifex Mundi, I will check it.
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: The Secret Order *.cub

Post by hackspeedok »

aluigi wrote:The script is the same for Enigmatis, the only difference is the absence of xor obfuscation.
Try this script 0.3:
http://aluigi.org/bms/enigmatis.bms

The script should work also with other games by Artifex Mundi, I will check it.

Ekey wrote:

Code: Select all

# The Secret Order(CUB format)
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

idstring "cub\0"
idstring "1.0\0"
get FILES long
getdstring ID 256 #Paczka danych CUBE

for i = 0 < FILES
    getdstring NAME 256
    get OFFSET long
    get SIZE long
    log NAME OFFSET SIZE
next i


Thanks so much :D But can you help me how to repack the *.xml files with the larger size ? I want to translate this game to different language
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Secret Order *.cub

Post by aluigi »

The reimporting feature doesn't allow to reimport larger files. Sorry.
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: The Secret Order *.cub

Post by hackspeedok »

aluigi wrote:The reimporting feature doesn't allow to reimport larger files. Sorry.

thanks :D