Sleeping Dogs Definitive Edition(.big,.bix)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
happyend
Posts: 157
Joined: Sun Aug 24, 2014 8:54 am

Sleeping Dogs Definitive Edition(.big,.bix)

Post by happyend »

use SDBIGUnpacker_1.0.10 Not supported,thanks~
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by Ekey »

No files, no help
happyend
Posts: 157
Joined: Sun Aug 24, 2014 8:54 am

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by happyend »

Sorry.
Samples:http://www8.zippyshare.com/v/26559988/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by aluigi »

Just for reference I put the link to SDBIGUnpacker because it was a pain to find it :) https://www.sendspace.com/file/vtisdf

It looks like they changed some things, mainly the offsets were are located the number of files and the starting of information, and I guess there is also something about 2 compressed size fields.

This is a test script only to check the format, so wait the update from Ekey:

Code: Select all

open FDDE "bix"
open FDDE "big" 1
goto 0x70
get FILES long
goto 0xc0
for i = 0 < FILES
    get NAME_CRC long
    get OFFSET long
    get ZSIZE long
    get ZSIZE2 long
    get DUMMY long
    get SIZE long
    math OFFSET *= 4
    math ZSIZE += ZSIZE2
    if ZSIZE == 0
        log "" OFFSET SIZE 1
    else
        # no comtype yet
        log "" OFFSET ZSIZE 1
    endif
next i
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by Ekey »

I will check it later
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by Ekey »

For Offset >

Code: Select all

math ZSize &= 0x0FFF
math OFFSET += ZSize
happyend
Posts: 157
Joined: Sun Aug 24, 2014 8:54 am

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by happyend »

thanks,aluigi&Ekey,You are the God in my heart。
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by Ekey »

Real compressed size is ZSize2
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by aluigi »

But the algorithm is not already in quickbms, right?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by Ekey »

Well it's LZ series. Comtype scanner give no results. In attach my unpacker and PseudoCode from previous game. Algo works for DE. Also included ASM code (x64) Compress and Decompress functions if you interested.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by aluigi »

Ok, is it the algorithm the same of sd_pmcq.py?
It seems a bit different so probably I have to implement both in quickbms.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by Ekey »

Yep same. Just cutted useless code like > Swap
lostprophet
Posts: 49
Joined: Thu Sep 04, 2014 9:34 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by lostprophet »

Any ideas how to get the localization files yet? Just want to port my translation from the original game to DE.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by aluigi »

Just for your information, I have released the script 0.2 that includes both decompression and filenames (retrieved from the biglist files of gib.me).
It works only with quickbms 0.8.5 which is not released yet but I wanted to leave the message here anyway.
Scofield_TR
Posts: 99
Joined: Wed Dec 03, 2014 12:44 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by Scofield_TR »

Sorry, delete message.
muslimcyberbjb
Posts: 20
Joined: Sat Jul 16, 2016 2:41 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by muslimcyberbjb »

And anybody know to REPACK again the ARCHIVE???
muslimcyberbjb
Posts: 20
Joined: Sat Jul 16, 2016 2:41 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by muslimcyberbjb »

@Delluto , can you make a Unpacker and Repacker for this game??? I have waiting so long and search the tools it's not found.
muslimcyberbjb
Posts: 20
Joined: Sat Jul 16, 2016 2:41 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by muslimcyberbjb »

@Delluto, can you make a Repacker for this game? I want to Make Translation and i searching for tools for Repack and still nothing.
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: Sleeping Dogs Definitive Edition(.big,.bix)

Post by MuslimCyberGames »

@Delutto, can you make Repack Big, Bix files? You can use this link "http://svn.gib.me/public/sleepingdogs/trunk/bin/projects/Sleeping%20Dogs%20Definitive%20Edition/files/" and "http://aluigi.org/bms/sleeping_dogs_biglist.zip", for sample.