• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 - flipping the screen in SOME games

Scheduled Pinned Locked Moved Help and Support
flipping screenlr-mame2003
20 Posts 8 Posters 4.8k 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 @markwkidd
    last edited by dankcushions 19 Mar 2018, 19:29

    @markwkidd bah! :)

    i think the problem is here: https://github.com/libretro/mame2003-libretro/blob/78720e819c1fe0ad516e0a478f43f52d1fa092cf/src/usrintrf.c#L273

    it looks like this is never called in mame2003. i guess the rotation stuff is replaced here: https://github.com/libretro/mame2003-libretro/blob/master/src/libretro/libretro.c#L633

    ...but not the X/Y flipping... i don't know how you do that via the libretro API.

    M 1 Reply Last reply 19 Mar 2018, 20:51 Reply Quote 0
    • S
      Sano @paf
      last edited by 19 Mar 2018, 19:57

      @paf said in LR-MAME2003 - flipping the screen in SOME games:

      Under LR-MAME2003 (Retroarch / Retropie), a few games are flipped horizontally (usually games with a light gun, no idea why).

      I believe the explanation is that those light gun games often worked with mirrors, in order to have a certain "distance" feeling from the display.
      See here :
      http://forum.arcadecontrols.com/index.php?topic=93369.0

      J 1 Reply Last reply 19 Mar 2018, 20:44 Reply Quote 1
      • J
        jonnykesh @Sano
        last edited by jonnykesh 19 Mar 2018, 20:44

        @sano You are correct @Sano The screen was reflected in a mirror just as you describe. I tried the very ROM OP mentioned othunder.zipand it was flipped on the horizontal as OP stated.
        The same ROM works perfectly in AdvanceMame and is showing correctly.

        1 Reply Last reply Reply Quote 0
        • M
          markwkidd @dankcushions
          last edited by 19 Mar 2018, 20:51

          @dankcushions said in LR-MAME2003 - flipping the screen in SOME games:

          @markwkidd bah! :)

          i think the problem is here: https://github.com/libretro/mame2003-libretro/blob/78720e819c1fe0ad516e0a478f43f52d1fa092cf/src/usrintrf.c#L273

          it looks like this is never called in mame2003. i guess the rotation stuff is replaced here: https://github.com/libretro/mame2003-libretro/blob/master/src/libretro/libretro.c#L633

          ...but not the X/Y flipping... i don't know how you do that via the libretro API.

          Someone like radius or hunterk from the libretro team is probably the best on to ask once this is on github.

          As opposed to fixing the problem it may also be possible to work around it by way of a shader although I don't think there's anything like that in the libretro shaders repository at the moment.

          1 Reply Last reply Reply Quote 0
          • P
            paf
            last edited by paf 19 Mar 2018, 21:19

            I just tried with a 0.139 ROM and LR-MAME2010, but it crashes with the following info "/opt/retropie/supplementary/runcommand/runcommand.sh: line 1006: 4692 Segmentation fault"...

            Any alternative?

            J 1 Reply Last reply 19 Mar 2018, 21:22 Reply Quote 0
            • J
              jonnykesh @paf
              last edited by 19 Mar 2018, 21:22

              @paf It would do no harm. Also try AdvanceMame, as I suggested. I was playing it earlier with a mouse, got to level 3.

              1 Reply Last reply Reply Quote 0
              • D
                DNuno
                last edited by 2 Jun 2021, 08:55

                I have the same issue.

                I'm trying to run Disc Of Tron in flipped mode.

                I tried a couple of things in the dotron.zip.cfg file, such

                ORIENTATION_FLIP_Y = "ON"
                

                or

                ORIENTATION_FLIP_Y = "true"
                

                or

                ORIENTATION_FLIP_Y = "yes"
                

                But it doesn't affect the display :-(
                I'm note sure what is the correct syntax to use in the .cfg file ? And/or if an other parameter is require too?

                I'm using mame-libretro 2003 (mame version 0.78 build), on a fresh image downloaded here (retropie-buster-4.7.1-rpi2_3.img.gz)

                Can someone point me the exact syntax to use for doing this in the .cfg file ?

                M D 2 Replies Last reply 2 Jun 2021, 20:39 Reply Quote 0
                • M
                  mahoneyt944 @DNuno
                  last edited by 2 Jun 2021, 20:39

                  @dnuno the screen should be displayed properly without changing any settings. Or are you trying to make the screen mirrored for use with a mirror?

                  D 1 Reply Last reply 6 Jun 2021, 07:47 Reply Quote 0
                  • D
                    DNuno @mahoneyt944
                    last edited by 6 Jun 2021, 07:47

                    @mahoneyt944 said in LR-MAME2003 - flipping the screen in SOME games:

                    @dnuno are you trying to make the screen mirrored for use with a mirror?

                    Yes, that's the idea.

                    1 Reply Last reply Reply Quote 0
                    • D
                      dankcushions Global Moderator @DNuno
                      last edited by 6 Jun 2021, 10:41

                      @dnuno said in LR-MAME2003 - flipping the screen in SOME games:

                      Can someone point me the exact syntax to use for doing this in the .cfg file ?

                      i think you’re misreading my post. those are internal variables within the code, not configuration settings. there is no way to flip things via the libretro API but you could try a shader. a quick google led me here: https://www.reddit.com/r/miniSNESmods/comments/99eevo/quick_guide_for_flippingmirroring_the_screen_in/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

                      D 1 Reply Last reply 9 Jun 2021, 19:26 Reply Quote 0
                      • D
                        DNuno @dankcushions
                        last edited by 9 Jun 2021, 19:26

                        @dankcushions said in LR-MAME2003 - flipping the screen in SOME games:

                        i think you’re misreading my post. those are internal variables within the code, not configuration settings. there is no way to flip things via the libretro API but you could try a shader. a

                        Well, it shouldn't be an issue for me as I do not plan to 'Y flip' for certain games. I want to dedicated the 'YFlip' for only one game(and I do not plan to run any other game on this setup. So instead using a shader, could this be such a option in the general config of LR Mame 2003. I've found this option in Advance Mame .94, but I would prefer to go with Mame2003 ?

                        D 1 Reply Last reply 9 Jun 2021, 19:45 Reply Quote 0
                        • D
                          dankcushions Global Moderator @DNuno
                          last edited by 9 Jun 2021, 19:45

                          @dnuno why not run a shader for one game? it probably could become an option in the core but you’d have to find someone to implement it: https://github.com/libretro/mame2003-libretro/issues

                          D 1 Reply Last reply 12 Jun 2021, 09:51 Reply Quote 0
                          • D
                            DNuno @dankcushions
                            last edited by 12 Jun 2021, 09:51

                            @dankcushions Thanks, I'll look in that way. I wasn't aware of the use of shaders so far :-)

                            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.

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