RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    lr-mame2003 aspect ratio

    Scheduled Pinned Locked Moved Help and Support
    101 Posts 8 Posters 56.1k 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.
    • RiverstormR
      Riverstorm @dankcushions
      last edited by

      @dankcushions said in lr-mame2003 aspect ratio:

      @Riverstorm the important thing is you've got it fixed now :) that's a win, i reckon!

      Thanks Dank and have a good weekend! :) We have a full weekend with a block party this evening, my older sis's birthday tomorrow evening (she thinks she about 20 years younger than she is; the wife is taking Lexi while I make merry with my siblings ;) and Sunday a cousin's graduation way out on the outskirts of the city. It's always nice to step away from a computer occasionally and see the yellow burning ball in the sky! ;)

      1 Reply Last reply Reply Quote 0
      • RiverstormR
        Riverstorm @Finhead
        last edited by Riverstorm

        @Finhead said in lr-mame2003 aspect ratio:

        I had to do this since there is no option for "aspect_ratio_index" in the config editor.

        Fin take a look here for the option. I think you're running "square" which is option 20.

        Load Configuration Editor via RetroPie ES emulator (I always call it an emulator but it's the options)
        Option 2 Advanced Configuration
        Option 1 Configure Liberto options
        Option 12 mame-libretro/retroarch.cfg
        Option 1 aspect_ratio_index (unset) <---- This option is set from a list of options.

        I think what you're doing is setting it to 20 which is "square" and would explain that poor Pac-Man screen! ;) 5:4 is option 10 or look through the list to find the one you prefer. Have a great weekend!

        FinheadF 1 Reply Last reply Reply Quote 0
        • FinheadF
          Finhead @Riverstorm
          last edited by

          @Riverstorm Thanks guess it is in there. Makes no difference as it's just changing the cfg file I already changed just in a far more complex way to get to it. lol
          Yeah I already tried 10 which should be my correct aspect ratio. I have actually gone through all of them now I think and the only one that displays a full screen 4:3 (1280X960) is optoin 20 which again is super blocky so I guess I am SOL with a 5:4 monitor for 2003.

          dankcushionsD RiverstormR 3 Replies Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @Finhead
            last edited by

            @Finhead said in lr-mame2003 aspect ratio:

            @Riverstorm Thanks guess it is in there. Makes no difference as it's just changing the cfg file I already changed just in a far more complex way to get to it. lol
            Yeah I already tried 10 which should be my correct aspect ratio. I have actually gone through all of them now I think and the only one that displays a full screen 4:3 (1280X960) is optoin 20 which again is super blocky so I guess I am SOL with a 5:4 monitor for 2003.

            is your retroarch render resolution set to video output? you can change it in the config editor (basic options) or the runcommand for 2003.

            FinheadF 1 Reply Last reply Reply Quote 0
            • FinheadF
              Finhead @dankcushions
              last edited by

              @dankcushions It is currently set at Video output res, I have also tried 1 and 5 with the same effect half size like I show in the image above.

              dankcushionsD 1 Reply Last reply Reply Quote 0
              • RiverstormR
                Riverstorm @Finhead
                last edited by

                @Finhead said in lr-mame2003 aspect ratio:

                I already changed just in a far more complex way to get to it.

                Well shoot, I was really hoping that would have worked for you. Nothing better than that feeling of getting it to work the way you hoped for. Yeah it is a lot longer than doing a quick file edit but I have to say I like using it for some reason.

                1 Reply Last reply Reply Quote 0
                • RiverstormR
                  Riverstorm @Finhead
                  last edited by

                  @Finhead said in lr-mame2003 aspect ratio:

                  Yeah I already tried 10 which should be my correct aspect ratio.

                  Also if you're using the list Floob posted above it seems to be slightly different then the options I see in the menu. I don't know if it's an old list or if I need to update but I am running 3.7.

                  1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator @Finhead
                    last edited by

                    @Finhead said in lr-mame2003 aspect ratio:

                    @dankcushions It is currently set at Video output res, I have also tried 1 and 5 with the same effect half size like I show in the image above.

                    out of interest, i just tried this experiment on my pi with the display_rotate=1 setting in /boot/config.txt

                    alt text

                    full screen correct ratio pacman with no blockiness - in fact, i have the crt-pi shader running! there's some clipping on one side, but that would be fixed by overscan settings (mine is set for normal orientation), and there's obviously borders at the top/bottom as my TV is 16:9, but yeah, it's possible on 2003/libretro - you have some sort of config issue.

                    FinheadF 1 Reply Last reply Reply Quote 0
                    • FinheadF
                      Finhead @dankcushions
                      last edited by

                      @dankcushions said in lr-mame2003 aspect ratio:

                      @Finhead said in lr-mame2003 aspect ratio:

                      @dankcushions It is currently set at Video output res, I have also tried 1 and 5 with the same effect half size like I show in the image above.

                      out of interest, i just tried this experiment on my pi with the display_rotate=1 setting in /boot/config.txt

                      alt text

                      full screen correct ratio pacman with no blockiness - in fact, i have the crt-pi shader running! there's some clipping on one side, but that would be fixed by overscan settings (mine is set for normal orientation), and there's obviously borders at the top/bottom as my TV is 16:9, but yeah, it's possible on 2003/libretro - you have some sort of config issue.

                      I just tried a fresh image with only lr-mame2003 with 4 roms and no settings changed at all, exact same issue. I'm thinking the issue is with the 5:4 aspect ratio of my screen, I'm running out of stuff to try.

                      dankcushionsD 1 Reply Last reply Reply Quote 0
                      • dankcushionsD
                        dankcushions Global Moderator @Finhead
                        last edited by

                        @Finhead as far as libretro is concerned, our screens should display effectively the same image - we both have a height (or, when rotated, width) of 1080, so the render should be the same.

                        i wonder what you mean by 'blocky', though. that seems a bit vague to me. pacman is a blocky game!

                        FinheadF 1 Reply Last reply Reply Quote 0
                        • FinheadF
                          Finhead @dankcushions
                          last edited by

                          @dankcushions said in lr-mame2003 aspect ratio:

                          @Finhead as far as libretro is concerned, our screens should display effectively the same image - we both have a height (or, when rotated, width) of 1080, so the render should be the same.

                          i wonder what you mean by 'blocky', though. that seems a bit vague to me. pacman is a blocky game!

                          Lol yes I know Pacman is blocky I played it in the arcade when it was brand new I'm familiar with it. ;) Trust me it was way too blocky.
                          Figured it out, not sure if it's the correct way since it still will not take my actual aspect ratio. Still have to use 20 (1:1) and add this to the cfg file video_smooth = "true" now it's close to what mame4all and advmame are showing.
                          Now I just need to figure out how to properly setup the crt shader.
                          Thanks for all the suggestions, too bad I couldn't get it sorted properly. :/

                          alt text

                          dankcushionsD 1 Reply Last reply Reply Quote 0
                          • dankcushionsD
                            dankcushions Global Moderator @Finhead
                            last edited by

                            @Finhead mame4all and advmame have simple bilinear filters (or similar) by default. they're smoothing out the raw signal to take away the blockiness. by enabling video_smooth, you're doing the same/similar in a libretro core. neither approach is particularly authentic - that's why some use shaders instead, but hey, whatever looks good to you :)

                            FinheadF 1 Reply Last reply Reply Quote 0
                            • FinheadF
                              Finhead @dankcushions
                              last edited by

                              @dankcushions said in lr-mame2003 aspect ratio:

                              @Finhead mame4all and advmame have simple bilinear filters (or similar) by default. they're smoothing out the raw signal to take away the blockiness. by enabling video_smooth, you're doing the same/similar in a libretro core. neither approach is particularly authentic - that's why some use shaders instead, but hey, whatever looks good to you :)

                              I wouldn't use it but Donkey Kong was really hard to play with it not on, like I say it was far from correct. It's not 100% this way either but a guy live with I think. :)
                              Now to track down how to get rid of the OK nag screen on this version of mame. Always something to tweak. lol

                              1 Reply Last reply Reply Quote 0
                              • caver01C
                                caver01
                                last edited by

                                @Finhead I assume you are using the display physically in vertical (portrait) orientation. This is technically not 5:4, it's 4:5. Have you considered specifying the aspect ratio this way in a retroarch.cfg (either all, or per ROM):

                                aspect_ratio_index = "19"
                                video_aspect_ratio = .8
                                video_allow_rotate = true
                                video_rotation = 4
                                

                                I experimented with my boot/config.txt and changed to display_rotate=1 to see if I could get pacman working nicely. I have a 1280x1024 display like you. I also use hdmi_group=2 and hdmi_mode=35. With these settings, and using the above retroarch configs, I have vertical games filling the screen just fine, and they look great with the crt-pi shader and no smoothing (scanlines and curvature, no visible jaggies):
                                alt text

                                My 4-player cocktail style cabinet built as a custom "roadcase"

                                FinheadF 1 Reply Last reply Reply Quote 0
                                • FinheadF
                                  Finhead @caver01
                                  last edited by

                                  @caver01 Thanks that does inded work fine, I found what was causeing the jaggies. I was attempting to use a barrel effect with the crt shader, as soon as I use the standard crt it goes back to right and looks great.
                                  I have decided to go back to Advance mame though due to the OK nag screen on a bunch of roms and no way to turn that off in mame2003. And certain roms that are favorites have issues in mame2003 as well.

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

                                    @Finhead said in lr-mame2003 aspect ratio:

                                    @caver01 Thanks that does inded work fine, I found what was causeing the jaggies. I was attempting to use a barrel effect with the crt shader, as soon as I use the standard crt it goes back to right and looks great.
                                    I have decided to go back to Advance mame though due to the OK nag screen on a bunch of roms and no way to turn that off in mame2003. And certain roms that are favorites have issues in mame2003 as well.

                                    I thought that was disabled in MAME 2003 by dankcushions?
                                    https://github.com/RetroPie/RetroPie-Setup/commit/3dd08e38fe569b46599449a22a8073362bd60639

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

                                    FinheadF 1 Reply Last reply Reply Quote 0
                                    • FinheadF
                                      Finhead @Floob
                                      last edited by

                                      @Floob said in lr-mame2003 aspect ratio:

                                      @Finhead said in lr-mame2003 aspect ratio:

                                      @caver01 Thanks that does inded work fine, I found what was causeing the jaggies. I was attempting to use a barrel effect with the crt shader, as soon as I use the standard crt it goes back to right and looks great.
                                      I have decided to go back to Advance mame though due to the OK nag screen on a bunch of roms and no way to turn that off in mame2003. And certain roms that are favorites have issues in mame2003 as well.

                                      I thought that was disabled in MAME 2003 by dankcushions?
                                      https://github.com/RetroPie/RetroPie-Setup/commit/3dd08e38fe569b46599449a22a8073362bd60639

                                      I see that it should be but it's not, load up Galaga and try it out. I have tried a few different versions and always get the OK screen every time it's opened, very annoying. That's one of the main games I play, plus it's got some video issues as it states in the warning screen so it's a deal breaker regardless.

                                      dankcushionsD 1 Reply Last reply Reply Quote 0
                                      • dankcushionsD
                                        dankcushions Global Moderator @Finhead
                                        last edited by

                                        @Finhead said in lr-mame2003 aspect ratio:

                                        @Floob said in lr-mame2003 aspect ratio:

                                        @Finhead said in lr-mame2003 aspect ratio:

                                        @caver01 Thanks that does inded work fine, I found what was causeing the jaggies. I was attempting to use a barrel effect with the crt shader, as soon as I use the standard crt it goes back to right and looks great.
                                        I have decided to go back to Advance mame though due to the OK nag screen on a bunch of roms and no way to turn that off in mame2003. And certain roms that are favorites have issues in mame2003 as well.

                                        I thought that was disabled in MAME 2003 by dankcushions?
                                        https://github.com/RetroPie/RetroPie-Setup/commit/3dd08e38fe569b46599449a22a8073362bd60639

                                        I see that it should be but it's not, load up Galaga and try it out. I have tried a few different versions and always get the OK screen every time it's opened, very annoying. That's one of the main games I play, plus it's got some video issues as it states in the warning screen so it's a deal breaker regardless.

                                        that's not the nag screen (which is a generic copyright warning), that's the warning screen, which is different. i personally see no reason to disable warning screens as they are useful, and pretty rare.

                                        dankcushionsD FinheadF 2 Replies Last reply Reply Quote 0
                                        • dankcushionsD
                                          dankcushions Global Moderator @dankcushions
                                          last edited by dankcushions

                                          @dankcushions said in lr-mame2003 aspect ratio:

                                          @Finhead said in lr-mame2003 aspect ratio:

                                          @Floob said in lr-mame2003 aspect ratio:

                                          @Finhead said in lr-mame2003 aspect ratio:

                                          @caver01 Thanks that does inded work fine, I found what was causeing the jaggies. I was attempting to use a barrel effect with the crt shader, as soon as I use the standard crt it goes back to right and looks great.
                                          I have decided to go back to Advance mame though due to the OK nag screen on a bunch of roms and no way to turn that off in mame2003. And certain roms that are favorites have issues in mame2003 as well.

                                          I thought that was disabled in MAME 2003 by dankcushions?
                                          https://github.com/RetroPie/RetroPie-Setup/commit/3dd08e38fe569b46599449a22a8073362bd60639

                                          I see that it should be but it's not, load up Galaga and try it out. I have tried a few different versions and always get the OK screen every time it's opened, very annoying. That's one of the main games I play, plus it's got some video issues as it states in the warning screen so it's a deal breaker regardless.

                                          that's not the nag screen (which is a generic copyright warning), that's the warning screen, which is different. i personally see no reason to disable warning screens as they are useful, and pretty rare. in those instances i use a different mame emulator via the runcommand.

                                          1 Reply Last reply Reply Quote 0
                                          • FinheadF
                                            Finhead @dankcushions
                                            last edited by

                                            @dankcushions I said it's the OK nag screen. ;) lol But yeah rare or not it's one of the main games that will be played on the cab I'm building so it's a deal breaker. Advance Mame doesn't have this issue and runs these roms (ones with the OK screen) without issues.

                                            caver01C 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.