OBD:WMDD
Main Page >> Oni Binary Data >> File Types >> WMDD File
WM (Window Menu) Dialog Data - Level 0 File
The image below shows the beginning of the file with the settings of the main window.
| Hex | Translation | Meaning | ||||||||||||||||||||||||||||||||||||||||||||||||
| 01 05 06 00 | 1541 | 01541-dialog_mainmenu.WMDD | ||||||||||||||||||||||||||||||||||||||||||||||||
| 01 00 00 00 | 0 | level 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Main Menu | title of the window | |||||||||||||||||||||||||||||||||||||||||||||||||
| 96 00 00 00 | 150 | identification number, that this is the main menu dialog; do not change it | ||||||||||||||||||||||||||||||||||||||||||||||||
| 01 00 00 00 | 1 | window status; the following types are possible:
  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 00 00 | 0 | window design; the design is stored as bits, so  the following bits are possible:
 that's it; now the big block above (including the small block) runs in a loop too; so it doesn't make any difference if you write for example 0C 00 or 8C 00 or 0C 55 or 8C B3; you will always get a light lila coloured title bar + title  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 01 00 | 1 | window position; the following positions are possible:
 00 - the window is located in the upper left corner of the screen  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 00 00 00 00 | 0 | unknown | ||||||||||||||||||||||||||||||||||||||||||||||||
| 80 02 | 640 | width of the window | ||||||||||||||||||||||||||||||||||||||||||||||||
| E0 01 | 480 | height of the window | ||||||||||||||||||||||||||||||||||||||||||||||||
| 06 00 00 00 | 6 | 6 entries follow | ||||||||||||||||||||||||||||||||||||||||||||||||
The following pic gives an example of an entry of the the main window (area edged in black).
| Hex | Translation | Meaning | 
| New Game | button text | |
| 04 00 | 4 | button type | 
| 64 00 | 100 | button is enabled + link to the window; the links for this file are:
 64 - "new game" window  | 
| 01 00 | 1 | button options | 
| 00 00 | 0 | unknown | 
| 00 00 | 0 | window design, see table above | 
| 03 00 | 3 | visible option; the following options are possible:
 00 - nothing  | 
| 5E 01 | 350 | x-position of the button (from the upper left corner of the window) | 
| E6 00 | 230 | y-position of the button (from the upper left corner of the window) | 
| B4 00 | 180 | x-dimension of the button (width) | 
| 28 00 | 40 | y-dimension of the button (height) | 
| 01 02 00 00 | 2 | link to 00002-Tahoma.TSFF? | 
| 01 00 | 1 | font option; the following options are possible:
 00 - normal font  | 
| 00 00 | 0 | unknown | 
| 00 7F FF | 0, 127, 255 | font color (0 = blue part, 127 = green part, 255 = red part) | 
| FF | 255 | unknown | 
| 00 00 | 0 | unknown | 
| 0A 00 | 10 | font size | 
Main Page >> Oni Binary Data >> File Types >> WMDD File