Krrios File Format Reference

Colors
Index Files
Anim.mul
Anim.idx
AnimData.mul
Art.mul
ArtIdx.mul
Fonts.mul
GumpArt.mul
GumpIdx.mul
Hues.mul
Light.mul
LightIdx.mul
Map<n>.mul
MultiMap.rle
Multi.mul
Multi.idx
Palette.mul
RadarCol.mul
SJIS2Uni.mul
SkillGrp.mul
Skills.mul
Skills.idx
Sound.mul
SoundIdx.mul
Speech.mul
StaIdx<n>.mul
Statics<n>.mul
TexIdx.mul
TexMaps.mul
TileData.mul
UniFont[n].mul
VerData.mul

Back to Reference

Maps

Data File: Map<n>.mul

This file has no indexer. Directly after one block ends, another begins.

Block:

int header; // Unknown
Cells...

Each block contains 64 cells, treated as an 8x8 matrix loaded left to right, top to bottom.

Cell:

short TileID;
sbyte Z;

You can seek to a certain block, by knowing the map height.
- For Map0.mul, the block width and height is 768x512.
- For Map2.mul, it's 288x200.

The algorithm used to find the block lookup is:
((XBlock * BlockHeight) + YBlock) * 196
From there, the offset to a certain cell is:
((CellY * 8) + CellX) * 3

See Also:
 - Statics
 - Radar Colors