I need some help in decompressing/decrypting .bin files I got from an RPG game made by Bandai Namco Ent so it has readable strings.
In the given dropbox link you can find a folder containing character.bin and character_old.bin file.
The character.bin is a new file which has some sort of compression applied to it, but last year the game does not compress these files, so character_old.bin file is the old file from last year that is not compressed and I think this may help us know more about the .bin files' structure.
I also included the lib folder I extracted from the game's apk files that I think may help?
Dropbox link: https://www.dropbox.com/sh/ugcw9ixlmcoq ... 4pvYa?dl=0
Can someone help me with this problem?
Note: The game originally has a CCZ encryption (by cocos2D IIRC) (+zlib) which a guy called uFalox helped the community decrypting it, so the .bin file's compression is actually the second layer of compression.
Thank you.
.bin files from SAOMD game
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: .bin files from SAOMD game
You can dump the data from the bin with this script:
Code: Select all
# SAOMD game bin
goto 0x14
get FILES long
math FILES - 1
for i = 0 < FILES
get OFFSET long
putarray 0 i OFFSET
next i
get OFFSET asize
putarray 0 i OFFSET
sortarray 0
for i = 0 < FILES
getarray OFFSET 0 i
math i + 1
getarray SIZE 0 i
math SIZE - OFFSET
log "" OFFSET SIZE
next