Homepage Forums RetroPie Project Everything else related to the RetroPie Project Playing a sound upon displaying the splash screen. Reply To: Playing a sound upon displaying the splash screen.

#4002
moorens
Participant

Fairly simple…

Video Splash Screen


https://vimeo.com/83644752 Splash Screen Video
https://vimeo.com/83644752 Full System Video
http://nicholasmoore.net/2013/09/29/retroconsole-with-custom-music-rev3-1/

how to:

edit /boot/cmdline.txt file:
sudo nano /boot/cmdline.txt
Add quiet
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quiet
Press ctrl-x, type y to confirm save, then press enter and return to the terminal.
Copy your video to your Raspberry Pi
create a script that will run omxplayer on bootup.
sudo nano /etc/init.d/asplashscreen
#! /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 INFO
do_start () {
omxplayer /home/pi/video.mov &
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
:
Press ctrl-x, and save
make file executable
sudo chmod a+x /etc/init.d/asplashscreen
activate
sudo insserv /etc/init.d/asplashscreen
Reboot and wait