From a4164575208108fd77b5774bcfc91d6f453eccd6 Mon Sep 17 00:00:00 2001 From: Shaun Inman Date: Wed, 1 Mar 2023 21:10:34 -0500 Subject: [PATCH] added GG and SMS paks --- skeleton/EXTRAS/Bios/GG/.keep | 0 skeleton/EXTRAS/Bios/SMS/.keep | 0 skeleton/EXTRAS/Emus/rg35xx/GG.pak/launch.sh | 13 +++++++++ skeleton/EXTRAS/Emus/rg35xx/SMS.pak/launch.sh | 13 +++++++++ skeleton/EXTRAS/Saves/GG/.keep | 0 skeleton/EXTRAS/Saves/SMS/.keep | 0 todo.txt | 27 ++++++++++--------- 7 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 skeleton/EXTRAS/Bios/GG/.keep create mode 100644 skeleton/EXTRAS/Bios/SMS/.keep create mode 100755 skeleton/EXTRAS/Emus/rg35xx/GG.pak/launch.sh create mode 100755 skeleton/EXTRAS/Emus/rg35xx/SMS.pak/launch.sh create mode 100644 skeleton/EXTRAS/Saves/GG/.keep create mode 100644 skeleton/EXTRAS/Saves/SMS/.keep diff --git a/skeleton/EXTRAS/Bios/GG/.keep b/skeleton/EXTRAS/Bios/GG/.keep new file mode 100644 index 0000000..e69de29 diff --git a/skeleton/EXTRAS/Bios/SMS/.keep b/skeleton/EXTRAS/Bios/SMS/.keep new file mode 100644 index 0000000..e69de29 diff --git a/skeleton/EXTRAS/Emus/rg35xx/GG.pak/launch.sh b/skeleton/EXTRAS/Emus/rg35xx/GG.pak/launch.sh new file mode 100755 index 0000000..0ce9688 --- /dev/null +++ b/skeleton/EXTRAS/Emus/rg35xx/GG.pak/launch.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +EMU_EXE=picodrive + +############################### + +EMU_TAG=$(basename "$(dirname "$0")" .pak) +ROM="$1" +mkdir -p "$BIOS_PATH/$EMU_TAG" +mkdir -p "$SAVES_PATH/$EMU_TAG" +HOME="$USERDATA_PATH" +cd "$HOME" +minarch.elf "$CORES_PATH/${EMU_EXE}_libretro.so" "$ROM" &> "$LOGS_PATH/$EMU_TAG.txt" diff --git a/skeleton/EXTRAS/Emus/rg35xx/SMS.pak/launch.sh b/skeleton/EXTRAS/Emus/rg35xx/SMS.pak/launch.sh new file mode 100755 index 0000000..0ce9688 --- /dev/null +++ b/skeleton/EXTRAS/Emus/rg35xx/SMS.pak/launch.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +EMU_EXE=picodrive + +############################### + +EMU_TAG=$(basename "$(dirname "$0")" .pak) +ROM="$1" +mkdir -p "$BIOS_PATH/$EMU_TAG" +mkdir -p "$SAVES_PATH/$EMU_TAG" +HOME="$USERDATA_PATH" +cd "$HOME" +minarch.elf "$CORES_PATH/${EMU_EXE}_libretro.so" "$ROM" &> "$LOGS_PATH/$EMU_TAG.txt" diff --git a/skeleton/EXTRAS/Saves/GG/.keep b/skeleton/EXTRAS/Saves/GG/.keep new file mode 100644 index 0000000..e69de29 diff --git a/skeleton/EXTRAS/Saves/SMS/.keep b/skeleton/EXTRAS/Saves/SMS/.keep new file mode 100644 index 0000000..e69de29 diff --git a/todo.txt b/todo.txt index 75ffed6..66e0a99 100644 --- a/todo.txt +++ b/todo.txt @@ -3,36 +3,39 @@ Please see the README.txt in the zip file for installation and update instructions. *base* +- fixed input mapping for cores with different input modes +- fixed late loading of configs (was preventing boot logos for certain systems) - fixed flicker at low end of screen brightness ramp - restored PlayStation interlace and enhanced resolutions options *extras* +- added GG.pak for Game Gear +- added SMS.pak for Master System +- restored Game Boy Player rumble support in MGBA.pak (some games had rumble hardware on the cartridge, others depended on the Game Cube's and require this toggle to access it) - added SGB.pak for Super Game Boy - added PCE.pak for TurboGrafx-16 ------------------------------- create a clean image to flash and install over - - advanced users seem to be confused about how simple it is to install :sweat_smile: + advanced users seem to be confused about how simple it is to install :sweat_smile: + +add most recent uImage/kernel changes hdmi for now I could add to a user auto.sh cat /sys/class/switch/hdmi/state echo 1 > /sys/class/graphics/fb0/mirror_to_hdmi + if connected to hdmi switch to aspect (if native) + and resize to address stretching 640x480 to 1280x720 + ignore brightness shortcut when on hdmi minarch - - cores with different modes that report different inputs break with overrides + figure out how to handle different button mappings for cores with different modes eg. GG or SMS with picodrive - kinda related SGB (with mgba) uses GBA button naming (and turbo) - is there a way to detect the mode in the env callback?? - move overrides to a text file that lives in the pack? - that way I don't have to update minarch to support new cores? - also buttons should be bound RA_ID => MIN_ID not DISPLAY_NAME => MIN_ID - - related to above - bindings for shortcuts should also use something less brittle than the display name - + move overrides to a text file that lives in the pak? + that way I don't have to update minarch to support new cores? + some cores can only fast forward with prevent tearing off can this be set as an override preference? change Frontend > Scanlines/Grid to Screen Effect (None, Scanlines, Grid, LCD)