The VG Resource
.Bin and .CHR from a mobile game - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html)
+---- Thread: .Bin and .CHR from a mobile game (/thread-31300.html)



.Bin and .CHR from a mobile game - shadowman44 - 07-06-2017

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.


RE: .Bin and .CHR from a mobile game - puggsoy - 07-07-2017

I don't have access, you need to give us the shared link.


RE: .Bin and .CHR from a mobile game - shadowman44 - 07-07-2017

Now try it.


RE: .Bin and .CHR from a mobile game - puggsoy - 07-07-2017

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.


RE: .Bin and .CHR from a mobile game - shadowman44 - 07-07-2017

(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.


RE: .Bin and .CHR from a mobile game - puggsoy - 07-09-2017

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.