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.
    • UDb23U
      UDb23 @UDb23
      last edited by

      @meleu Should be ok now. It shows both merged now. thanks

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

        @UDb23 said in Nice MAME2003 overlays repository:

        BTW any wish for a specific one ? Just asking; I'm not committing I'll make it. :-D

        Well, I was holding back myself from asking you to do an overlay for Cadillacs and Dinosaurs. :-)

        It's one of the most played by kids (and grownups too) when visiting my home.

        @UDb23 said in Nice MAME2003 overlays repository:

        can you please check if everything has been merged ?

        Checked, and everything is fine!
        Thanks!

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

          @meleu Edited To do list: "add clone support".
          I should already have good quality graphics for Cadillacs & Dinosaurs... so an overlay could arrive in Brazil next week ;-)
          Never played that game actually; so it's a good opportunity.
          Cheers.

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

            Just made Time Pilot overlay.

            Good to test the script for updates ;-)

            1 Reply Last reply Reply Quote 2
            • HurricaneFanH
              HurricaneFan
              last edited by

              I tried using this process for the first time tonight and it didn't work for me. As a test, I tried to add 1941 and I get, "Failed to install overlay for these games: 1941".

              I have mame games in Arcade folder and mame-libretro folder and neither location allowed me to install the overlays using this script.

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

                @HurricaneFan please, delete your local repository and clone it again in order to get the new changes in the script and repository structure.

                Try again and let me know if you find any issue.

                FYI: the 1941 problem was due the clone .zip.cfg file (1941j.zip.cfg). This file was removed now.

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

                  @meleu Still failing with same error. I see all of the folders of stuff on my computer but its failing to do anything with them.

                  Is there a log file for your script?

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

                    @HurricaneFan said in Nice MAME2003 overlays repository:

                    Is there a log file for your script?

                    Currently not. But you can help me with this debug, launch the script this way:

                    bash -x rpie-ovl.sh 2> log.txt
                    

                    And try to install the 1941 overlay.

                    Then paste the log.txt in http://codepad.org/ (select the "Plain Text" at the left of text box). It could be pastebin or something, but I'm behind a restrictive proxy...

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

                      @meleu Here is the output: http://codepad.org/60dAiEZi

                      ++ ls '1941/*.zip.cfg'
                      ls: cannot access 1941/*.zip.cfg: No such file or directory
                      

                      It's not looking in the arcade folder for 1941 folder contents.

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

                        @HurricaneFan said in Nice MAME2003 overlays repository:

                        It's not looking in the arcade folder for 1941 folder contents.

                        exactly! Really sorry fo this... :/

                        Will sort in a few minutes.

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

                          @meleu Take your time. I can manually test overlays.

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

                            @HurricaneFan fixed. Now we have to wait @UDb23 to merge the PR.

                            If you are comfortable with editing files on Linux, you can see the diff here: https://github.com/UDb23/rpie-ovl/pull/16/files

                            It's pretty simple.

                            And when you use the Update procedure later (after @UDb23 merge that PR) the script will get my fixes as usual. ;-)

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

                              @meleu That did the trick. 1941 overlay installed successfully. Thank you for the quick fix.

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

                                @meleu Merged. Thanks.

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

                                  @UDb23 I want to understand how the game console overlay config file works to implement it in the script.

                                  Let me see if I understood well:

                                  • the ROM_Name.cfg must be in the same dir as the ROM.
                                  • the ROM_Name.cfg file must be named exactly the same as the ROM file name, except the trailing .cfg.
                                  • configs in ROM_Name.cfg overrides the configs on system specific retroarch.cfg.

                                  Can you confirm if the sentences aboce are true?

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

                                    @meleu said in Nice MAME2003 overlays repository:
                                    the ROM_Name.cfg must be in the same dir as the ROM.
                                    yes

                                    the ROM_Name.cfg file must be named exactly the same as the ROM file name, except the trailing .cfg.
                                    yes, including extension (like gwa4.gba.cfg in the picture below)

                                    configs in ROM_Name.cfg overrides the configs on system specific retroarch.cfg.
                                    yes.; please note that both cfg's for each rom override settings in retroarch.cfg for that specific system (just for the specific rom)

                                    To summarize setup for consoles:

                                    ROM specific overlay setup:

                                    • ROM_Name.cfg (with naming and folder as mentioned before)
                                    • ROM_Name_system.cfg (to be placed in overlay folder; as gwg4_gba.cfg in the example below, with the overlay png) ("system"=3 letters.)

                                    SYSTEM generic overlay setup:

                                    system-LR.cfg content must be added (placed above the #include line) to existing retroarch.cfg in the configs system (e.g. gba-LR.cfg) folder. ("system" = 3 letters)
                                    If no retroarch.cfg exists in that folder (was the case for me for gba), just copy the provided retroarch.cfg into that folder (no edit required).

                                    system_artist-ovl.cfg must be placed in the overlay folder (with the overlay png)

                                    Hope this helps. If anything unclear just let me know.

                                    0_1490163819049_Schermata 2017-03-22 alle 07.22.18.png

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

                                      @UDb23 Starting today I think I will have two intense weeks. So I can only implement the console overlays installation later. But I'm predicting some issues with the filenames here.

                                      With the arcade overlays it was pretty simple because we are sure that the ROM files end with .zip, therefore the ROM config is .zip.cfg. But it's not true for the other systems.

                                      I'm starting to think in a better solution to make the script identify which file is what: using the file content rather than filenames.

                                      I don't know the details of those options/configs in those files, but as far as I understood the file that must be in the roms directory always has an input_overlay entry, and this entry is not present in that file that must be in .../overlays/arcade-bezels/ directory.

                                      Can you confirm that?

                                      If yes, I think that a better approach is to make the script look the .cfg files searching for the input_overlay entry. This file will be the one that must be in the roms dir.

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

                                        @meleu if your script can check the content of the file I can add a specific comment line in each cfg file. I think this is the easiest way to make sure your script can identify the cfg file.

                                        E.g. first line in cfg
                                        #meleuscript: overlay -> cfg to be placed in overlay folder
                                        #meleuscript:rom -> cfg to be placed in ROM folder

                                        As we're thinking about this: while arcade roms have specific and unique ROM filenames, my understanding is that console ROM filenames for the same game could be different ( different extension, different name).
                                        So it's user responsibility to check and be sure his roms use same ROM naming as the script...

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          backstander @meleu
                                          last edited by backstander

                                          @meleu I also think there could be an "information file" (maybe an xml file?) that is in the same directory as the overlay that has the information needed like the file's extension and if there is clones and what their names are and any other information needed like screen positioning for the generic GBA overlay, etc.

                                          You guys will need to come up with what the variables will be but it's an idea!

                                          <extension>zip</extension>

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

                                            @backstander Right, that's another option. I also proposed this approach when we started this project; not sure it's better. It's @meleu's decision now ;-)

                                            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.