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

crt-pi shader users - reduce scaling artifacts with these configs in lr-mame2003, lr-fbalpha, lr-nestopia (and more to come)

Scheduled Pinned Locked Moved Ideas and Development
crt-pi shadercrt-picrt-pi-verticalshaderslr-mame2003
385 Posts 42 Posters 258.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.
  • D
    dankcushions Global Moderator @Pyjamarama
    last edited by 14 May 2018, 09:20

    @pyjamarama said in crt-pi shader users - reduce scaling artifacts with these configs in lr-mame2003, lr-fbalpha, lr-nestopia (and more to come):

    @dankcushions will this shader pack work with your MAME/FBA scanlines config pack instead of the simple CRT_PI?

    Thank you

    hi! what shader pack? i'm not sure i understand :)

    1 Reply Last reply Reply Quote 0
    • P
      Pyjamarama
      last edited by 14 May 2018, 12:16

      Here you are :)
      https://retropie.org.uk/forum/topic/4046/crt-pi-shader-users-reduce-scaling-artifacts-with-these-configs-in-lr-mame2003-lr-fbalpha-lr-nestopia-and-more-to-come

      D 1 Reply Last reply 14 May 2018, 13:35 Reply Quote 0
      • D
        dankcushions Global Moderator @Pyjamarama
        last edited by 14 May 2018, 13:35

        @pyjamarama ok so:

        with your MAME/FBA scanlines config pack

        what's my MAME/FBA scanlines config pack?

        1 Reply Last reply Reply Quote 0
        • P
          Pyjamarama
          last edited by 14 May 2018, 17:38

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • T
            tekn0 @dankcushions
            last edited by tekn0 14 May 2018, 21:43

            @dankcushions I am on a 1080p display. I have all of my emulators integer scaled for that resolution. All of my systems except for neogeo have very minimal/zero offscreen crop. I absolutely LOVE what you have done here for vertical games and it works so well.

            I was wondering if there was a way/flag (and this might be a feature request) to have your script do a "horizontal" mode based on the tolerance setting, to set the height to an integer as well just for horizontal games.

            So for example at 1080p the integer height of Mortal Kombat overflows the screen to much at 1270 (5x). But at 1016 (4x) there is a very small amount of black bars at the top/bottom which I don't mind. As your script seems to set every cfg's height setting to a static 1080 based on my 1920x1080, it would be cool to have it set the height to either a 5x or 4x integer depending on the tolerance setting.

            1 Reply Last reply Reply Quote 0
            • R
              robertvb83 @dankcushions
              last edited by 18 May 2018, 20:36

              @dankcushions is there a corresponding folder to place these config files for mame2003-plus?

              My full size arcade cabinet Robotron vs. Octolyzer

              D 1 Reply Last reply 18 May 2018, 20:39 Reply Quote 0
              • D
                dankcushions Global Moderator @robertvb83
                last edited by 18 May 2018, 20:39

                @robertvb83 it should be /mame2003-plus/

                R 1 Reply Last reply 18 May 2018, 21:10 Reply Quote 0
                • R
                  robertvb83 @dankcushions
                  last edited by 18 May 2018, 21:10

                  @dankcushions i tried that but it is not loading the config on gamestart

                  My full size arcade cabinet Robotron vs. Octolyzer

                  D 1 Reply Last reply 19 May 2018, 14:41 Reply Quote 0
                  • D
                    dankcushions Global Moderator @robertvb83
                    last edited by 19 May 2018, 14:41

                    @robertvb83 said in crt-pi shader users - reduce scaling artifacts with these configs in lr-mame2003, lr-fbalpha, lr-nestopia (and more to come):

                    @dankcushions i tried that but it is not loading the config on gamestart

                    sorry, this: MAME 2003-plus

                    1 Reply Last reply Reply Quote 1
                    • R
                      robertvb83
                      last edited by 19 May 2018, 15:13

                      thank you, thats working

                      My full size arcade cabinet Robotron vs. Octolyzer

                      1 Reply Last reply Reply Quote 0
                      • T
                        thelostsoul @dankcushions
                        last edited by thelostsoul 6 Nov 2018, 23:02 11 Jun 2018, 21:57

                        @dankcushions Is it possible to convert this somehow for 640*480 CRT VGA monitor (480p)?
                        I use a pc monitor with that resolution, but the monitors scanlines does not make a big difference at that resolution. It does not support 240p, the point where I wouldn't need any shader. Thats why I use some sort of shaders here and I really like yours. But it looks often very bad for this resolution.

                        Edit: Sorry, I saw the link with the script for creating the package myself. I will download and try it myself first.

                        Edit2: OH, but I think this will not help me with the other consoles right? I would need a shader specifically for 480p.

                        📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                        D 1 Reply Last reply 11 Jun 2018, 22:25 Reply Quote 0
                        • T
                          thelostsoul @dankcushions
                          last edited by 11 Jun 2018, 22:23

                          @dankcushions Ok, done generating this. It does not work with 480p. I get following content for all games:

                          # Auto-generated crt-pi-vertical.glslp .cfg
                          # Game Title : dkong , Width : 224, Height : 298, Aspect : 3:4, Scale Factor : 1.61073825503
                          # Screen Width : 640, Screen Height : 480
                          # Place in /opt/retropie/configs/all/retroarch/config/MAME 2003/
                          # Insufficient resolution for good quality shader
                          video_shader_enable = "false"
                          

                          📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                          1 Reply Last reply Reply Quote 0
                          • D
                            dankcushions Global Moderator @thelostsoul
                            last edited by 11 Jun 2018, 22:25

                            @thelostsoul didn't we already have this conversation? :) https://retropie.org.uk/forum/topic/4046/crt-pi-shader-users-reduce-scaling-artifacts-with-these-configs-in-lr-mame2003-lr-fbalpha-lr-nestopia-and-more-to-come/277

                            T 1 Reply Last reply 11 Jun 2018, 22:34 Reply Quote 0
                            • T
                              thelostsoul @dankcushions
                              last edited by 11 Jun 2018, 22:34

                              @dankcushions Yes, I remember. Till then, I am not happy with the Arcade games. If I get an old 240p CRT, then I can leave this shader stuff behind me. Currently I use the shader named "scanlines" for all Arcade games and it works, but doesn't look good as it would with a correct crt-pi shader.

                              @caver01 said:
                              "
                              That's really interesting. I need to do a CRT build at some point.
                              "
                              Which is exactly what I am searching for, isn't it? Am I the only one asking for shader at 480p?

                              📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                              C 1 Reply Last reply 11 Jun 2018, 23:25 Reply Quote 0
                              • C
                                caver01 @thelostsoul
                                last edited by 11 Jun 2018, 23:25

                                @thelostsoul said in crt-pi shader users - reduce scaling artifacts with these configs in lr-mame2003, lr-fbalpha, lr-nestopia (and more to come):

                                Am I the only one asking for shader at 480p

                                I think so, because with that low res, you won't have many pixels to simulate the scanlines or shadow mask effects. And for folks with a real CRT, well, no shader needed because you have the CRT we are trying to simulate.

                                Of course, if the CRT is a high-resolution (very fine dot-pitch) multi-sync PC monitor, your real scanlines could lack the vintage look and feel at 480 that a TV would have shown. You might as well run it at a HIGH resolution and enable shaders like the rest of us.

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

                                T 1 Reply Last reply 11 Jun 2018, 23:28 Reply Quote 0
                                • T
                                  thelostsoul @caver01
                                  last edited by 11 Jun 2018, 23:28

                                  @caver01 Hmm ok, I understand now it does not make any sense to produce such shader. Then I need a different CRT device. Thanks for your answers guys. :-) Never mind then.

                                  📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    cloudlink
                                    last edited by 12 Jun 2018, 12:58

                                    Could this script be used to generate cfgs using zfast shaders?

                                    D A 2 Replies Last reply 12 Jun 2018, 13:00 Reply Quote 0
                                    • D
                                      dankcushions Global Moderator @cloudlink
                                      last edited by 12 Jun 2018, 13:00

                                      @cloudlink it's an outstanding issue: https://github.com/dankcushions/crt-pi-configs/issues/11

                                      no ETA on it.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        AndrewH @cloudlink
                                        last edited by 13 Jun 2018, 10:45

                                        @cloudlink If you're so inclined, it would be pretty straightforward to modify the script to use the zfast shaders.

                                        The shaders are referenced in two places in the script - lines 93-96 and lines 105-108. In each instance, they look a bit like this;

                                                        if curvature:
                                                            shader = "crt-pi-curvature-vertical.glslp"
                                                        else:
                                                            shader = "crt-pi-vertical.glslp"
                                        

                                        Just change the shader name to the one you want to use and then run the script to generate the .cfg files.

                                        The main reason (I assume) it's on @dankcushions to-do list with no ETA is that the more 'official' way to do it would be to present the user with the option - via the command line - to use either shader, which would take more coding.

                                        D C 2 Replies Last reply 13 Jun 2018, 10:54 Reply Quote 1
                                        • D
                                          dankcushions Global Moderator @AndrewH
                                          last edited by dankcushions 13 Jun 2018, 10:54

                                          @andrewh for me it's more that i haven't had a chance to test the shaders - they're allegedly faster so if the image quality is equivalent, i would probably just wholesale replace crt-pi with them. we could have an option, i suppose, but i think anyone running the script could probably just as well edit it to suit whatever they wanted.

                                          i say no eta as i've been meaning to test them for about 7 months now, and still haven't :)

                                          C A 2 Replies Last reply 13 Jun 2018, 15:53 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received