Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Just a few questions › Reply To: Just a few questions
Question 3
I use the following splash screen script
sudo nano /etc/init.d/asplashscreen
then erase what is there and add:
#! /bin/sh
### BEGIN INIT INFO
# Provides: asplashscreen
# Required-Start:
# Required-Stop:
# Should-Start:
# Default-Start: S
# Default-Stop:
# Short-Description: Show custom splashscreen
# Description: Show custom splashscreen
### END INIT INFOdo_start () {
/usr/bin/fbi -T 1 -noverbose -a /home/pi/Splash/Splash.png
exit 0
}case “$1″ in
start|””)
do_start
;;
restart|reload|force-reload)
echo “Error: argument ‘$1’ not supported” >&2
exit 3
;;
stop)
# No-op
;;
status)
exit 0
;;
*)
echo “Usage: asplashscreen [start|stop]” >&2
exit 3
;;
esac:
This removes all code that runs when booting and selecting/exiting games. the only draw back is if you f4 out of emulation station you can not see the script unless you putty in. I work around this by keeping the original script saved on my pc as a text doc and I replace it when I need to mess around with code. Then when I am done I just replace that with the above script again. Also, this script allows me to add a splash folder at home/pi/Splash/ and add whatever splash pic I want to there. Then just name it Splash.png.
You will also need to edit your /boot/cmdline.txt file:
sudo nano /boot/cmdline.txt
Add quiet to the end of the line. It will look something like this:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quiet
Make sure that is all on one line.
While you are there, if you want to remove the raspberry pi image that shows when you start your pi just add
logo.nologo
to the line as well so it will look like:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait logo.nologo quiet