MOS file format
    Applies to:
    BGEE, BG2EE
    General Description
    
      This file format describes static graphics in a tile based bitmap format. Such files are used for mini-maps and GUI backgrounds.
    
    
    
    
    
    
    
    | Offset | Size (data type) | Description | 
|---|---|---|
| 0x0000 | 4 (char array) | Signature ('MOS ') | 
| 0x0004 | 4 (char array) | Version ('V2 ') | 
| 0x0008 | 4 (dword) | Width (pixels) | 
| 0x000c | 4 (dword) | Height (pixels) | 
| 0x0010 | 4 (dword) | Number of data blocks | 
| 0x0014 | 4 (dword) | Offset to data blocks | 
| Offset | Size (data type) | Description | 
|---|---|---|
| 0x0000 | 4 (dword) | PVRZ page  Refers to MOSxxxx.PVRZ files, where xxxx is a zero-padded four-digits decimal number.  | 
          
| 0x0004 | 4 (dword) | Source x coordinate | 
| 0x0008 | 4 (dword) | Source y coordinate | 
| 0x000c | 4 (dword) | Width | 
| 0x0010 | 4 (dword) | Height | 
| 0x0014 | 4 (dword) | Target x coordinate | 
| 0x0018 | 4 (dword) | Target y coordinate |