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 262.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.
    • M
      mastersetter
      last edited by

      Dankcusions, im lost when it comes to linux etc, can you please create some shaders (H & V) for my 1600x1200 display?

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

        just to flag that i'm aware that these configs don't work with current retropie/retroarch, due to aspect_ratio_index=22 no longer being the right setting for the 'custom' aspect ratio than the configs require. this is due to a change at retroarch's end: https://github.com/libretro/RetroArch/commit/8a63ace201233256672241346b2a67a7c0d372f8#comments

        i'm currently in discussions regarding this, and will update my script when a resolution (hah!) is reached: https://github.com/libretro/RetroArch/issues/7536

        i would also like to support the latest fbalpha version properly, but i think i need @UDb23 for the appropriate resolution-db file ;) i can vaguely remember how to generated the db for mame2003 (via parsing the driver source code) but not fbalpha.

        A UDb23U 2 Replies Last reply Reply Quote 0
        • A
          AndrewH @dankcushions
          last edited by

          @dankcushions they also changed the expected directory for the configs - it’s now MAME 2003 (0.78) , rather than MAME 2003

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

            @AndrewH yep! spotted that also. slightly annoying that things like that get changed as it breaks all overrides. i might flag that with them also.

            1 Reply Last reply Reply Quote 0
            • UDb23U
              UDb23 @dankcushions
              last edited by

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

              appropriate resolution-db file

              Concerning ROMS resolution in FBA I used multiple overlays made for mame2003 without any issue. That likely means FBA uses the same resolutions as mame; so no new resolution DB needed.
              If you have different evidence just let me know and I'll try to build a FBA dedicated DB.

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

                @UDb23 i think the issue is that fbalpha has a different romset. it certainly has a bunch of games that mame 0.78 doesn't have, like cps3, and a bunch of unofficial hacks that mame doesn't seem to care about.

                UDb23U 2 Replies Last reply Reply Quote 0
                • UDb23U
                  UDb23 @dankcushions
                  last edited by

                  @dankcushions Right, didn't think of the wider romset.
                  Just need to find some spare time to and I'll create the FBA rez DB ;-)

                  1 Reply Last reply Reply Quote 1
                  • UDb23U
                    UDb23 @dankcushions
                    last edited by

                    @dankcushions As it seems a new FBA version will come out soon, maybe it makes sense to wait and directly make the DB for that new version specific romset.

                    mediamogulM 1 Reply Last reply Reply Quote 0
                    • mediamogulM
                      mediamogul Global Moderator @UDb23
                      last edited by mediamogul

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

                      that new version specific romset.

                      By that statement, I take it that the FBA ROM set is expected to change again soon?

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      UDb23U mituM 2 Replies Last reply Reply Quote 0
                      • UDb23U
                        UDb23 @mediamogul
                        last edited by

                        @mediamogul According to FBA's forum development progress posts many additional roms are supported. This includes vector games: it will be interesting to see if quality/performance is better than the recent mame2003 vector resolution enhancement.
                        Not sure if it just adds new roms or also some roms from previous romset need to be changed.

                        1 Reply Last reply Reply Quote 1
                        • mituM
                          mitu Global Moderator @mediamogul
                          last edited by mitu

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

                          By that statement, I take it that the FBA ROM set is expected to change again soon?

                          It has already changed - https://retropie.org.uk/forum/topic/19741/new-fb-alpha-libretro-pre-v0-2-97-44 . The new repository has already new DAT files added - https://github.com/libretro/fbalpha/commit/4e5aeeeef7730fa4f5b17dae6f8e1b90829c9029.

                          1 Reply Last reply Reply Quote 1
                          • mediamogulM
                            mediamogul Global Moderator
                            last edited by mediamogul

                            @UDb23, @mitu

                            Very good to know. Thanks.

                            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                            1 Reply Last reply Reply Quote 0
                            • UDb23U
                              UDb23
                              last edited by

                              @dankcushions @mitu @mediamogul
                              At this stage to create the resolution DB specific to the DAT, considering that the DAT can&will change over time, I'll probably create some excel VBA that parses the DAT to extract the rom filenames and build the specific DB by scraping progettoemma's screen information for each rom.
                              When the DAT will change, just re-run the code and it will rebuild the new DB.

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

                                @UDb23 that sounds awesome! thanks so much for your help here <3

                                UDb23U 1 Reply Last reply Reply Quote 0
                                • UDb23U
                                  UDb23 @dankcushions
                                  last edited by

                                  @dankcushions
                                  Had to make some changes to my previous code. It now runs correctly; here's the generated comma separated resolution file.
                                  Based on current DAT for 2.97.44.

                                  Notes:

                                  • some roms cannot be found on Progettoemma's site; as far as I could checks these are hacks or particular clones.
                                    Concerning clones I started editing the DB manually adding the original game screen info; it will take some time.

                                  • aspect ratio values and frequency are currently dummy figures (let me know if you need the real one's)

                                  Out of 5552 roms from the DAT, over 90% are already included in the resolution DB txt file.

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

                                    @UDb23 great! thanks - i'll try and take a few hours to test it out sometime soon <3

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      fomt
                                      last edited by

                                      @dankcushions Maybe its a stupid qiestion. but can I use this cfg's for games running with mame2010 and fbalpha2012?

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

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

                                        @dankcushions Maybe its a stupid qiestion. but can I use this cfg's for games running with mame2010 and fbalpha2012?

                                        hi! i would have thought the fbalpha configs should work with fbalpha2012 since its romset should be a subset (or close to) of the later fbalpha, but mame2010 will have many games that are not in mame2003, which i won't have configs for. however it probably has most of the common ones, so it can't hurt :)

                                        you just have to put the mame2003 configs in the mame2010 folder, and the fbalpha configs in the fba2012 folder.

                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          fomt @dankcushions
                                          last edited by

                                          @dankcushions Ok, thank you reply! Another question, for example in /opt/retropie/configs/all/retroarch/config/MAME 2003 I already have config files for all the games, for example 3countb.cfg contains:

                                          input_overlay="/opt/retropie/configs/all/retroarch/overlay/ArcadeBezels/3countb.cfg"

                                          and that file in ArcadeBezels dir contains:
                                          overlays = 1
                                          overlay0_overlay = 3countb.png
                                          overlay0_full_screen = true
                                          overlay0_descs = 0

                                          If I overwrite that files in Mame 2003 folder, then I guess the overlay input will not work. Do I have to edit every file and copy and paste your files into these files that I already have there? Or is it another easier and faster option to do that? :)

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

                                            This post is deleted!
                                            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.