Tomodachi Life (3DS) .bin files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Times New Woman
Posts: 24
Joined: Sun Oct 14, 2018 6:51 am

Tomodachi Life (3DS) .bin files

Post by Times New Woman »

Yep, it's me again. The annoying one.

Someone left a message in a discord server I'm in about how to mod the files of Tomodachi Life. I looked into it...

...every single file is inside a .bin file. Every model, every message data file, everything.
SPICA doesn't read the ones containing the models, I can't import custom textures with Ohana, Karameru does absolutely nothing and I haven't got any tools to extract/repackage the archives themselves.

Do any preexisting scripts for other games open the files (example file attached) or would it need a new script entirely?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Tomodachi Life (3DS) .bin files

Post by aluigi »

decompressing script for quickbms:

Code: Select all

comtype lz77wii
get SIZE asize
get NAME basename
clog NAME 0 SIZE SIZE
Times New Woman
Posts: 24
Joined: Sun Oct 14, 2018 6:51 am

Re: Tomodachi Life (3DS) .bin files

Post by Times New Woman »

So I assume I just decompress with BatchLZ77 now? Or what? Because the files ripped appear to be .lz files, but they have no extensions.
Edit: BatchLZ77 doesn't work with them, plus the header reads "CGFX".
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Tomodachi Life (3DS) .bin files

Post by aluigi »

I guess that CGFX is a container for graphic data, maybe try to search it on google or post in the Graphics section.
Times New Woman
Posts: 24
Joined: Sun Oct 14, 2018 6:51 am

Re: Tomodachi Life (3DS) .bin files

Post by Times New Woman »

...Also, reimport refuses to work when used with the .bin script. So that happened.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Tomodachi Life (3DS) .bin files

Post by aluigi »

Do you need to create a compressed bin?
Try this script:

Code: Select all

comtype DS_LZX_COMPRESS
get SIZE asize
get NAME filename
string NAME + ".bin"
clog NAME 0 SIZE SIZE

I'm not sure if it the compressed bin will work with your game because that compression algorithm is a bit "complicated" :)