Rotating screen for mame roms
-
I am running retro pie on a raspberry pi 3. I am running retropie 4.1
I am trying to get ms pacman to run properly, but when it starts the screen is rotated 90 degrees. I have the rom in the arcade folder and I am using the fba emulator. I have tried editing the retroarch.cfg file in /opt/retropie/configs/arcade I have also tried moving the rom to the fba folder and doing the same, changing the configs doesn't seem to have any effect on the game.
The config I am currently trying is this, but i have tried changing the values and it always seems to boot up the same. I have tried restarting emulationstation, and tried rebooting the system and it still comes up rotated in the same direction.
video_allow_rotate = "true"
video_rotation = "3"I have also tried creating a cfg file in the same folder with the same name as the rom in the same folder and it didn't make a difference. I have been at this for a couple hours now, and I'm pretty sure I am missing something simple. Any help would be appreciated.
-
@jack
I'm having trouble following your post. So you do not want your screen rotated for Ms Pacman, correct? But I assume you do want rotation for other games?If you just want a few games to be rotated, then remove any global
video_allow_rotate
&video_rotation
settings from all yourretroarch.cfg
files (like/opt/retropie/configs/arcade/retroarch.cfg
) then just make those per-rom<rom name>.zip.cfg
files that you want to rotate with just this:video_allow_rotate = "true" video_rotation = "3"
The angle is <value> * 90 degrees counter-clockwise so a video_rotation set to 3 is actually rotated 270 degrees.
https://retropie.org.uk/forum/topic/2806/rotating-screen-on-the-fly/5
https://retropie.org.uk/forum/topic/3668/switching-from-landscape-to-portrait/10 -
Thank you for your response. I had already tried this, but I tried it one more time just to be sure. I added the following to the .cfg file for this rom
video_allow_rotate = true
video_rotation = 3
audio_enable = falseI disabled the audio just to verify that the configuration was loading for the rom. And indeed it is loading the config and the audio is off, but regardless of what value I set the video rotation to, the rotation remains the same. To further test this, I did the same for an nes rom. This also didn't rotate on start. So my problem seems to be bigger than just mame or this rom.
It seems that nothing seems to respect the video rotation settings. The sound in the nes game turned off as expected by the way, but the screen did not start rotated.
-
I figured out my problem. I had set the video driver to dispmanx to reduce input lag on the nes. However video rotation does not work with this video driver. Thanks again for your help.
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.