Users browsing this thread: 4 Guest(s)
Ducktales Remastered
#49
I was just saving the images as PNG just so I could be sure everything was correct, and I figured you guys were after the images, anyway. Mostly the images are stored as compressed raw pixel data, not in some kind of usable format.

I didn't really look into the ANB format any more than I had to; there's a LOT of data in those files that I just ignore. Some of it may be important for different things. What my program does is search through the file until it encounters a ZLFW header (Which denotes a wflz-compressed image in a set of chunks), and decompresses that. Once that is done, you're left with some raw DXT1-compressed image data (which is actually two images; one for the color map and the other for the multiply map). Parsing back a bit from the original ZLFW header, you can get a header that contains those image's width and height, and I pass the width and height along to libsquish to get raw RGBA data out. From there, I multiplied the alpha and color maps together using the algorithm they used (Different from a standard multiply) and saved the result to PNG.

That's what the first program of mine puggsoy posted here did, anyway. My new one then searches back through the ANB file until it stumbles across data that looks like it might be a piece header, and follows that to find the UV and texture coordinates to figure out what parts of each image go where. This part's kinda hackish, and for all I know doesn't work with some files just because they've got data that'll fool my code into thinking it found a header, but it generally seems to have fairly good results. It's pretty slow, but they're small files and images, anyway.

As far as I know, there isn't any standard sort of DDS or DXT header, though I haven't researched the formats much at all. From what it looked like, however, it's all proprietary stuff that no other format uses, hence the need for specialized tools to get meaningful data out.

I can change the program to stop at any particular point if you think it'd help. The thing is that some of the ANB files may not have actual image data inside them, hence no output/botched output. Some images could even be 24-bit for all I know. Having the raw pixel data may help in that regard; I dunno.
Thanked by: puggsoy, Carpaccio


Messages In This Thread
Ducktales Remastered - by Carpaccio - 08-14-2013, 10:48 PM
RE: Ducktales Remastered? - by puggsoy - 08-15-2013, 12:44 AM
RE: Ducktales Remastered? - by Carpaccio - 08-15-2013, 01:10 AM
RE: Ducktales Remastered? - by puggsoy - 08-15-2013, 02:03 AM
RE: Ducktales Remastered? - by Ton - 08-15-2013, 10:19 AM
RE: Ducktales Remastered? - by Carpaccio - 08-15-2013, 11:11 AM
RE: Ducktales Remastered? - by Ton - 08-15-2013, 12:35 PM
RE: Ducktales Remastered? - by Carpaccio - 08-15-2013, 12:44 PM
RE: Ducktales Remastered? - by Ploaj - 08-15-2013, 10:19 PM
RE: Ducktales Remastered? - by Ton - 08-15-2013, 11:23 PM
RE: Ducktales Remastered? - by redblueyellow - 08-16-2013, 02:03 AM
RE: Ducktales Remastered? - by AkumaTh - 08-16-2013, 08:13 PM
RE: Ducktales Remastered? - by Carpaccio - 08-16-2013, 08:44 PM
RE: Ducktales Remastered? - by Carpaccio - 08-17-2013, 07:55 AM
RE: Ducktales Remastered? - by redblueyellow - 08-17-2013, 10:51 AM
RE: Ducktales Remastered? - by Carpaccio - 08-17-2013, 01:24 PM
RE: Ducktales Remastered? - by Carpaccio - 08-21-2013, 03:13 PM
RE: Ducktales Remastered? - by Neros Urameshi - 08-22-2013, 07:46 PM
RE: Ducktales Remastered? - by Raccoon Sam - 08-23-2013, 04:08 AM
RE: Ducktales Remastered? - by Raccoon Sam - 08-23-2013, 05:38 AM
RE: Ducktales Remastered? - by Ton - 08-23-2013, 01:31 PM
RE: Ducktales Remastered? - by Peardian - 08-23-2013, 11:33 PM
RE: Ducktales Remastered? - by Carpaccio - 08-24-2013, 08:10 PM
RE: Ducktales Remastered? - by Ton - 08-24-2013, 09:10 PM
RE: Ducktales Remastered? - by TheShyGuy - 08-26-2013, 05:44 PM
RE: Ducktales Remastered? - by redblueyellow - 08-27-2013, 04:54 PM
RE: Ducktales Remastered? - by redblueyellow - 08-31-2013, 11:48 AM
RE: Ducktales Remastered? - by puggsoy - 08-31-2013, 10:47 PM
RE: Ducktales Remastered? - by puggsoy - 09-04-2013, 12:49 AM
RE: Ducktales Remastered? - by Carpaccio - 09-07-2013, 09:28 AM
RE: Ducktales Remastered? - by Dazz - 09-11-2013, 03:15 AM
RE: Ducktales Remastered? - by puggsoy - 09-11-2013, 04:25 AM
RE: Ducktales Remastered? - by Ton - 09-11-2013, 09:57 AM
RE: Ducktales Remastered? - by puggsoy - 09-11-2013, 05:12 PM
RE: Ducktales Remastered? - by puggsoy - 09-12-2013, 05:15 AM
RE: Ducktales Remastered? - by Carpaccio - 09-12-2013, 02:34 PM
RE: Ducktales Remastered - by Random Talking Bush - 09-12-2013, 02:55 PM
RE: Ducktales Remastered - by Daxar - 09-12-2013, 05:05 PM
RE: Ducktales Remastered - by Ton - 09-12-2013, 05:57 PM
RE: Ducktales Remastered - by Random Talking Bush - 09-12-2013, 06:46 PM
RE: Ducktales Remastered - by puggsoy - 09-12-2013, 06:53 PM
RE: Ducktales Remastered - by Daxar - 09-12-2013, 07:33 PM
RE: Ducktales Remastered - by Random Talking Bush - 09-13-2013, 01:24 PM
RE: Ducktales Remastered - by Daxar - 09-13-2013, 05:45 PM
RE: Ducktales Remastered - by Carpaccio - 09-13-2013, 06:29 PM
RE: Ducktales Remastered - by Random Talking Bush - 09-13-2013, 06:52 PM
RE: Ducktales Remastered - by Daxar - 09-13-2013, 08:28 PM
RE: Ducktales Remastered - by Dazz - 11-15-2013, 06:17 AM
RE: Ducktales Remastered - by Carpaccio - 11-21-2013, 08:33 AM
RE: Ducktales Remastered - by Deathbringer - 11-21-2013, 09:27 AM
RE: Ducktales Remastered - by Cyrus Annihilator - 11-21-2013, 09:09 AM
RE: Ducktales Remastered - by Ton - 11-21-2013, 10:17 AM
RE: Ducktales Remastered - by Random Talking Bush - 11-21-2013, 03:06 PM
RE: Ducktales Remastered - by Dazz - 11-21-2013, 04:18 PM
RE: Ducktales Remastered - by Carpaccio - 11-21-2013, 09:12 PM
RE: Ducktales Remastered - by Random Talking Bush - 01-24-2014, 05:43 PM
RE: Ducktales Remastered - by mr.walter - 01-25-2014, 01:40 PM
RE: Ducktales Remastered - by Daxar - 05-26-2014, 02:22 PM
RE: Ducktales Remastered - by Toonwriter - 01-25-2014, 02:43 PM
RE: Ducktales Remastered - by mr.walter - 02-06-2014, 05:50 PM
RE: Ducktales Remastered - by Carpaccio - 02-07-2014, 07:40 AM
RE: Ducktales Remastered - by Mystie - 02-07-2014, 01:12 PM
RE: Ducktales Remastered - by Random Talking Bush - 02-07-2014, 03:51 PM
RE: Ducktales Remastered - by mr.walter - 02-12-2014, 06:46 PM
RE: Ducktales Remastered - by Random Talking Bush - 02-12-2014, 06:53 PM
RE: Ducktales Remastered - by Carpaccio - 02-12-2014, 08:41 PM
RE: Ducktales Remastered - by mr.walter - 02-12-2014, 11:06 PM
RE: Ducktales Remastered - by mr.walter - 04-18-2014, 12:28 AM
RE: Ducktales Remastered - by Deathbringer - 04-18-2014, 05:10 AM
RE: Ducktales Remastered - by mr.walter - 04-18-2014, 02:31 PM
RE: Ducktales Remastered - by mr.walter - 04-25-2014, 11:22 PM
RE: Ducktales Remastered - by Deathbringer - 04-26-2014, 02:44 AM
RE: Ducktales Remastered - by Neros Urameshi - 05-13-2014, 11:38 AM
RE: Ducktales Remastered - by Dazz - 05-28-2014, 02:50 AM
RE: Ducktales Remastered - by EvaXephon - 06-23-2014, 12:04 AM
RE: Ducktales Remastered - by Daxar - 06-23-2014, 05:57 AM
RE: Ducktales Remastered - by EvaXephon - 06-23-2014, 10:57 AM
RE: Ducktales Remastered - by Daxar - 06-30-2014, 08:37 PM
RE: Ducktales Remastered - by EvaXephon - 07-01-2014, 01:51 PM
RE: Ducktales Remastered - by Daxar - 07-01-2014, 06:21 PM
RE: Ducktales Remastered - by Random Talking Bush - 07-01-2014, 07:17 PM
RE: Ducktales Remastered - by Daxar - 07-01-2014, 08:32 PM
RE: Ducktales Remastered - by woodhu_man - 07-02-2014, 12:59 AM
RE: Ducktales Remastered - by Daxar - 07-02-2014, 02:53 PM
RE: Ducktales Remastered - by puggsoy - 07-02-2014, 06:28 PM
RE: Ducktales Remastered - by Daxar - 07-05-2014, 07:27 AM
RE: Ducktales Remastered - by redblueyellow - 07-05-2014, 10:38 AM
RE: Ducktales Remastered - by Dazz - 07-05-2014, 09:59 AM

Forum Jump: