Video splashscreen for RetroPie 2.6

Home Forums RetroPie Project Splash screens Video splashscreen for RetroPie 2.6

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 15 replies, has 8 voices, and was last updated by Profile photo of azicuetano azicuetano 1 year, 8 months ago.

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #88357
    Profile photo of 0rionas
    0rionas
    Participant

    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=0

    Unfortunately 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/, do

    mkdir 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

    • This topic was modified 2 years, 2 months ago by Profile photo of 0rionas 0rionas.

    #88397
    Profile photo of neighbourhoodnerd
    neighbourhoodnerd
    Participant

    This sounds brilliant. Can you post up a YouTube of what it looks like in action?

    #88439
    Profile photo of herbfargus
    herbfargus
    Moderator

    0rionas- 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
    
    :
    
    #88527
    Profile photo of 0rionas
    0rionas
    Participant

    Today 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 πŸ™‚

    #88729
    Profile photo of robertybob
    robertybob
    Participant

    I 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!! πŸ™‚ πŸ™‚

    #89170
    Profile photo of 0rionas
    0rionas
    Participant

    To 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 πŸ™‚

    • This reply was modified 2 years, 2 months ago by Profile photo of 0rionas 0rionas.
    #89227
    Profile photo of robertybob
    robertybob
    Participant

    Thanks 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!

    #89357
    Profile photo of 0rionas
    0rionas
    Participant

    Apps theme was taken from here

    http://blog.petrockblock.com/forums/topic/simple-apps-folder-theme/

    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.

    • This reply was modified 2 years, 2 months ago by Profile photo of 0rionas 0rionas.
    #89369
    Profile photo of robertybob
    robertybob
    Participant

    Ah 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-config

    and I’ve got that working ok.

    Many thanks for your help πŸ™‚

    • This reply was modified 2 years, 2 months ago by Profile photo of robertybob robertybob.
    #89396
    Profile photo of 0rionas
    0rionas
    Participant

    raspi-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

    • This reply was modified 2 years, 2 months ago by Profile photo of 0rionas 0rionas.
    #89415
    Profile photo of robertybob
    robertybob
    Participant

    I’ll probably attempt the first solution, thank you!! πŸ™‚ πŸ™‚

    #89574
    Profile photo of Mike Manley
    Mike Manley
    Participant

    Pretty 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

    #89575
    Profile photo of Mike Manley
    Mike Manley
    Participant

    #93338
    Profile photo of rook0316
    rook0316
    Participant

    Long 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! ***

    • This reply was modified 2 years ago by Profile photo of rook0316 rook0316.
    #98892
    Profile photo of meat
    meat
    Participant

    Thanks 0rionas/Herb works great! (2.6)

    #103351
    Profile photo of azicuetano
    azicuetano
    Participant

    The 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

Viewing 16 posts - 1 through 16 (of 16 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar