Thursday, 2 August 2018

E2B v1.A1b and c Beta now available


  • Adjust_E2B_Menu.mnu has been improved so it is now loaded as a separate menu.
  • PimpMyDrive.cmd now adds Adjust_E2B_Menu.mnu to the PIMP folder.
  • E2B now automatically looks for menu wallpaper files for each sub-menu (see below). Now you can just add .bmp or .jpg files and they will automatically be used for the background image for that menu - no .mnu files are required.

Multiple backgrounds and/or Stamps (v1.A1+)

E2B v1.A1 and later versions of E2B will automatically use the following grub4dos batch files (if they exist) or .bmp or .jpg files of the same name, just before the corresponding menu is displayed.
  • \_ISO\SVR2K8R2.g4b
  • \_ISO\SVR2012.g4b
  • \_ISO\VISTA.g4b
  • \_ISO\WIN7.g4b
  • \_ISO\WIN8.g4b
  • \_ISO\WIN10.g4b
  • \_ISO\SVR2016.g4b
  • \_ISO\WINMENU.g4b
  • \_ISO\AUTO.g4b
  • \_ISO\BACKUP.g4b
  • \_ISO\DOS.g4b
  • \_ISO\LINUX.g4b
  • \_ISO\MAINMENU.g4b
  • \_ISO\WIN.g4b
  • \_ISO\WINPE.g4b
For instance, you can create a \_ISO\DOS.g4b file to stamp a menu heading at the top of a new background wallpaper:
# display new wallpaper
splashimage /_ISO/MyDOS.bmp
# stamp heading on top of wallpaper
splashimage --offset=0x80=300=0 /_ISO/HeadingDOS.bmp
The .g4b file must begin with !BAT on the first line. 'color' commands and other commands can also be added to the .g4b file.
If the .g4b file does not exist, E2B will then look for a background image with a .jpg or .bmp file extension.
If you just want a different wallpaper for each menu, simply ensure a .jpg or .bmp file is present in the \_ISO folder which is of the same name as the submenu folder (e.g. \_ISO\ANTIVIRUS.jpg) and it will be used - no .g4b file is required.
If you create a new SubMenu folder (e.g. \_ISO\NEW) then the files \_ISO\NEW.g4b, \_ISO\NEW.bmp and \_ISO\NEW.jpg (in that order) will be automatically used. Note that if NEW.g4b exists then NEW.bmp and NEW.jpg will be ignored.