Taiko no Tatsujin: Drum 'n' Fun! (Nintendo Switch) .bin files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
yjy581216
Posts: 1
Joined: Fri Jan 31, 2020 4:51 am

Taiko no Tatsujin: Drum 'n' Fun! (Nintendo Switch) .bin files

Post by yjy581216 »

Hello guys.
I tried to extract these *.bin files, but I couldn't find a way.

TaikoBinSamples.zip

At first, it was possible to unzip these files by simply renaming it to *.gz and It had single *.json data file in it.
But after game's update, they changed encryption for some reason. so I can't use that method anymore.

can anyone help me?
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: Taiko no Tatsujin: Drum 'n' Fun! (Nintendo Switch) .bin files

Post by LokiReborn »

yjy581216 wrote:Hello guys.
I tried to extract these *.bin files, but I couldn't find a way.

TaikoBinSamples.zip
At first, it was possible to unzip these files by simply renaming it to *.gz and It had single *.json data file in it.
But after game's update, they changed encryption for some reason. so I can't use that method anymore.

can anyone help me?


The 2 new files don't have any commonality between them which means they're encrypted with a cipher that doesn't use a form of substitution or the method is unique to the file name etc. In order to find how to open them you'd need to look into the game executable code itself would be my guess so you'd need to post the decrypted game as well (I'm not entirely sure how dumps work on the switch but I'm guessing there is some type of code signing you need to disable and not just retrieving the file itself.)
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Taiko no Tatsujin: Drum 'n' Fun! (Nintendo Switch) .bin files

Post by Ekey »

They are compressed with gzip

Code: Select all

get NAME filename
string NAME -= ".bin"
string NAME += ".json"
get SIZE asize

comtype gzip
clog NAME 0 SIZE SIZE
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: Taiko no Tatsujin: Drum 'n' Fun! (Nintendo Switch) .bin files

Post by LokiReborn »

Ekey wrote:They are compressed with gzip

Code: Select all

get NAME filename
string NAME -= ".bin"
string NAME += ".json"
get SIZE asize

comtype gzip
clog NAME 0 SIZE SIZE


Welp I feel dumb, I swear when I looked there was no header >.>