Important information: this site is currently scheduled to go offline indefinitely by end of the year.

.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 »

*.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 »

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 »

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)
marbo89
ultra-n00b
Posts: 1
Joined: Thu Oct 31, 2019 5:56 pm

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

Post by marbo89 »

Hi, I know is an old post but how did you manage to open and edit the extracted files. Thnx.
Post Reply