Pages

Friday, 13 February 2015

Install OpenTyrian

In this tutorial, I will show how to install OpenTyrian, an open source port of the DOS vertical shoot'em up Tyrian. Insane at the Raspberry Pi forum has amended the original source code of OpenTyrian to add SDL with dispmanx support. He has been able to recreate the best Tyrian experience for the pi. As Tyrian was made freeware in 2004, there's every reason to check it out.

[UPDATE November 2015] You can now install OpenTyrian from the RetroPie setup script. Please update the script if you have not done so recently.

Configure and Install Dispmanx

Create a clone of the dispmanx repository using the command below.

git clone https://github.com/vanfanel/SDL12-kms-dispmanx.git
The OpenTyrian source code expects dispmanx to be in the /opt/sdl-dispmanx folder so move and rename with the following command:

Configure Game Controllers

You can configure game controllers in-game. Start a game, any mode, episode, difficulty, it's not important. Choose Options and then Joystick. If you have a game controller plugged in, you will see a screen as below with buttons already assigned.

To re-configure, use the arrow keys on a keyboard to select an action, FIRE, CHANGE FIRE etc. Press ENTER on a keyboard to highlight and then the button on your game controller that you wish to map. Repeat for other buttons. I have not been able to remove the default mappings so take care not to have any conflicts.

I found that, with dispmanx sdl still installed, I could move my fighter left and right with the
keyboard but not with the analogue stick of my PS3 controller. To fix this, uninstall sdl-dispmanx with the following commands:

cd /opt/sdl-dispmanxsudo make uninstall

Integrate into Retropie

Create a script, opentyrian.sh, in the ports folder that will be used to launch the game from Emulationstation.