Reorganize files for new image. Add new paths in home directory. Start on game launchers and installers.

This commit is contained in:
Storm Dragon
2026-04-21 12:21:31 -04:00
parent 1593d15b7e
commit c92d35a023
356 changed files with 2652 additions and 611 deletions
+1
View File
@@ -0,0 +1 @@
@@ -0,0 +1 @@
open_url "https://files.jantrid.net/aliens/"
@@ -0,0 +1,9 @@
mudPath="${installPath}/tintin-alteraeon/aa.tin"
pushd "${mudPath%/*}"
git pull | \
dialog --progressbox "Checking for updates, please wait..." -1 -1
if [[ -n "${COLORTERM}" ]]; then
terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}"
else
tt++ ${mudPath##*/}
fi
@@ -0,0 +1 @@
Alter Aeon.game
@@ -0,0 +1,67 @@
configure_audio() {
local sudo=$(command -v sudo)
sudo="${sudo:-doas}"
local audioProvider
if pgrep pipewire &> /dev/null ; then
audioProvider="pipewire"
elif pgrep pulse &> /dev/null ; then
audioProvider="pulseaudio"
else
audioProvider="alsa"
fi
lsmod | grep snd_aloop || $sudo modprobe snd_aloop
cardNumber="$(aplay -l |grep -P '^card \d+: Loopback' |head -n1 | cut -d\ -f2 | cut -d: -f1)"
if ! [[ "$cardNumber" =~ ^[0-9]+$ ]] ; then
dialog --backtitle "Linux Game Manager" \
--msgbox "The loopback module card number was not properly set.\nThis could mean that you failed to type your password for root privileges, or something else has gone wrong.\n If you think root privileges were succesfully obtained, please report this to the maintainers. Mention the card value: ${cardNumber}." -1 -1
exit 1
fi
alsaloop -C hw:${cardNumber},1,0 -P default &> /dev/null &
}
configure_webkit() {
local webkitPath
local sudo=$(command -v sudo)
sudo="${sudo:-doas}"
# First check if it's already properly set up
[[ -d /usr/libexec/webkit2gtk-4.0 ]] && return 0
webkitPath=$(find /usr/lib* /usr/local/lib* -type d -name 'webkit2gtk-4.0' 2>/dev/null | head -n1)
if [[ -z "${webkitPath}" ]]; then
dialog --backtitle "Linux Game manager" \
--msgbox "Error: webkit2gtk-4.0 not found. Please install webkit2gtk package for your distribution." -1 -1
exit 1
fi
# Create libexec directory if it doesn't exist
if [[ ! -d /usr/libexec ]]; then
if ! $sudo mkdir -p /usr/libexec; then
echo "Error: Failed to create /usr/libexec directory"
exit 1
fi
fi
if ! $sudo ln -s "${webkitPath}" /usr/libexec/webkit2gtk-4.0; then
echo "Error: Failed to create symlink for webkit2gtk-4.0"
exit 1
fi
}
set_sound_device() {
if ! grep -q 'set s_device' "${installPath}/AudioQuake/data/id1/config.cfg" ; then
echo "set s_device hw:${cardNumber},0,0" >> "${installPath}/AudioQuake/data/id1/config.cfg"
else
sed -E -i 's/set s_device/set s_device hw:${cardNumber},0,0/g' "${installPath}/AudioQuake/data/id1/config.cfg"
fi
if ! grep -q 'set s_device' "${installPath}/AudioQuake/data/oq/config.cfg" ; then
echo "set s_device hw:${cardNumber},0,0" >> "${installPath}/AudioQuake/data/oq/config.cfg"
else
sed -E -i 's/set s_device/set s_device hw:${cardNumber},0,0/g' "${installPath}/AudioQuake/data/oq/config.cfg"
fi
}
trap 'pkill -P $$' EXIT
configure_audio
configure_webkit
set_sound_device
pushd "${installPath}/AudioQuake"
./AudioQuake
@@ -0,0 +1 @@
Audio Quake.game
@@ -0,0 +1,2 @@
pushd "${installPath}"
${installPath}/Audo/Audo
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/Auroboros/Auroboros"
@@ -0,0 +1,3 @@
check_architecture x86_64
pushd "${installPath}/BallBouncer"
${fex}./BallBouncer
@@ -0,0 +1 @@
Ball Bouncer.game
@@ -0,0 +1 @@
open_url "https://lonespelunker.itch.io/battle-weary"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/Bladius/Bladius"
@@ -0,0 +1 @@
open_url "https://tianmaru.itch.io/cacophony"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/Chimera/Chimera"
@@ -0,0 +1,14 @@
gameDir="${installPath}/christmas_dash_linux"
gameExecutable="${gameDir}/game.bin"
if [[ ! -d "$gameDir" ]]; then
ui_msgbox "Linux Game Manager" "Linux Game Manager" "Christmas Dash is not installed."
return 1
fi
if [[ ! -x "$gameExecutable" ]]; then
ui_msgbox "Linux Game Manager" "Linux Game Manager" "Unable to find ${gameExecutable}."
return 1
fi
pushd "${gameDir}"
SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt \
REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt \
"${gameExecutable}"
@@ -0,0 +1 @@
Christmas Dash.game
@@ -0,0 +1,4 @@
check_architecture x86_64
gameExecutable="${installPath}/Constant Motion/cm"
pushd "${installPath}/Constant Motion"
${fex}"${gameExecutable}"
@@ -0,0 +1 @@
Constant Motion.game
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/critter-sanctuary/linux.x86_64"
@@ -0,0 +1 @@
open_url "https://ko-fi.com/stormux"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/E.X.O./EXO"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/Echo-Command/Echo_Command.x86_64"
@@ -0,0 +1 @@
open_url "https://echo-commander.vercel.app/"
@@ -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 "${mudPath%/*}" "tt++" "${mudPath##*/}"
else
tt++ ${mudPath##*/}
fi
@@ -0,0 +1,9 @@
mudPath="${installPath}/tintin-endoftime/eot.tin"
pushd "${mudPath%/*}"
git pull | \
dialog --progressbox "Checking for updates, please wait..." -1 -1
if [[ -n "${COLORTERM}" ]]; then
terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}"
else
tt++ "${mudPath##*/}"
fi
@@ -0,0 +1 @@
End of Time.game
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/FS2_3.0_Linux/fs2.x86_64" "-ESpeakApplication=espeak-ng"
@@ -0,0 +1 @@
Fantasy Story II.game
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
gamePath=~/.local/games/doom
check_dependencies python-pyside6:PySide6 python-setproctitle:setproctitle
pushd "${gamePath}"
if ! [[ -d "toby-doom-launcher" ]]; then
git clone https://git.stormux.org/storm/toby-doom-launcher.git
else
git -C "${gamePath}/toby-doom-launcher" pull
fi
"toby-doom-launcher/Toby Doom Launcher.py"
@@ -0,0 +1 @@
FreeDoom.game
@@ -0,0 +1,9 @@
mudPath="${installPath}/tintin-kallisti-pack/kallisti.tin"
pushd "${mudPath%/*}"
git pull | \
dialog --progressbox "Checking for updates, please wait..." -1 -1
if [[ -n "${COLORTERM}" ]]; then
terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}"
else
tt++ ${mudPath##*/}
fi
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/monkeyspank/monkeyspank"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/numnastics/numnastics"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/Onslaught/onslaught.AppImage"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/periphery-synthetic-ep/periphery-synthetic-ep"
@@ -0,0 +1 @@
Periphery Synthetic EP.game
@@ -0,0 +1,18 @@
check_dependencies uv
# shellcheck disable=SC2154 # set by linux-game-manager.sh
gamePath="${installPath}/PlayPalace11/clients"
desktopPath="${gamePath}/desktop"
hostPythonDir="${desktopPath}/.host-python"
if ! [[ -d "${desktopPath}" ]]; then
ui_msgbox "Linux Game Manager" "Linux Game Manager" "Play Palace is not installed at ${desktopPath}."
exit 1
fi
if [[ -d "${hostPythonDir}" ]]; then
export PYTHONPATH="${hostPythonDir}${PYTHONPATH:+:${PYTHONPATH}}"
fi
pushd "${desktopPath}" || exit 1
uv run python client.py
@@ -0,0 +1 @@
Play Palace.game
@@ -0,0 +1 @@
open_url "https://qcsalon.net/"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/S.E.A./SEA"
@@ -0,0 +1,33 @@
#!/usr/bin/env bash
menulist() {
# Args: menu options.
# returns: selected tag
local i
local menuList
for i in $@ ; do
menuList+=("$i" "$i")
done
dialog --backtitle "Select a Slay the Spire profile." \
--clear \
--no-tags \
--menu "$(gettext "Please select one")" 0 0 0 "${menuList[@]}" --stdout
if [[ $? -ne 1 ]]; then
exit 0
fi
}
# Create a list of profiles
profiles=($(jq -r '.lists | keys[]' "${HOME}/.config/ModTheSpire/mod_lists.json"))
if [[ "${#profiles[@]}" -ne 1 ]]; then
currentProfile="$(menulist "${profiles[@]}")"
else
currentProfile="Default"
fi
pushd "${HOME}/.local/games/SlayTheSpire"
./MTS.sh --profile "$currentProfile"
popd
exit 0
@@ -0,0 +1 @@
Slay the Spire.game
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/slaythetext/main.py"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/Soulblaze/Soulblaze.x86_64"
@@ -0,0 +1 @@
Soulblaze.game
@@ -0,0 +1 @@
SoundRTS.game
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/StardewValley/StardewValley"
@@ -0,0 +1 @@
Stardew Valley.game
@@ -0,0 +1,10 @@
pushd "${installPath}"
mudPath="${installPath}/tintin-stickmud/stickmud.tin"
pushd "${mudPath%/*}"
git pull | \
dialog --progressbox "Checking for updates, please wait..." -1 -1
if [[ -n "${COLORTERM}" ]]; then
terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}"
else
tt++ ${mudPath##*/}
fi
@@ -0,0 +1,4 @@
check_architecture x86_64
gamePath="${installPath}/Super Liam"
pushd "${gamePath}"
${fex}./SuperLiam
@@ -0,0 +1 @@
Super Liam.game
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/System_Fault/system-fault-linux-x86_64.AppImage"
@@ -0,0 +1 @@
System Fault.game
@@ -0,0 +1,4 @@
check_architecture x86_64
gamePath="${installPath}/The Great Toy Robbery"
pushd "${gamePath}"
${fex}./tgtr
@@ -0,0 +1 @@
The Great Toy Robbery.game
@@ -0,0 +1,4 @@
# shellcheck shell=bash disable=SC2154 # installPath is set by linux-game-manager.sh
gamePath="${installPath}/Omega Reach"
pushd "${gamePath}" || return 1
"${gamePath}/the-omega-reach"
@@ -0,0 +1 @@
The Omega Reach.game
@@ -0,0 +1,3 @@
check_architecture x86_64
pushd "${installPath}/The Tornado Chicken"
${fex}./Ttc
@@ -0,0 +1 @@
The Tornado Chicken.game
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# shellcheck disable=SC2154 # set by linux-game-manager.sh
gameExecutable="${installPath}/TopSpeed/TopSpeed"
gameDir="${gameExecutable%/*}"
if [[ ! -d "$gameDir" ]]; then
ui_msgbox "Linux Game Manager" "Linux Game Manager" "Top Speed is not installed."
return 1
fi
if [[ ! -x "$gameExecutable" ]]; then
ui_msgbox "Linux Game Manager" "Linux Game Manager" "Unable to find ${gameExecutable}."
return 1
fi
pushd "${gameDir}" || return 1
"${gameExecutable}"
@@ -0,0 +1 @@
Top Speed.game
@@ -0,0 +1 @@
open_url "https://ryngm.itch.io/trigaea"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/Upheaval_Commandline/Upheaval_Command_Line"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/Upheaval_Gui/Upheaval"
@@ -0,0 +1 @@
Upheaval.game
@@ -0,0 +1,3 @@
check_architecture x86_64
pushd "${installPath}/Wheels of Prio"
${fex}./Wp
@@ -0,0 +1 @@
Wheels of Prio.game
@@ -0,0 +1,7 @@
local arch=$(uname -m)
if [[ "$arch" == "aarch64" ]]; then
pushd "${installPath}/wicked_quest-linux-aarch64"
else
pushd "${installPath}/wicked_quest-linux-x86_64"
fi
./wicked_quest
@@ -0,0 +1 @@
Wicked Quest.game
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/Wurmus/Wurmus"
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/${pkgname%.*}/Zombowl"
@@ -0,0 +1 @@
Zombowl.game
@@ -0,0 +1,2 @@
pushd "${installPath}"
"${installPath}/soundStrider/soundStrider"