Skip to content
OpenTyrian for ESP32
Branch: master
Clone or download
Jason Kirsons
Latest commit 3017063 Dec 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings Init Oct 21, 2018
components Change LCD and SD to HSPI_HOST Dec 2, 2018
documents documents Nov 9, 2018
main sound working Nov 27, 2018
release Change LCD and SD to HSPI_HOST Dec 2, 2018
.cproject Init Oct 21, 2018
.gitattributes
.gitignore Init Oct 21, 2018
.project Init Oct 21, 2018
LICENSE Create LICENSE Nov 9, 2018
LICENSE_ZLIB ODROID-GO Compatibility Nov 23, 2018
Makefile Init Oct 21, 2018
README.md Update README.md Nov 9, 2018
addr2line.py change CONFIG_SPIRAM_OCCUPY_HSPI_HOST Nov 30, 2018
analyse_mem.sh ODroid-GO updates Nov 25, 2018
partitions.csv update Sep 12, 2018
sdkconfig Change LCD and SD to HSPI_HOST Dec 2, 2018
sdkconfig.old Change LCD and SD to HSPI_HOST Dec 2, 2018
sdkconfig.old2 ODroid-GO updates Nov 25, 2018

README.md

OpenTyrian - ESP32 Port

This is a port of OpenTyrian (ported to ESP32 by Gadget Workbench). It's based on OpenTyrian (https://bitbucket.org/opentyrian/opentyrian/wiki/Home)

Storyline

OpenTyrian is an open-source port of the DOS game Tyrian.

Tyrian is an arcade-style vertical scrolling shooter. The story is set in 20,031 where you play as Trent Hawkins, a skilled fighter-pilot employed to fight MicroSol and save the galaxy.

Requirements

It requires:

  • An ESP32 WROVER
  • An ILI9341 LCD - connected by SPI
  • SD Card with the tyrian files in a "data" folder
  • Amplifier and speaker
  • Some input buttons (Up/Down/Left/Right + two buttons)

Video

Alt text

Installation

"make menuconfig"

under the section "ESP32-TYRIAN platform-specific configuration: config_image

LCD / SD Card

Set up the pins used for your LCD and SD Card. This is the default configuration: config_image

The LCD is connected to VSPI, and the SD Card to HSPI.

Input / Controls

The default button input is configured in keyboard.c

  • GPIO36 UP
  • GPIO34 DOWN
  • GPIO32 LEFT
  • GPIO39 RIGHT
  • GPIO33 ESCAPE (quit)
  • GPIO35 SPACE (fire/select)

Sound

Sound is output using I2S connected to the DAC on GPIO25 this is configured in SDL_audio.c. You will need an amplifier+speaker and coupling capacitor on this pin (the capacitor to bring the DAC's DC signal back to AC).

Compiling

"make flash"

You can’t perform that action at this time.