Menu settings (quick reference)

Here is a list of the most useful MyE2B.cfg settings which affect the menu position/size/layout/behavour.
 
See the Sample_MyE2B.cfg file for more details of each setting and for many more menu settings.
 
This is NOT a sample MyE2B.cfg file - it just demonstrates some of the possible menu settings.
 
The MENU AREA should be kept free of all other text and animations.
 
# set graphics mode - use 800 (default - recommended) or 1024 (max)
# XY max - 1024x768 = 128 characters x 48 lines, 800x600 = 100 characters x 37 lines
set GMODE=800
 
# set the MENU WALLPAPER BACKGROUND - can use .bmp or .jpg or pure RRGGBB colour (e.g. 0xff0033)
set MYWBMP=/_ISO/sunset.bmp
 
# Main Menu Heading
set HEADING=\x20 EASY2BOOT - MAIN MENU  (%VER%) %B64%
# set start position of HEADING using HEADPOS=YYXX
set HEADPOS=0000
# Heading colour 0xRRGGBB
set HCOLOUR=0xFF0000
 
# Colour of Menu FOOTER text
set FCOLOUR=0x00FF00
# FOOTER help text position YYXX - for 800x600 try HBTM=3502, for 1024x768 try HBTM=4712
set HBTM=3502
# FOOTER help text
set HELPTEXT=HDD0 [F7]   Back [F8]   Reboot [F9]   Power Off [F10]  (%^LANG%)
 
# set text colours
color helptext=0xFFFFFF
color standard=0x994c00
color border=0xFF0000
color normal=0x777700
color highlight=0xFFFF00 ;; # yellow + background will be transparent
# highlight colour can also have a background colour
# color highlight=0x0022222200FFFF00  ;; # yellow + background will be 222222 (v. dark grey/black)
 
# width of menu border (0= no border)
set bdwidth=1
# right hand side starting column of menu (use 2 or more)
set rstart=3
# width of menu area
set menuw=62
# line at which to start menu area
set topstart=2
# number if menu items (=height of menu)
set noitems=24
# position of menu item help text
set tophelp=26
 
# hstart and hwidth do not normally need to be defined
# hstart = x position of menu help text (default = rstart-1), min = 1, 0=use menu width and menu start
# hwidth = width of menu help text (default = menuw+2), 0=use whole width - 2 x hstart
# Warning: Graphics corruption will occur if you exceed the width of the screen (hwidth+hstart < 100 for 800x600)!
set hwidth=70
set hstart=6
 
# set a short bar for background of highlighted menu entry
set SHORT_HL=1
 
# centre all menu headings within menu area
set CENTREHD=1
 
# centre the menu entries inside the menu area (and centre help text under menu)
setmenu --middle-align
 
# Don't show file extensions in menu
set EXTOFF=1
 
# Turn off auto-numbering
set AUTONUM=0
 
# Turn off the arrow menu pointer
setmenu --triangle-off
 
# AUTOMENU = OFF will disable the AUTOMENU jump feature and special grub4dos p, e, b, c keys must be lower case (don't hold down SHIFT key)
set AUTOMENU=OFF
 
# LARGE FONTS - FONTH specifies the font height - only values of 16 or 24 are allowed (default = 16 = full unifont character set)
# If you set FONTH=24 E2B will use a *limited* default set of 24-pixel high fonts
set FONTH=24
 
# set graphics mode - use 800 (default - recommended) or 1024 (max)
# XY max - 1024x768 = 128 characters x 48 lines, 800x600 = 100 characters x 37 lines
set GMODE=800
 
# set the MENU WALLPAPER BACKGROUND - can use .bmp or .jpg or pure RRGGBB colour (e.g. set MYWBMP=0xff0033)
set MYWBMP=/_ISO/sunset.bmp
 
# Main Menu Heading - show E2B version (%VER%) and 32\64-bit CPU type + Memory size (%B64%)
set HEADING=EASY2BOOT - MAIN MENU  (%VER%) %B64%
# set start position of HEADING using HEADPOS=YYXX, e.g.  0200 = 3rd line down, far left
set HEADPOS=0200
# Heading colour 0xRRGGBB
set HCOLOUR=0xFF0000
 
# Colour of Menu FOOTER text
set FCOLOUR=0x00FF00
# FOOTER help text position YYXX - for 800x600 try HBTM=3502, for 1024x768 try HBTM=4712
set HBTM=3502
# FOOTER help text - use %^LANG% to display the current menu language
set HELPTEXT=HDD0 [F7]   Back [F8]   Reboot [F9]   Power Off [F10]  (%^LANG%)
 
# set text colours 0xRRGGBB, standard is grub4dos console colour, normal is menu entry colour, highlight is the currently selected menu entry colour
color helptext=0xFFFFFF
color standard=0x994c00
color border=0xFF0000
color normal=0x777700
color highlight=0xFFFF00 ;; # yellow + background will be transparent
# highlight colour can also have a background colour
# color highlight=0x0022222200FFFF00  ;; # yellow + background will be 222222 (v. dark grey/black)
 
# width of menu border 0-4 (0= no border)
set bdwidth=1
 
#MENU AREA (for 800x600 we have rows 0-36 and columns 0-99)
# right hand side starting column of menu (use 2 or more)
set rstart=3
# width of menu area
set menuw=62
# line at which to start menu area
set topstart=2
# number of menu items (height of menu)
set noitems=24
 
# position of menu item help text
set tophelp=26
# menu entry help text additional settings - hstart and hwidth do not normally need to be defined
# hstart = x position of menu help text (default = rstart-1), min = 1, 0=use menu width and menu start
# hwidth = width of menu help text (default = menuw+2), 0=use whole width - 2 x hstart
# Warning: Graphics corruption will occur if you exceed the width of the screen (hwidth+hstart < 100 for 800x600)!
set hwidth=70
set hstart=6
 
# set a short bar for background of highlighted menu entry (only valid if background colour set for highlight colour)
set SHORT_HL=1
 
# centre all menu headings within menu area
set CENTREHD=1
 
# centre the menu entries inside the menu area (and also centre menu entry help text for menu)
setmenu --middle-align
 
# Show file extensions in menu
set EXTOFF=
 
# Turn off auto-numbering
set AUTONUM=0
 
# Turn off the arrow menu pointer
setmenu --triangle-off
 
# AUTOMENU = OFF will disable the AUTOMENU jump feature -  special grub4dos p, e, b, c menu keys must be lower case (don't hold down SHIFT key)
set AUTOMENU=OFF
 
# LARGE FONTS - FONTH specifies the font height - only values of 16 or 24 are allowed (default = 16 = full unifont character set)
# If you set FONTH=24 E2B will use a *limited* default set of 24-pixel high English fonts and number of characters per row\column will be reduced, 1024x768=85 chars x 32 lines, 800x600=66x25 lines
###set FONTH=24