Chocolatier 3 PC (.CAD) Files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Johny233
Posts: 13
Joined: Sun Jan 20, 2019 4:39 pm

Chocolatier 3 PC (.CAD) Files

Post by Johny233 »

Hello, i've been trying to extract all of chocolatier series and i've been sucessfully doing that as there is a bms script which extracts the pfp files, however the third installment of the game also uses file extension called .cad. I'd assume it has audio and graphic files inside - Like the pfp files. Could anyone help out?

The file in question: https://files.fm/u/qnsak9tc

Thank you!
akintos
Posts: 88
Joined: Tue May 08, 2018 7:48 pm

Re: Chocolatier 3 PC (.CAD) Files

Post by akintos »

Code: Select all

goto 0x0C
get FILECOUNT long
goto 0x20

for i = 0 < FILECOUNT
   get FILENAMEHASH long
   get ZERO long
   get SIZE long
   get OFFSET long
   
   string FNAME p "%d." FILENAMEHASH
   log FNAME OFFSET SIZE
next i


wanted to read hash as uint32 but idk how to do it. hope someone improve this script.
Johny233
Posts: 13
Joined: Sun Jan 20, 2019 4:39 pm

Re: Chocolatier 3 PC (.CAD) Files

Post by Johny233 »

Thanks very much. I was able to get all the ost i needed from the file... :)