Jackbox Party Pack assets.bin

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
coggy9
Posts: 5
Joined: Fri Mar 13, 2015 8:00 pm

Jackbox Party Pack assets.bin

Post by coggy9 »

I've been trying to get files out of the "assets.bin" file that JPP uses. It turns out that WinRAR/7zip can open it as a ZIP and extract every file except the first file named "Loader.swf". The game will read the extracted files if the bin file is gone, but the only thing that loads without Loader is the background music. Does anyone have any ideas on how to extract this file? I'd really like to see if mod support is possible, but TBH I'm not so great with REing stuff like this.
Last edited by coggy9 on Fri Mar 13, 2015 10:41 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Jackbox Party Pack assets.bin

Post by aluigi »

It's a zip file with just the first 4 bytes modified so both the normal ZIP programs and zip.bms aren't able to open it.

You can use this script that automatically adds the correct header depending by the input archive.
So you can extract the files from assets.bin, create a new zip archive and use this same script to make it working with the game:

Code: Select all

get SIZE asize
log MEMORY_FILE 0 SIZE
get NAME basename
get MAGIC long
if MAGIC == 0x04034b50
    putvarchr MEMORY_FILE 0 0x5047424a long
    string NAME += ".bin"
else
    putvarchr MEMORY_FILE 0 0x04034b50 long
    string NAME += ".zip"
endif
log NAME 0 SIZE MEMORY_FILE
coggy9
Posts: 5
Joined: Fri Mar 13, 2015 8:00 pm

Re: Jackbox Party Pack assets.bin

Post by coggy9 »

After getting Loader.swf out, and replacing a few things, it works without the packed file now. Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Jackbox Party Pack assets.bin

Post by aluigi »

Cool :D
GREY
Posts: 1
Joined: Sat Mar 21, 2015 7:39 pm

Re: Jackbox Party Pack assets.bin

Post by GREY »

coggy9 wrote:After getting Loader.swf out, and replacing a few things, it works without the packed file now. Thanks!

Can you please provide Loader.swf? Or tell me how to unpack it? I'm bad at this :(