BSME-1.0 & 2.0

Miscellaneous tools
Message
Author
User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

BSME-1.0 & 2.0

#1 Post by smokey01 »

This utility provides an easy way to edit message files for graphical boot splash screens.

Image

This is a great companion for MultiPup.

The web help is a work in progress but it will give you some idea how it works. http://smokey01.com/help/bsme

Fatdog users will need a full CPIO which can be downloaded at the smokey01 repository in Fatdog Package Manager.

LighthousePup64 users will need getcurpos as it's not included like most Pups.



Regards
Attachments
bsme-1.0.pet
Boot-Splash Message Editor
(94.03 KiB) Downloaded 1270 times
Last edited by smokey01 on Wed 28 Aug 2013, 02:00, edited 3 times in total.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#2 Post by smokey01 »

After CatDude and I released version 1.0 we decided we could probably expand on some of the functionality, so the changes are:

Added the ability to convert fonts from ttf to fnt.
Use the above fonts
Updated the help.
Works on 32 and 64-bit systems
Made non applicable image sizes inactive (greyed out)

It has been successfully tested on:
Precise-5.7.1
Slacko-5.6
Carolina-1.0 It does need Rox installed
Raring-3.9.9.2
Fatdog-6.11
Fatdog-6.2.1
LHP-602b2
MacPup-550

Help file: http://www.smokey01.com/help/bsme/
Attachments
bsme-2.0.pet
Boot-Splash Message Editor Version 2.0
(174.98 KiB) Downloaded 1121 times
Last edited by smokey01 on Tue 28 Oct 2014, 11:42, edited 6 times in total.

User avatar
russoodle
Posts: 707
Joined: Fri 12 Sep 2008, 17:36
Location: Down-Under in South Oz

BSME..

#3 Post by russoodle »

Brilliant job, guys...thanks :D

Both elegant and functional, and the background image hover-highlight and refresh function are a nice touch....well thought out and implemented overall, imo..
[i][color=Green][size=92]The mud-elephant, wading thru the sea, leaves no tracks..[/size][/color][/i]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#4 Post by Ted Dog »

What is the cpio package called in fatdog?

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#5 Post by smokey01 »


User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#6 Post by smokey01 »


User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#7 Post by sc0ttman »

Did you guys think about helping shinobar to update Frugal Installer,
so that it supports keeping (maybe even choosing) the full/custom graphical boot menu settings? .. for example, the Akita live CD has long had one of these GRUB graphical boot menus, with the 800x600 background image, and advanced menu, help page, etc .. but frugal installer won't keep these settings, as it uses its own grub templates..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#8 Post by CatDude »

Hello sc0ttman

Having a LiveCD that uses the gfxmenu files is quite easy really,
all that's required is a stage2_eltorito file that supports them.

The problems arise when using Puppy to install GRUB to the HDD,
as Puppies GRUB files do not support gfxmenu files, only splashimage files.

And those splashimage files (IMHO) are rather crap in comparison to the gfxmenu files.

So, in order to use Puppy to install GRUB (that supports gfxmenu files)
you first need to overwrite/replace at least some of the default files with some that do.
I would say these two files at a bare minimum require replacing: (suitable files attached below)
  • /usr/sbin/grub
    /usr/lib/grub/i386-pc/stage2
Also, this file /usr/sbin/grubconfig would require some editing,
with regard to the 'global section' of the menu.lst that will be created during the install.
ie: make it look something like this:

Code: Select all

# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
gfxmenu /boot/grub/message
# End GRUB global section
Where 'message' is the name of your gfxmenu file.

Plus, you would of course need to include a gfxmenu file,
which would need to be copied to the HDD along with the other GRUB files during the install.


All of the above relates to Legacy GRUB.


Grub4Dos can also use these gfxmenu files,
so it may be easier to edit whatever script it (Grub4Dos) uses to create the menu.lst
and add a similar line to it.

You would still need to include a gfxmenu file
and have it copied to the HDD during install.

Hope this has provided some food for thought.

CatDude
.
Attachments
GRUB-files-for-gfxmenu-files.tar.gz
(138.59 KiB) Downloaded 855 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
HoerMirAuf
Posts: 255
Joined: Tue 22 Jan 2008, 12:11
Location: Würzburg

#9 Post by HoerMirAuf »

Is there a specialy gfxsplash file needed, to edit it? Can't get bsme2 to work with slacko5.6 or tahr.

After copy a gfxfile (from suse 'message.suse') to the specified folder, bsme uncpio the gfxfile... and thats all. No menu disapear.

If i run bsme2 again, only the folder with the extracted files open up.
[size=75][color=blue]Bionic64[/color][/size]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#10 Post by CatDude »

Hello HoerMirAuf
HoerMirAuf wrote:Is there a specialy gfxsplash file needed, to edit it?
Yes,you can find some here.

I suggest you read this for more information (also available via the Help menu)

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
HoerMirAuf
Posts: 255
Joined: Tue 22 Jan 2008, 12:11
Location: Würzburg

#11 Post by HoerMirAuf »

Hey CatDude.

Thank you very much! Works now :)
[size=75][color=blue]Bionic64[/color][/size]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#12 Post by CatDude »

Hi
HoerMirAuf wrote:Thank you very much! Works now :)
No problem mate.
Just use the largest message file your screen supports,
in other words, if your screen is 1024x768 or more then use one of the 1024x768 message files.
They will look better than if you used the 800x600 jobbies. :wink:

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
HoerMirAuf
Posts: 255
Joined: Tue 22 Jan 2008, 12:11
Location: Würzburg

#13 Post by HoerMirAuf »

Hi Catdude,

thanks 4 suggestions.

Will try it out.

So far i extract a suse message file an modified it by hand.
There i was using only 80x600 because i didn't know how to change the font size. But bsme will do this!!

Great !

Is there a way to add a german help file?
- de.hlp (ok, i can translate it by myself)
- de.tr -> how to create it?
[size=75][color=blue]Bionic64[/color][/size]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#14 Post by CatDude »

Hi
HoerMirAuf wrote:Is there a way to add a german help file?
- de.hlp (ok, i can translate it by myself)
- de.tr -> how to create it?
When i originally compiled this from the Suse source files (which i had hacked)
the resulting message file was in english only as that is what my system is setup for.
But within the source files i see that there is a load of other language files,
attached is a copy of the de.tr file that exists amongst those.

I have to say now, that i have no idea if it will work or not,
but you are welcome to give it a try.

As to the help file, that was manually edited by myself as the original was Suse specific
and therefore had no Puppy related stuff whatsoever in it.

CatDude
.
Attachments
de-tr-file.tar.gz
(1.06 KiB) Downloaded 385 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
HoerMirAuf
Posts: 255
Joined: Tue 22 Jan 2008, 12:11
Location: Würzburg

#15 Post by HoerMirAuf »

Hey CatDude,

thank you very much :)

Ok ... the 'init' file from your gfxsplashfile have no language or language-menu support.
Grabbed the init from the suse-elegant theme and edit the gfxboot.cfg and have now a language and keymap menü.

This requires a additional entry behind the layout (resolution) setting in the gfxmenu.cfg (example: layout=800x600,boot)

unfortunately bsme don't support to create this entry and enable/disable the language menu.

Maybe a function fpr bsme-3.0? :D
[size=75][color=blue]Bionic64[/color][/size]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#16 Post by CatDude »

Hello HoerMirAuf
HoerMirAuf wrote:Ok ... the 'init' file from your gfxsplashfile have no language or language-menu support.
As i said earlier:
CatDude wrote:When i originally compiled this from the Suse source files (which i had hacked)
You also have to bear in mind that i had no instructions whatsoever to guide me,
basically i was 'flying blind' and simply following my nose.

I also felt (personally) that all the F2, F3 etc (see pic) where superfluous to my needs,
therefore i hacked the code to get rid of them, keeping only the F1 Help.

Needless to say, there was an awful lot of 'trial & error' going on.
HoerMirAuf wrote:...Maybe a function fpr bsme-3.0? :D
I wouldn't hold my breath on that happening mate.

Why don't you have a crack at compiling it yourself,
then you will understand just how complex a beast this thing really is. :roll:

CatDude
.
Attachments
Gfxboot_pic_01.jpg
taken from: https://en.opensuse.org/SDB:Gfxboot
(87.11 KiB) Downloaded 387 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
HoerMirAuf
Posts: 255
Joined: Tue 22 Jan 2008, 12:11
Location: Würzburg

#17 Post by HoerMirAuf »

Hi CatDude ..

ok ... sorry, i didn't realize you have hacked it to remove the Buttons F2 etc.

But .... is there a hack needed?

I only keep the values for F2 etc. emtpy

key.F2=
key.F3=

and the Buttons are hidden.

How ever ... thx 4 BSME it's great like it is :)
[size=75][color=blue]Bionic64[/color][/size]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#18 Post by CatDude »

Hello HoerMirAuf
HoerMirAuf wrote:ok ... sorry, i didn't realize you have hacked it to remove the Buttons F2 etc.

But .... is there a hack needed?
Well, in my defence it was quite a while ago when i first set about hacking/compiling this thing,
and i have to admit that i went about things like the proverbial 'Bull in a china shop'. :lol:
HoerMirAuf wrote:I only keep the values for F2 etc. emtpy

key.F2=
key.F3=

and the Buttons are hidden.
Fair enough, but i made a couple of other changes besides those.

In order to place the 'F1 Help' at the top of the screen, you need to edit: /wherever/gfxboot-4.5.7-1.2.src.rpm_extracted/themes/openSUSE/src/panel.inc

The default gfxboot.cfg file does not have a section for 1024x768 (i added one),
i also resized the default background images (back.jpg) to 1024x768. (before compiling)

There is also a typo in the default gfxboot.cfg file,
it appears that the line:

Code: Select all

panel.fg=0xffffff
should actually be:

Code: Select all

panel.normal.fg=0xffffff
otherwise you cannot change the colour of the 'Help' of the 'F1 Help'

Also if you look at the Gfxboot_pic_01.jpg image i posted above,
you can see a very faint horizontal line to the right of where it say's 'Boot Options'.
I didn't want that, so i hacked the source to get rid of it.
I'll leave that one as an exercise for you to figure out where to hack (for now at least).

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

Pelo

1600x900 is my screen size

#19 Post by Pelo »

1600x900 is my screen size. Could it be added ?

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#20 Post by smokey01 »

No sorry, 1024x768 is the largest possible.

Post Reply