The VG Resource
How to Rip from Adventure Time: Heros of Ooo BIN files - 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: How to Rip from Adventure Time: Heros of Ooo BIN files (/thread-27328.html)



How to Rip from Adventure Time: Heros of Ooo BIN files - supersmashball - 06-23-2015

So a while ago I got the game (can't remember where, though),
and I came across the data folder and found everything (except a few)
things to be in BIN format!
So if anybody knows how to rip from this, please help!


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - Daxar - 06-23-2015

I don't know much about mobile formats in general, but mind posting a couple of the files? It may be a proprietary format, but it's worth a shot seeing if anything can be pulled out.


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - supersmashball - 06-23-2015

Alright so here's a one of the things to check out:
Boss3.bin:http://www.fileconvoy.com/dfl.php?id=g81624e03fa2454109996822763e7fd6595d853bec


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - Daxar - 06-23-2015

Simple enough; those are just some PNG images spliced together with a little bit of extra data. Cut them apart from each other with a bit of hex editing and you get this:

[Image: boss3.png][Image: boss3-2.png][Image: boss3-3.png][Image: boss3-4.png]


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - supersmashball - 06-23-2015

Could you explain a bit more?
But anyways, THANK YOU SO MUCH!!!!!!!


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - Daxar - 06-23-2015

I opened the file in what's called a hex editor (In my case, I used HxD, though any hex editor will work), which basically just looks at the raw data of a file, and lets you edit it. Very useful for reverse engineering file formats. Here's what it looks like:

[Image: hexedit.png]

The "‰PNG" part I have selected (89 50 4E 47 in hexadecimal) is the standard first four bytes of a PNG header, so I know a PNG image follows. Cutting out the file from the beginning of that to just before the beginning of the next "‰PNG" I found (the next PNG header) gives me a whole PNG image, so I just saved that out as a .png, and there you go. It looks to be just four bytes before the beginning of each PNG image (the 00 00 F3 1B at the beginning of the file here).

Make any sense at all? If not I can probably make a small program to rip it out for you. I really should learn BMS sometime so this sort of thing is easier...


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - supersmashball - 06-23-2015

Just got HxD now.
Gonna try it.
But just in case, please TRY to make a program?
I really want to help the Resources.


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - Ploaj - 06-23-2015

Here you go: https://www.dropbox.com/s/bp1henmmxzr07ld/PNGExtract.jar?dl=1

Just run it and drag a bin file onto the window, and it will export all the pngs it finds. (albeit in the hackiest way possible. the 4 bytes before the png headers actually tell the size of it)


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - supersmashball - 06-23-2015

Thank you!!!!!!


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - Daxar - 06-24-2015

Huh, for some reason I didn't realize that was image size. Derp.

Anyway, thanks Ploaj! I've been awful busy with work as of late...


RE: How to Rip from Adventure Time: Heros of Ooo BIN files - supersmashball - 06-24-2015

Thanks for trying though, Daxar.
I tried doing what you asked, but when I copied the
PNG header, saved it as PNG, and tried to view it,
no preview loaded.
But anyways, I browsed through some Kirby junk
and found (I think) Ploaj's script for CMP files,
and luckily enough, I still had an extracted
version of Kirby Wii and opened the script,
and it worked!
So now, I will be furthermore extracting
Kirby stuff.