User:Pkmnfrk/Menus.bin

From OHRRPGCE-Wiki

Jump to: navigation, search
This article discusses a brand new feature which is not included in the latest stable version, and may not even be in the next stable version. It can, however, be found in a nightly build, which can be found on the Downloads page. If you wish to discuss this feature, feel free to use the talk page.

MENUS.BIN holds definitions of menu items.

About Formal Specs

Offset Data Meaning
0 - 11STR (20) (1i + 10i)Name of Menu (for Custom, mainly)
12INT (1)Number of menu items (up to 10)
13INT (2)Bitsets:

0 - Background is fuzzy (vs solid)
1 - No background 2 - Quit to last menu when closed instead of quitting all menus (or other way around?)

15INT (1)Background colour
16INT (1)Foreground colour
17INT (1)Foreground highlight colour
18INT (1)Foreground highlight colour 2 (flashing)
19INT (1)Disabled foreground colour
20INT (1)X Position (Centered around?)
21INT (1)Y Position
22 + Menu Item x XX STR (30) (1i + 15i) Menu Item Text
INT (1) Enabler tag: 0 = always enabled, < 0 = enabled if tag is off, > 0 = enabled if tag is on
INT (1) Bitsets

0 - Display even if disabled

INT (1) Entry type

1) Special - Includes Item, Equip, Spell, Status, Volume, Exit, etc... sybtype tells which one.
2) Submenu - subtype tells which menu to jump to.
3) Textbox - subtype tells which textbox to display
4) Script - subtype tells which script to run
5) Toggle Tag - subtype tells which tag to toggle
6) Set Tag - subtype tells which tag to set (negative to unset)

INT (1) Subtype (meaning varies depending on Entry type)

ARCHINYM.LMP . BROWSE.TXT . ATTACK.BIN . BINSIZE.BIN . DEFPAL#.BIN . DEFPASS.BIN . FIXBITS.BIN . LOOKUP.BIN . MENUS.BIN . MENUITEM.BIN . PALETTES.BIN . PLOTSCR.LST . SFXDATA.BIN . SONGDATA.BIN . UICOLORS.BIN . GEN . BAM . Map Format . T . P . E . D . L . N . DOR . DOX . DT0 . DT1 . DT6 . EFS . FOR . FNT . HSP . HSZ . ITM . MAP . MAS . MN . MXS . PAL . PT0 . PT1 . PT2 . PT3 . PT4 . PT5 . PT6 . PT7 . PT8 . SAY . SHO . SNG . STF . STT . TAP . TIL . TMN . VEH

Personal tools