Users browsing this thread: 1 Guest(s)
iPhone sprite ripping
#24
New discovery! Apparently the pixel data itself is also organised in chunks. Each chunk is preceded by a 32-bit unsigned integer stating the chunk's length.
Not only is this useful for reading in the pixel data, but it also explains why I had to increase the shift by 4 bytes for each chunk when I was ripping them with Texture Finder.

(By the way, when I say "unsigned integer", usually I actually have no idea whether it's signed or not. I haven't seen the highest bit set yet, so reading them as signed or unsigned shouldn't matter, but I don't see a use for negative numbers here so I'm just assuming it's unsigned.)

EDIT: Also fixed some errors that I just noticed in my last post.
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: 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: