Disney's Cinderella Castle Designer .DPK

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Disney's Cinderella Castle Designer .DPK

Post by lemurboy12 »

https://aluigi.altervista.org/bms/friends_dpk.bms

It uses this format and extracts, but I eventually get this error and I'm not not sure if it extracts everything.

Image
LinkOFF
Posts: 88
Joined: Thu Aug 11, 2016 6:52 pm

Re: Disney's Cinderella Castle Designer .DPK

Post by LinkOFF »

Code: Select all

# Friends: The One with All the Trivia / Artech Digital Entertainment (zlib)
# script for QuickBMS http://quickbms.aluigi.org

getdstring DPK_NAME 0x48
get DPK_SIZE long
get FILES long
get DUMMY short
padding 4
for i = 0 < FILES
    get DUMMY long
    getdstring FILE_TYPE 4
    get SIZE1 long
    get SIZE2 long   # probably something related to compression
    get OFFSET long
    getdstring NAME 0x86
    getdstring NAME 260
    padding 4
    get TSTAMP long
	 if SIZE2 > 0 # idk how it is with no compression
		clog NAME OFFSET SIZE2 SIZE1
	 else
		log NAME OFFSET SIZE1
	 endif
next i