Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Solved HOW TO CONFIGURE AUTOMATIC OVERLAYS LOAD PER GAME IN MAME ?

    Themes & Interface
    configure automatic overlays per mame
    5
    25
    17295
    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.
    • Substring
      Substring last edited by

      Oh yeah d**n i haven't written the wiki yet ...

      It's a little bit trick, I must admit. Out of my head and reading the code :

      • you need to add a few folders :
        • /recalbox/share/overlays
        • /recalbox/share/overlays/system (for ex: /recalbox/share/overlays/mame)
        • then inside that folder, a file with the exact name of the rom including the extension for example cosmogng.zip.cfg

      that file will point to another cfg file that references the overlay. I'll try to paste some examples this evening

      Former dev - Please reply with @substring so that i am notified when you answer me
      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

      1 Reply Last reply Reply Quote 0
      • TheRealFox
        TheRealFox last edited by TheRealFox

        @Substring, I have made all the steps for Final Fight in fba-libretto, but another problem arrised: when I got out of Final Fight and load another game, the same overlay apllied to this game and for every one that I load. The main problem is that I want to load games that belongs to the same core: it seems there are a conflict for roms inside the same core in this procedure, no matter the path you create.

        Substring 1 Reply Last reply Reply Quote 0
        • Substring
          Substring @TheRealFox last edited by

          @TheRealFox as i said, it's a per game basis (i should add a core fallback i guess ?)

          Regarding your problem, i'm surprised ... The overlay file should not be added for a different rom

          Former dev - Please reply with @substring so that i am notified when you answer me
          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

          ydhainaut 1 Reply Last reply Reply Quote 0
          • TheRealFox
            TheRealFox last edited by TheRealFox

            @Substring, I aprecciate your help and think you gave the right tuto. Maybe it lack some procedure that you assume that I knew. Something I didn't make. I am almost a noob in these affairs. Can you put, please an exaustive example, including retroarch gui configuration, what I must set in config files, recalbox.conf, retroarchcustom.cfg. I mean, every preliminary thing I may need. I succeed in a config per core, but for rom it has been not easy for me :). Don't need to be hurry in more detailed tuto. I can wait your time. Grettings.

            Substring 1 Reply Last reply Reply Quote 0
            • Substring
              Substring @TheRealFox last edited by

              @TheRealFox Of course I'll do that. Just haven't had time since yesterday 😉 I'll do that asap and i'm sure it you'll succeed then 🙂

              Former dev - Please reply with @substring so that i am notified when you answer me
              Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

              1 Reply Last reply Reply Quote 0
              • Substring
                Substring last edited by

                What you need :

                • create the overlays folder + sub directory with the same name of the system
                • add there your .png, a romname.cfg + romname.zip.cfg

                So here is the basic info through an example

                • System : mame
                • Rom : double dragon (ddragon.zip)

                Folder : /recalbox/share/overlays/mame
                Files :

                • /recalbox/share/overlays/mame/ddragon.zip.cfg :
                input_overlay = /recalbox/share/overlays/mame/ddragon.cfg
                
                • /recalbox/share/overlays/mame/ddragon.cfg :
                overlays = 1
                overlay0_overlay = ddragon.png
                overlay0_full_screen = true
                overlay0_descs = 0
                

                So see the link : recalbox will look for overlays/<system>/<rom.extension>.cfg which itself refers to another .cfg (the file doesn't need to be named like the rom, up to you to customize the input_overlay parameter). Same goes for the overlay name

                these are the very minimum requirements. You can of course add some custom retroarch parameters to ddragon.zip.cfg Most of times you'd force the viewports

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                Pepe 1 Reply Last reply Reply Quote 0
                • TheRealFox
                  TheRealFox last edited by

                  Wow..I gonna try later night.......thanks!!!!!!!

                  1 Reply Last reply Reply Quote 0
                  • TheRealFox
                    TheRealFox last edited by TheRealFox

                    @Substring, I have made all the steps and doesn't work. In another try I changed in the retroarch gui the overlay directory to /recalbox/share/overlays/fba_libretro.

                    1 Reply Last reply Reply Quote 0
                    • TheRealFox
                      TheRealFox last edited by

                      @Substring I cannot put the latest version of Retroarch on recalbox?

                      Substring 1 Reply Last reply Reply Quote 0
                      • Substring
                        Substring @TheRealFox last edited by

                        @TheRealFox you could. I don't see why you would do that, you dot even k ow our compilation flags

                        Former dev - Please reply with @substring so that i am notified when you answer me
                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                        1 Reply Last reply Reply Quote 0
                        • TheRealFox
                          TheRealFox last edited by

                          @Substring, It is because I made this question about configuration per game on the official Retroarch fórum and someone say something about retroarch gui that interested me. He said: " In RetroArch, you would load up your game, go back into the menu and set up your desired overlay, then return to the quick menu and choose 'save game override' ". I noticed that the gui in retroarch 1.3.4 doesnt have this option in quick menu: save game overrride. I wondered if this option would save the overlay config by game.....

                          1 Reply Last reply Reply Quote 0
                          • TheRealFox
                            TheRealFox last edited by

                            @Substring, recalbox team dont think about upgrade the retroarch version on recalbox?

                            1 Reply Last reply Reply Quote 0
                            • TheRealFox
                              TheRealFox last edited by

                              @Substring. Do u have some tip for my failure? The steps that I did seems to be equal of your post. I have been frustated. Even yet I thanks your help.

                              1 Reply Last reply Reply Quote 0
                              • acris
                                acris last edited by

                                @Substring
                                in retroarch do you need option per game enable ?

                                1 Reply Last reply Reply Quote 0
                                • Substring
                                  Substring last edited by

                                  Some facts :

                                  • recalbox 4.1 is using retroarch 1.4.0
                                  • what i suggested only works for recalbox 4.1
                                  • it is not recalbox philosophy to let users mess around with emulators configuration in order to achieve something particular. We try to "ease the pain" when users want a feature

                                  Former dev - Please reply with @substring so that i am notified when you answer me
                                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                  1 Reply Last reply Reply Quote 0
                                  • TheRealFox
                                    TheRealFox last edited by TheRealFox

                                    @Substring, according to some posts that I saw around Internet, it is possible to make launch of individual overlays at the start up of retroarch 1.3.4, but u would have to change a file called emulatorlauncher.sh. But for me is not an easy task and I am not want to try it, due to the dificult. At least for me....

                                    Substring 1 Reply Last reply Reply Quote 0
                                    • TheRealFox
                                      TheRealFox last edited by TheRealFox

                                      @Substring, I think config per game is a need of several members of the comunity in order to let saved configurations of multiple overlays for every arcade game you want to keep in this way. With the consoles the need is when multiple systems share the same core. When you choose an especific overlay for a core, others systems that share the same core get the same overlay. This is an annoying thing.

                                      1 Reply Last reply Reply Quote 0
                                      • Substring
                                        Substring @TheRealFox last edited by

                                        @TheRealFox i never said you can't, i said we ease the pain. Retropie would probably have some doc on that feature

                                        Former dev - Please reply with @substring so that i am notified when you answer me
                                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                        Pepe 1 Reply Last reply Reply Quote 0
                                        • Pepe
                                          Pepe @Substring last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • Pepe
                                            Pepe @Substring last edited by

                                            @Substring overlays load per game works ok with this method, is it posible to configure a default overlay for horizontal and other default for vertical games? is it posible a default overlay per core? wich would be the trick?

                                            Pepe 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            69
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com