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.
    • 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
                            • H
                              Higgy
                              last edited by

                              For the 1440x900 bash file it seems I have to swap out:

                              (CUSTOM_VIEWPORT_WIDTH * 2/3)
                              (CUSTOM_VIEWPORT_HEIGHT * 2/3)

                              with 3/4 & 8333/100 to convert the 1920x1080 to the 1440x900

                              How do I go about creating (this will be run on my RPI), could I have a simple guide please :

                              I then had a separate batch to run it for all files in the folder and rename it to the right <romname>.cfg format in a separate folder.

                              Sorry, I am not so good at this sort of thing normally, let alone with a cold.
                              I guess I start by using NANO to copy/past the text and save it as say 1440convert.bash

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

                                @Higgy Thats odd - its a 6MB download when I try, maybe there is something about the website it doesnt like. I'm on a mac at the moment.

                                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

                                  @Floob - I have the files now. It seemed to download ok with Internet Explorer.
                                  I have created a bezel now thanks. It is not as good as the others but better than nothing.

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xb
                                    last edited by

                                    Hi guys, hey Floob it's my understanding that to get these overlays to display properly for my 1680x1050 display, I would need to resize the actual png's.
                                    But do I also need to edit the game specific configuration that go with them?

                                    They actually display ok on my screen, but the game is kind of offcenter to the right side. I'm willing to do the work to get it right for my screen, but I would just like a point in the right direction. I'm just not sure where to start. Thanks for all you do for the community, it's much appreciated.

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

                                      You have to edit each config file. The xxx.zip.cfg

                                      Someone has made a batch file for 720p here:

                                      Http://smartretro.co.uk/forums/viewtopic.php?f=3&t=8313&start=10#p9074

                                      I am not sure how to run it, but your understanding of Linux may be better.
                                      The bash file reduces the file from 1080p to 720p so the width and height plus x and y start locations are divided by 2/3. I need to use 3/4 and 83.33/100 to goto 900p.

                                      You will need to work out the factor to match your screen res.
                                      I was hoping that the original poster on Smartretro (or someone who knows linux) would run the batch/bash file for all the common resolutions. The resulting files are not large. And it would only take minutes.

                                      I am slowly converting each file one at a time for 1440x900p!

                                      X 1 Reply Last reply Reply Quote 2
                                      • X
                                        xb @Higgy
                                        last edited by

                                        @Higgy

                                        Ok thanks for that. My uderstanding isn't that much better I'm sure, but it's a start!

                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xb
                                          last edited by xb

                                          So I've edited a couple of them. 3 actually. Resized pngs, put the new values for x,y in configuration files for each, and man, it worked amazingly well!
                                          Since I only have the 3 loaded onto the pi, I noticed though that when I choose any other rom to play, if it doesn't have the bezel yet, will take the bezel from the last game I played that had a bezel.

                                          In other words, I have a donkey kong bezel, so I play that, then I goto play asteroids, which I haven't loaded a bezel to the pi for yet, and it comes up with the donkey kong bezel.
                                          So is this sort of an all or nothing thing? Or is there some line I can change in a configuration that tells lr-mame 2003 that these particular roms do not have a bezel yet?
                                          Thanks,
                                          xb

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

                                            @xb Its highly likely your system specific retroarch.cfg is saving all the settings. You probably had save on exit enabled at some point in RGUI. This is not a great idea. Set your system specific retroarch.cfg back to normal and youll be fine.

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

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