
You can also make copies of the config and just rename it for another vertical title (so would be the same as and and so on. So, you might end up with a per-rom config anyway. Finally, because you are using a different set of controls, you may need to include more configuration lines than just rotation for that game-you might need to map different inputs. The two methods amount to the same thing, but I think it may be easier to manage the per-rom configs as I have described above, especially if you want to try a different emulator (lr core), as the config file would still apply. In this example, only rotation applies, so it will use the default configuration and augment it with the rotation settings, but every other setting will be the same. When it launches, that custom config overrides whatever settings are in it. Call it and inside that file, you add your video_rotation = 3 or whatever you decide. For that game, you create a text file and save it right next to the ROM.

Then, say you are launching dkong.zip which is a vertical game. By default, I have my emulator setup without any rotation at all. This choice will be saved, so once you have it set, it will run the emulator with the corresponding rotation. So, will it be possible to program a single button to rotate the screen on demand or is the idea that depending on the game you choose that's what triggers the screen has a very interesting mechanism for giving you the choice when you launch a ROM. (you will have to put controller configs in there as well because the vertical games controls are changed in those 2 said in Switching from Landscape to Portrait: or for the atari lynx and wonderswan vertical games. just do this for any retroarch mame or fba emulator.
#Retroarch switch portrait mode update#
then make a backup of all of these folders you create in case an update removes it you can easily fix it. Now all you have to do is when you boot a a game press button 0 on player 1's controller to go into the runcommand setup and you choose the emulator + rom based on the screen rotation. Lr-mame2003-3="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so -config /opt/retropie/configs/mame-libretro3/retroarch.cfg %ROM%" Lr-mame2003-2="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so -config /opt/retropie/configs/mame-libretro2/retroarch.cfg %ROM%" Lr-mame2003-1="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so -config /opt/retropie/configs/mame-libretro1/retroarch.cfg %ROM%" Now in /opt/retropie/configs/mame-libretro/emulators.cfg you would make it look something like this: lr-mame2003="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so -config /opt/retropie/configs/mame-libretro/retroarch.cfg %ROM%" In /opt/retropie/configs/mame-libretro3/retroarch.cfg you add: video_rotation = 3 In /opt/retropie/configs/mame-libretro2/retroarch.cfg you add: video_rotation = 2 In /opt/retropie/configs/mame-libretro1/retroarch.cfg you add: video_rotation = 1 so now in the folders marked 1, 2, and 3 you put this one line in the retroarch.cfg file in each of them. You need to give permissions to these folders and files as you add them. so you will have 4 folders named like this: mame-libretro so now make a copy of the /opts/retropie/configs/mame-libretro/ folder 3 times.

So normally you would make a seperate config file per vertical game but in the case of the vertical option i have a quick dirty cheat for it that make it a thousand times easier for retroarch emulators.(possibly 2000 times easier ) )so say mame-libretro is a retroarch emulator you want to use. In any case, the emulators are flexible enough for your design plans. Centipede would be an example-vertical, but my trackball is on the horizontal.

There are others that are controls limited on my setup. There are occasional exceptions like 1941 which would look better rotated vertically (fill the screen) but I want side-by-side co-op gameplay, so I leave that one as horizontal. Horizontal games can be played from the long side. Mine fills the screen for vertical games (played from the controls at the narrow ends) and flips 180 for player 2 (cocktail mode DIP switch in MAME GUI). you can have a very rewarding experience. So, if you are willing to put in the work to configure each game, map controls, etc. AdvanceMAME is important still for its ability to render vector games using the native resolution of your display (you specify it in the. lr-mame2003 is a good default, as you can use all of the nifty shaders available in RetroArch. I am successfully leveraging rotation of specific games via configs for ROM (where needed using lr-mame2003) and in the.
