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

Create a custom ES system able to launch games for many systems

Scheduled Pinned Locked Moved Ideas and Development
emulationstatiocustomisationscustom theme
157 Posts 15 Posters 66.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.
  • C
    cyperghost @meleu
    last edited by 8 Jun 2017, 14:26

    @meleu
    So work done - I created a litlle unix binary for a fav launcher in a new thread

    1 Reply Last reply Reply Quote 2
    • M
      meleu
      last edited by meleu 6 Sept 2017, 13:46 9 Jun 2017, 12:37

      Guess what? Yes, you're right, another script...

      This time it's a script to let you use the already existent metadata. So, there's no need to scrape the games in konami folder.

      The script can be found here: https://github.com/meleu/share/blob/master/custom-system-autoscraper.sh

      And you can download it with this command:

      wget https://raw.githubusercontent.com/meleu/share/master/custom-system-autoscraper.sh
      

      Launch it with --help to see the usage:

      $ ./custom-system-autoscraper.sh -h
      This script gets all the symbolic links in a custom ES system directory and
      tries to create a gamelist.xml based on already existent metadata, boxart,
      marquee, and video.
      More info here: https://retropie.org.uk/forum/post/84125
      Usage:
      ./custom-system-autoscraper.sh /path/to/custom/system/directory

      Updated the OP with this info.

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      1 Reply Last reply Reply Quote 2
      • U
        UDb23 @meleu
        last edited by 9 Jun 2017, 18:53

        @meleu said in Create a custom ES system able to launch games for many systems:

        Maybe this one from title screen:

        Logo done. Complete manual design.

        0_1497034362790_megaman.png
        Works best on dark background.

        Available here.

        1 Reply Last reply Reply Quote 3
        • M
          meleu
          last edited by 10 Jun 2017, 02:12

          OMG! I'm loving this theme tweaking stuff!!!

          0_1497060729318_megaman-ES-pixel.png

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          1 Reply Last reply Reply Quote 4
          • H
            Howitzer99
            last edited by 11 Jun 2017, 09:12

            I'm still trying to fully understand the differences between the various config directories, but following along with the OP for setting up a Konani directory, I ended up getting it to work by editing my ~/.emulationstation/es_systems.cfg file instead of the one listed in /etc/emulationstation/ directory.

            Are the files in the ~/.emulationstation intended to be only for overrides, so essentially empty except for and local changes? I started with an existing image setup a few months ago, so while it's helpful for getting started, does add some confusion later on when trying to weed-out unnecessary files.

            melue, thanks for putting together this tutorial, very helpful, and thanks to UDB23 for the Mega Man vector, nice work!

            M 2 Replies Last reply 11 Jun 2017, 09:54 Reply Quote 2
            • M
              meleu @Howitzer99
              last edited by meleu 6 Nov 2017, 14:44 11 Jun 2017, 09:54

              removed duplicated post (due to poor internet connection)

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              1 Reply Last reply Reply Quote 0
              • M
                meleu @Howitzer99
                last edited by meleu 6 Nov 2017, 11:10 11 Jun 2017, 10:09

                @Howitzer99 said in Create a custom ES system able to launch games for many systems:

                Are the files in the ~/.emulationstation intended to be only for overrides, so essentially empty except for and local changes?

                Well, I thought it was the first place ES looks for es_systems.cfg ans, if not found, look in /etc/emulationstation. But if it's working as you're saying, one file complementing the other, it's great. I'll update the OP when I have a chance.

                By the way, Did you use the script to create the custom system's gamelist.xml? I'm curious to see if it's being useful to someone else. :-)

                Edit: post a screenshot of your custom ES system. ;-)

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 0
                • H
                  Howitzer99
                  last edited by 11 Jun 2017, 11:25

                  meleu, I did run your "custom-system-autoscraper.sh", but when the Konami directory didn't showup in ES, I ended up running sscraper on the listed konami directory from the retropie-setup script. I'm seeing metadata listed, but probably from the sscraper.

                  Sure, now that I know that it's working for creating a custom system, I'll start working on some custom ES system designs this week.

                  M 1 Reply Last reply 11 Jun 2017, 15:23 Reply Quote 1
                  • M
                    meleu @Howitzer99
                    last edited by meleu 6 Nov 2017, 16:38 11 Jun 2017, 15:23

                    @Howitzer99 I intentionally made it doesn't change any existing entry in the custom system's gamelist.xml. So, if you run it after sselph it won't do anything. (According to what you said this is not your case, I've putting this just for info ;-) ).

                    I'm planning to write a script to simplify the symbolic link creation. This step can be pretty tedious and a script can help. Stay tuned!

                    Cheers!

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    C H 2 Replies Last reply 12 Jun 2017, 18:24 Reply Quote 1
                    • C
                      cyperghost @meleu
                      last edited by 12 Jun 2017, 18:24

                      @meleu I have boosted the fav launcher a bit now we can create FAV files via runcommand :)
                      https://retropie.org.uk/forum/topic/10971/dev-little-favorite-launcher-second-attempt-ready-for-testers

                      1 Reply Last reply Reply Quote 2
                      • H
                        Howitzer99 @meleu
                        last edited by Howitzer99 14 Jun 2017, 05:33

                        @meleu I had some time to checkout your script for creating the gamelist.xml based on existing roms, and yes, it does work, and is pretty slick! Nice that its only reading existing metadata to create the list. I've never seen 'xmlstarlet' before, more reading to do.

                        How is the symbolic link program going? Please let me know if you want me to run some tests.

                        One thing I'm discovering is that I don't have the video previews setup for ES (working fine for Attract Mode). I have a bunch of video snaps and marquees, so I don't need to scrape my games again, only point to the existing files that Attract Mode is using. Do you know if anyone has created a script to embed the video and marquee data into an existing gamelist.xml file? I went through one post with almost 600 replies (somewhat fast), and didn't see a script to add these.

                        P E M 3 Replies Last reply 14 Jun 2017, 06:47 Reply Quote 1
                        • P
                          pjft @Howitzer99
                          last edited by 14 Jun 2017, 06:47

                          @Howitzer99 There was a script by @Nismo, I think, using Powershell, I believe, that does that. If you search the forums for something like that, you'll get the gist of it. If you can't, do let me know (on the go at the moment). The script just adds the proper "video" tags to the gamelists, based on the rom name, and to a folder that you can change in the script. It does assume that the video name will be the same as the rom name. Oh, and it had some minor issues with game names that had "." in the middle, but you can fix those as one-offs.

                          1 Reply Last reply Reply Quote 0
                          • E
                            EctoOne @Howitzer99
                            last edited by 14 Jun 2017, 07:07

                            @Howitzer99 Someone posted a tutorial on adding videos and marquees with regular expressions a few days ago but i can't find it for whatever reason.
                            But there is also a windows tool that can do what you want.
                            https://retropie.org.uk/forum/topic/9486/gengal-gamelist-xml-generator

                            H 1 Reply Last reply 14 Jun 2017, 08:03 Reply Quote 0
                            • H
                              Howitzer99 @EctoOne
                              last edited by 14 Jun 2017, 08:03

                              @EctoOne Thanks, I did see the Windows version, I should have prefaced the request that I'm looking for a linux script not windows.

                              P 1 Reply Last reply 14 Jun 2017, 08:06 Reply Quote 0
                              • P
                                pjft @Howitzer99
                                last edited by 14 Jun 2017, 08:06

                                @Howitzer99 Check my post. I ran it on a Mac, and it's a terminal script. You just need to install PowerShell for Linux.

                                H 1 Reply Last reply 14 Jun 2017, 08:10 Reply Quote 0
                                • H
                                  Howitzer99 @pjft
                                  last edited by 14 Jun 2017, 08:10

                                  @pjft Awesome, thanks, will checkout PowerShell as well.

                                  GenGal definitely hits the request, thanks for the fast replies!

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    meleu @Howitzer99
                                    last edited by meleu 14 Jun 2017, 08:27

                                    @Howitzer99 said in Create a custom ES system able to launch games for many systems:

                                    How is the symbolic link program going? Please let me know if you want me to run some tests.

                                    Almost done. I had to be away from my computers in the last few days but now I'm back. I'm going to post about it here in a couple of days. ;-)

                                    I'm making it create the link and the respective gamelist.xml entry at the same time. So, you will just have to run this tool to accomplish these two tasks.

                                    • Useful topics
                                    • joystick-selection tool
                                    • rpie-art tool
                                    • achievements I made
                                    H 1 Reply Last reply 14 Jun 2017, 14:17 Reply Quote 0
                                    • E
                                      EctoOne @meleu
                                      last edited by 14 Jun 2017, 09:42

                                      Is there a way to expand the script @meleu made for batch linking to have maybe the original system added as suffix in the link? I finally had some time to try this out and i ran into a problem when i tried to made just a SEGA system. Since i have all my Roms zipped, i ran into an issue with having the same filename inside my GameGear and MasterSystem folder. IDK if it is possible on linux but it would be great if i could links like gamename (europe)-gamegear.zip

                                      # in this example I'm creating links for every file in gameboy directory
                                      original_system="/home/pi/RetroPie/roms/gb"
                                      destination_system="/home/pi/RetroPie/roms/nintendo"
                                      while read -r file; do
                                      ln -s "$original_system/$file" "$destination_system/$file"
                                      done < <(ls "$original_system")
                                      M 1 Reply Last reply 14 Jun 2017, 11:18 Reply Quote 0
                                      • M
                                        meleu @EctoOne
                                        last edited by 14 Jun 2017, 11:18

                                        @EctoOne the link can have any name you want. You can batch all, and then manually create those with the same name.

                                        Or maybe wait a day or two and see the script I'm planning to release. ;-)

                                        • Useful topics
                                        • joystick-selection tool
                                        • rpie-art tool
                                        • achievements I made
                                        T 1 Reply Last reply 14 Jun 2017, 11:30 Reply Quote 2
                                        • T
                                          TMNTturtlguy @meleu
                                          last edited by 14 Jun 2017, 11:30

                                          @meleu oh my! I can't wait! This must be an impressive script! Can you confirm that it will link the rom and gamelist info all in one script command? I was going to use your script to populate all of my new systems in the theme today, but now I will have to wait to see what you have in store for us!

                                          M 2 Replies Last reply 14 Jun 2017, 11:48 Reply Quote 0
                                          77 out of 157
                                          • First post
                                            77/157
                                            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