RetroPie / EmulationStation – Rotating output to the Raspberry Pi 7″ LCD 90 degrees for portrait orientation

If you are running RetroPie on a Raspberry Pi 7″ LCD, running some games e.g. arcade games using MAME, in the usual landscape orientation means the output of the game is only displayed in the center of the screen.

There are a number of options for rotating output to the screen, depending on what you need to do and/or your preferences:

Rotate the video output

You can do this by editing /boot/config.txt and adding a line like:

display_rotate=1

or

lcd_rotate=1

(depending on whether you are rotating HDMI output or output to the 7″ LCD). 1=90 degrees rotation, 2=180, 3=270

Rotate all Retroarch output

Edit /opt/retropie/configs/arcade/retroarch.cfg and add:

video_allow_rotate = "true"
video_rotation = "3"

Use a rotation value of 1, 2, or 3 etc same as rotating the video output. From here.

Rotate individual MAME rom output

In your ROMs folder, create a rom-name.zip.cfg file and add the same 2 lines as above. Same approach as the overlay configs created here, which also has config for adding a rotated background graphics overlay too.

Rotate EmulationStation display

To rotate the EmulationStation gui you can pass the –screenrotate option in the autostart config for EmulationStation, which you can either set in the cfg file directly or via the RetroPie-Setup.sh – described here.

For the 7″ LCD these options worked for me:

--screenrotate 3 --screenszie 480 800 #auto

    The Hobbit for the ZX Spectrum: a text adventure with interactive NPCs from 1982

    After having a Lord of the Rings and The Hobbit movie marathon this weekend, I fired up a ZX Spectrum emulator and relived playing the text adventure game The Hobbit. I shared some screenshots in this thread on Twitter here:

    The Hobbit was released in 1982 for the ZX Spectrum. For it’s time, it has some interesting features, like NPCs that wandered around, and language parsing of statements allowing you to interact with the NPCs, like ‘say to Elrond “read map”‘.

    Given the unusual (for the time) ability to interact with the NPCs, there even exists a ZX Spectrum emulator specifically to play The Hobbit, which also shows the state of the interactive characters and objects in the game as you play. This is well worth taking a look at to get an insight into how the game works – quite an achievement for an 8 bit game in only 48k: http://members.aon.at/~ehesch1/wl/wl.htm