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

    Using MAME Overlays/Bezels and shaders with RetroArch in RetroPie

    Scheduled Pinned Locked Moved General Discussion and Gaming
    124 Posts 29 Posters 129.5k 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.
    • GreenHawk84G
      GreenHawk84
      last edited by GreenHawk84

      @Floob, if I sent you an overlay file that I made, would you try it out for me and see if I made it correctly? Would you share with me the parameters of the screen position, so when I make more of them, I will just follow the "formula" to make them all the same?

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

        @GreenHawk84 Which system is the overlay for?

        You can test this by editing your system specific retroarch.cfg, a bit like this

        input_overlay = /opt/retropie/emulators/retroarch/overlays/arcade-bezel-overlays/astdelux.cfg
        input_overlay_enable = true
        input_overlay_opacity = 0.700000
        input_overlay_scale = 1.000000
        
        custom_viewport_width = "1000"
        custom_viewport_height = "720"
        custom_viewport_x = "460"
        custom_viewport_y = "55"
        
        aspect_ratio_index = "22"
        
        video_scale_integer = false
        

        An example of the .cfg referenced above is

        overlays = 1
        overlay0_overlay = astdelux.png
        overlay0_full_screen = true
        overlay0_descs = 0
        

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

        1 Reply Last reply Reply Quote 0
        • H
          Higgy
          last edited by

          I have the bar top all built and the 1440x900 bezels and initial configs done. I even went through and did your 'Not Done' ones which had bezel .png's (although thinking about it the other ones may use some of the generic bezels?).

          I just need to sit through and load each one to check it looks right.

          I tried registering on the Libroarch(?) forums to say I was working on 1440x900 files (modifying from other peoples hard work) but reg email is not coming through to my Hotmail address?
          It looks like people there would benefit from thoses files, or the knowledge that they are being created.

          I will try and grab some pics over the weekend to post. The really sharp bezel images contrast nicely with the low rez and scanlines of the games to give an effect that the bezels are actual stickers and not images on the LCD. Only the arcade background left/right of the bezel give the game away ;)

          Z 1 Reply Last reply Reply Quote 0
          • Z
            Zigurana @Higgy
            last edited by

            @Higgy, @Floob : I am going through the same process, but for my 1024x768 display. I've resized and cropped all the images, and re-crunched the numbers that go into the /RetroPie/roms/arcade/ folder.
            I cant get it to display the overlays though.
            I think the .cfg files mentioned above seem to parse ok, as the shader is being applied.
            The .cfg files in /opt/retropie/emulator/retroarch/overlays/ are basically just pointers to the .png files, right? I havnt touched those. Those images are all in place. What am I missing?

            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

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

              @Zigurana So you have the rom specific .cfg in the rom directory, using an lr-mame variant, have the rom specific cfg referring to an overlay .cfg, and in that overlay .cfg it specifies the .png (I put in the same dir, so no path needed)?
              And all your paths in the above are correct?

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

              Z 1 Reply Last reply Reply Quote 0
              • S
                stargamesrc @GreenHawk84
                last edited by

                poderia me ajudar com o mesmo problema de modo que com o emulador de PSP
                /opt/retropie/supplementary/runcommand/runcommand.sh
                args 0 SYS psp "[romfilename]"
                não funciona .. em attract mod

                herb_fargusH 1 Reply Last reply Reply Quote 0
                • herb_fargusH
                  herb_fargus administrators @stargamesrc
                  last edited by

                  @stargamesrc this is an English language forum.

                  If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                  Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • S
                    stargamesrc
                    last edited by

                    I'm sorry me,
                      and I'm looking for a solution of my problem Attract mod psp
                    args 0 SYS psp "[romfilename]
                    and not found in the forum, the way and give it !!
                    I will not disturb you anymore ..

                    1 Reply Last reply Reply Quote 0
                    • Lyle_JPL
                      Lyle_JP
                      last edited by Lyle_JP

                      I'm guessing most retropie users use vanilla Emulation Station. If it helps, Attract Mode does have its own forums:
                      http://forum.attractmode.org/

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        stargamesrc @Lyle_JP
                        last edited by

                        @Lyle_JP thank you

                        1 Reply Last reply Reply Quote 0
                        • Z
                          Zigurana @Floob
                          last edited by

                          @Floob said in Using MAME Overlays/Bezels and shaders with RetroArch in RetroPie:

                          @Zigurana So you have the rom specific .cfg in the rom directory, using an lr-mame variant, have the rom specific cfg referring to an overlay .cfg, and in that overlay .cfg it specifies the .png (I put in the same dir, so no path needed)?
                          And all your paths in the above are correct?

                          Yes all was correctly place.

                          <cough> except for a case of - vs _</ coughcough>

                          Works like a charm now!

                          If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            stargamesrc @Zigurana
                            last edited by Floob

                            @Zigurana

                            I needed args 0 SYS PSP or PSP eScript
                            it does not start the png this all ok
                            the problem and the inicilização error in the run command
                            my config so this

                            Generated by-Attract Mode v2.0.0

                            executable
                            /opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so

                            args 0 _SYS_ lr-ppsspp "[romfilename]"
                            rompath / home / pi / RetroPie / roms / psp
                            .iso romext; .cso, .zip, .bin; .cbn; .img
                            system Sony PSP
                            info_source thegamesdb.net
                            import_extras /home/pi/.attract/psp-config
                            artwork flyer / home / pi / RetroPie / roms / psp
                            artwork marquee / home / pi / RetroPie / roms / psp
                            artwork snap / home / pi / RetroPie / roms / psp
                            artwork wheel / home / pi / RetroPie / roms / psp
                            
                            1 Reply Last reply Reply Quote 0
                            • H
                              Higgy
                              last edited by

                              @Zigurana it is great that you are also creating files/config for another resolution.
                              That is a very common PC monitor resolution.

                              1 Reply Last reply Reply Quote 0
                              • S
                                stargamesrc @Floob
                                last edited by

                                @Floob
                                you have psp.cfg from Attract Mode in http://pastebin.com?

                                be able to pass I will be very grateful

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

                                  @stargamesrc
                                  I imagine it would look like this
                                  http://pastebin.com/XbsDvYip

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

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    stargamesrc @Floob
                                    last edited by

                                    @Floob
                                    thank you and the teacher, solved my problem worked

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      Higgy
                                      last edited by

                                      Just an update on the 1440x900 conversion.

                                      I am running through each ROM to check that the screen looks good and there are no issues. Some had no scaling in their .cfg's, so did not fit the 'screen area'.

                                      I am on the letter 'G'. Getting there slowly ;)

                                      Anyone have a Flying Shark bezel? It was one of my fav ZX Spectrum games. I never played the (MAME) arcade game till a few years ago. I have currently dropped in one of the Standard Vertical bezels.

                                      FloobF 1 Reply Last reply Reply Quote 1
                                      • Z
                                        Zigurana
                                        last edited by

                                        I finished my set of 1024x768 bezels and cfg's a while back. Just as batch crop followed by a resize action. Wrote a little script to recalculate the viewport size & position.

                                        I haven't tested them all, but I am willing to share them anyways, if there is an interest.

                                        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                        GraboidG 1 Reply Last reply Reply Quote 2
                                        • FloobF
                                          Floob @Higgy
                                          last edited by

                                          @Higgy This ok?
                                          http://s000.tinyupload.com/index.php?file_id=21688361564337193935

                                          You guys may also find this relevant:
                                          http://smartretro.co.uk/forums/viewtopic.php?f=3&t=8313&start=10#p9074

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

                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            Higgy @Floob
                                            last edited by

                                            @Floob - thanks for creating the download, but it seems to be a <10k file that Windows reports as a virus! Android downloads it, but like I said it is less than 10k and the file is broken/not a ZIP.

                                            The bash file for conversion looks good. I am nursing a cold so I can't get my head around it at the moment. :(

                                            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.