Subject: Custom splash screen HOWTO (was Re: Splash screen boot HOWTO)
To: Karsten Kruse <firstname.lastname@example.org>
From: Jared D. McNeill <email@example.com>
Date: 02/22/2006 07:22:46
On 21-Feb-06, at 11:51 PM, Karsten Kruse wrote:
> Jared D. McNeill wrote:
>> I've imported the splash screen support for vesafb on i386.
> And now the obvious question: How can i use my own image?
Ok, it's a bit hairy at the moment, but here's the scoop:
1. Grab the following files (store them in $HOME/mksplash/ or whatever):
2. Open your desired image in The GIMP.
3. Resize image to be smaller than the resolution of your screen.
4. Change the colour mode to indexed, optimized for 64 colours.
5. Save image as $HOME/mksplash/input.h
6. From a terminal:
cc mksplash.c -o mksplash
7. Copy myimage.h to /usr/src/sys/dev/splash/images/
8. Add the following to your kernel config:
Now, if you want to update the pulse_(on,off) images, you need to
save them as indexed, 16 colour images with The GIMP. There is some
manual work involved here renaming some symbols; see the examples I
provide for details.