From 34e05f47a6c2c62430231dea7afe613081cddf82 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 23 Dec 2024 12:52:14 -0500 Subject: [PATCH] Massive update to launchers and installers. Working toward the new launcher system, things may still be broken but getting better. --- .install/Alter Aeon.sh | 1 - .install/Audo.sh | 1 - .install/Auroboros.sh | 1 - .install/Ball Bouncer.sh | 1 - .install/Bladius.sh | 1 - .install/Chimera.sh | 1 - .install/Critter Sanctuary.sh | 1 - .install/E.X.O..sh | 1 - .install/Echo Command.sh | 1 - .install/EmpireMUD.sh | 1 - .install/End of Time.sh | 1 - .install/Fantasy Story II.sh | 1 - .install/Freedoom.sh | 1 - .install/Monkey Spank.sh | 1 - .install/Numnastics.sh | 1 - .install/Onslaught.sh | 1 - .install/Periphery Synthetic EP.sh | 1 - .install/S.E.A..sh | 1 - .install/Slay the Spire.sh | 1 - .install/Slay the Text.sh | 1 - .install/Soulblaze.sh | 1 - .install/Stardew Valley.sh | 1 - .install/StickMUD.sh | 1 - .install/System Fault.sh | 1 - .install/Upheaval Commandline.sh | 1 - .install/Upheaval Gui.sh | 1 - .install/Wurmus.sh | 1 - .install/Zombowl.sh | 1 - .install/soundStrider.sh | 1 - .launch/Audo.game | 2 ++ .launch/Auroboros.game | 2 ++ .launch/Ball Bouncer.game | 1 + .launch/Bladius.game | 2 ++ .launch/Chimera.game | 2 ++ .launch/Critter Sanctuary.game | 2 ++ .launch/E.X.O..game | 2 ++ .launch/Echo Command.game | 2 ++ .launch/EmpireMUD.game | 9 +++++++++ .launch/Fantasy Story II.game | 2 ++ .launch/Monkey Spank.game | 2 ++ .launch/Numnastics.game | 2 ++ .launch/Onslaught.game | 2 ++ .launch/Periphery Synthetic EP.game | 2 ++ .launch/S.E.A..game | 2 ++ .launch/Slay the Spire.game | 2 ++ .launch/Slay the Text.game | 2 ++ .launch/Soulblaze.game | 2 ++ .launch/SoundRTS.game | 0 .launch/Stardew Valley.game | 2 ++ .launch/StickMUD.game | 1 + .launch/System Fault.game | 2 ++ .launch/TobyCustom/ArmyOfDarknessDoom.sh | 4 ++-- .launch/TobyCustom/GoMidievilOnTheirAss.sh | 4 ++-- .launch/TobyCustom/Project_Brutality.sh | 4 ++-- .launch/TobyCustom/Project_BrutalityLatest.sh | 4 ++-- .launch/TobyCustom/StarWars.sh | 2 +- .launch/TobyCustom/WolfenDoom.sh | 2 +- .launch/Upheaval Commandline.game | 2 ++ .launch/Upheaval Gui.game | 2 ++ .launch/Wurmus.game | 2 ++ .launch/Zombowl.game | 2 ++ .launch/soundStrider.game | 2 ++ linux-game-manager.sh | 17 +---------------- 63 files changed, 68 insertions(+), 55 deletions(-) create mode 100644 .launch/Audo.game create mode 100644 .launch/Auroboros.game create mode 100644 .launch/Bladius.game create mode 100644 .launch/Chimera.game create mode 100644 .launch/Critter Sanctuary.game create mode 100644 .launch/E.X.O..game create mode 100644 .launch/Echo Command.game create mode 100644 .launch/EmpireMUD.game create mode 100644 .launch/Fantasy Story II.game create mode 100644 .launch/Monkey Spank.game create mode 100644 .launch/Numnastics.game create mode 100644 .launch/Onslaught.game create mode 100644 .launch/Periphery Synthetic EP.game create mode 100644 .launch/S.E.A..game create mode 100644 .launch/Slay the Spire.game create mode 100644 .launch/Slay the Text.game create mode 100644 .launch/Soulblaze.game create mode 100644 .launch/SoundRTS.game create mode 100644 .launch/Stardew Valley.game create mode 100644 .launch/System Fault.game create mode 100644 .launch/Upheaval Commandline.game create mode 100644 .launch/Upheaval Gui.game create mode 100644 .launch/Wurmus.game create mode 100644 .launch/Zombowl.game create mode 100644 .launch/soundStrider.game diff --git a/.install/Alter Aeon.sh b/.install/Alter Aeon.sh index 80c3c8d..b87dce1 100644 --- a/.install/Alter Aeon.sh +++ b/.install/Alter Aeon.sh @@ -1,4 +1,3 @@ check_dependencies git sox tt++ git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-alteraeon.git | \ dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 -add_launcher "${installPath}/tintin-alteraeon/aa.tin" diff --git a/.install/Audo.sh b/.install/Audo.sh index ce0d016..c8922fb 100644 --- a/.install/Audo.sh +++ b/.install/Audo.sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "Audo-linux-x64.zip" "https://shiftbacktick.itch.io/audo" mkdir -p "${installPath}/Audo" unzip -d "${installPath}/Audo" "${cache}/Audo-linux-x64.zip" -add_launcher "${installPath}/Audo/Audo" diff --git a/.install/Auroboros.sh b/.install/Auroboros.sh index 8be2ee7..a56e3a1 100644 --- a/.install/Auroboros.sh +++ b/.install/Auroboros.sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "Auroboros-linux-x64.zip" "https://shiftbacktick.itch.io/auroboros" mkdir -p "${installPath}/Auroboros" unzip -d "${installPath}/Auroboros" "${cache}/Auroboros-linux-x64.zip" -add_launcher "${installPath}/Auroboros/Auroboros" diff --git a/.install/Ball Bouncer.sh b/.install/Ball Bouncer.sh index 8613e80..bde04fe 100644 --- a/.install/Ball Bouncer.sh +++ b/.install/Ball Bouncer.sh @@ -2,4 +2,3 @@ check_architecture x86_64 download "https://files.sooslandia.ru/BallBouncer/1.2.1/BallBouncer-linux-1.2.1.zip" unzip -d "${installPath}/" "${cache}/BallBouncer-linux-1.2.1.zip" chmod +x "${installPath}/BallBouncer/BallBouncer" -add_launcher "${installPath}/BallBouncer/BallBouncer" diff --git a/.install/Bladius.sh b/.install/Bladius.sh index 8630a78..84c5079 100644 --- a/.install/Bladius.sh +++ b/.install/Bladius.sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "Bladius-linux-x64.zip" "https://shiftbacktick.itch.io/bladius" mkdir -p "${installPath}/Bladius" unzip -d "${installPath}/Bladius" "${cache}/Bladius-linux-x64.zip" -add_launcher "${installPath}/Bladius/Bladius" diff --git a/.install/Chimera.sh b/.install/Chimera.sh index 7f62ef7..4a13417 100644 --- a/.install/Chimera.sh +++ b/.install/Chimera.sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "Chimera-linux-x64.zip" "https://shiftbacktick.itch.io/chimera" mkdir -p "${installPath}/Chimera" unzip -d "${installPath}/Chimera" "${cache}/Chimera-linux-x64.zip" -add_launcher "${installPath}/Chimera/Chimera" diff --git a/.install/Critter Sanctuary.sh b/.install/Critter Sanctuary.sh index 4b8f597..b116b66 100644 --- a/.install/Critter Sanctuary.sh +++ b/.install/Critter Sanctuary.sh @@ -4,4 +4,3 @@ mkdir -p "${installPath}/critter-sanctuary" unzip -d "${installPath}/critter-sanctuary" "${cache}/critter-sanctuary-linux.zip" mkdir -p "${XDG_DATA_HOME:-${HOME}/.local}/share/godot/app_userdata/OverworldMovementEngine" cp -v "${installPath}/critter-sanctuary/blind_options.save" "${XDG_DATA_HOME:-${HOME}/.local}/share/godot/app_userdata/OverworldMovementEngine/options.save" -add_launcher "${installPath}/critter-sanctuary/linux.x86_64" diff --git a/.install/E.X.O..sh b/.install/E.X.O..sh index 9eb1a62..13fc9a6 100644 --- a/.install/E.X.O..sh +++ b/.install/E.X.O..sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "EXO-linux-x64.zip" "https://shiftbacktick.itch.io/exo" mkdir -p "${installPath}/E.X.O." unzip -d "${installPath}/E.X.O." "${cache}/EXO-linux-x64.zip" -add_launcher "${installPath}/E.X.O./EXO" diff --git a/.install/Echo Command.sh b/.install/Echo Command.sh index 8621cce..201939b 100644 --- a/.install/Echo Command.sh +++ b/.install/Echo Command.sh @@ -3,4 +3,3 @@ get_installer "Echo Command.tar.xz" "https://pancakedev.itch.io/echo-command" mkdir -p "${installPath}/Echo-Command" tar xf "${cache}/Echo Command.tar.xz" -C "${installPath}/Echo-Command" ln -sr "${installPath}/Echo-Command/Echo Command.x86_64" "${installPath}/Echo-Command/Echo_Command.x86_64" -add_launcher "${installPath}/Echo-Command/Echo_Command.x86_64" diff --git a/.install/EmpireMUD.sh b/.install/EmpireMUD.sh index 6b8201a..f8de25f 100644 --- a/.install/EmpireMUD.sh +++ b/.install/EmpireMUD.sh @@ -1,4 +1,3 @@ check_dependencies git sox tt++ git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-empiremud.git | \ dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 -add_launcher "${installPath}/tintin-empiremud/em.tin" diff --git a/.install/End of Time.sh b/.install/End of Time.sh index 0338cdc..fa88532 100644 --- a/.install/End of Time.sh +++ b/.install/End of Time.sh @@ -1,4 +1,3 @@ check_dependencies git opusdec sox tt++ git -C "${installPath}/" clone https://git.2mb.codes/~stormdragon2976/tintin-endoftime | \ dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 -add_launcher "${installPath}/tintin-endoftime/eot.tin" diff --git a/.install/Fantasy Story II.sh b/.install/Fantasy Story II.sh index 2c01ce1..38eb281 100644 --- a/.install/Fantasy Story II.sh +++ b/.install/Fantasy Story II.sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "FS2_3.0_Linux.zip" "https://drive.google.com/file/d/15Y5nxR1zl9vVNzMilpaXdCSBFhNUIDC9/view" unzip -d "${installPath}" "${cache}/FS2_3.0_Linux.zip" chmod +x "${installPath}/FS2_3.0_Linux/fs2.x86_64" -add_launcher "${installPath}/FS2_3.0_Linux/fs2.x86_64" "-ESpeakApplication=espeak-ng" diff --git a/.install/Freedoom.sh b/.install/Freedoom.sh index 7ed9035..73267d9 100644 --- a/.install/Freedoom.sh +++ b/.install/Freedoom.sh @@ -56,4 +56,3 @@ cp "${installPath}/doom/zcajun/bots.cfg" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdo # sed -i 's/Mouse1=+attack/CTRL=+attack/' "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini" launcherPath="$(readlink -f "$0")" launcherPath="${launcherPath%/*}" -add_launcher "${launcherPath}/.scripts/FreeDoom.sh" diff --git a/.install/Monkey Spank.sh b/.install/Monkey Spank.sh index 5b4cbcb..cdf50f2 100644 --- a/.install/Monkey Spank.sh +++ b/.install/Monkey Spank.sh @@ -1,3 +1,2 @@ check_dependencies python-pygame:pygame python-xdg:xdg python-pyperclip:pyperclip python-requests:requests python-setproctitle:setproctitle git -C "${installPath}" clone --recurse-submodules https://gitlab.com/stormdragon2976/monkeyspank.git -add_launcher "${installPath}/monkeyspank/monkeyspank" diff --git a/.install/Numnastics.sh b/.install/Numnastics.sh index e08c603..ba9e351 100644 --- a/.install/Numnastics.sh +++ b/.install/Numnastics.sh @@ -1,3 +1,2 @@ check_dependencies python-pygame:pygame python-xdg:xdg python-pyperclip:pyperclip python-requests:requests python-setproctitle:setproctitle git -C "${installPath}" clone --recurse-submodules https://gitlab.com/stormdragon2976/numnastics.git -add_launcher "${installPath}/numnastics/numnastics" diff --git a/.install/Onslaught.sh b/.install/Onslaught.sh index 216b4ad..dbe3aab 100644 --- a/.install/Onslaught.sh +++ b/.install/Onslaught.sh @@ -3,4 +3,3 @@ get_installer "onslaught.AppImage" "https://lightsoutgames.itch.io/onslaught" mkdir -p "${installPath}/Onslaught" cp -v "${cache}/onslaught.AppImage" "${installPath}/Onslaught/onslaught.AppImage" chmod +x "${installPath}/Onslaught/onslaught.AppImage" -add_launcher "${installPath}/Onslaught/onslaught.AppImage" diff --git a/.install/Periphery Synthetic EP.sh b/.install/Periphery Synthetic EP.sh index 7a2f7da..f66c07a 100644 --- a/.install/Periphery Synthetic EP.sh +++ b/.install/Periphery Synthetic EP.sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "periphery-synthetic-ep-linux-x64.zip" "https://shiftbacktick.itch.io/periphery-synthetic-ep" mkdir -p "${installPath}/periphery-synthetic-ep" unzip -d "${installPath}/periphery-synthetic-ep" "${cache}/periphery-synthetic-ep-linux-x64.zip" -add_launcher "${installPath}/periphery-synthetic-ep/periphery-synthetic-ep" diff --git a/.install/S.E.A..sh b/.install/S.E.A..sh index 8f0cce2..e3d06cc 100644 --- a/.install/S.E.A..sh +++ b/.install/S.E.A..sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "SEA-linux-x64.zip" "https://shiftbacktick.itch.io/sea" mkdir -p "${installPath}/S.E.A." unzip -d "${installPath}/S.E.A." "${cache}/SEA-linux-x64.zip" -add_launcher "${installPath}/S.E.A./SEA" diff --git a/.install/Slay the Spire.sh b/.install/Slay the Spire.sh index e036cc7..b36887a 100644 --- a/.install/Slay the Spire.sh +++ b/.install/Slay the Spire.sh @@ -56,4 +56,3 @@ for x in "${!mods[@]}" ; do done launcherPath="$(readlink -f "$0")" launcherPath="${launcherPath%/*}" -add_launcher "${launcherPath}/.scripts/SlayTheSpire.sh" diff --git a/.install/Slay the Text.sh b/.install/Slay the Text.sh index 3850218..2c41e24 100644 --- a/.install/Slay the Text.sh +++ b/.install/Slay the Text.sh @@ -1,4 +1,3 @@ check_dependencies python-ansimarkup:ansimarkup git -C "${installPath}/" clone https://github.com/Difio3333/slaythetext.git | \ dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 -add_launcher "${installPath}/slaythetext/main.py" diff --git a/.install/Soulblaze.sh b/.install/Soulblaze.sh index 7735aec..a16d4a4 100644 --- a/.install/Soulblaze.sh +++ b/.install/Soulblaze.sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "soulblaze-linux-beta.zip" "https://sword-and-quill.itch.io/soulblaze" mkdir -p "${installPath}/Soulblaze" unzip -d "${installPath}/Soulblaze" "${cache}/soulblaze-linux-beta.zip" -add_launcher "${installPath}/Soulblaze/Soulblaze.x86_64" diff --git a/.install/Stardew Valley.sh b/.install/Stardew Valley.sh index da22e79..a9a35b9 100644 --- a/.install/Stardew Valley.sh +++ b/.install/Stardew Valley.sh @@ -16,4 +16,3 @@ alert bash "${smapiTmp}/SMAPI ${smapiVersion} installer/install on Linux.sh" ln -sf "${HOME}/GOG Games/Stardew Valley/game" "${installPath}/StardewValley" tar -xvf "${cache}/Mods.tar.xz" -C "${installPath}/StardewValley/" -add_launcher "${installPath}/StardewValley/StardewValley" diff --git a/.install/StickMUD.sh b/.install/StickMUD.sh index 092956d..01b80e9 100644 --- a/.install/StickMUD.sh +++ b/.install/StickMUD.sh @@ -1,4 +1,3 @@ check_dependencies git sox tt++ git -C "${installPath}/" clone --recurse-submodules https://github.com/stormdragon2976/tintin-stickmud.git | \ dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 -add_launcher "${installPath}/tintin-stickmud/stickmud.tin" diff --git a/.install/System Fault.sh b/.install/System Fault.sh index 15a3706..e5934c8 100644 --- a/.install/System Fault.sh +++ b/.install/System Fault.sh @@ -3,4 +3,3 @@ get_installer "system-fault-linux-x86_64.AppImage" "https://lightsoutgames.itch. mkdir -p "${installPath}/System_Fault" cp -v "${cache}/system-fault-linux-x86_64.AppImage" "${installPath}/System_Fault/system-fault-linux-x86_64.AppImage" chmod +x "${installPath}/System_Fault/system-fault-linux-x86_64.AppImage" -add_launcher "${installPath}/System_Fault/system-fault-linux-x86_64.AppImage" diff --git a/.install/Upheaval Commandline.sh b/.install/Upheaval Commandline.sh index 2f9ce65..6c37c8b 100644 --- a/.install/Upheaval Commandline.sh +++ b/.install/Upheaval Commandline.sh @@ -3,4 +3,3 @@ check_dependencies dmidecode get_installer "upheaval-linux-console.zip" "https://leonegaming.itch.io/upheaval" mkdir -p "${installPath}/Upheaval_Commandline" unzip -d "${installPath}/Upheaval_Commandline" "${cache}/upheaval-linux-console.zip" -add_launcher "${installPath}/Upheaval_Commandline/Upheaval_Command_Line" diff --git a/.install/Upheaval Gui.sh b/.install/Upheaval Gui.sh index 8a434f2..ab85e49 100644 --- a/.install/Upheaval Gui.sh +++ b/.install/Upheaval Gui.sh @@ -3,6 +3,5 @@ check_dependencies dmidecode get_installer "upheaval-linux.zip" "https://leonegaming.itch.io/upheaval" mkdir -p "${installPath}/Upheaval_Gui" unzip -d "${installPath}/Upheaval_Gui" "${cache}/upheaval-linux.zip" -add_launcher "${installPath}/Upheaval_Gui/Upheaval" echo "To enable accessibility, press shift t when the game starts." alert diff --git a/.install/Wurmus.sh b/.install/Wurmus.sh index 06f4818..0c68fbb 100644 --- a/.install/Wurmus.sh +++ b/.install/Wurmus.sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "Wurmus-linux-x64.zip" "https://shiftbacktick.itch.io/wurmus" mkdir -p "${installPath}/Wurmus" unzip -d "${installPath}/Wurmus" "${cache}/Wurmus-linux-x64.zip" -add_launcher "${installPath}/Wurmus/Wurmus" diff --git a/.install/Zombowl.sh b/.install/Zombowl.sh index 143565f..b6efb09 100644 --- a/.install/Zombowl.sh +++ b/.install/Zombowl.sh @@ -10,4 +10,3 @@ fi get_installer "${pkgname}" "https://stormdragon2976.itch.io/zombowl" mkdir -p "${installPath}/" unzip -d "${installPath}/" "${cache}/${pkgname}" -add_launcher "${installPath}/${pkgname%.*}/Zombowl" diff --git a/.install/soundStrider.sh b/.install/soundStrider.sh index fd44940..5ee7386 100644 --- a/.install/soundStrider.sh +++ b/.install/soundStrider.sh @@ -2,4 +2,3 @@ check_architecture x86_64 get_installer "soundStrider-linux-x64.zip" "https://shiftbacktick.itch.io/soundstrider" mkdir -p "${installPath}/soundStrider" unzip -d "${installPath}/soundStrider" "${cache}/soundStrider-linux-x64.zip" -add_launcher "${installPath}/soundStrider/soundStrider" diff --git a/.launch/Audo.game b/.launch/Audo.game new file mode 100644 index 0000000..18933a3 --- /dev/null +++ b/.launch/Audo.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +${installPath}/Audo/Audo diff --git a/.launch/Auroboros.game b/.launch/Auroboros.game new file mode 100644 index 0000000..162b756 --- /dev/null +++ b/.launch/Auroboros.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/Auroboros/Auroboros" diff --git a/.launch/Ball Bouncer.game b/.launch/Ball Bouncer.game index e5703a2..8a800ca 100644 --- a/.launch/Ball Bouncer.game +++ b/.launch/Ball Bouncer.game @@ -1 +1,2 @@ +pushd "${installPath}" "${installPath}/BallBouncer/BallBouncer" diff --git a/.launch/Bladius.game b/.launch/Bladius.game new file mode 100644 index 0000000..83b2ecf --- /dev/null +++ b/.launch/Bladius.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/Bladius/Bladius" diff --git a/.launch/Chimera.game b/.launch/Chimera.game new file mode 100644 index 0000000..ba6b996 --- /dev/null +++ b/.launch/Chimera.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/Chimera/Chimera" diff --git a/.launch/Critter Sanctuary.game b/.launch/Critter Sanctuary.game new file mode 100644 index 0000000..f0e43f0 --- /dev/null +++ b/.launch/Critter Sanctuary.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/critter-sanctuary/linux.x86_64" diff --git a/.launch/E.X.O..game b/.launch/E.X.O..game new file mode 100644 index 0000000..a7f8cba --- /dev/null +++ b/.launch/E.X.O..game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/E.X.O./EXO" diff --git a/.launch/Echo Command.game b/.launch/Echo Command.game new file mode 100644 index 0000000..edd2e7c --- /dev/null +++ b/.launch/Echo Command.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/Echo-Command/Echo_Command.x86_64" diff --git a/.launch/EmpireMUD.game b/.launch/EmpireMUD.game new file mode 100644 index 0000000..ce542ae --- /dev/null +++ b/.launch/EmpireMUD.game @@ -0,0 +1,9 @@ +mudPath="${installPath}/tintin-empiremud/em.tin" +pushd "${mudPath%/*}" +git pull | \ +dialog --progressbox "Checking for updates, please wait..." -1 -1 +if [[ -n "${COLORTERM}" ]]; then +terminal_emulator tt++ ${mudPath##*/} +else +tt++ ${mudPath##*/} +fi diff --git a/.launch/Fantasy Story II.game b/.launch/Fantasy Story II.game new file mode 100644 index 0000000..8dacf35 --- /dev/null +++ b/.launch/Fantasy Story II.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/FS2_3.0_Linux/fs2.x86_64" "-ESpeakApplication=espeak-ng" diff --git a/.launch/Monkey Spank.game b/.launch/Monkey Spank.game new file mode 100644 index 0000000..bfa6490 --- /dev/null +++ b/.launch/Monkey Spank.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/monkeyspank/monkeyspank" diff --git a/.launch/Numnastics.game b/.launch/Numnastics.game new file mode 100644 index 0000000..f2bb13a --- /dev/null +++ b/.launch/Numnastics.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/numnastics/numnastics" diff --git a/.launch/Onslaught.game b/.launch/Onslaught.game new file mode 100644 index 0000000..f93cfca --- /dev/null +++ b/.launch/Onslaught.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/Onslaught/onslaught.AppImage" diff --git a/.launch/Periphery Synthetic EP.game b/.launch/Periphery Synthetic EP.game new file mode 100644 index 0000000..0e30257 --- /dev/null +++ b/.launch/Periphery Synthetic EP.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/periphery-synthetic-ep/periphery-synthetic-ep" diff --git a/.launch/S.E.A..game b/.launch/S.E.A..game new file mode 100644 index 0000000..0db62d0 --- /dev/null +++ b/.launch/S.E.A..game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/S.E.A./SEA" diff --git a/.launch/Slay the Spire.game b/.launch/Slay the Spire.game new file mode 100644 index 0000000..5b13217 --- /dev/null +++ b/.launch/Slay the Spire.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${launcherPath}/.scripts/SlayTheSpire.sh" diff --git a/.launch/Slay the Text.game b/.launch/Slay the Text.game new file mode 100644 index 0000000..78622ef --- /dev/null +++ b/.launch/Slay the Text.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/slaythetext/main.py" diff --git a/.launch/Soulblaze.game b/.launch/Soulblaze.game new file mode 100644 index 0000000..d43f4ac --- /dev/null +++ b/.launch/Soulblaze.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/Soulblaze/Soulblaze.x86_64" diff --git a/.launch/SoundRTS.game b/.launch/SoundRTS.game new file mode 100644 index 0000000..e69de29 diff --git a/.launch/Stardew Valley.game b/.launch/Stardew Valley.game new file mode 100644 index 0000000..d812165 --- /dev/null +++ b/.launch/Stardew Valley.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/StardewValley/StardewValley" diff --git a/.launch/StickMUD.game b/.launch/StickMUD.game index 7716a2f..5e55e25 100644 --- a/.launch/StickMUD.game +++ b/.launch/StickMUD.game @@ -1,3 +1,4 @@ +pushd "${installPath}" mudPath="${installPath}/tintin-stickmud/stickmud.tin" pushd "${mudPath%/*}" git pull | \ diff --git a/.launch/System Fault.game b/.launch/System Fault.game new file mode 100644 index 0000000..a1d745a --- /dev/null +++ b/.launch/System Fault.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/System_Fault/system-fault-linux-x86_64.AppImage" diff --git a/.launch/TobyCustom/ArmyOfDarknessDoom.sh b/.launch/TobyCustom/ArmyOfDarknessDoom.sh index 4c40f94..6d41782 100755 --- a/.launch/TobyCustom/ArmyOfDarknessDoom.sh +++ b/.launch/TobyCustom/ArmyOfDarknessDoom.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # check for required wad. -source ${0%/*}/TobyCustom/.dependencies +source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies check_dependencies "${gamePath}/aoddoom1.wad" "https://www.moddb.com/mods/army-of-darkness-total-conversion/addons/army-of-darkness-doom-wad" "Place \"aoddoom1.wad\" in \"${gamePath}\"." @@ -20,4 +20,4 @@ elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then gameOption+=("${gamePath}/DoomMetalVol6.wad") fi -source ${0%/*}/TobyCustom/.mapmenu +source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu diff --git a/.launch/TobyCustom/GoMidievilOnTheirAss.sh b/.launch/TobyCustom/GoMidievilOnTheirAss.sh index 94cdab8..acf9749 100755 --- a/.launch/TobyCustom/GoMidievilOnTheirAss.sh +++ b/.launch/TobyCustom/GoMidievilOnTheirAss.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # check for required pk3. -source ${0%/*}/TobyCustom/.dependencies +source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies check_dependencies "${gamePath}/GMOTA_V.1.5.2.pk3" \ "https://combine-kegan.itch.io/gmota" \ "Place the file in ${gamePath}" @@ -15,7 +15,7 @@ gameOption=( ) -source ${0%/*}/TobyCustom/.mapmenu +source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu flags=( # Key bindings '+bind Alt +altattack' diff --git a/.launch/TobyCustom/Project_Brutality.sh b/.launch/TobyCustom/Project_Brutality.sh index 81d9644..b94342d 100755 --- a/.launch/TobyCustom/Project_Brutality.sh +++ b/.launch/TobyCustom/Project_Brutality.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # check for required pk3. -source ${0%/*}/TobyCustom/.dependencies +source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies check_dependencies "${gamePath}/Project_Brutality.pk3" \ "https://www.moddb.com/mods/project-brutality" \ "This should be included by default." \ @@ -24,7 +24,7 @@ elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then gameOption+=("${gamePath}/DoomMetalVol6.wad") fi -source ${0%/*}/TobyCustom/.mapmenu +source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu flags=( # Key bindings '+bind Alt +altattack' diff --git a/.launch/TobyCustom/Project_BrutalityLatest.sh b/.launch/TobyCustom/Project_BrutalityLatest.sh index 260671b..e7d3871 100755 --- a/.launch/TobyCustom/Project_BrutalityLatest.sh +++ b/.launch/TobyCustom/Project_BrutalityLatest.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # check for required pk3. -source ${0%/*}/TobyCustom/.dependencies +source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies check_dependencies "${gamePath}/Project_Brutality-Latest.pk3" \ "https://www.moddb.com/mods/project-brutality" \ "This should be included by default." \ @@ -23,7 +23,7 @@ elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then gameOption+=("${gamePath}/DoomMetalVol6.wad") fi -source ${0%/*}/TobyCustom/.mapmenu +source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu flags=( # Key bindings '+bind Alt +altattack' diff --git a/.launch/TobyCustom/StarWars.sh b/.launch/TobyCustom/StarWars.sh index c07de24..e19ae09 100755 --- a/.launch/TobyCustom/StarWars.sh +++ b/.launch/TobyCustom/StarWars.sh @@ -10,4 +10,4 @@ gameOption=( "$gamePath/Addons/STARWARS/"* ) -source ${0%/*}/TobyCustom/.mapmenu +source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu diff --git a/.launch/TobyCustom/WolfenDoom.sh b/.launch/TobyCustom/WolfenDoom.sh index d5396c1..d38a377 100755 --- a/.launch/TobyCustom/WolfenDoom.sh +++ b/.launch/TobyCustom/WolfenDoom.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # check for required pk3. -source ${0%/*}/TobyCustom/.dependencies +source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies check_dependencies "${gamePath}/Addons/WOLFENDOOM/orig_enh.pk3" \ "https://www.moddb.com/mods/wolfendoom/downloads/wolfendoom-enhanced" \ "mkdir -p ${gamePath}/Addons/WOLFENDOOM/" \ diff --git a/.launch/Upheaval Commandline.game b/.launch/Upheaval Commandline.game new file mode 100644 index 0000000..9980648 --- /dev/null +++ b/.launch/Upheaval Commandline.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/Upheaval_Commandline/Upheaval_Command_Line" diff --git a/.launch/Upheaval Gui.game b/.launch/Upheaval Gui.game new file mode 100644 index 0000000..39f030b --- /dev/null +++ b/.launch/Upheaval Gui.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/Upheaval_Gui/Upheaval" diff --git a/.launch/Wurmus.game b/.launch/Wurmus.game new file mode 100644 index 0000000..7a20377 --- /dev/null +++ b/.launch/Wurmus.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/Wurmus/Wurmus" diff --git a/.launch/Zombowl.game b/.launch/Zombowl.game new file mode 100644 index 0000000..fc7de8a --- /dev/null +++ b/.launch/Zombowl.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/${pkgname%.*}/Zombowl" diff --git a/.launch/soundStrider.game b/.launch/soundStrider.game new file mode 100644 index 0000000..ed26329 --- /dev/null +++ b/.launch/soundStrider.game @@ -0,0 +1,2 @@ +pushd "${installPath}" +"${installPath}/soundStrider/soundStrider" diff --git a/linux-game-manager.sh b/linux-game-manager.sh index c494ee7..4bdde96 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -496,7 +496,7 @@ game_launcher() { if [[ -d ".launch" ]]; then find -L "${0%/*}/.launch" -maxdepth 1 -type f -iname "*.sh" -exec bash -c ' for f; do - [[ $(head -n1 "$f") == "#"* ]] && continue + [[ $(head -n1 "$f") =~ ^#$ ]] && continue name="${f##*/}" echo "${name%.sh}|$f" done @@ -530,21 +530,6 @@ game_launcher() { # Remove any trailing | from selectedGame variable selectedGame="${selectedGame%|}" case "${selectedGame}" in - *".tin") - git -C "${selectedGame%/*}" pull | \ - dialog --progressbox "Checking for updates, please wait..." -1 -1 - if [[ -n "${COLORTERM}" ]]; then - terminal_emulator tt++ ${selectedGame##*/} - else - pushd "${selectedGame%/*}" - exec tt++ ${selectedGame##*/} - fi - ;; - *"main.py") - pushd "${selectedGame%/*}" - git pull -q | dialog --progressbox "Checking for updates, please wait..." -1 -1 - python3 ${selectedGame} - ;; *.sh) . "${selectedGame}" ;;