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

    ES : how to distinguish horizontal & vertical games (due to rotated masks in pixel shaders)

    Scheduled Pinned Locked Moved Help and Support
    8 Posts 4 Posters 3.0k 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.
    • B
      bidinou
      last edited by

      Hi ! I have a little issue : I'm currently using the amazing crt-pi shader. However, one has to use a specific "vertical" version for it to work properly with vertical games as the mask is not automatically rotated, resulting in important visual artefact.

      My question is the following : is it possible to have 2 separate categories in EmulationStation / RetroPie, for a given platform. Example : Final Burn Alpha Horizontal / Final Burn Alpha Vertical ?

      I hope I post in the right place, sorry for bothering !

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

        I don't think you can. You'll have to set the shader that matches the orientation of the majority of your games then override the remaining at a ROM/game level.

        I think once you have one config setup you can copy and rename it. Such as 1942.zip.cfg located in the ROMs folder you would copy and rename it to aerofgt.zip.cfg if it's the same settings.

        It's kind of tedious but I think it's the best there is right now. Others that know more might confirm or suggest a better way.

        1 Reply Last reply Reply Quote 0
        • B
          bidinou
          last edited by

          Hi ! OK, I'll do that meanwhile :-)
          I remember the regular MAME build supports 2 config files (for horizontal & vertical games) but that's probably not the case of the libretro one.

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

            @bidinou AdvanceMAME lets you do something like that using vertical/ in front of confuration lines in the .rc file. Of course, this isn't a libretro core, so no retroarch shaders apply. It would be nice if there was a way use game metadata to branch configs. For my setup, there will always be exceptions, so using per-rom config files remains an important way to control the display when needed.

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

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

              @caver01 said in ES : how to distinguish horizontal & vertical games (due to rotated masks in pixel shaders):

              @bidinou AdvanceMAME lets you do something like that using vertical/ in front of confuration lines in the .rc file. Of course, this isn't a libretro core, so no retroarch shaders apply. It would be nice if there was a way use game metadata to branch configs. For my setup, there will always be exceptions, so using per-rom config files remains an important way to control the display when needed.

              Thanks Caver I was hoping you would chime in on this one as I know you use shaders and seem to have covered the gambit of most things.

              I wasn't sure if it is the emulator or the ROM relaying the dimensions of a game. From there it seems like it would be possible to attempt applying the proper horizontal or vertical shader.

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

                @bidinou There are some suggestions in this thread as well
                https://retropie.org.uk/forum/topic/897/updated-crt-pi-shader

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

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

                  Thanks Floob, it looks like you're ahead of the game already and have discussed such ideas! I put a Watch on the thread.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bidinou
                    last edited by

                    @floob : Thanks ! I did this (a separate config per game for vertical games). It does the job as I have a moderate number of games :)

                    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.