Help us keep the site up! Got some change to spare? Why not donate a few bits and buy us a coffee. Image

.TGAM encrypted/compressed TGA file? (Wakfu)

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
theVet
ultra-n00b
Posts: 1
Joined: Fri Sep 20, 2013 11:28 am

.TGAM encrypted/compressed TGA file? (Wakfu)

Post by theVet »

Hey guys

I've been snooping around a bit in free mmorpg Wakfu's .jar archives and found these .tgam files. They seem to be packed or maybe even encrypted TGA files. I noticed that new game patches simlpy override these by replacing the XML definition of the filename with a new one (funny enough a NORMAL .tga file, lazy devs :)). But I haven't found a way to take a look at these "old" TGAM files. There's an outdated TGAM viewer here but it seems like the company changed the file structure since it was released as it spits out half garbage half image now.

Here are four random tgam files from gfx.jar: https://www.zeta-uploader.com/1708963874

Would appreciate any help you can give me
ner0
advanced
Posts: 50
Joined: Sun Aug 28, 2011 4:47 pm
Has thanked: 28 times
Been thanked: 4 times

Re: .TGAM encrypted/compressed TGA file? (Wakfu)

Post by ner0 »

I was linked here by your other topic named "100$ paypal if you can help me with this sprite format", I couldn't help myself but check what it was all about. I am not in a position to help but neither will be anyone else since it seems the link you posted is broken. Just thought you would want to know since you seem so determined in getting help. :wink:
Julien
ultra-n00b
Posts: 1
Joined: Tue Oct 11, 2011 7:55 pm

Re: .TGAM encrypted/compressed TGA file? (Wakfu)

Post by Julien »

Those files do not seem to be encrypted. They have a custom 20-byte header followed by raw data.

Code: Select all

struct {
    CHAR tag[4];
    WORD width;
    WORD height;
    WORD unknown1;
    WORD unknown2;
    WORD unknown3;
    WORD unknown4;
    WORD unknown5;
    WORD unknown6;
}
I didn't have time to go further and figure out all the parts of the header (looks like there might be bpp and stride in there) but hopefully that can get you started.

Good luck!
You do not have the required permissions to view the files attached to this post.
babinetia
ultra-n00b
Posts: 1
Joined: Thu May 10, 2012 7:38 pm

Re: .TGAM encrypted/compressed TGA file? (Wakfu)

Post by babinetia »

this topic is stil lalive from 2013?
Post Reply