Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

ipod .ani + .gtl files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Doctor Loboto
mega-veteran
mega-veteran
Posts: 213
Joined: Mon Oct 06, 2008 2:52 am
Has thanked: 21 times
Been thanked: 3 times

ipod .ani + .gtl files

Post by Doctor Loboto »

Hello fellows. I've been trying to extract graphics from a game for the ipod touch. Specifically, Wackylands Boss. I was hoping they would be as simple as other chillingo games what with the convertable PNGs. Turns out they're another common method in ipod games. ".ANI" files, which are used commonly in various other cartoonish games.

Anyway, here's a few sample files.
http://www.sendspace.com/file/5xug7c
This zip file holds a folder containing various ANI files. If you need any more, just ask.

As usual the goal here is to extract the graphics, as they ARE graphic files.
Last edited by Doctor Loboto on Thu Dec 30, 2010 8:54 am, edited 1 time in total.
Doctor Loboto
mega-veteran
mega-veteran
Posts: 213
Joined: Mon Oct 06, 2008 2:52 am
Has thanked: 21 times
Been thanked: 3 times

Re: ipod .ani files

Post by Doctor Loboto »

Aha, sorry, I forgot to include the referenced .gtl files for the .ani files.

Here they are.
http://www.sendspace.com/file/8rlky8
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: ipod .ani files

Post by WRS »

pretty sure these are just the coordinates for the sprite animations

looked up a gameplay video. the sprite parts are just translated around the screen. plus those filenames are a dead giveaway :oops: sorry
Useful tool links:
Doctor Loboto
mega-veteran
mega-veteran
Posts: 213
Joined: Mon Oct 06, 2008 2:52 am
Has thanked: 21 times
Been thanked: 3 times

Re: ipod .ani files

Post by Doctor Loboto »

I realized that quickly, but I found the archives that contain the sprite components I believe. The above .GTL files seem to be it.
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: ipod .ani files

Post by WRS »

ah yes!

have you checked out existing converters?

https://github.com/cocos2d/cocos2d-ipho ... ure.m#L121
Useful tool links:
Doctor Loboto
mega-veteran
mega-veteran
Posts: 213
Joined: Mon Oct 06, 2008 2:52 am
Has thanked: 21 times
Been thanked: 3 times

Re: ipod .ani files

Post by Doctor Loboto »

Ahaha...hoo boy...that would probably work if I knew what to do with it. I'm not very well educated on scripts...
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: ipod .ani files

Post by WRS »

the pvr header isn't the same for this file

Code: Select all

typedef struct _PVRTexHeader
{
    uint32_t headerLength;
    uint32_t height;
    uint32_t width;
    uint32_t numMipmaps;
    uint32_t flags;
    uint32_t dataLength;
    uint32_t bpp;
    uint32_t bitmaskRed;
    uint32_t bitmaskGreen;
    uint32_t bitmaskBlue;
    uint32_t bitmaskAlpha;
    uint32_t pvrTag;   << expected to be ASCII "PVR!"
    uint32_t numSurfs;
} PVRTexHeader;
not sure what that means or if i found an outdated spec
Useful tool links:
Doctor Loboto
mega-veteran
mega-veteran
Posts: 213
Joined: Mon Oct 06, 2008 2:52 am
Has thanked: 21 times
Been thanked: 3 times

Re: ipod .ani files

Post by Doctor Loboto »

So I couldn't use this even if I knew how?

Ah man...this seems like it's gonna be another dead end for me...

Is there any hope for a simple method like xoring and running through filestripper, or maybe renaming it to a different, extractable archive?
Doctor Loboto
mega-veteran
mega-veteran
Posts: 213
Joined: Mon Oct 06, 2008 2:52 am
Has thanked: 21 times
Been thanked: 3 times

Re: ipod .ani + .gtl files

Post by Doctor Loboto »

D'oh...I really need to look at these things more carefully. I just noticed the significance of the 'PVR!' thing. I found it in the hex of the file I'm trying to extract. How would this script work if I were to utilize it? Is there an engine that runs it?
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: ipod .ani + .gtl files

Post by WRS »

its an apple thing. i really have no clue :keke: i used it as a reference for the file format

whats interesting about the enemiesc.gtl is the the magic (pvrTag) is at pos 43 and not 41
so oddly structured headers.

i've read up that the image size needs to be a power of 2, so instead of width and height, it could just store the "dimentions". maybe you should post in the graphic format section :|
Useful tool links:
Post Reply