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

    Nice MAME2003 overlays repository

    Scheduled Pinned Locked Moved Projects and Themes
    overlaysarcademame-libretromame2003
    157 Posts 11 Posters 83.4k 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.
    • meleuM
      meleu @backstander
      last edited by

      @backstander OK. The script will use 3 methods:

      1. exact match with rom_config from info.txt (without the trailing .cfg).
      2. try to find something using the game_name from info.txt.
      3. try to find something in gamelist.xml using the game_name from info.txt.

      But using hashes is a severe agression on the KISS principle. :-)

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      UDb23U 1 Reply Last reply Reply Quote 2
      • UDb23U
        UDb23 @meleu
        last edited by

        @meleu Yes, we should keep this absolutely simple. I would suggest to avoid hashes. Complexity to manage would be too big for the scope.
        The script, getting the name from the info.txt, could simply tell the user what is the required rom name and suggest manual renaming. ROM folders are accessible thru Samba shares so even a beginner user can access and rename.

        1 Reply Last reply Reply Quote 1
        • B
          backstander
          last edited by

          When it comes time to make a Wiki/Docs page about this script, we'll have to remember to put something about the names have to match in the troubleshooting section ;-)

          UDb23U 1 Reply Last reply Reply Quote 2
          • UDb23U
            UDb23 @backstander
            last edited by

            @backstander Good suggestion; yes this should be underlined.
            With @meleu's proposed 3 methods I hope we'll be able to automatically match rom names in most cases.

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

              @backstander I was reading a book today and faced a quote from Ralph Waldo Emerson that made me remember our brainstorm here:

              We ascribe beauty to that which is simple; which has no superfluous parts; which exactly answers its end(...)

              Cheers! :)

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              1 Reply Last reply Reply Quote 2
              • UDb23U
                UDb23 @Graboid
                last edited by

                @Graboid said in Nice MAME2003 overlays repository:

                I tried, not sure what I did wrong, but no folder in the Space Invaders!

                Did you manage to create it ? Need support ?
                I haven't found any Pull request from you.

                1 Reply Last reply Reply Quote 0
                • GraboidG
                  Graboid
                  last edited by

                  Yes, could you step me through creating a folder in the Space Invaders folder please. I'm not used to Github. Thanks.

                  Built Space Invaders Themed Bartop - Check it out here:- https://retropie.org.uk/forum/topic/5593/space-invaders-themed-bartop-arcade-uk-completed

                  UDb23U 1 Reply Last reply Reply Quote 0
                  • UDb23U
                    UDb23 @Graboid
                    last edited by

                    @Graboid I'd suggest you create a new Fork so we make sure you have a your own updated "copy" of the overlay repository. Once done you can add folders and your overlay files.
                    Let's take the example of Space Invaders.
                    If you click on that folder it should look like this:
                    0_1490638066773_Schermata 2017-03-27 alle 20.05.08.png
                    There is no command to create a new (sub) folder so you need to use the trick also @meleu suggested.
                    Click on "create new file" button; you get this:
                    0_1490638221315_Schermata 2017-03-27 alle 20.09.52.png
                    In the "name your file..." box write "nameofnewsubfolder/test.txt".
                    As currently no optional overlay exists for Space Invaders, the new subfolder should be called "Option 1".
                    This will create test.txt AND the subfolder that contains it.
                    Now you can click on the subfolder to open it.
                    From there you simply use "upload new file" button to add files from your PC.
                    After upload you can delete the "dummy" test.txt file.
                    Please follow new naming convention; I will then update the info.txt file.

                    One you have uploaded all your files you can make a "pull" request and I can Merge it with the main repository.

                    1 Reply Last reply Reply Quote 1
                    • UDb23U
                      UDb23 @meleu
                      last edited by

                      @meleu said in Nice MAME2003 overlays repository:

                      info.txt rules here.

                      info.txt creation completed for all overlays in the Repo.
                      Also added to console games (gba & atari2600).

                      Now it's your turn ;-)

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

                        @UDb23 I think I will only have a chance to really code something next week (from april-5 on). But I really wanna do it! ;-)

                        • Useful topics
                        • joystick-selection tool
                        • rpie-art tool
                        • achievements I made
                        UDb23U 1 Reply Last reply Reply Quote 2
                        • UDb23U
                          UDb23 @meleu
                          last edited by

                          @meleu whenever you can. No pressure ;-)

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

                            @UDb23 when you have time please take a look at the pending Pull Requests.

                            Cheers!

                            • Useful topics
                            • joystick-selection tool
                            • rpie-art tool
                            • achievements I made
                            UDb23U 1 Reply Last reply Reply Quote 1
                            • UDb23U
                              UDb23 @meleu
                              last edited by

                              @meleu said in Nice MAME2003 overlays repository:

                              look at the pending Pull Requests.

                              Done. Thanks for these updates.

                              UDb23U 1 Reply Last reply Reply Quote 0
                              • UDb23U
                                UDb23 @UDb23
                                last edited by UDb23

                                @UDb23 You are aware your script enhancements are dangerous ?
                                New ideas generate more ideas... and more potential work for you ;-)

                                As you're already installing the "scrape image", It would be so nice if the script would be able to install game info text too into gamelist.xml.
                                Where to find the mame official texts ? And how to manage these as they're "hidden" into history.dat file format ?
                                Maybe you've already noticed it but here's a CSV I generated that already fits these needs ;-)

                                Info.txt may include a line to "request" to :

                                • pull game text from this global file
                                  addgamedata = yes

                                and

                                • add personalized game description (instead of official mame or for local language)
                                  gamedescr = ".........."
                                meleuM 1 Reply Last reply Reply Quote 1
                                • UDb23U
                                  UDb23
                                  last edited by UDb23

                                  system = "arcade"
                                  Just wondering ... should we than also use different folders on the Pi ?

                                  Probably we need a /opt/retropie/emulators/retroarch/overlays/console-bezels/ folder
                                  in addition to /overlays/arcade-bezels/

                                  That would mean changing the current console CFGs and your script to create the console folder and place the files according to actual system.

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

                                    @UDb23 said in Nice MAME2003 overlays repository:

                                    Probably we need a /opt/retropie/emulators/retroarch/overlays/console-bezels/ folder
                                    in addition to /overlays/arcade-bezels/

                                    Actually since the config has a full path to the overlay config, it can be any valid folder. This path is not hardcoded in the script, the path is obtained from the input_overlay in the rom config.

                                    To achieve what you're suggesting the current script doesn't need any change, just use the path you want in the input_overlay. If it points to an inexistent folder, the script creates it.

                                    Summing up: choosing the proper folder to store overlays (configs and images) is a responsibility of the the rom config file's creator/maintainer.

                                    • Useful topics
                                    • joystick-selection tool
                                    • rpie-art tool
                                    • achievements I made
                                    UDb23U 1 Reply Last reply Reply Quote 0
                                    • meleuM
                                      meleu @UDb23
                                      last edited by

                                      @UDb23 said in Nice MAME2003 overlays repository:

                                      Info.txt may include a line to "request" to :

                                      • pull game text from this global file
                                        addgamedata = yes

                                      and

                                      • add personalized game description (instead of official mame or for local language)
                                        gamedescr = ".........."

                                      Could you detail these suggestions/new features on your repo issue tracker? Create an issue named "script feature request" or something. ;-)

                                      • Useful topics
                                      • joystick-selection tool
                                      • rpie-art tool
                                      • achievements I made
                                      UDb23U 2 Replies Last reply Reply Quote 0
                                      • GreenHawk84G
                                        GreenHawk84 @Graboid
                                        last edited by

                                        @Graboid these are perfect. Do they make them in 16:9 for 1080p screens?

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

                                          @GreenHawk84
                                          Take a look at the repo README. ;-)

                                          • Useful topics
                                          • joystick-selection tool
                                          • rpie-art tool
                                          • achievements I made
                                          1 Reply Last reply Reply Quote 0
                                          • UDb23U
                                            UDb23 @meleu
                                            last edited by

                                            @meleu said in Nice MAME2003 overlays repository:

                                            To achieve what you're suggesting the current script doesn't need any change, just use the path you want in the input_overlay. If it points to an inexistent folder, the script creates it.

                                            fantastic !

                                            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.