The Forum is up for sale: XeNTaX Forum looking for new owner
age of empires 2 terrain edges
age of empires 2 terrain edges
The contents of this post was deleted because of possible forum rules violation.
Re: age of empires 2 terrain edges
ok I managed to parse the file
the final structure is as follows:
I used Ida Pro first time i tried to debug this and because of the video mode I just couldn't switch to the debugger. Now I used olly and it worked just fine.
the rendered tiles look like this:

and the 1bit masks look like this:

the final structure is as follows:
Code: Select all
uint32: nr of blending modes (9)
uint32: nr of tiles(31)
for (i=0;i<nr of blendingmodes)
{
uint32: tilesize(2353, that`s 48*49 pixels);
31bytes: tileflags(they are all 1);
4*blocksize bytes which are 32 interleaved tiles representing 1 bit alpha masks, don't know how this is used for
for (j=0;j<nr of tiles)
{
blocksize bytes: the actual tile pixels; starting from the top .. rendered in the isometric tile format
}
}the rendered tiles look like this:

and the 1bit masks look like this:

Re: age of empires 2 terrain edges
The contents of this post was deleted because of possible forum rules violation.
Believe my eyes, my brain complies.
