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

    EmulationStation mod

    Scheduled Pinned Locked Moved Ideas and Development
    mod
    340 Posts 49 Posters 371.2k 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.
    • J
      jdoolin
      last edited by

      Another update, this time on the XML gamelist to SQLite3 database conversion tool.

      Right now it's a python program using all default libraries and takes the following steps.

      1 - Opens a database at ~/.emulationstation/es.db
      2a - Checks for ~/.emulationstation/es_systems.cfg and opens it if it exists if not,
      2b - Checks for /etc/emulationstation/es_systems.cfg and opens it. In either case if there is a parse error the program exits gracefully
      3 - Parses the es_systems.cfg file and adds all entries to the SQLite database
      4 - For each system it finds it reads ~/.emulationstation/gamelists/<system name>/gamelist.xml, then adds those games to the database

      I think all it needs is a little more error checking and some useful reporting, but otherwise it looks solid to me.

      Now, am I correct that the gamelists could also exist in the respective rom paths as well? If so, where is that option found? I should be able to read the config and see where to look for gamelists.

      And what else could I be missing?

      1 Reply Last reply Reply Quote 1
      • mattrixkM
        mattrixk @jacobfk20
        last edited by

        Thanks @jacobfk20. I'll hopefully have a chance to get this running this weekend some time. I'll post back with results.

        My ES themes: MetaPixel | Spare | Io | Indent

        1 Reply Last reply Reply Quote 0
        • RookervikR
          Rookervik Global Moderator
          last edited by

          Oh I forgot to ask for something! * gets down on knees and begs* Can we have a clock? A clock would be so amazing. I dug out an old "grid dreams" mockup I did. Reminded me about wanting a clock in ES. Keep in mind, it was March when I did this mockup.

          undefined

          meleuM InsecureSpikeI 2 Replies Last reply Reply Quote 0
          • RookervikR
            Rookervik Global Moderator
            last edited by

            And just for S&G, my take on Material, by Lilbud
            undefined

            1 Reply Last reply Reply Quote 1
            • meleuM
              meleu @Rookervik
              last edited by

              @Rookervik said in EmulationStation mod:

              Oh I forgot to ask for something! * gets down on knees and begs* Can we have a clock? A clock would be so amazing. I dug out an old "grid dreams" mockup I did. Reminded me about wanting a clock in ES. Keep in mind, it was March when I did this mockup.

              undefined

              is it the mehstation?! I think I underrated it...

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              1 Reply Last reply Reply Quote 1
              • J
                jacobfk20
                last edited by

                @Rookervik Nice mockups :) The Pi doesn't have an RTC so the clock may just annoy people if they don't connect their pi to the internet to keep the time correct. But to be honest I was thinking not too long ago as I was looking at ES and just thinking "Man, I wish there was a clock." lol

                1 Reply Last reply Reply Quote 0
                • B
                  bense2k @jdoolin
                  last edited by

                  @jdoolin I dont know if it is a good idea to add some form of checksum for the source files to the db, so only changed files need to be parsed.

                  1 Reply Last reply Reply Quote 0
                  • mattrixkM
                    mattrixk @jacobfk20
                    last edited by

                    @jacobfk20 Sorry mate, but I need some help still.

                    I managed to set up an ubuntu virtual machine, and I got RetroPie set up on it by following this guide, but now I can't get your Mod to work.

                    • I downloaded the latest version from your google drive and then went into /opt/retropie/supplementary/emulationstation. I had to change the permissions before it would let me make any changes within the folder, but I figured out how to do that with chown.

                    • So I made a back up of the emulationstation file within /opt/retropie/supplementary/emulationstation, then I copied your file over it. Now when I try to run it I get:

                    /opt/retropie/supplementary/emulationstation.sh: 6: /opt/retropie/supplementary/emulationstation.sh: /opt/retropie/supplementary/emulationstation: Permission denied
                    

                    Do you know what this means or how to get around it? I tried changing permissions back to root, but that didn't change anything. When I moved the backup file back into place (overwriting your file) ES started working again without a problem.

                    My ES themes: MetaPixel | Spare | Io | Indent

                    1 Reply Last reply Reply Quote 0
                    • J
                      jacobfk20
                      last edited by jacobfk20

                      @mattrixk How do you run emulationstation? What command do you type?

                      mattrixkM 1 Reply Last reply Reply Quote 0
                      • mattrixkM
                        mattrixk @jacobfk20
                        last edited by

                        @jacobfk20 I just type emulationstation in the terminal.

                        That works with the default file, or double clicking it also starts ES. I also use emulationstation --windowed --resolution 1280 720 so it opens in a windowed view.

                        However when I try emulationstation in terminal with your file in place, I get the error listed above. If I try double clicking the file, it asks me what program I want to use to open it.

                        I'm a linux noob, so I'm probably missing a simple step.

                        My ES themes: MetaPixel | Spare | Io | Indent

                        1 Reply Last reply Reply Quote 0
                        • J
                          jacobfk20
                          last edited by

                          my Emulationstation file may not be set as an executable. Try doing from terminal:

                          • chmod +x emulationstation

                          while in the same directory as my es file.

                          mattrixkM 1 Reply Last reply Reply Quote 0
                          • mattrixkM
                            mattrixk @jacobfk20
                            last edited by

                            @jacobfk20 I did that, then ran emulationstation again and I got the following error:

                            /opt/retropie/supplemental/emulationstation/emulationstation: 1: /opt/retropie/supplemental/emulationstation/emulationstation: Syntax error: word unexpected (expecting ")")
                            

                            My ES themes: MetaPixel | Spare | Io | Indent

                            1 Reply Last reply Reply Quote 0
                            • J
                              jacobfk20
                              last edited by

                              @mattrixk That's a new one. May need to talk over some pm.

                              mattrixkM 1 Reply Last reply Reply Quote 0
                              • mattrixkM
                                mattrixk @jacobfk20
                                last edited by

                                @jacobfk20 Hooray, I'm good at breaking things in weird ways.

                                My ES themes: MetaPixel | Spare | Io | Indent

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jacobfk20
                                  last edited by

                                  How did you run chmod? If you have skype we can talk more easily on that. My name is the same there as it is on here.

                                  mattrixkM 1 Reply Last reply Reply Quote 0
                                  • mattrixkM
                                    mattrixk @jacobfk20
                                    last edited by

                                    @jacobfk20 said in EmulationStation mod:

                                    How did you run chmod?

                                    I just went into my ES folder /opt/retropie/supplemental/emulationstation/, typed in chmod +x emulationstation and hit enter. There was no indication that anything had happened, but also no error message to say what I did was wrong. Should I have done sudo?

                                    I don't have skype (and I'm kinda at work at the moment, so I should really be doing that instead of this). Short of gmail or google chat, I don't really have any chat programs. I don't even use facebook, and haven't touched MIRC since I was in highschool over 15 years ago.

                                    My ES themes: MetaPixel | Spare | Io | Indent

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jacobfk20
                                      last edited by

                                      My gmail is the same name as it is here too :)

                                      mattrixkM 1 Reply Last reply Reply Quote 0
                                      • mattrixkM
                                        mattrixk @jacobfk20
                                        last edited by

                                        @jacobfk20 email sent.

                                        My ES themes: MetaPixel | Spare | Io | Indent

                                        1 Reply Last reply Reply Quote 0
                                        • FloobF
                                          Floob
                                          last edited by

                                          @jacobfk20
                                          I used your grid view version of ES in the experimental image I built here, hope thats ok with you.
                                          https://retropie.org.uk/forum/topic/93/attract-mode-with-retropie-alternative-to-emulationstation/213

                                          Please read the Docs before asking a new question.
                                          RetroPie Help Guides: https://goo.gl/3gcNsT

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            jacobfk20
                                            last edited by

                                            @Floob Yes, that's fine by me. Thanks for letting me know. I just want you to know that I'm still working on it quite a bit.

                                            Also, I took a quick look at your work. Looking good :)

                                            FloobF 1 Reply Last reply Reply Quote 0
                                            • 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.