• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Fun Facts Splashscreens

Scheduled Pinned Locked Moved Projects and Themes
splashscreenscarbon
102 Posts 13 Posters 22.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    hiulit @meleu
    last edited by 11 Nov 2017, 13:17

    @meleu Oh, you're right! ;) See you there!

    My little contributions to the RetroPie project:

    • Shell-Script-Boilerplate
    • Fun-Facts-Splashscreens
    • Limit-Last-Played-Games
    1 Reply Last reply Reply Quote 0
    • M
      meleu
      last edited by meleu 13 Nov 2017, 14:36

      @BuZz please, evaluate if you would accept the following feature for splashscreen script module (and asplashscreen.sh script):

      Adding an option to put a random "fun fact" on the splashscreen.

      The result would be something like this:

      pixelsplashfunfact

      Some notes about how I'm thinking to implement that:

      • add a toggle option on splashscreen script module to enable/disable fun facts.

      • when enabled, a new splashscreen would be generated at every boot

      • a new dependency to generate the images: imagemagick (same as launchingimages scriptmodule).

      • the image would be generated at boot in a background process and would be used in the next boot. I mean, when I boot my pi, the splashscreen I would see already exists and the script would be generating a new one for the next boot in a background process.

      • (obviously) it would be only used when the splashscreen is an image (do nothing when using a video)

      • the "fun facts database" would be a text file in $datadir/splashscreens/.

        • an "official" funfacts collection could be stored in the official repo in scriptmodules/supplementary/splashscreen/

        • provide a way to the user use a custom funfacts collection.

      • the font to be used for the fun fact text would be the same as the one used by the current ES theme in detailed view.

        • Note: RetroPie must be frontend agnostic. Then, if the script can't find the font as described above, it would use a generic font.
      • all the logic for the image generation would be in asplashscreen.sh script

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      B 1 Reply Last reply 13 Nov 2017, 17:10 Reply Quote 0
      • B
        BuZz administrators @meleu
        last edited by 13 Nov 2017, 17:10

        @meleu I wouldn't be interested sorry.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        M 1 Reply Last reply 13 Nov 2017, 17:13 Reply Quote 0
        • M
          meleu @BuZz
          last edited by 13 Nov 2017, 17:13

          @buzz copy that.

          @hiulit let's keep the development extra-officially.

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          H 1 Reply Last reply 13 Nov 2017, 17:25 Reply Quote 1
          • H
            hiulit @meleu
            last edited by 13 Nov 2017, 17:25

            @meleu Alright!

            My little contributions to the RetroPie project:

            • Shell-Script-Boilerplate
            • Fun-Facts-Splashscreens
            • Limit-Last-Played-Games
            1 Reply Last reply Reply Quote 0
            • H
              hiulit
              last edited by hiulit 12 Dec 2017, 09:45 18 Nov 2017, 21:16

              Good news everyone!
              We have a working Fun Facts Splashscreens generator! :D

              https://github.com/hiulit/RetroPie-Fun-Facts-Splashscreens

              Fun Facts Splashscreens for RetroPie

              Not working yet! Well, it's working, but it's not officially released! It's just for testing purposes!

              This script generates splashscreens for RetroPie with a random Fun Fact!™.

              WARNING: Splashscreens are only only available on the Raspberry Pi.

              For now, this is the best way to use the splashscreen created by this script:

              • Create a Fun Fact!™ splashscreen. See the examples below.
              • Go to the Splashscreen Menu (the Splashscreen Menu can be accessed from the RetroPie Menu in EmulationStation or through the setup script under option 3)
              • Select the Choose Own Splashscreen option. See the Splashscreen wiki.
              • Select the recently created Fun Fact!™ splashscreen.

              Instalation

              cd /home/pi/
              git clone https://github.com/hiulit/es-fun-facts-splashscreens.git
              cd es-fun-facts-splashscreens/
              sudo chmod +x es-fun-facts-splashscreens.sh
              

              Usage

              sudo ./es-fun-facts-splashscreens.sh [options]
              

              If no options are passed, you will be prompted with a usage example:

              USAGE: sudo ./es-fun-facts-splashscreens.sh [options]
              
              Use '--help' to see all the options
              

              Options

              • --help: Print the help message and exit.
              • --enable-boot: Enable script to be launch at boot.
                • $1: Path to the splashscreen to be used.
                • $2: Text color.
              • --disable-boot: Disable script to be launch at boot.
              • --create-fun-fact: Create Fun Fact Splashscreen.
                • $1: Path to the splashscreen to be used.
                • $2: Text color.

              If no options are passed to --create-fun-fact or --enable-boot, the script takes the splashscreen and the text color defaults, splash4-3.png and white, respectively.

              Examples

              --help

              Print the help message and exit.

              sudo ./es-fun-facts-splashscreens.sh --help
              

              --enable-boot [options]

              Enable script to be launch at boot.

              WARNING: Backing up /etc/rc.local it's most recommended before using this option. It could erase important stuff. Use it at your own risk.

              Options:

              • $1: Path to the splashscreen to be used.
              • $2: Text color.
              sudo ./es-fun-facts-splashscreens.sh --enable-boot /home/pi/Downloads/retropie-2014.png black
              

              --disable-boot

              Disable script to be launch at boot.

              WARNING: Backing up /etc/rc.local it's most recommended before using this option. It could erase important stuff. Use it at your own risk.

              sudo ./es-fun-facts-splashscreens.sh --disable-boot
              

              --create-fun-fact

              Create Fun Fact Splashscreen.

              Options:

              • $1: Path to the splashscreen to be used.
              • $2: Text color.
              sudo ./es-fun-facts-splashscreens.sh --create-fun-fact /home/pi/Downloads/retropie-2014.png black
              

              Credits

              Thanks to:

              • @Parviglumis - For the idea of creating the Fun Facts Splashscreens.
              • @meleu - For all his help and wisdom with the code :D
              • All the people at the RetroPie Forum.

              My little contributions to the RetroPie project:

              • Shell-Script-Boilerplate
              • Fun-Facts-Splashscreens
              • Limit-Last-Played-Games
              M 1 Reply Last reply 18 Nov 2017, 23:36 Reply Quote 2
              • H
                hiulit
                last edited by hiulit 18 Nov 2017, 21:33

                Here's a little video demo where you can see it generates a new random splashscreens at every boot:

                Fun Facts! Splashscreens video demo

                P.S. I know!!! Get a new power supply!! I know!!! :P

                My little contributions to the RetroPie project:

                • Shell-Script-Boilerplate
                • Fun-Facts-Splashscreens
                • Limit-Last-Played-Games
                1 Reply Last reply Reply Quote 0
                • M
                  meleu @hiulit
                  last edited by 18 Nov 2017, 23:36

                  @hiulit Good job! :D

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  ParviglumisP 1 Reply Last reply 19 Nov 2017, 17:44 Reply Quote 1
                  • ParviglumisP
                    Parviglumis @meleu
                    last edited by 19 Nov 2017, 17:44

                    WOW. You guys are amazing!

                    1 Reply Last reply Reply Quote 1
                    • H
                      hiulit
                      last edited by 20 Nov 2017, 09:19

                      @meleu @Parviglumis Thanks! : D It's been fun doing this project! There's a couple of things that could be improved to make it more 'bullet-proof' (aka robust) but I'm happy with it.
                      I hope you can try it and let me know if it works and if you'd like something else implemented.

                      My little contributions to the RetroPie project:

                      • Shell-Script-Boilerplate
                      • Fun-Facts-Splashscreens
                      • Limit-Last-Played-Games
                      1 Reply Last reply Reply Quote 0
                      • H
                        hiulit
                        last edited by hiulit 12 Dec 2017, 09:44 20 Nov 2017, 09:28

                        Also, I think it's time to add more Fun Facts!, right?

                        Here it is an online text editor that anyone can edit http://www.writeurl.com/text/w67sdbpbji22fdc7exd5/ps4uvs5e3cu0nn58m757/4fn5n3cx7x3fn4fkvdav

                        EDIT: Or, if you know how, create a pull request with changes to https://github.com/hiulit/RetroPie-Fun-Facts-Splashscreens/blob/master/fun-facts.txt

                        Just add a new Fun Fact!™ at the end and I'll grab them from time to time and update the repository.

                        IMPORTANT: Every Fun Fact!™ must be in one line.

                        P.S. That's something that could be improved :P
                        P.S.S. Does anyone know if there's like a video games 'fun facts' database? It would be awesome if it came with an API :D

                        My little contributions to the RetroPie project:

                        • Shell-Script-Boilerplate
                        • Fun-Facts-Splashscreens
                        • Limit-Last-Played-Games
                        M 1 Reply Last reply 21 Nov 2017, 13:34 Reply Quote 0
                        • F
                          Flapperultra
                          last edited by 20 Nov 2017, 11:03

                          awesome work but one question does it or will be able to show video splash screens I create?

                          H 1 Reply Last reply 20 Nov 2017, 11:26 Reply Quote 0
                          • H
                            hiulit @Flapperultra
                            last edited by 20 Nov 2017, 11:26

                            @flapperultra I'm sorry, but this script doesn't work with videos, only images. It creates a splashscreen (the one shown at boot) based on an image you choose and the color for the Fun Fact!™.
                            It was never intended to create videos with fun facts.

                            If you want to show a video splashscreen you've created, see the Splashscreen Wiki.

                            My little contributions to the RetroPie project:

                            • Shell-Script-Boilerplate
                            • Fun-Facts-Splashscreens
                            • Limit-Last-Played-Games
                            1 Reply Last reply Reply Quote 0
                            • M
                              meleu @hiulit
                              last edited by 21 Nov 2017, 13:34

                              @hiulit there's another PR on your repo.

                              Also, I'm thinking if this functionality could be converted in a scriptmodule and submitted to @zerojay 's RetroPie-Extra repository... What do you think?

                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              H 1 Reply Last reply 21 Nov 2017, 14:45 Reply Quote 0
                              • Z
                                zerojay
                                last edited by 21 Nov 2017, 13:37

                                If you build it, I'll take it. I accept PRs. :)

                                H 1 Reply Last reply 11 Dec 2017, 12:22 Reply Quote 1
                                • H
                                  hiulit @meleu
                                  last edited by 21 Nov 2017, 14:45

                                  @meleu Thanks again for the PR! :) There's quite a few changes, so I'll try to understand everything. Then maybe I'll ask you some questions about it :P , test it and merge it.
                                  @zerojay That's a great idea! I'll take a look at how to implement that :)

                                  My little contributions to the RetroPie project:

                                  • Shell-Script-Boilerplate
                                  • Fun-Facts-Splashscreens
                                  • Limit-Last-Played-Games
                                  1 Reply Last reply Reply Quote 1
                                  • H
                                    hiulit @zerojay
                                    last edited by 11 Dec 2017, 12:22

                                    @zerojay @meleu I've created a PR ;) https://github.com/zerojay/RetroPie-Extra/pull/265

                                    My little contributions to the RetroPie project:

                                    • Shell-Script-Boilerplate
                                    • Fun-Facts-Splashscreens
                                    • Limit-Last-Played-Games
                                    1 Reply Last reply Reply Quote 1
                                    • H
                                      hiulit
                                      last edited by hiulit 12 Dec 2017, 09:50 12 Dec 2017, 09:43

                                      I think we are ready for a v1.0.0!!! https://github.com/hiulit/RetroPie-Fun-Facts-Splashscreens

                                      Here are the latest updates:

                                      • Added a bunch of new Fun Facts!
                                      • Had a lot of help from @meleu , so the code should be quite good :P
                                      • Some refactoring has been done. Check out the new README.
                                      • Created a GUI. Some examples:

                                      Retropie-Fun-Facts-Splashscreens-GUI-01

                                      Retropie-Fun-Facts-Splashscreens-GUI-02

                                      Retropie-Fun-Facts-Splashscreens-GUI-03

                                      Retropie-Fun-Facts-Splashscreens-GUI-04

                                      Retropie-Fun-Facts-Splashscreens-GUI-05

                                      Retropie-Fun-Facts-Splashscreens-GUI-06

                                      Retropie-Fun-Facts-Splashscreens-GUI-07

                                      Also, I created a scriptmodule that is waiting to be integrated in @zerojay 's RetroPie-Extra repository. This will make installation and usage easier, because the script will be in RetroPie Setup.

                                      My little contributions to the RetroPie project:

                                      • Shell-Script-Boilerplate
                                      • Fun-Facts-Splashscreens
                                      • Limit-Last-Played-Games
                                      1 Reply Last reply Reply Quote 2
                                      • H
                                        hiulit
                                        last edited by 12 Dec 2017, 21:24

                                        Thanks to @zerojay , Fun Facts! Splashscreens for Retropie is officially on the RetroPie-Extra repository!!! :D

                                        You can find it in the supplementary section.

                                        My little contributions to the RetroPie project:

                                        • Shell-Script-Boilerplate
                                        • Fun-Facts-Splashscreens
                                        • Limit-Last-Played-Games
                                        M 1 Reply Last reply 14 Dec 2017, 21:44 Reply Quote 2
                                        • M
                                          meleu @hiulit
                                          last edited by 14 Dec 2017, 21:44

                                          @hiulit well done sir!!

                                          • Useful topics
                                          • joystick-selection tool
                                          • rpie-art tool
                                          • achievements I made
                                          1 Reply Last reply Reply Quote 1
                                          • First post
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                            This community forum collects and processes your personal information.
                                            consent.not_received