Subject: Custom splash screen HOWTO (was Re: Splash screen boot HOWTO)
To: Karsten Kruse <>
From: Jared D. McNeill <>
List: current-users
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:

   cd $HOME/mksplash
   cc mksplash.c -o mksplash
   ./mksplash >myimage.h

7. Copy myimage.h to /usr/src/sys/dev/splash/images/
8. Add the following to your kernel config:

   options SPLASHSCREEN_IMAGE="\"dev/splash/images/myimage.h\""

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.