Homepage › Forums › RetroPie Project › Splash screens › Video splashscreen for RetroPie 2.6
Tagged: arcade84, splashscreen, video
- This topic has 15 replies, 8 voices, and was last updated 9 years, 3 months ago by Anonymous.
-
AuthorPosts
-
02/20/2015 at 22:03 #88357AnonymousInactive
I wanted to add a video splash screen to my RetroPie 2.6
The most impressive I had seen was the one from the UltraSlim project. It is this.
https://drive.google.com/open?id=0B2M3NC2rbFMkenNjU29MYXhWTHM&authuser=0Unfortunately I ran into all kinds of problems. The latest omxplayer was spitting dbus errors, mplayer was really slow, asplashscreen did not work, and so on.
So I managed to find a workaround, using an older version of omxplayer. From your home dir, /home/pi/, domkdir media cd media sudo wget http://omxplayer.sconde.net/builds/omxplayer_0.3.4~git20140212~bf48901_armhf.deb sudo dpkg -i omxplayer_0.3.4~git20140212~bf48901_armhf.deb sudo apt-mark hold omxplayer
Next, copy your video inside the /home/pi/media you have created
Modify your /etc/init.d/asplashscreen to load the video using omxplayer. Here is mine:
#! /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/media/intro.mp4 & 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 :
Of course you can modify /boot/cmdline.txt and add “logo.nologo quiet” at the end for an even classier result.
Reboot and enjoy.If it doesn’t work, make sure your video is playable by omxplayer by issuing “omxplayer /home/pi/media/intro.mp4”
I have tested several older versions of omxplayer, the one above is one of the latest that does the trick.
Cheers
02/21/2015 at 01:46 #88397neighbourhoodnerdParticipantThis sounds brilliant. Can you post up a YouTube of what it looks like in action?
02/21/2015 at 07:02 #88439herbfargusMember0rionas- you are a genius. The older build in my case didn’t have audio on .mp4 files I tested but .avi files worked out. thank you, you saved me a lot of headaches.
another alternative to the code you provided, is provided by Free5sty1e, and it will enable you to select splashscreens through the setup script so you can switch between video and static image splashscreens as well.
\#! /bin/sh ### BEGIN INIT INFO # Provides: asplashscreen # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: # Short-Description: Show custom splashscreen # Description: Show custom splashscreen ### END INIT INFO do_start () { while read splashline; do echo Playing splash video or image $splashline isMovie=$(echo $splashline | grep -o ".mov\|.mp4\|.mkv\|.3gp\|.mpg") if [ -z "$isMovie" ]; then /usr/bin/fbi -T 1 -once -t 10 -noverbose -a $splashline sleep 12 else omxplayer $splashline fi done </etc/splashscreen.list 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 :
02/21/2015 at 21:08 #88527AnonymousInactiveToday I managed to create a video of my loading splashscreen and my RetroPie 2.6 setup. Quality is kinda crappy due to my ancient camera. The original ES theme is heavily customized as you can see :)
02/23/2015 at 12:59 #88729robertybobParticipantI love your intro video and the Apps section. I’ve read the guide on adding in Kodi but how did you create shortcuts to all of those other settings? :) Please share!! :) :)
02/26/2015 at 00:18 #89170AnonymousInactiveTo install LXDE, just sudo apt-get install lxde. After that, the system will be booting to LXDE by default. You need to sudo raspi-config and pick the text login as default. The LXDE Desktop.sh is this
#!/bin/bash startx
The Redefine ES Keys.sh goes like this
#!/bin/bash rm /home/pi/.emulationstation/es_input.cfg sudo reboot
The Retroarch Joystick Configure.sh goes like this
#!/bin/bash echo Reconfiguring Retroarch joysticks echo Make sure your joystick is plugged in echo . cd /opt/retropie/emulators/retroarch/ ./retroarch-joyconfig -o /opt/retropie/configs/all/retroarch.cfg exit
After you create and place those .sh files inside your apps folder, make sure you chmod +x *.sh them
Not that fancy, I know, but they do what they are supposed to do :)
02/26/2015 at 10:35 #89227robertybobParticipantThanks very much! Is this in the RetroPie Wiki anywhere? If not I think it would be great if it could be :)
Now if only I was able to create an ‘Apps’ SVG file to create my own Apps theme.. lol.
It must have taken you such a long time to customise your setup to make it look so awesome, so I applaud you for that!
02/26/2015 at 22:24 #89357AnonymousInactiveApps theme was taken from here
Most of the work for my theme was done using Gimp, and Notepad++ for altering the theme XMLs. Lots of testing in both Windows and Raspberry to make sure everything falls in place.
02/26/2015 at 23:56 #89369robertybobParticipantAh thank you so much! Just got everything working and it looks great :) Is it possible to have a script that opens the RetroPie setup screen? I thought it would be
#!/bin/bash sudo ./retropie_setup.sh
but it says it can’t be found.I only ask because I guessed that the Raspi-Setup screen would be as simple as
#!/bin/bash
sudo raspi-configand I’ve got that working ok.
Many thanks for your help :)
02/27/2015 at 07:45 #89396AnonymousInactiveraspi-config is in a directory belonging to the PATH environment variable. So you can call it from anywhere in the file system. The RetroPie setup script is not, you need to enter its specific directory then execute it. You probably need this
#!/bin/bash cd /home/pi/Retropie-Setup sudo ./retropie_setup.sh
Alternatively you can add the directory /home/pi/Retropie-Setup inside the PATH variable at your /home/pi/.bashrc file
02/27/2015 at 10:41 #89415robertybobParticipantI’ll probably attempt the first solution, thank you!! :) :)
02/28/2015 at 18:02 #89574Mike ManleyParticipantPretty Basic video splashscreen but could u guys give thoughts to it?
[youtube http://www.youtube.com/watch?v=Dt_QsCSBIto&w=560&h=315%5D
02/28/2015 at 18:12 #89575Mike ManleyParticipant04/01/2015 at 05:17 #93338rook0316ParticipantLong time lurker here. So I was about finished putting together my cabinet using 2.6 when the 3.0 beta rolls out. My splash was working fine on 2.6.
With a clean install of 3.0 I get a startpar error at boot on asplashscreen. I have set permissions of asplashscreen to both 755 & 777, made executable, copied and pasted the above code, and hand typed it as well.
I google and tried a few things, but no luck.
Does anyone know if these instructions work with 3.0?
***Edit: Fixed. Started over fresh. Not sure what the problem was, but it worked. Profit! ***
06/02/2015 at 13:47 #98892meatParticipantThanks 0rionas/Herb works great! (2.6)
08/04/2015 at 09:35 #103351AnonymousInactiveThe original video name is Arcade84 (3’10”) and was created on 2000-2001.
You can watch it here: https://www.youtube.com/watch?v=mGYevPjfxrM -
AuthorPosts
- The forum ‘Splash screens’ is closed to new topics and replies.