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 rom specific rotation + aspect issues

    Scheduled Pinned Locked Moved Help and Support
    mame2003rotationaspect ratio
    69 Posts 13 Posters 37.2k 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.
    • esmith13E
      esmith13 @dankcushions
      last edited by

      @dankcushions
      I appreciate you doing this and i love that it prevents the scaling from being off slightly but unfortunately after testing it I still can't make use of it.
      While I admit in this day and age it's rare to find a monitor that can rotate at all in the first place it is even more rare to find one that rotates 90 degrees in BOTH directions (90 clockwise and 90 counter-clockwise from landscape/default) for a full 180 degrees of rotation. Using the mode you added of course makes the games show as they were originally designed but apparently their was never a standard as to which short edge of the display is "up".
      For example, 1942 would require a 90 degree counter-clockwise rotation whereas ms. pacman requires a 90 degree clockwise rotation. I also assume since you must set allow_video_rotate to false, I can't manually rotate some of them 180 degrees so they all require a 90 degree clockwise rotation from landscape. I know this would require some cfg files again but at least the aspect ratio would be as intended unlike my original "fix".

      If you have any other suggestions please let me know and thanks much for looking in to this whole thing in the first place.

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

        @esmith13 said in lr-mame2003 rom specific rotation + aspect issues:

        For example, 1942 would require a 90 degree counter-clockwise rotation whereas ms. pacman requires a 90 degree clockwise rotation. I also assume since you must set allow_video_rotate to false, I can't manually rotate some of them 180 degrees so they all require a 90 degree clockwise rotation from landscape. I know this would require some cfg files again but at least the aspect ratio would be as intended unlike my original "fix".

        hmm, damn! i think the best thing you could do is use allow_video_rotate = false and the tate mode setting as your default, and then per-game cfgs for all the ones that rotate 180 degrees like

        allow_video_rotate = "true"
        video_rotation = "3"
        

        (or maybe it's easier to do it for the ones that rotate 90 degrees, but you get the idea)

        at least it's a slightly shorter cfg :)

        EDIT: i'm not entirely sure if this works or not, but i think it should with the tate mode on at all times. hmm, not sure!!

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

          I will add to what @esmith13 is saying by confirming that my rom-specific rotation settings are mostly consistent, but do vary depending on the ROM to rotate CW or CCW.

          Also, this is useful for more than just those folks with displays that can rotate. My display is fixed/mounted and doesn't rotate, but because my cabinet is a 3-sided cocktail, I play all vertical games from control panels on the vertical ends. So, in this situation, I still want to have the game fill the screen like folks who can rotate their display. In other words, we are effectively the same. I say it because the audience for this effect isn't just limited to people with rotating displays.

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

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • esmith13E
            esmith13
            last edited by esmith13

            No worries dankcushions. I really do appreciate it! Even tho I still need cfg files (for a portion of them, although I now have to hand create a list of which ones need configs!!) the aspect ratio/scaling is more accurate your way so I still consider your solution superior even if technically more work.

            Thank you again!!

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

              @caver01 said in lr-mame2003 rom specific rotation + aspect issues:

              I will add to what @esmith13 is saying by confirming that my rom-specific rotation settings are mostly consistent, but do vary depending on the ROM to rotate CW or CCW.

              Also, this is useful for more than just those folks with displays that can rotate. My display is fixed/mounted and doesn't rotate, but because my cabinet is a 3-sided cocktail, I play all vertical games from control panels on the vertical ends. So, in this situation, I still want to have the game fill the screen like folks who can rotate their display. In other words, we are effectively the same. I say it because the audience for this effect isn't just limited to people with rotating displays.

              oh interesting! i did consider cocktail cabinets but i figured they would have controls only at one side. i didn't consider you could have cloned controls on 3. that's neat! hmm, maybe it needs renaming from TATE Mode but i can't think what to.

              caver01C 1 Reply Last reply Reply Quote 0
              • esmith13E
                esmith13
                last edited by esmith13

                Perhaps something along the lines of one of the following?:
                mame2003-native_orientation
                mame2003-native_orient
                mame2003-orient_native
                mame2003-orientation_native
                mame2003-native_rotation
                mame2003-factory_rotation

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

                  @dankcushions said in lr-mame2003 rom specific rotation + aspect issues:

                  maybe it needs renaming from TATE Mode but i can't think what to.

                  No need to overthink it. It's actually a nice enhancement, and even if it serves as a default that covers most but not all titles, it can still reduce the need for custom configs for every vertical ROM.

                  My situation is further complicated by the fact that my display is 5:4 (1280x1024). Normally, I might just let RetroArch figure out the AR for me, but I don't mind a little "stretch" within reason. I run the CRT shader, so I like that I can get it to fill the screen and eek out a few more pixels. I guess I am saying, I might end up with a custom configs anyway.

                  As for the 3-sided controls, they aren't actually cloned--I can play 4-player games like Gauntlet, or X-men, or use all four joysticks for 2-player SmashTV etc.!

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

                  1 Reply Last reply Reply Quote 0
                  • RandoCalrisianR
                    RandoCalrisian
                    last edited by

                    Where does one save "per rom" cfgs?

                    esmith13E 1 Reply Last reply Reply Quote 0
                    • esmith13E
                      esmith13 @RandoCalrisian
                      last edited by esmith13

                      @RandoCalrisian
                      In the ROM folder right next to the ROM it is for.

                      Example:

                      /home/pi/RetroPie/roms/mame-libretro/pacman.zip
                      /home/pi/RetroPie/roms/mame-libretro/pacman.zip.cfg

                      Note the config file is named {romname.zip}.cfg

                      Settings in this config will override settings in the other various configs but only for the ROM its name matches.

                      RandoCalrisianR 1 Reply Last reply Reply Quote 0
                      • RandoCalrisianR
                        RandoCalrisian @esmith13
                        last edited by

                        @esmith13 said in lr-mame2003 rom specific rotation + aspect issues:

                        @RandoCalrisian
                        In the ROM folder right next to the ROM it is for.

                        Example:

                        /home/pi/RetroPie/roms/mame-libretro/pacman.zip
                        /home/pi/RetroPie/roms/mame-libretro/pacman.zip.cfg

                        Note the config file is named {romname.zip}.cfg

                        Settings in this config will override settings in the other various configs but only for the ROM its name matches.

                        Excellent, thanks for the response. I JUST figured this out too, as a result of setting options in "runcommand", then seeing a file manifest itself.

                        To add to this, I'll say the only way I've gotten desired results, is using custom configs.
                        Enabling tate messes with the aspect ratio, but doesn't rotate the game.
                        Enabling tate and setting allow rotate to false messes with the aspect ratio, and still doesn't rotate the game.

                        esmith13E 1 Reply Last reply Reply Quote 0
                        • esmith13E
                          esmith13 @RandoCalrisian
                          last edited by

                          @RandoCalrisian
                          Enabling Tate and setting allow rotate to false does work if done in global configs. Certain configs override certain others . Just the same certain configs can be overridden by others. Tate mode enable should be in global. Allow rotate false should be in mame2003 core options config. That worked for me.
                          Of course you must update lr-mame2003 from source first and make sure you are in fact using mame2003 not mame4all or advmame, etc...

                          1 Reply Last reply Reply Quote 0
                          • RandoCalrisianR
                            RandoCalrisian
                            last edited by

                            /opt/retropie/configs/mame-libretro/retroarch.cfg

                            Is it safe to assume that refers to lr-mame2003?

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

                              @RandoCalrisian said in lr-mame2003 rom specific rotation + aspect issues:

                              /opt/retropie/configs/mame-libretro/retroarch.cfg

                              Is it safe to assume that refers to lr-mame2003?

                              No, it also is used by lr-mame2010.

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

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

                                my advice is to put per-rom overrides in /opt/retropie/configs/all/retroarch/config/MAME 2003/

                                this is the official retroarch-supported way of using rom overrides. there's a few advantages (settings don't migrate to your main config even if save_on_exit is turned on, etc)

                                Thorr69T 1 Reply Last reply Reply Quote 0
                                • K
                                  KillerQ @dankcushions
                                  last edited by

                                  @dankcushions said in lr-mame2003 rom specific rotation + aspect issues:

                                  @esmith13 you might have already solved this through .cfgs, but i've coded a 'TATE Mode' for lr-mame2003.

                                  1. update from source (this takes about 30 mins)
                                  2. follow the instructions here: https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#tate-mode

                                  it will mean no custom cfgs required - just change the per-emulator settings as i describe.

                                  So, I just built a small rig with my Raspberry Pi 3 running Retropie on a dell monitor that rotates clockwise to portrait mode.

                                  From what I gather, TATE is an emulator that I can get through Retropie setup that adds the option to change the video output to portrait - allowing me to hit a button and get into settings to change this before the game loads - right?

                                  Just looking for the most efficient way to go about this.

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

                                    @KillerQ said in lr-mame2003 rom specific rotation + aspect issues:

                                    @dankcushions said in lr-mame2003 rom specific rotation + aspect issues:

                                    @esmith13 you might have already solved this through .cfgs, but i've coded a 'TATE Mode' for lr-mame2003.

                                    1. update from source (this takes about 30 mins)
                                    2. follow the instructions here: https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#tate-mode

                                    it will mean no custom cfgs required - just change the per-emulator settings as i describe.

                                    So, I just built a small rig with my Raspberry Pi 3 running Retropie on a dell monitor that rotates clockwise to portrait mode.

                                    From what I gather, TATE is an emulator that I can get through Retropie setup that adds the option to change the video output to portrait - allowing me to hit a button and get into settings to change this before the game loads - right?

                                    Just looking for the most efficient way to go about this.

                                    not quite :) TATE mode is just an option in the default /mame-libretro/ emulator.

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      KillerQ @dankcushions
                                      last edited by

                                      @dankcushions does Retropie even have the capability of rotating its output on the fly, per rom - similar to how the display_rotate=x config command does?

                                      Not having to constantly reboot the system in between different styles of games would be great.

                                      caver01C dankcushionsD 2 Replies Last reply Reply Quote 0
                                      • caver01C
                                        caver01 @KillerQ
                                        last edited by

                                        @KillerQ Yeah, you shouldn't have to reboot to rotate a game if you are using RetroArch emulators. The worst case would be that you would have to create config file for each game you want to rotate a specific way.

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

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

                                          @KillerQ said in lr-mame2003 rom specific rotation + aspect issues:

                                          @dankcushions does Retropie even have the capability of rotating its output on the fly, per rom - similar to how the display_rotate=x config command does?

                                          Not having to constantly reboot the system in between different styles of games would be great.

                                          yes it does...

                                          but i guess you don't understand this option - with your screen you'd enable it and simply rotate your screen when playing the vertical games. you'd not need to use any other rotating options.

                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            KillerQ @dankcushions
                                            last edited by

                                            @dankcushions when I'm in a game that I want to play in vertical position, I am searching for the Retroarch menu setting that I can change once I start the game, then after it rotates, I'll rotate my monitor. That's what I'm searching for.

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