READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

.MDA (RAYS MEDIA FILE). From Myth War II.

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Nazaroff
advanced
Posts: 40
Joined: Mon Oct 11, 2010 12:30 pm
Has thanked: 7 times
Been thanked: 12 times

.MDA (RAYS MEDIA FILE). From Myth War II.

Post by Nazaroff » Tue Sep 04, 2012 8:54 am

*.MDA is a container.

Structure:
typedef struct header{
char ID[16];// = "RAYS MEDIA FILE\0";
int unkn1a[2];
int filescount;// number of files in this container
int unkn1b[3];
} header;
typedef struct filedescriptor{
char filename[32];//with trash (?) after first '\n'
int offset;//offset from beginning of file to IMG256
int size;// size of IMG256
} filedescriptor;
typedef struct IMG256{
char ID[16];//= "RAYS IMG256 FILE";
int unkn2[4];
int size_of_data;
char palette[3*256];
int offset_to_data;//offset from begin of this struct; always 0x328;
char pixeldata[size_of_data];
} IMG256;

So, format of pixeldata in IMG256 is unknown, width and height are unknown too. Pixel data looked like packed (RLE?).

If anyone can help... welcome!

Screen from game:
Image
Image
You do not have the required permissions to view the files attached to this post.

Nazaroff
advanced
Posts: 40
Joined: Mon Oct 11, 2010 12:30 pm
Has thanked: 7 times
Been thanked: 12 times

Re: .MDA (RAYS MEDIA FILE). From Myth War II.

Post by Nazaroff » Wed Sep 26, 2012 6:09 pm

Now extractor is ready. http://www.multiupload.nl/4ME13CZKZZ

Few examples:
Image Image Image
Image
You do not have the required permissions to view the files attached to this post.

koriotto
ultra-n00b
Posts: 2
Joined: Sat Mar 25, 2017 10:14 pm
Has thanked: 1 time

Re: .MDA (RAYS MEDIA FILE). From Myth War II.

Post by koriotto » Sun Mar 26, 2017 5:10 pm

Hello!!
VERY LATE but hope you see it somehow...
Can you post an exe that does the opposite now? TGA into MDA (to edit image repack and use on the game itself)

Post Reply