lr-mame2003 rom specific rotation + aspect issues
-
@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.
-
@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 likeallow_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!!
-
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.
-
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!!
-
@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.
-
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 -
@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.!
-
Where does one save "per rom" cfgs?
-
@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.cfgNote 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.
-
@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.cfgNote 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. -
@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... -
/opt/retropie/configs/mame-libretro/retroarch.cfg
Is it safe to assume that refers to lr-mame2003?
-
@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 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)
-
@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.
- update from source (this takes about 30 mins)
- 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.
-
@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.
- update from source (this takes about 30 mins)
- 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.
-
@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.
-
@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.
-
@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.
-
@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.
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.