Battle Engine Aquila (.aya)

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
Notfounded
ultra-n00b
Posts: 4
Joined: Sun Nov 30, 2014 1:12 pm
Has thanked: 1 time

Battle Engine Aquila (.aya)

Post by Notfounded »

The only attempt to decompress these files was made in 2005 (I believe that this is the compression method, because both textures and models are in this format)

Here some samples of the file:
https://drive.google.com/file/d/0B4uKIP ... sp=sharing (model)

https://drive.google.com/file/d/0B4uKIP ... sp=sharing (texture)

and some kind of resources (I really don't know what kind of resources it is)
https://drive.google.com/file/d/0B4uKIP ... sp=sharing

Any ideas how to decompress these files?
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4134
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1124 times
Been thanked: 2154 times

Re: Battle Engine Aquila (.aya)

Post by shakotay2 »

use offzip:
meshtex---aya.JPG
Finds 4 valid zip blocks in 110_res_PC.aya)

Use forum search on how to use offzip.
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Some things will never change. [roll]
"You quoted the whole thing, what a mess."
Notfounded
ultra-n00b
Posts: 4
Joined: Sun Nov 30, 2014 1:12 pm
Has thanked: 1 time

Re: Battle Engine Aquila (.aya)

Post by Notfounded »

shakotay2 wrote:use offzip:
meshtex---aya.JPG
Finds 4 valid zip blocks in 110_res_PC.aya)

Use forum search on how to use offzip.
Thank you!

After editing of textures i want to use them in game

Is it possible to compress them in this format using packzip? (I try to compress with original offset but it don't work. Did i do something wrong?)
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4134
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1124 times
Been thanked: 2154 times

Re: Battle Engine Aquila (.aya)

Post by shakotay2 »

Notfounded wrote:Did i do something wrong?)
dunno.
Talking about the "meshtex...aya"?
Guess you'll need to know the meaning of its first four bytes: E7 C3 02 00
Thought it were the uncompressed size but seems it's not.

(78 9C marks the start of zip-compressed data)

I would suggest to compress the unchanged dds and compare it to the original .aya in a hexeditor.
This might give you an idea what's going wrong with your proceeding.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Some things will never change. [roll]
"You quoted the whole thing, what a mess."
Notfounded
ultra-n00b
Posts: 4
Joined: Sun Nov 30, 2014 1:12 pm
Has thanked: 1 time

Re: Battle Engine Aquila (.aya)

Post by Notfounded »

shakotay2 wrote:
Notfounded wrote:Did i do something wrong?)
dunno.
Talking about the "meshtex...aya"?
Guess you'll need to know the meaning of its first four bytes: E7 C3 02 00
Thought it were the uncompressed size but seems it's not.

(78 9C marks the start of zip-compressed data)

I would suggest to compress the unchanged dds and compare it to the original .aya in a hexeditor.
This might give you an idea what's going wrong with your proceeding.
The new file has a different size and when I compared it and the old file through the hex editor and found that they're different, I tried to edit the beginning of a new file, so it was like at the beginning of the old file (or even copy it)
But new file still don't works.

I think it is because game uses different zlib version (11 Marth 2002) (I do not quite understand the theme about file compression. Because of this, I can not find any other reason.)
Post Reply