Homepage Forums RetroPie Project Splash screens Video splashscreen for RetroPie 2.6

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #88357
    Anonymous
    Inactive

    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

    #88397
    neighbourhoodnerd
    Participant

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

    #88439
    herbfargus
    Member

    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
    Anonymous
    Inactive

    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
    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
    Anonymous
    Inactive

    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 :)

    #89227
    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
    Anonymous
    Inactive

    Apps theme was taken from here

    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.

    #89369
    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 :)

    #89396
    Anonymous
    Inactive

    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

    #89415
    robertybob
    Participant

    I’ll probably attempt the first solution, thank you!! :) :)

    #89574
    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
    Mike Manley
    Participant
    #93338
    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! ***

    #98892
    meat
    Participant

    Thanks 0rionas/Herb works great! (2.6)

    #103351
    Anonymous
    Inactive

    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)
  • The forum ‘Splash screens’ is closed to new topics and replies.