Divine Souls (*.DFH / *.DFP)

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

Divine Souls (*.DFH / *.DFP)

Post by Ekey »

Code: Select all

# Divine Souls (DFH/DFP format) 0.0.1
#
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

open FDDE DFH 0
open FDDE DFP 1

get VERSION long 0

if VERSION != 0x1A
    print "Invalid package version!"
    cleanexit
endif

get FILES long 0
get NULL long 0

for i = 0 < FILES
    get SIZE long 0
    get HASH long 0
    get OFFSET long 0
    string NAME p= "%08X" HASH
    log NAME OFFSET SIZE 1
next i