Shards of Light (*.BIN)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Shards of Light (*.BIN)

Post by Ekey »

Screenshots: here
Download: here (4gb)

Code: Select all

# Shards of Light (BIN format)
# Core Online (BIN format)
#
# Written by chrrox & Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

comtype coreonline

idstring "MFFP"
get NULL long
get FILES long

for i = 0 < FILES
    get ID long
    get NULL long
    get ZSIZE long
    get SIZE long
    get DUMMY1 long
    getdstring HASH 0x10
    get NSIZE short
    get DUMMY2 short
    getdstring NAME NSIZE
    savepos OFFSET
   
    if ZSIZE == SIZE
        filexor "0xF0 0x2E 0xAA 0x3C 0xE4 0xCD 0x11 0x89 0xD1 0xA5 0x45 0xAF 0xC3 0x43 0x52 0x4A 0xA3 0xBE 0x6C 0x82 0xFE 0xF1 0x31 0x63 0x2F 0x39 0xCF 0xA1 0xFA 0xDC"
        log NAME OFFSET ZSIZE
        filexor ""
    else
        clog MEMORY_FILE OFFSET ZSIZE SIZE
        filexor "0xF0 0x2E 0xAA 0x3C 0xE4 0xCD 0x11 0x89 0xD1 0xA5 0x45 0xAF 0xC3 0x43 0x52 0x4A 0xA3 0xBE 0x6C 0x82 0xFE 0xF1 0x31 0x63 0x2F 0x39 0xCF 0xA1 0xFA 0xDC"
        log NAME 0 SIZE MEMORY_FILE
        filexor ""
    endif
   
    math OFFSET + ZSIZE
    goto OFFSET
next i