Jump to content











Photo

GFX Menu making beta for Grub4dos


  • Please log in to reply
46 replies to this topic

#1 mesrine_29

mesrine_29

    Member

  • Members
  • 30 posts
  •  
    France

Posted 25 November 2010 - 11:11 AM

Posted Image


GFX menu setting to change the archive "message" or "gfx" compatible with grub4dos.

Integration cpio.exe and .dll archives necessary for modified..
archive "message" in the All in one"

I create this application so that a modification of the background image and the configuration file "gfxboot.cfg" is accessible directly through a window that opens under the action of the text "edit"

Integred:

-1 Creation of files and folders needed for the modification of archive "message" and "gfx"
-2 Unpacking the archive and extract the folder "files" available.
-3 Unpack accessibility to the file .. for editing
-4 Repack edit files ..

Link:

GFXmenu.exe
Sorry for my english....

Look my Rescue Dvd multiboot with a "message" archive modified..

Posted Image

Edited by mesrine_29, 25 November 2010 - 11:43 AM.


#2 pktman

pktman

    Newbie

  • Members
  • 23 posts

Posted 25 November 2010 - 08:50 PM

the link does not work

#3 mesrine_29

mesrine_29

    Member

  • Members
  • 30 posts
  •  
    France

Posted 25 November 2010 - 10:20 PM

the link works fine, host it on my account .....
Thank you for giving ideas to improve the software.

#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 7072 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 25 November 2010 - 10:43 PM

the link works fine, host it on my account .....
Thank you for giving ideas to improve the software.

I get 'The file you are trying to access is temporarily unavailable.' ???

#5 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 25 November 2010 - 10:55 PM

Hello mesrine :)
Can you use a alternative to megaupload, example mediafire ? :D
Can you think, we can adapt your software in usb script for Win7pe project ?

#6 paraglider

paraglider

    Gold Member

  • .script developer
  • 1729 posts
  • Location:NC,USA
  •  
    United States

Posted 26 November 2010 - 03:45 AM

Link works fine in IE. Fails in Firefox. Maybe the French character in the file name is the problem.

#7 steve6375

steve6375

    Platinum Member

  • Developer
  • 7072 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 26 November 2010 - 07:52 AM

Link works fine in IE. Fails in Firefox. Maybe the French character in the file name is the problem.

Does not work in IE9 Beta or Chrome for me...?

#8 mesrine_29

mesrine_29

    Member

  • Members
  • 30 posts
  •  
    France

Posted 26 November 2010 - 08:01 AM

Link UPDATE on médiafire

GFXMenu making By mesrine_29 (clic here)

Edited by mesrine_29, 26 November 2010 - 08:02 AM.


#9 steve6375

steve6375

    Platinum Member

  • Developer
  • 7072 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 26 November 2010 - 10:01 AM

Is it just me or does this link not work either?

#10 patsch

patsch

    Silver Member

  • Advanced user
  • 785 posts
  •  
    Germany

Posted 26 November 2010 - 10:32 AM

link works fine for me

#11 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15046 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 26 November 2010 - 12:07 PM

Common sense advice :):
  • NEVER post a link to a .exe file (always put it inside a .zip or .7z archive)
  • NEVER use a space in the name of the file
  • NEVER use accented characters in the name of the file.

  • Renamed as GFXMenu_Creation.exe
  • Compressed to GFXMenu_Creation.zip
  • Reuploaded to uploading.com and mediafire here:
http://uploading.com...u_Creation.zip/
http://www.mediafire...nu_Creation.zip

:D
Wonko

#12 mesrine_29

mesrine_29

    Member

  • Members
  • 30 posts
  •  
    France

Posted 26 November 2010 - 12:38 PM

UPDATE:

I compile it, now you can install the application with a shortcut on the desktop ..


GFX Menu making with instalation

:)

Edited by mesrine_29, 26 November 2010 - 12:43 PM.


#13 steve6375

steve6375

    Platinum Member

  • Developer
  • 7072 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 26 November 2010 - 02:56 PM

OK, I think I have this sussed now

here are instructions for those mentally challenged like me!

Please comment on this if I have got any of it wrong (which I probably have!)

1. Run GFXMenu_Creation.exe
2. Turn off audio to get rid of music :) (optional)
3. Click 1 to create the folder at C:\GFXMenu on your hard disk
4. Click 2 Depactage to unpack the files to this folder
5. Click 3 Modifier to open an Explorer Window at C:\GFXMENU\files
Now you need to change two files:
  • C:\GFXMenu\files\gfxboot.cfg (set resolution for menu screen, etc or leave as is for 800x600)
  • C:\GFXMenu\files\back.jpg (should be 800x600 or match your set resolution) for your background jpg
6. Click on 4 Pactage to create a new file called C:\GFXMenu\message
7. Copy this new file to your boot device (e.g. K:\message)
8. Edit your menu.lst file on K: (your boot device) and put the line gfxmenu \message near the top


This gfxboot.cfg may be easier to use:
#WARNING: lines must NOT start with a space or they will be ignored



# penguin theme likelihood in percent; -1 = auto

#penguin=-1

#welcome=1



#0/1 if set to 1, show the "Boot Options" box. As grub4dos currently don't use this feature, it might be better to hide it.

#boot_show=1



#if set to 1, hide the current selection item below the bottom menu.

# xmenu_hide_current=1



#menu_max_entries (default: 8)

#Maximum number of menu entry to display.

# menu_max_entries=4



#menu_start_x, menu_start_y

#Position of menu

# menu_start_x=50

# menu_start_y=50



#menu_bar_min_width

#The minimum width of menu select bar.

# menu_bar_min_width=1



#Normal text color, use RGB value such as 0xffffff.

#menu_text_normal=0xffffff



#Color of selected text

# menu_text_select=0



#Color of boot options label

# boot_text_options=0xffffff



#Color of boot options text

# boot_text_normal=0xffffff



#Background color of info box

# infobox_bg=0xd8deed



#Text color of info box

# infobox_text_normal=0



# menu_bar_color=0xffffff

# loading_color=0x295202



#Background color of dialog background

# title_bg=0x4f9805



#If set to 1, hide the reboot button (F9)

hide_reboot=1



#If set to 1, hide the poweroff button (F10)

hide_poweroff=1



#This message file has added keyboard shortcut function, for example, pressing '1' would choose the first menu item. If you don't want it, set this variable to 1.

# disable_num_key=1



#If set to 1, hide the help button (F1)

hide_help=1



#If set to 1, hide the language button (F2)

hide_lang=1



#custom_width, custom_height, custom_depth

#By default, the screen resolution is 800x600x16, if you want a higher resolution, set these three variables, for example:

#custom_width=1024

#custom_height=768

#custom_depth=16

#The mode must be supported by bios, otherwise, it just fallback to default.





# panel_normal=0xffffff

#Color of panel text



# panel_title=0xffffff



#Color of panel hotkey (Fn)

# panel_high=0xffe050



#Background color of panel pop-up box

# panel_bg=0xd8deed



#Border color of panel pop-up box

# panel_border=0xeff2f6


#14 paraglider

paraglider

    Gold Member

  • .script developer
  • 1729 posts
  • Location:NC,USA
  •  
    United States

Posted 26 November 2010 - 05:05 PM

Please consider removing the music and also translating into english.

#15 mesrine_29

mesrine_29

    Member

  • Members
  • 30 posts
  •  
    France

Posted 26 November 2010 - 06:39 PM

Ok, I'll improve it with you to make a product to the top

#16 steve6375

steve6375

    Platinum Member

  • Developer
  • 7072 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 26 November 2010 - 07:25 PM

Ok, I'll improve it with you to make a product to the top

That would be great!

Can you combine 1 and 2?
Also have a help button with instructions similar to mine above?
When message file is made, it needs to be copied somewhere, a 'copy message file to ...' button would be useful.
+modify the gfxboot.cfg file as in my post above to include comments?

So we could have menu items

1. Create C:\GFXMenu source folder and files
2. Modify gfxboot.cfg and back.jpg
3. Create new message file
4. Copy message file to your destination

If GFXMenu already exists then warn user that his source files may be overwritten.

Some Q's (sorry to drop this on you...)
What is purpose of the other jpgs and all the other files?
I presume the .hlp file is used when you enable help...
What do the penguin and welcome entries in gfxboot.cfg do?
How do languages work and how do I add more (not that I want to!)

A simple html help file would be good with the above info which you could have a button for to launch when clicked and links to web pages with more help.

Is 10 minutes enough time for you? :)

#17 mesrine_29

mesrine_29

    Member

  • Members
  • 30 posts
  •  
    France

Posted 26 November 2010 - 07:43 PM

The message archive is an example, everyone can bring their various modifications, this program serves just has to change according to the expectations of the user archive "message" and not configure the file "gfxboot.cfg", so the penguin is included with her in the example
10 minutes to redo everything your way is too just because I would fix my project with several ideas from other members.
Otherwise everything is possible for some ideas you proposed.

Exemple "gfxboot.cfg:

Posted Image

; Sections are read in the order given in base::layout, with section 'base'

; implicitly added at the end. If a config value is given more than once,

; the first entry wins.

;

; If a screen resolution can't be set, 640x480 is used as fallback (and

; section '640x480' added to the layout list).

;

; If the penguin screen is active, section 'penguin' is automatically added

; to the layout list.

;

; Color values: 24 bit RGB (e.g. 0xff0000 = red).

;



[base]

; theme name

theme=openSUSE

; other sections to read

layout=800x600,boot

; penguin theme likelihood (in percent, -1 = auto)

penguin=100

; activate speech output

talk=1

; sound volume (0..100)

volume=70

; menu background transparency (0..255)

menu.transparency=0x20

; default font

font.normal=16x16.fnt

; main menu font

font.large=16x16.fnt

; background image

background=back.jpg

; max. visible main menu items

mainmenu.entries=8

; minimal main menu selection bar width

mainmenu.bar.minwidth=300

; main menu selection bar transparency (0..255)

mainmenu.bar.transparency=100

; main menu colors

mainmenu.bar.color=0xffffff

mainmenu.normal.fg=0xffffff

mainmenu.selected.fg=0x000000

; boot option colors

bootopt.label.fg=0xffffff

bootopt.text.fg=0xffffff

; progress bar color

progress.bar.color=0x295202

; menu colors

menu.normal.bg=0xd8deed

menu.normal.fg=0x000000

menu.selected.bg=0x6c6c6c

menu.selected.fg=0xffffff

; window colors

window.bg=0xd8deed

window.fg=0x000000

window.title.bg=0x217b05

window.title.fg=0xffffff

window.title.error.bg=0xc00000

; help system colors

help.link.fg=0x0000a0

help.link.selected.fg=0xffffff

help.link.selected.bg=0x0000a0

help.highlight.fg=0x009000

; panel colors

panel.fg=0xffffff

panel.title.fg=0xffffff

panel.f-key.fg=0xffe050

; default keymap (e.g. fr_FR, czech)

keymap=fr_FR



[800x600]

; screen size

screen.size=800,600

; upper left corner

mainmenu.pos=253,170

; boot option input field position

bootopt.pos=263,480



[640x480]

; screen size

screen.size=640,480

; upper left corner

mainmenu.pos=130,122

; boot option input field position

bootopt.pos=263,380



[penguin]

; upper left corner

mainmenu.pos=220,163

; main menu selection bar transparency (0..255)

mainmenu.bar.transparency=120

; boot option input field position

bootopt.pos=263,490

; background image

background=pback.jpg 



[install]

; show welcome animation

welcome=1

; beep when menu is ready

beep=1

; main menu item shown only if iso is tagged for media check

mediacheck=mediachk

; main menu items where user can't add boot options

nobootoptions=harddisk,memtest

; main menu items that are not passed an 'install' parameter

noinstallopt=harddisk,firmware,memtest

; default install method (one of: cdrom, slp, ftp, http, nfs, smb, hd; default: cdrom)

install=

; default repo location

install.http.server=

install.http.path=

install.nfs.server=

install.nfs.path=

install.ftp.server=

install.ftp.path=

install.ftp.user=

install.ftp.password=

install.smb.server=

install.smb.share=

install.smb.path=

install.smb.domain=

install.smb.user=

install.smb.password=

install.hd.device=

install.hd.path=

; default driver update (one of: yes, no, file, url; default: no)

dud=

; if 'dud=file': file name on DVD

dud.file=

; if 'dud=url': URL

dud.url=

; if 'dud=url': menu item name (default = 'URL')

dud.url.name=

; serial line setup (up to four lines)

; format: port,baud,dev

;   - port: 0-3: first four BIOS serial lines (COM1-COM4); >=4: I/O port (0x3f8)

;   - baud: baud rate (e.g. 115200); 0 = autodetect (considers baud rates >= 9600)

;   - dev: linux device name (e.g. ttyS0)

; - all lines are set up with 8 bits, no parity, 1 stop bit

; - if the bootloader also has a serial line setup, the port is

;   automatically used

serial.line0=0,0,ttyS0

serial.line1=1,0,ttyS1

serial.line2=

serial.line3=

; show keymap menu as submenu in lang dialog

keymap.submenu=1

; show keymap in main menu

keymap.mainmenu=0



[boot]

; show welcome animation

welcome=0

; beep when menu is ready

beep=1

; show keymap menu as submenu in lang dialog

keymap.submenu=0

; show keymap in main menu

keymap.mainmenu=1

:)

Edited by mesrine_29, 26 November 2010 - 07:53 PM.


#18 mesrine_29

mesrine_29

    Member

  • Members
  • 30 posts
  •  
    France

Posted 27 November 2010 - 12:57 PM

UPDATE 27/11/2010

GFX Menu création v 1


Posted Image

Below is the tutorial to be able to modify the archive "message" or "gfx" with my app.

Checkboxes followed by action.

Préparation:

the software creates the necessary folders and files on your partition ("C: \ gfxmenu \ files") and opens
a window to let you drop off your archive without forgetting to rename it "message_en.

Modifier le fond:

(Resolution defined for the menu screen, etc. or leave blank for 800x600)

Unpack the archive and a window opens to find an image on your partition "C"

replacing the one found in back.jpg

Editer "gfxboot":


The file "gfxboot" opens, you can modify to your liking.

Parcourir le dossier:

If you want to make other changes to the archive.

Finalisation:

Repack of the archive which will be renamed "message" and opening a window to show the folder tree.

You only have to do a drag and drop the message file on the destination folder for me is in the "boot".
And Modify the first lines of your menu.lst:

default 0

timeout 30



# with gfxmenu:

gfxmenu = /boot/message

GXFMenu_Création v 1.0

Coming up in the app, a menu option to download directly boot ..

Edited by mesrine_29, 27 November 2010 - 01:04 PM.


#19 steve6375

steve6375

    Platinum Member

  • Developer
  • 7072 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 27 November 2010 - 03:45 PM

It is looking better :)

It really needs English though to make it easy for people to use and understand as English is either first or 2nd language for most people. Also help instructions should actually be in the app itself (help button ?) also in English.

Actually, if you add

push %cd%

to start of the repack.cmd file, then all the user has to do is click on repack.cmd and no need to run your app again...

#20 mesrine_29

mesrine_29

    Member

  • Members
  • 30 posts
  •  
    France

Posted 27 November 2010 - 05:52 PM

I will also remove the pause command in "repack.cmd" and "unpack.cmd" files, This saves the user to close the window.
And put a help button.

For the English translation, I'll work on it, but for now many are being proposed.

Thank you for your support, the project will be much more suited to novice users ...

#21 Aye Htay

Aye Htay

    Frequent Member

  • Advanced user
  • 163 posts
  •  
    Myanmar

Posted 28 November 2010 - 05:54 PM

.....


Thank you for your nice tool.
Yes. It works very good g4dos back ground image for my USB.

Thanks.

Aye Htay

#22 steve6375

steve6375

    Platinum Member

  • Developer
  • 7072 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 28 November 2010 - 06:06 PM

Actually I found it more convenient just to use the repack.cmd file and double-click on it to create the new message file.

I have written a grub4dos tutorial here and included the repack.cmd and a small subset of the \files and \cpio folders in a separate download. The gfxboot.cfg file also has comments and contains a test file so you can see which menu items are which by their colour. I have removed the penguins!

So the design cycle is just

1. modify gfxboot.cfg and back.jpg
2. double-click the repack.cmd file - it creates the message file
3. right-click on message file and Send To.. the USB drive

test in Qemu Manager and repeat as necessary...

#23 mesrine_29

mesrine_29

    Member

  • Members
  • 30 posts
  •  
    France

Posted 28 November 2010 - 06:57 PM

You want me to add "qemu manager" in my app and examples of file "gfxboot"?
It is possible, then anything is possible but my app is just a change gfx menu "message".
I would add just links directly without using a browser to download menu gfx ..

Thx Aye Htay

:D

Edited by mesrine_29, 28 November 2010 - 07:03 PM.


#24 steve6375

steve6375

    Platinum Member

  • Developer
  • 7072 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 28 November 2010 - 07:21 PM

I personally don't mind. The first steps 1-3 in your app only unpack the files and open an Explorer Window. The last button just runs the repack.cmd. I find it quicker and more convenient not to use your app at all, but just to double-click on the repack.cmd file (as I am in Explorer anyway to edit the files) which is much quicker than loading your app (sorry :D )

So actually I won't be using your app, but because of your app I have found out about GFXMenu (which always seemed to complicated for me to bother with before) - so others may benefit from your app :D

#25 sambul61

sambul61

    Gold Member

  • Advanced user
  • 1568 posts
  •  
    American Samoa

Posted 29 November 2010 - 08:17 PM

What minimum set of files & folders MUST be present on the HD booted from to have GFX Menu working at boot (not for setup), and where it CAN be placed? Is it enough to have only message, back.jpg and gfxboot.cfg? Should they be in GFX folder or just dropped in root?

OK, I tested it. It looks like the ONLY file that needs to be on boot drive is "message", and it can be in any folder, you point to in menu.lst. Background image 800x600 must be resampled to 89dpi to match the included image properties, otherwise its not visible - why? Can you add Background Image Resolution to cfg file params?

Edited by sambul61, 29 November 2010 - 08:47 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users