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

Unicode Fonts

Data File: UniFont[n].mul

This file begins with a lookup table:

Lookup Table:

int[0x10000] lookupTable;

You can then find the data by seeking to lookupTable[charID]

Data:

byte xOffset;
byte yOffset;
byte xWidth;
byte yHeight;
Scanline Data...

Scanlines are padded on a byte-boundary; for each scanline, you will have ((xWidth - 1) / 8) + 1 bytes of data:

Scanline Byte:

7654321 0
8 pixels at 1-bpp

Bits are loaded high to low; bit 7 (mask: 0x80) would be the first pixel.
If the bit value is 0, color is transparent, else, color is forecolor.

See Also:
 - SJIS To UniFont Table