Jump to content











Photo
- - - - -

grub4dos menu editor


  • Please log in to reply
10 replies to this topic

#1 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 23 April 2015 - 11:48 AM

If you use the menusetting utility in grub4dos to change the position and size of the menu, you might like to try the E2B_editor.exe that comes with Easy2Boot.

The file it generates is intended for Easy2Boot, but you can still see the settings and use the values in your own grub4dos code.

 


  • devdevadev likes this

#2 phoenixmet

phoenixmet
  • Members
  • 8 posts
  • Location:Caracas, Venezuela.
  • Interests:Pc,sofware,games, etc.
  •  
    Venezuela

Posted 24 April 2015 - 06:09 PM

Hi :good: , wen i change the standar color by my self eg. cyan/black. The e2bed change with 0xan/0xack end the colors converts and light green.



#3 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 24 April 2015 - 06:15 PM

Can you give an example line(s)  that you are using - or  .cfg file for me to test please?



#4 phoenixmet

phoenixmet
  • Members
  • 8 posts
  • Location:Caracas, Venezuela.
  • Interests:Pc,sofware,games, etc.
  •  
    Venezuela

Posted 24 April 2015 - 06:34 PM

!BAT
#Generated by E2B_Editor

set GMODE=800
set MYWBMP=/_ISO/Mantion.bmp
#MENU
set rstart=18
set topstart=3
set menuw=62
set noitems=21
set tophelp=24
color helptext=0xFFFF80
color standard=cyan/black (change by me)
# --------- MENU HIGHLIGHT COLOUR ------------
# For a highlighted menu entry with a background bar, use 'color normal=FG/BG highlight=FG/BG'  (FG=Foreground colour, BG=Background colour)
# Valid colours are black, blue, green, cyan, red, magenta, brown, light-gray, dark-gray, light-blue, light-green, light-cyan, light-red, light-magenta, yellow and white.
# e.g. color normal=light-cyan/red highlight=cyan/red
# The line below overides the 'highlight=cc/dd' setting above and sets a transparent background for the highlighted menu entry
color highlight=0xFF0000
# --------------------------------------------
color normal=0xFFFFFF
#BORDER
color border=0x404040
set bdwidth=0
# grub4dos usage example: menusetting.gz   %wdspace% %lnspace% %bdwidth% %tophelp% %noitems% %topstart% %menuw% %rstart%
#HEADING
set HEADPOS=0100
set HEADING=\x20 %@DATE% %@TIME% E2B - MENÚ PRINCIPAL (%VER%) %B64%
set HCOLOUR=0107
set CENTREHD=1
#FOOTER
set HBTM=3518
set FCOLOUR=0107
set HELPTEXT=HDD0 [F7]   REGRESAR [F8]   REINICIAR [F9]   APAGAR [F10]
if "%LANG%"=="" set LANG=SPANISH
set KBD=KBD_SPANISH.G4B.

 

And this is wen i update.

 

!BAT
#Generated by E2B_Editor

set GMODE=800
set MYWBMP=/_ISO/Mantion.bmp
#MENU
set rstart=18
set topstart=3
set menuw=62
set noitems=21
set tophelp=24
color helptext=0xFFFF80
color standard=0xan/bla
# --------- MENU HIGHLIGHT COLOUR ------------
# For a highlighted menu entry with a background bar, use 'color normal=FG/BG highlight=FG/BG'  (FG=Foreground colour, BG=Background colour)
# Valid colours are black, blue, green, cyan, red, magenta, brown, light-gray, dark-gray, light-blue, light-green, light-cyan, light-red, light-magenta, yellow and white.
# e.g. color normal=light-cyan/red highlight=cyan/red
# The line below overides the 'highlight=cc/dd' setting above and sets a transparent background for the highlighted menu entry
color highlight=0xFF0000



#5 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 24 April 2015 - 08:12 PM

Try 1.0.37  (just uploaded)

I have improved parsing of colours.



#6 phoenixmet

phoenixmet
  • Members
  • 8 posts
  • Location:Caracas, Venezuela.
  • Interests:Pc,sofware,games, etc.
  •  
    Venezuela

Posted 25 April 2015 - 12:16 AM

Just back to default colors color standard=0x008080 and not to my personal color color standard= cyan/black :(



#7 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 25 April 2015 - 08:12 AM

0x008080 is cyan so it is the same, so it is working correctly.

 

color standard=0x008080    ==      color standard=cyan/black

 

However, 0x00AAAA is what grub4dos uses for cyan which is not quite the same as 0x008080.

 

The next version uses the same colours as grub4dos.



#8 phoenixmet

phoenixmet
  • Members
  • 8 posts
  • Location:Caracas, Venezuela.
  • Interests:Pc,sofware,games, etc.
  •  
    Venezuela

Posted 25 April 2015 - 01:59 PM

:loleverybody: :clap: in E2B_Editor_v1.0.41 if i edit the color of standard  eg. red/black when update the MyE2B.cfg his take 0xAA0000.

 

If i wanna change this color i have to change by my self :P great work Steve thanks i ask you so much :D



#9 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 25 April 2015 - 02:01 PM

v1.0.46 now supports UTF-8 and @DATE and @TIME.

 

non-ANSI characters sets like Chinese\Japanese\Persian are not supported though.


  • phoenixmet likes this

#10 phoenixmet

phoenixmet
  • Members
  • 8 posts
  • Location:Caracas, Venezuela.
  • Interests:Pc,sofware,games, etc.
  •  
    Venezuela

Posted 25 April 2015 - 02:25 PM

v1.0.46 now supports UTF-8 and @DATE and @TIME.

 

non-ANSI characters sets like Chinese\Japanese\Persian are not supported though.

:1st: i use this for along time HEADING=\x20 %@DATE% %@TIME% E2B - MENÚ PRINCIPAL (%VER%) %B64% looks great in the e2bed


  • devdevadev likes this

#11 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 13 June 2015 - 06:34 PM

v1.0.78 of the editor is now available. It defaults to a black 800x600 background if no background bitmap is loaded.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users