Bejeweled 3 NDS (U) - Unknown compression archive

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
BoggY
Posts: 12
Joined: Thu Dec 28, 2017 10:06 pm

Bejeweled 3 NDS (U) - Unknown compression archive

Post by BoggY »

From the Bejeweled 3 for Nintendo DS ROM, I found a strange archive Glob.bin, with an unusual compression. Take a look on how to extract the files and preferably recompress them. Thank you.
File at https://drive.google.com/open?id=1nR9KU ... f2x2VroV4u
Whole ROM at https://drive.google.com/open?id=159gWQ ... 0Dd9ZYxxWZ
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Bejeweled 3 NDS (U) - Unknown compression archive

Post by aluigi »

I don't think there is any compression involved, being Nintendo stuff usually their compression is just the usual lz77wii.
This is the extraction script:

Code: Select all

get OFFSET long
xmath FILES "(OFFSET / 4) - 1"
for i = 1 <= FILES
    get NEXT_OFF long
    xmath SIZE "NEXT_OFF - OFFSET"
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFF
next i
BoggY
Posts: 12
Joined: Thu Dec 28, 2017 10:06 pm

Re: Bejeweled 3 NDS (U) - Unknown compression archive

Post by BoggY »

I hope getting a bunch of 000123.dat files is normal then. Only the .100 file seems to contain actual data, which may look like the filenames, but anyways to me it looks like some compression, other than nintendo's one, because those files in current state don't seem like something usable in the game (or i am just inexperienced with Nintendo's game files). Some file info is in the rom, it may help. Thanks.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Bejeweled 3 NDS (U) - Unknown compression archive

Post by LolHacksRule »

Old rebump but there's this plugin for Tinke that helps you open these files and also get most of the names in the filesystem. It's lost but archived luckily (and probably old).