Users browsing this thread: 3 Guest(s)
.Bin and .CHR from a mobile game
#1
Greetings, I have some new "file types" that I can't seem to figure out how to open.

They're from this game called "Kung Fu Do" all jokes about creative names aside I found these .bin files in there, and this extension is used quite a lot with other systems so this might be a new "kind" of file.

Also within this game is a filetype known as "CHR" I have no idea what this means either.

https://www.dropbox.com/s/i0mcxwcst9b8g72/1.chr?dl=0
https://www.dropbox.com/s/0bs96tle7k9s41n/map.bin?dl=0

I've attached an example of each of these files.
Reply
Thanked by:
#2
I don't have access, you need to give us the shared link.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by:
#3
Now try it.
Reply
Thanked by:
#4
The .bin file I'm not sure what to do. Seems to simply have generic data, I can't make much of it.

The .chr on the other hand has a perfectly regular .png inside of it:

[Image: AEIglZ5.png]

I'm gonna go ahead and assume that the rest of the data inside tells you how to grab the frames. I'll see if I can figure that out.

EDIT: OK yeah it's pretty basic. Unfortunately they won't be aligned in bounding boxes but I can at least extract them as separate images, so that's something. I'll try make a program for them in the next few days. If you could supply a few extra .chr files for me to look at that'd help with testing.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by:
#5
(07-07-2017, 03:45 AM)puggsoy Wrote: The .bin file I'm not sure what to do. Seems to simply have generic data, I can't make much of it.

The .chr on the other hand has a perfectly regular .png inside of it:

[Image: AEIglZ5.png]

I'm gonna go ahead and assume that the rest of the data inside tells you how to grab the frames. I'll see if I can figure that out.

EDIT: OK yeah it's pretty basic. Unfortunately they won't be aligned in bounding boxes but I can at least extract them as separate images, so that's something. I'll try make a program for them in the next few days. If you could supply a few extra .chr files for me to look at that'd help with testing.

https://www.dropbox.com/s/dy01n5vtjy7dp24/2.chr?dl=0
https://www.dropbox.com/s/xcbkki50msflh70/3.chr?dl=0

Ask and you shall receive.
Reply
Thanked by:
#6
Alright dude, here you go. Just extract wherever. It's a command line program, hopefully you're already familiar with using those:

Code:
Usage: chrext inFile outDir
    inFile: The .chr file to extract. Can alternatively be a folder containing the files to extract
    outDir: The folder to put the subfolders where the frames will be extracted to

Should extract everything nice and tidy.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by:


Forum Jump: