Users browsing this thread: 1 Guest(s)
iPhone sprite ripping
#26
I have successfully written code that generates the splash screens as PNGs from the BAR files. Works very well and is a good bit quicker than by hand Wink

The only issue is that while I can see the data for the image dimensions in the file, I don't know how to derive it's position automatically. The only reason I could get the splash screens is because I know their dimensions already and can just type them in.

So yeah, now I'm just trying to figure out how to get the dimensions. Once I know that though, I'm pretty sure it should work with any BAR file.

EDIT: BARExtractor0.1
There ya go. I didn't figure out how to get the dimensions data, but I figured out an alternative way of deriving the width and height using the chunk data. I'm pretty proud of myself to be honest Smile

This will, hopefully, extract the images from res_splash.bar, and any file with the word "sprites" in its name. I would like to stress the point that any other BAR files will most likely fail to extract anything, that includes res_sprite_pic.bar. I've tried this one in specific and while it does indeed have sprites, they're in a different format. Unfortunately this one seems to contain character parts, which are put together with other files. Since you'll probably want these as well, I will try and see what I can do.

But for now, this should be able to extract most of the backgrounds and environments. Due to things like layering and collisions, stuff won't necessarily be all nice and dandy right away (bits and pieces might be separate, like the bench in res_centralpark.bar), but it's perfect for ripping and submitting here. It should be fairly easy to put it together yourself though.
(By the way, if you don't intend on submitting these here yourself please say, then I might be able to.)

In any case, enjoy! Usage instructions can be found in the readme. Be sure to tell me if you encounter any bugs or something doesn't work right.
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
Thanked by: Garamonde, jirachiband


Messages In This Thread
iPhone sprite ripping - by jirachiband - 10-30-2013, 01:15 PM
RE: iPhone sprite ripping - by Garamonde - 10-30-2013, 03:37 PM
RE: iPhone sprite ripping - by jirachiband - 10-30-2013, 04:38 PM
RE: iPhone sprite ripping - by jirachiband - 10-31-2013, 11:34 AM
RE: iPhone sprite ripping - by Raccoon Sam - 11-01-2013, 07:32 AM
RE: iPhone sprite ripping - by jirachiband - 11-01-2013, 02:25 PM
RE: iPhone sprite ripping - by Garamonde - 11-01-2013, 02:51 PM
RE: iPhone sprite ripping - by ThomasSpeedrunner - 11-01-2013, 03:20 PM
RE: iPhone sprite ripping - by jirachiband - 11-01-2013, 03:45 PM
RE: iPhone sprite ripping - by Garamonde - 11-01-2013, 04:08 PM
RE: iPhone sprite ripping - by jirachiband - 11-01-2013, 04:21 PM
RE: iPhone sprite ripping - by puggsoy - 11-01-2013, 04:40 PM
RE: iPhone sprite ripping - by jirachiband - 11-01-2013, 05:02 PM
RE: iPhone sprite ripping - by puggsoy - 11-01-2013, 06:40 PM
RE: iPhone sprite ripping - by jirachiband - 11-01-2013, 06:48 PM
RE: iPhone sprite ripping - by puggsoy - 11-01-2013, 06:53 PM
RE: iPhone sprite ripping - by jirachiband - 11-01-2013, 07:09 PM
RE: iPhone sprite ripping - by puggsoy - 11-01-2013, 08:20 PM
RE: iPhone sprite ripping - by jirachiband - 11-01-2013, 11:04 PM
RE: iPhone sprite ripping - by puggsoy - 11-02-2013, 02:59 AM
RE: iPhone sprite ripping - by jirachiband - 11-02-2013, 12:33 PM
RE: iPhone sprite ripping - by puggsoy - 11-03-2013, 04:41 AM
RE: iPhone sprite ripping - by jirachiband - 11-03-2013, 03:06 PM
RE: iPhone sprite ripping - by puggsoy - 11-04-2013, 06:23 PM
RE: iPhone sprite ripping - by jirachiband - 11-05-2013, 12:34 PM
RE: iPhone sprite ripping - by puggsoy - 11-05-2013, 05:30 PM
RE: iPhone sprite ripping - by jirachiband - 11-06-2013, 02:22 AM
RE: iPhone sprite ripping - by jirachiband - 11-06-2013, 06:28 PM
RE: iPhone sprite ripping - by puggsoy - 11-06-2013, 07:17 PM
RE: iPhone sprite ripping - by jirachiband - 11-07-2013, 07:38 PM
RE: iPhone sprite ripping - by jirachiband - 11-11-2013, 09:54 PM
RE: iPhone sprite ripping - by puggsoy - 11-11-2013, 10:41 PM
RE: iPhone sprite ripping - by jirachiband - 11-13-2013, 09:05 PM
RE: iPhone sprite ripping - by jirachiband - 11-27-2013, 04:15 PM
RE: iPhone sprite ripping - by puggsoy - 11-27-2013, 05:38 PM
RE: iPhone sprite ripping - by puggsoy - 01-19-2014, 10:54 PM

Forum Jump: