From c814baef4ccaadf65f758b4d207054b2430ae3cd Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 7 Feb 2021 23:44:13 +0100 Subject: [PATCH] Added support for the game system TIC-80 game engine. --- USERGUIDE.md | 1 + es-app/src/PlatformId.cpp | 1 + es-app/src/PlatformId.h | 1 + es-app/src/scrapers/ScreenScraper.cpp | 1 + resources/templates/es_systems.cfg_macos | 9 +++++ resources/templates/es_systems.cfg_unix | 9 +++++ .../templates/es_systems.cfg_unix_flatpak | 9 +++++ resources/templates/es_systems.cfg_windows | 9 +++++ themes/rbsimple-DE/MISSING.md | 1 + themes/rbsimple-DE/tic80/colors.xml | 18 +++++++++ themes/rbsimple-DE/tic80/images/console.svg | 1 + .../rbsimple-DE/tic80/images/consolegame.svg | 1 + .../rbsimple-DE/tic80/images/controller.svg | 1 + themes/rbsimple-DE/tic80/images/logo.svg | 1 + themes/rbsimple-DE/tic80/systeminfo.xml | 30 ++++++++++++++ themes/rbsimple-DE/tic80/theme.xml | 40 +++++++++++++++++++ 16 files changed, 133 insertions(+) create mode 100644 themes/rbsimple-DE/tic80/colors.xml create mode 100644 themes/rbsimple-DE/tic80/images/console.svg create mode 100644 themes/rbsimple-DE/tic80/images/consolegame.svg create mode 100644 themes/rbsimple-DE/tic80/images/controller.svg create mode 100644 themes/rbsimple-DE/tic80/images/logo.svg create mode 100644 themes/rbsimple-DE/tic80/systeminfo.xml create mode 100644 themes/rbsimple-DE/tic80/theme.xml diff --git a/USERGUIDE.md b/USERGUIDE.md index 5ab99bb68..3fb4e7813 100644 --- a/USERGUIDE.md +++ b/USERGUIDE.md @@ -1533,6 +1533,7 @@ Consider the table below a work in progress as it's obvioulsy not fully populate | tg16 | NEC TurboGrafx-16 | | | | tg-cd | NEC TurboGrafx-CD | | | | ti99 | Texas Instruments TI-99 | | | +| tic80 | TIC-80 game engine | | | | to8 | Thomson TO8 | RetroArch (Theodore) | | | trs-80 | Tandy TRS-80 | | | | uzebox | Uzebox | | | diff --git a/es-app/src/PlatformId.cpp b/es-app/src/PlatformId.cpp index 25a84afa7..21559d640 100644 --- a/es-app/src/PlatformId.cpp +++ b/es-app/src/PlatformId.cpp @@ -109,6 +109,7 @@ namespace PlatformIds "sufami", // Bandai SuFami Turbo "supergrafx", // NEC SuperGrafx "ti99", // Texas Instruments TI-99 + "tic80", // TIC-80 game engine "trs-80", // Tandy TRS-80 "uzebox", // Uzebox "vectrex", // Vectrex diff --git a/es-app/src/PlatformId.h b/es-app/src/PlatformId.h index 05a0f7d5b..3023ab8e9 100644 --- a/es-app/src/PlatformId.h +++ b/es-app/src/PlatformId.h @@ -109,6 +109,7 @@ namespace PlatformIds BANDAI_SUFAMI_TURBO, NEC_SUPERGRAFX, TEXAS_INSTRUMENTS_TI99, + TIC80, TANDY_TRS80, UZEBOX, VECTREX, diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp index f1459482e..d43d356cc 100644 --- a/es-app/src/scrapers/ScreenScraper.cpp +++ b/es-app/src/scrapers/ScreenScraper.cpp @@ -107,6 +107,7 @@ const std::map screenscraper_platformid_map { { SAMCOUPE, 213 }, { SUPER_NINTENDO, 4 }, { NEC_SUPERGRAFX, 105 }, + { TIC80, 222 }, { NEC_PC_8800, 221}, { NEC_PC_9800, 208}, { NEC_PC_ENGINE, 31 }, diff --git a/resources/templates/es_systems.cfg_macos b/resources/templates/es_systems.cfg_macos index 30e0204a0..74742eb02 100644 --- a/resources/templates/es_systems.cfg_macos +++ b/resources/templates/es_systems.cfg_macos @@ -1063,6 +1063,15 @@ ti99 ti99 + + tic80 + TIC-80 game engine + %ROMPATH%/tic80 + .7z .7Z .zip .ZIP + PLACEHOLDER %ROM% + tic80 + tic80 + to8 Thomson TO8 diff --git a/resources/templates/es_systems.cfg_unix b/resources/templates/es_systems.cfg_unix index e4f10afaa..45e28098f 100644 --- a/resources/templates/es_systems.cfg_unix +++ b/resources/templates/es_systems.cfg_unix @@ -1063,6 +1063,15 @@ ti99 ti99 + + tic80 + TIC-80 game engine + %ROMPATH%/tic80 + .7z .7Z .zip .ZIP + PLACEHOLDER %ROM% + tic80 + tic80 + to8 Thomson TO8 diff --git a/resources/templates/es_systems.cfg_unix_flatpak b/resources/templates/es_systems.cfg_unix_flatpak index 3c75887f8..2e657f873 100644 --- a/resources/templates/es_systems.cfg_unix_flatpak +++ b/resources/templates/es_systems.cfg_unix_flatpak @@ -1063,6 +1063,15 @@ ti99 ti99 + + tic80 + TIC-80 game engine + %ROMPATH%/tic80 + .7z .7Z .zip .ZIP + PLACEHOLDER %ROM% + tic80 + tic80 + to8 Thomson TO8 diff --git a/resources/templates/es_systems.cfg_windows b/resources/templates/es_systems.cfg_windows index 3b7c7157c..bdf8b6399 100644 --- a/resources/templates/es_systems.cfg_windows +++ b/resources/templates/es_systems.cfg_windows @@ -1063,6 +1063,15 @@ ti99 ti99 + + tic80 + TIC-80 game engine + %ROMPATH%\tic80 + .7z .7Z .zip .ZIP + PLACEHOLDER %ROM% + tic80 + tic80 + to8 Thomson TO8 diff --git a/themes/rbsimple-DE/MISSING.md b/themes/rbsimple-DE/MISSING.md index 5df480042..2e422da06 100644 --- a/themes/rbsimple-DE/MISSING.md +++ b/themes/rbsimple-DE/MISSING.md @@ -60,6 +60,7 @@ None at the moment. * stratagus: Stratagus game engine - system info, customized colors, consolegame.svg, console.svg, controller.svg, game.svg * sufami: Bandai SuFami Turbo - system info, customized colors, logo.svg, consolegame.svg, console.svg, controller.svg, game.svg * x68000: Sharp X68000 - system info, customized colors, logo.svg, consolegame.svg, console.svg, controller.svg, game.svg +* tic-80: TIC-80 game engine - logo.svg (needs improvement) * trs-80: Tandy TRS 80 - system info, customized colors, consolegame.svg, console.svg, controller.svg, game.svg * uzebox: Uzebox - system info, customized colors, logo.svg, consolegame.svg, console.svg, controller.svg, game.svg * videopac: Magnavox Videopac (Odyssey 2) - update all info and graphics to differentiate European version from USA version diff --git a/themes/rbsimple-DE/tic80/colors.xml b/themes/rbsimple-DE/tic80/colors.xml new file mode 100644 index 000000000..d9a040dc6 --- /dev/null +++ b/themes/rbsimple-DE/tic80/colors.xml @@ -0,0 +1,18 @@ + + 6 + + + + 4E76B4 + + + C5494A + + + C7772F + + + 65A33D + + + diff --git a/themes/rbsimple-DE/tic80/images/console.svg b/themes/rbsimple-DE/tic80/images/console.svg new file mode 100644 index 000000000..d25f58942 --- /dev/null +++ b/themes/rbsimple-DE/tic80/images/console.svg @@ -0,0 +1 @@ + diff --git a/themes/rbsimple-DE/tic80/images/consolegame.svg b/themes/rbsimple-DE/tic80/images/consolegame.svg new file mode 100644 index 000000000..d25f58942 --- /dev/null +++ b/themes/rbsimple-DE/tic80/images/consolegame.svg @@ -0,0 +1 @@ + diff --git a/themes/rbsimple-DE/tic80/images/controller.svg b/themes/rbsimple-DE/tic80/images/controller.svg new file mode 100644 index 000000000..54e4a5481 --- /dev/null +++ b/themes/rbsimple-DE/tic80/images/controller.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/rbsimple-DE/tic80/images/logo.svg b/themes/rbsimple-DE/tic80/images/logo.svg new file mode 100644 index 000000000..f74023358 --- /dev/null +++ b/themes/rbsimple-DE/tic80/images/logo.svg @@ -0,0 +1 @@ +I don’t like bugs! \ No newline at end of file diff --git a/themes/rbsimple-DE/tic80/systeminfo.xml b/themes/rbsimple-DE/tic80/systeminfo.xml new file mode 100644 index 000000000..dc4ac4db4 --- /dev/null +++ b/themes/rbsimple-DE/tic80/systeminfo.xml @@ -0,0 +1,30 @@ + + 6 + + + + Author : Vadim Grigoruk + + + Initial release : 2017 + + + Website : https://tic.computer/ + + + TIC-80 is a fantasy computer for making, playing and sharing tiny games. + + + Built-in features : Code editor, Sprite Editor, Tile Map Editor, SFX Editor. + + + Display : 240x136 pixels, 16-color palette + + + Sprites : 256 8x8 foreground sprites, 256 8x8 background tiles + + + Sound : 4 channels (with editable waveform envelopes) + + + diff --git a/themes/rbsimple-DE/tic80/theme.xml b/themes/rbsimple-DE/tic80/theme.xml new file mode 100644 index 000000000..f097080c3 --- /dev/null +++ b/themes/rbsimple-DE/tic80/theme.xml @@ -0,0 +1,40 @@ + + 6 + ./../theme.xml + ./colors.xml + ./systeminfo.xml + + + + ./images/controller.svg + + + + + + 262626 + 262626 + + + + + + ./images/logo.svg + + + ./images/consolegame.svg + + + + + + ./images/console.svg + + + + + + ./images/logo.svg + + +