Monster Hunter: World (PS4) .BIN

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
bxaimc
Posts: 41
Joined: Thu Nov 16, 2017 7:11 pm

Monster Hunter: World (PS4) .BIN

Post by bxaimc »

Hi, Monster Hunter: World contains 3 large .bin archives called chunk0-ps4 (2.79GB), chunk1-ps4 (3.54GB), chunk2-ps4 (6.88GB)

Would anyone mind taking a look at this? Here's a sample snippet from chunk0:

https://drive.google.com/open?id=19H6LLyhEtwcpwyuZY5XSeMntAM7JNgWs

Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Monster Hunter: World (PS4) .BIN

Post by aluigi »

The good news is that I have the script while the bad news is that the compression algorithm seems oodle (0x8c) but it's something different.
Additionally the non-compressed files are just garbage.

I leave the work-in-progress script in case someone needs it for studying the format and algorithm (which means DO NOT USE IT!!!):

Code: Select all

comtype oodle   # ???

callfunction QUICKBMS_4GB_CHECK 1
idstring "CMP\0"
get FILES long
for i = 0 < FILES
    int FLAGS:2
    int SIZE:22
    int OFFSET:40
    putarray 0 i FLAGS
    putarray 1 i SIZE
    putarray 2 i OFFSET
next i

sortarray 2 1

for i = 0 < FILES
    getarray FLAGS  0 i
    getarray SIZE   1 i
    getarray OFFSET 2 i
    math i + 1
    getarray ZSIZE  2 i
    math ZSIZE - OFFSET

    if FLAGS & 2
        clog "" OFFSET ZSIZE SIZE
    else
        log  "" OFFSET ZSIZE
    endif
next

startfunction QUICKBMS_4GB_CHECK
    math TMP64 = 0x10000000
    math TMP64 * 16
    if TMP64 == 0
        print "you must use quickbms_4gb_files.exe with big archives"
        cleanexit
    endif
endfunction
bxaimc
Posts: 41
Joined: Thu Nov 16, 2017 7:11 pm

Re: Monster Hunter: World (PS4) .BIN

Post by bxaimc »

Thanks! Now to play the waiting game :3