Compare commits

..
2 Commits
313 changed files with 2536 additions and 611 deletions
+2
View File
@@ -2,6 +2,8 @@
image/*
*.img
*.img.xz
__pycache__/
tests/
# AI assistant files
AGENTS.md
@@ -0,0 +1,11 @@
[Unit]
Description=Apply persistent Stormux service state
After=local-fs.target
RequiresMountsFor=/home/stormux/.local/.services
[Service]
Type=oneshot
ExecStart=/home/stormux/.local/bin/stormux_service_state.sh apply
[Install]
WantedBy=multi-user.target
+2 -2
View File
@@ -41,7 +41,7 @@ if ! [[ -e "/tmp/startup_complete" ]]; then
play -qV0 /usr/share/sounds/stormux/start.opus
fi
if [[ "$(tty)" == "/dev/tty1" ]]; then
/usr/local/bin/diagnostics.sh
exec /usr/local/bin/game_launcher.py
/home/stormux/.local/bin/diagnostics.sh
exec /home/stormux/.local/bin/game_launcher.py
exit
fi
+2 -2
View File
@@ -109,10 +109,10 @@ case "$GAME" in
nmtui-connect
;;
"Install to Disk")
/usr/local/bin/install_to_disk.sh
/home/stormux/.local/bin/install_to_disk.sh
;;
"Set Timezone")
sudo /usr/local/bin/set-timezone.sh
sudo /home/stormux/.local/bin/set-timezone.sh
;;
*".md") /usr/bin/markdown -toc "$GAME" | /usr/bin/w3m -T text/html ;;
"/usr/bin/"*) $GAME ;;
+2 -2
View File
@@ -19,7 +19,7 @@ sound = "play -qV0 \"|sox -np synth .07 sq 400\" \"|sox -np synth .5 sq 800\" fa
# Escape always exits without action (built-in)
# Unbound keys are ignored - the mode waits for a valid key
a = "/usr/local/bin/select_audio_convert.sh"
a = "/home/stormux/.local/bin/select_audio_convert.sh"
i = "/usr/bin/access-irc"
r = "/usr/local/bin/record.sh"
r = "/home/stormux/.local/bin/record.sh"
w = "brave"
+1
View File
@@ -0,0 +1 @@
@@ -0,0 +1,4 @@
download "https://agarchive.net/games/mt/adrian's%20doom.exe"
install_wine_bottle
wine "${cache}/adrian's doom.exe" /silent
add_launcher "c:\Program Files (x86)\Two Caring Citizens\Adrian's Doom!\adrian.exe"
@@ -0,0 +1,12 @@
download "http://download.dracoent.com/Windows/classic/AOSetup.exe"
# Uses standard wine path based on architecture (win32/win64)
export winVer="win7"
install_wine_bottle vb6run dx8vb quartz
cp -fv "${cache}/AOSetup.exe" "$WINEPREFIX/drive_c/windows/temp/"
wine "c:/windows/temp/AOSetup.exe" /sp- /silent
rm -fv "$WINEPREFIX/drive_c/windows/temp/AOSetup.exe"
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files (x86)\Draconis Entertainment\Alien Outback\ao.exe"
@@ -0,0 +1,4 @@
download "https://agarchive.net/games/other/AngelGift.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/Angel Gift" "$cache/AngelGift.zip"
add_launcher 'c:\Program Files\Angel Gift\ag.exe'
@@ -0,0 +1,3 @@
check_architecture x86_64
download "https://michaels.world/aq-linux.zip"
unzip -d "${installPath}/AudioQuake" "${cache}/aq-linux.zip"
@@ -0,0 +1,4 @@
download "https://agarchive.net/games/other/audiodisc.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/audiodisc.zip"
add_launcher "c:\Program Files\audiodisc\disco.exe"
@@ -0,0 +1,8 @@
# shellcheck shell=bash disable=SC2154 # cache and WINEPREFIX are set by audiogame-manager
download "https://github.com/matatk/agrip/releases/download/2020.0-beta1/AudioQuake+LDL_2020.0-beta1_Windows.zip" "https://stormgames.wolfe.casa/downloads/quake.zip"
export winVer="win7"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/AudioQuake+LDL_2020.0-beta1_Windows.zip"
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/AudioQuake/id1" "${cache}/quake.zip"
add_launcher "c:\Program Files\AudioQuake\AudioQuake.exe"
alert "After you launch the game, press tab then enter and it should begin speaking."
@@ -0,0 +1,4 @@
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"
@@ -0,0 +1,4 @@
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"
@@ -0,0 +1,5 @@
version=1.3.5
check_architecture x86_64
download "https://files.sooslandia.ru/BallBouncer/${version}/BallBouncer-linux-${version}.zip"
unzip -d "${installPath}/" "${cache}/BallBouncer-linux-${version}.zip"
chmod +x "${installPath}/BallBouncer/BallBouncer"
@@ -0,0 +1,5 @@
download "https://www.agarchive.net/games/gameMadnessInteractive/battle%20zone%2013.5%20setup.exe"
export winVer="win7"
install_wine_bottle
wine "${cache}/battle zone 13.5 setup.exe" /silent
add_launcher "c:\Program Files (x86)\Battle Zone\ss.exe"
@@ -0,0 +1,6 @@
download "http://files.tunmi13.com/projects_archive/bth.zip"
# Uses standard wine path based on architecture (win32/win64)
export winVer="win7"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/$game" "${cache}/bth.zip"
add_launcher "c:\Program Files\\${game}\bth.exe"
@@ -0,0 +1,7 @@
get_installer "bf.zip" "https://tunmi13.itch.io/battlefield-2d"
export WINEARCH=win64
export winVer="win8"
# Uses standard wine path based on architecture (win32/win64)
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/bf.zip"
add_launcher "c:\Program Files\bf\bf.exe"
@@ -0,0 +1,6 @@
#//Disable
download "https://nibblenerds.com/static/blades_of_glory.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/Blades of Glory" "${cache}/blades_of_glory.zip"
install_discord_rpc_bridge
add_launcher "c:\Program Files\Blades of Glory\blades_of_glory.exe"
@@ -0,0 +1,4 @@
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"
@@ -0,0 +1,9 @@
get_installer "Blind Drive 1.1.112.00i-win64.zip" "https://lofipeople.itch.io/blind-drive"
export WINEARCH=win64
export winVer="win8"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/blind-drive" "${cache}/Blind Drive 1.1.112.00i-win64.zip"
# Weird work around to get keyboard working.
winetricks -q usetakefocus=y
winetricks -q usetakefocus=n
add_launcher "c:\Program Files\blind-drive\Blind Drive.exe"
@@ -0,0 +1,5 @@
export WINEARCH="win64" # Migrated to wine64
download "${ipfs[Bloodshed]}"
install_wine_bottle
cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/"
add_launcher "c:\Program Files\bloodshed.exe"
@@ -0,0 +1,6 @@
download "http://oriolgomez.com/games/bombercats_en.zip"
# Uses standard wine path based on architecture (win32/win64)
export winVer="win7"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/bomvercats" "${cache}/bombercats_en.zip"
add_launcher "c:\Program Files\bomvercats\game.exe"
@@ -0,0 +1,5 @@
export WINEARCH=win64
get_installer "bounce_bounce.rar" "https://kavyapriya.itch.io/bounce-bounce"
install_wine_bottle
unrar x "${cache}/bounce_bounce.rar" -op"$WINEPREFIX/drive_c/Program Files"
add_launcher "c:\Program Files\bounce_bounce\bounce.exe"
@@ -0,0 +1,6 @@
get_installer "breu2.zip" "https://breu.itch.io/shadowhunt"
export WINEARCH=win64
export winVer="win8"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/breu2.zip"
add_launcher "c:\Program Files\breu2\breu2.exe"
@@ -0,0 +1,5 @@
download "http://files.tunmi13.com/projects_archive/coth.zip"
export winVer="win7"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/$game" "${cache}/coth.zip"
add_launcher "c:\Program Files\\${game}\game.exe"
@@ -0,0 +1,12 @@
download "https://download.dracoent.com/Windows/ChangeReactionSetup.exe"
# Uses standard wine path based on architecture (win32/win64)
export winVer="win7"
install_wine_bottle vb6run dx8vb quartz
cp -fv "${cache}/ChangeReactionSetup.exe" "$WINEPREFIX/drive_c/windows/temp/"
wine "c:/windows/temp/ChangeReactionSetup.exe" /sp- /silent
rm -fv "$WINEPREFIX/drive_c/windows/temp/ChangeReactionSetup.exe"
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files (x86)\Draconis Entertainment\Change Reaction\ChangeReactionGui.exe"
@@ -0,0 +1,4 @@
download "https://stormgames.wolfe.casa/downloads/chillingham.zip"
install_wine_bottle vb6run mfc42
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "$cache/chillingham.zip"
add_launcher "c:\Program Files\chillingham\Chillingham.exe"
@@ -0,0 +1,4 @@
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"
@@ -0,0 +1,4 @@
download "${ipfs[Chopper Challenge]}"
install_wine_bottle vb6run dx8vb
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/chopper challenge.zip"
add_launcher "c:\Program Files\chopper challenge\Chopper.exe"
@@ -0,0 +1,7 @@
export WINEARCH=win64
export winVer="win7"
download "${ipfs[Christmas Chaos]}" "https://stormgames.wolfe.casa/downloads/Tolk.dll"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/ChristmasChaos.zip"
find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -fv "${cache}/Tolk.dll" "{}" \;
add_launcher "c:\Program Files\ChristmasChaos\ChristmasChaos.exe"
@@ -0,0 +1,9 @@
check_architecture x86_64
get_installer "christmas_dash_linux.zip" "https://tunmi13.itch.io/christmas-dash"
unzip -d "${installPath}" "${cache}/christmas_dash_linux.zip"
if [[ -d "${installPath}/Christmas Dash/christmas_dash_linux" ]]; then
rm -rf "${installPath}/christmas_dash_linux"
mv -v "${installPath}/Christmas Dash/christmas_dash_linux" "${installPath}/christmas_dash_linux"
rmdir "${installPath}/Christmas Dash" 2> /dev/null || true
fi
chmod +x "${installPath}/christmas_dash_linux/game.bin"
@@ -0,0 +1,4 @@
download "https://www.agarchive.net/games/draconis/christmas%20whoopass%20setup.exe"
install_wine_bottle vb6run dx8vb
wine "${cache}/christmas whoopass setup.exe" /sp- /silent
add_launcher "c:\Program Files (x86)\Draconis Entertainment\Christmas Whoop Ass\wa.exe"
@@ -0,0 +1,6 @@
get_installer "clashes_of_the_sky.zip" "https://tunmi13.itch.io/clashes-of-the-sky"
# Uses standard wine path based on architecture (win32/win64)
export winVer="win7"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/clashes_of_the_sky.zip"
add_launcher 'c:\Program Files\clashes_of_the_sky\clash.exe'
@@ -0,0 +1,7 @@
check_architecture x86_64
installPath="${installPath:-${HOME}/.local/games}"
cache="${cache:-${XDG_CACHE_HOME:-$HOME/.cache}/linux-game-manager}"
download "https://samtupy.com/games/cm.tar.gz"
mkdir -p "${installPath}/Constant Motion"
tar -xzf "${cache}/cm.tar.gz" -C "${installPath}/Constant Motion"
chmod +x "${installPath}/Constant Motion/cm"
@@ -0,0 +1,5 @@
export winVer="win7"
download "http://oriolgomez.com/games/copter_en.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/copter mission" "${cache}/copter_en.zip"
add_launcher "c:\Program Files\copter mission\game.exe"
@@ -0,0 +1,7 @@
download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta82.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll"
export WINEARCH=win64
export winVer="win8"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta82.zip"
find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -fv "${cache}/Tolk.dll" "{}" \;
add_launcher "c:\Program Files\Crazy-Party-beta82\Crazy Party.exe"
@@ -0,0 +1,6 @@
export WINEARCH=win64
export winVer="win7"
download "http://masonasons.me/softs/CH2.0Win.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/crime-hunter" "${cache}/CH2.0Win.zip"
add_launcher "c:\Program Files\crime-hunter\ch.exe"
@@ -0,0 +1,6 @@
check_architecture x86_64
get_installer "critter-sanctuary-linux.zip" "https://punishedfelix.itch.io/critter-sanctuary"
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"
@@ -0,0 +1,9 @@
download "https://www.agarchive.net/games/xl/DangerCityBeta2.exe"
install_wine_bottle vb6run dx8vb
wine "$cache/DangerCityBeta2.exe" /silent &
xdotool sleep 15 key --clearmodifiers --delay 200 Return 2> /dev/null
xdotool sleep 5 key --clearmodifiers --delay 200 Return 2> /dev/null
xdotool sleep 5key --clearmodifiers --delay 200 Return 2> /dev/null
xdotool sleep 10 --clearmodifiers --delay 200 Return 2> /dev/null
wineserver -w
add_launcher 'c:\Program Files\Danger City\dc.exe'
@@ -0,0 +1,5 @@
export winVer="win7"
download "http://oriolgomez.com/games/road_en.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/death on the road" "${cache}/road_en.zip"
add_launcher "c:\Program Files\death on the road\game.exe"
@@ -0,0 +1,6 @@
export winVer="win7"
export winetricksSettings="vd=1024x768"
download "https://www.agarchive.net/games/realitySoftware/death%20match%20project%20alpha%20setup.exe"
install_wine_bottle quartz
wine "${cache}/death match project alpha setup.exe" /silent
add_launcher "c:\Program Files (x86)\reality software\death match project alpha\dm1.exe"
@@ -0,0 +1,9 @@
export WINEARCH="win64" # Migrated to wine64 with WINETRICKS_FORCE=1
export winVer="win7"
export winetricksSettings="vd=1024x768"
download "https://www.kaldobsky.com/audiogames/dogwhohatestoast.zip"
install_wine_bottle sapi vb6run dx8vb quartz
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/dogwhohatestoast" "${cache}/dogwhohatestoast.zip"
wine 'c:\Program Files\dogwhohatestoast\checkup.exe' /verysilent
add_launcher "c:\Program Files\dogwhohatestoast\DogwhoHatesToast.exe"
echo "Note: Dog who Hates Toast installed. Once you start the game, you must press tab until you hear sapi on to get speech." >&2
@@ -0,0 +1,22 @@
export winVer="win10"
export WINEARCH="win64" # Migrated to wine64
# WINEPREFIX will be set automatically by install_wine_bottle to ~/.local/wine64
download https://scwl-1251129685.cos.ap-shanghai.myqcloud.com/dreamland/Win/DreamLandSetup.exe
install_wine_bottle
winetricks -q vcrun2019 d3dcompiler_47
# Run installer silently (shows a dialog but completes successfully)
# Using C:\DreamLand instead of Program Files to avoid potential permission issues
{
echo "# Installing Dreamland..."
timeout 120 wine "${cache}/DreamLandSetup.exe" /VERYSILENT /NORESTART /DIR="C:\DreamLand" 2>&1 || true
echo "# Installation complete"
} | agm_progressbox "Installing Game" "Installing Dreamland (this may take a minute)..."
# Kill any game processes that may have auto-launched
wineserver -k 2>/dev/null || true
add_launcher "c:\DreamLand\DreamLand.exe"
@@ -0,0 +1,4 @@
download "http://files.l-works.net/dhsetup.exe"
install_wine_bottle vb6run dx8vb
wine "${cache}/dhsetup.exe" /silent
add_launcher "c:\Program Files (x86)\Lworks\Duck Hunt\duckhunt.exe"
@@ -0,0 +1,12 @@
export winVer="win7"
# Uses standard wine path based on architecture (win32/win64)
download "http://download.dracoent.com/Windows/classic/DMSetup.exe"
install_wine_bottle vb6run dx8vb quartz
cp -fv "${cache}/DMSetup.exe" "$WINEPREFIX/drive_c/windows/temp/"
wine "c:/windows/temp/DMSetup.exe" /sp- /silent
rm -fv "$WINEPREFIX/drive_c/windows/temp/DMSetup.exe"
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files (x86)\Draconis Entertainment\DynaMan\dm.exe"
@@ -0,0 +1,4 @@
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"
@@ -0,0 +1,12 @@
export winVer="win7"
# Uses standard wine path based on architecture (win32/win64)
download "http://download.dracoent.com/Windows/classic/PBCSetup.exe"
install_wine_bottle vb6run dx8vb quartz
cp -fv "${cache}/PBCSetup.exe" "$WINEPREFIX/drive_c/windows/temp/"
wine "c:/windows/temp/PBCSetup.exe" /sp- /silent
rm -fv "$WINEPREFIX/drive_c/windows/temp/PBCSetup.exe"
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files (x86)\Draconis Entertainment\ESP Pinball Classic\pbc.exe"
@@ -0,0 +1,12 @@
export winVer="win7"
# Uses standard wine path based on architecture (win32/win64)
download "http://download.dracoent.com/Windows/classic/PBXSetup.exe"
install_wine_bottle vb6run dx8vb quartz
cp -fv "${cache}/PBXSetup.exe" "$WINEPREFIX/drive_c/windows/temp/"
wine "c:/windows/temp/PBXSetup.exe" /sp- /silent
rm -fv "$WINEPREFIX/drive_c/windows/temp/PBXSetup.exe"
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files (x86)\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe"
@@ -0,0 +1,13 @@
export winVer="win7"
# Uses standard wine path based on architecture (win32/win64)
download "http://download.dracoent.com/Windows/classic/PP1Setup.exe"
install_wine_bottle vb6run dx8vb quartz
# Only works in conjunction with esp pinball extreme.
if ! [ -f "$WINEPREFIX/drive_c/Program Files (x86)/Draconis Entertainment/ESP Pinball Xtreme/pbx.exe" ] ; then
echo "Error: You need to install ESP Pinball Extreme first to use this game. Please do so before continuing." >&2
exit 1
fi
cp -fv "${cache}/PP1Setup.exe" "$WINEPREFIX/drive_c/windows/temp/"
wine "c:/windows/temp/PP1Setup.exe" /sp- /silent
rm -fv "$WINEPREFIX/drive_c/windows/temp/PP1Setup.exe"
add_launcher "c:\Program Files (x86)\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe"
@@ -0,0 +1,4 @@
download "https://agarchive.net/games/mt/easter%20quest%20setup.exe"
install_wine_bottle
wine "${cache}/easter quest setup.exe" /silent
add_launcher "c:\Program Files (x86)\MTGames\Easter Quest\easter.exe"
@@ -0,0 +1,5 @@
check_architecture x86_64
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"
@@ -0,0 +1,4 @@
download "http://www.masonasons.me/softs/EndlessRunner.7z"
install_wine_bottle
install_with_progress 7z "Extracting game files..." x -y -o"$WINEPREFIX/drive_c/Program Files/Endless Runner" "${cache}/EndlessRunner.7z" -prunner
add_launcher "c:\Program Files\Endless Runner\runner.exe"
@@ -0,0 +1,14 @@
# shellcheck shell=bash disable=SC2154 # cache, WINEPREFIX, and game are set by audiogame-manager
gameVersion=2.4.1
download "https://dl.tweesecake.app/rage/rage${gameVersion}.zip"
export WINEARCH=win64
export winVer="win10"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/rage${gameVersion}.zip"
add_launcher "c:\Program Files\rage\rage.exe"
url="https://techcake.games/games/executioners-rage/"
message="Before you can login, you need to create an account at:\n${url}"
if echo "$url" | xclip -selection clipboard 2> /dev/null ; then
message+="\n\nThe URL has been copied to the clipboard."
fi
alert "Executioner's Rage" "Executioner's Rage" "$message"
@@ -0,0 +1,4 @@
download "https://agarchive.net/games/other/extant.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/extant" "${cache}/extant.zip"
add_launcher "c:\Program Files\extant\Extant.exe"
@@ -0,0 +1,4 @@
download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe"
install_wine_bottle dx8vb vb6run
wine "${cache}/FingerPanicSetup.exe" /sp- /silent
add_launcher "c:\Program Files (x86)\Finger Panic 1.0\FingerPanic.exe"
@@ -0,0 +1,45 @@
tobyVersion="9.0"
mkdir -p "${installPath}/doom"
doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null)"
if [[ ${#doomPath} -lt 5 ]]; then
ui_yesno "Linux Game Manager" "Linux Game Manager" "Do you want Linux Game Manager to install freedoom and gzdoom for you? If you want to do this manually, select no." || exit 0
if command -v yay &> /dev/null ; then
yay -Sy --noconfirm --sudoloop freedoom gzdoom freedm blasphemer-wad
elif command -v slapt-src &> /dev/null ; then
su -c 'slapt-src -i freedoom gzdoom'
elif command -v dnf &> /dev/null ; then
sudo dnf copr -y enable nalika/gzdoom
sudo dnf -q -y install freedoom
sudo dnf -q -y install gzdoom
else
ui_msgbox "Linux Game Manager" "Linux Game Manager" "No supported package managers found. Please install the freedoom and gzdoom packages manually."
exit 0
fi
fi
doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null | head -1)"
# The url breaks the normal download function
download_named "keyshare-universal.pk3" "https://forum.zdoom.org/download/file.php?id=42262"
download "${ipfsGateway}/ipfs/QmU6REFot8CGVSBy2YWQxnmXoh7M4EF74RxFtLzvtJxoGC?filename=toby_doom_${tobyVersion}_full.zip"
unzip -n -d "${installPath}/doom" "${cache}/toby_doom_${tobyVersion}_full.zip"
# Move contents from nested folder up one directory (including hidden files)
shopt -s dotglob
mv "${installPath}/doom/TobyAccessibilityMod_Version9"*/* "${installPath}/doom/"
shopt -u dotglob
# Remove the now-empty nested folder
rmdir "${installPath}/doom/TobyAccessibilityMod_Version9"*
#unzip -n -d "${installPath}/doom" "${cache}/OpMDK_ForV${tobyVersion}.zip"
cp -v "${cache}/keyshare-universal.pk3" "${installPath}/doom"
rm -fv "${installPath}/doom/"*.{bat,exe,dll,ps1}
rm -rfv "${installPath}/doom/_internal"
#if [[ -e /usr/share/doom/blasphem.wad ]]; then
#ln -s /usr/share/doom/blasphem.wad "${installPath}/doom/"
#fi
mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom"
cp "${installPath}/doom/TobyConfig.ini" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"
cp "${installPath}/doom/zcajun/bots.cfg" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/"
sed -i "s;^\[IWADSearch.Directories\]$;[IWADSearch.Directories]\nPath=${doomPath}\nPath=${installPath}/doom;" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"
sed -i "s;^\[FileSearch.Directories\]$;[FileSearch.Directories]\nPath=${doomPath}\nPath=${installPath}/doom;" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"
sed -i "s;^\[SoundfontSearch.Directories\]$;[SoundfontSearch.Directories]\nPath=${doomPath}/fm_banks\nPath=${doomPath}/soundfonts\nPath=${installPath}/doom/soundfonts\nPath=${installPath}/doom/fm_banks;" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"
# sed -i 's/Mouse1=+attack/CTRL=+attack/' "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"
launcherPath="$(readlink -f "$0")"
launcherPath="${launcherPath%/*}"
@@ -0,0 +1,5 @@
export winVer="win7"
download "http://oriolgomez.com/games/bird_en.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/fuck that bird" "${cache}/bird_en.zip"
add_launcher "c:\Program Files\fuck that bird\game.exe"
@@ -0,0 +1,20 @@
download "http://www.gmagames.com/gtc120.exe"
install_wine_bottle vb6run dx8vb
wine "${cache}/gtc120.exe" /silent &
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
xdotool sleep 15 type --clearmodifiers --delay 100 "${USER^}" 2> /dev/null
xdotool key --clearmodifiers Tab 2> /dev/null
xdotool sleep 10 type --clearmodifiers --delay 100 "${HOSTNAME^}" 2> /dev/null
xdotool key --clearmodifiers Tab 2> /dev/null
xdotool sleep 10 type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null
xdotool key --clearmodifiers Tab 2> /dev/null
xdotool sleep 10 type --clearmodifiers --delay 100 "uuuuuuu" 2> /dev/null
xdotool key --clearmodifiers Tab 2> /dev/null
xdotool key --clearmodifiers Return 2> /dev/null
xdotool sleep 10 key --clearmodifiers Return 2> /dev/null
wineserver -w
echo "To accurately set your information, edit the file:"
echo "${WINEPREFIX}/drive_c/Program\ Files/GMA\ Tank\ Commander/config.dat"
echo "The default country is US. The fields are:"
echo -e "\"Firstname Lastname\"\n\"Email address\"\n\"Country code\""
add_launcher "c:\Program Files (x86)\GMA Tank Commander\gtc.exe"
@@ -0,0 +1,7 @@
# shellcheck shell=bash disable=SC2154 # cache and WINEPREFIX are set by audiogame-manager
get_installer "Galactic Strike 1.2.zip" "https://fusion-forged-games.itch.io/galactic-strike"
export winVer="win10"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/Galactic Strike" "${cache}/Galactic Strike 1.2.zip"
add_launcher "c:\Program Files\Galactic Strike\Galactic Strike.exe"
alert "Use controls wasd to movi and navigate the menu.\nUse m to fire and select items from the menu."
@@ -0,0 +1,5 @@
export winVer="win7"
download "http://oriolgomez.com/games/hammer_en.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/hammer of glory" "${cache}/hammer_en.zip"
add_launcher "c:\Program Files\hammer of glory\game.exe"
@@ -0,0 +1,40 @@
download "http://www.agarchive.net/games/bsc/HunterSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z"
install_wine_bottle vb6run dx8vb
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
winetricks -q dotnet35sp1
wineserver -k # Damn you, dotnet.
wine "${cache}/HunterSetup.exe" /silent &
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
sleep 30 && wineserver -k # Sometimes the installer finishes but the wineserver has more processes that don't exit, so we can't depend on wineserver -w.
mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator"
install_with_progress 7z "Extracting game files..." x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z"
echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat"
unix2dos "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat"
if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then
wine "c:\Program Files\Hunter\HunterRegistration.exe" &
xdotool sleep 10 key Return sleep 2 key Return sleep 2 key Alt+n
sleep 1
regcode="$(xclip -selection clipboard -o)"
xdotool sleep 1 key Shift+Tab sleep 1 key Return
# FIXME: Kind of hacky, but let's make sure it actually exitted.
sleep 5
wineserver -k
wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" &
xdotool sleep 10 key Return sleep 2 type h
xdotool sleep 1 key Tab sleep 1 type $regcode
xdotool sleep 1 key Tab sleep 1 key Return
sleep 2
regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable.
# FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program.
sleep 5
wineserver -k
wine "c:\Program Files\Hunter\HunterRegistration.exe" &
echo "$regcode" | xclip -selection clipboard
xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return
# FIXME: Kind of hacky, but let's make sure it actually exitted.
sleep 5
wineserver -k
else
echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff."
fi
add_launcher "c:\Program Files (x86)\Hunter\HunterRun.exe"
@@ -0,0 +1,9 @@
get_installer "Inquisitor_windows_ENG.zip" "https://www.audiogame.store/en/products/inquisitors-heartbeat--windows/ios-only"
export WINEARCH=win64
export winVer="win8"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Inquisitor_windows_ENG.zip"
# Weird work around to get keyboard working.
winetricks -q usetakefocus=y
winetricks -q usetakefocus=n
add_launcher "c:\Program Files\Inquisitor_windows_ENG\Inquisitor's Heartbeat.exe"
@@ -0,0 +1,5 @@
export winVer="win7"
download "http://oriolgomez.com/games/insect_en.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/insect therapy" "${cache}/insect_en.zip"
add_launcher "c:\Program Files\insect therapy\game.exe"
@@ -0,0 +1,4 @@
download "http://www.valiantgalaxy.com/interceptor/Interceptor0.0.2.0Installer.exe"
install_wine_bottle
wine "${cache}/Interceptor0.0.2.0Installer.exe" /silent
add_launcher "c:\Program Files (x86)\VGA\interceptor\launch_interceptor.exe"
@@ -0,0 +1,12 @@
download "http://files.l-works.net/judgmentdayfullsetup.exe"
install_wine_bottle vb6run dx8vb quartz
wine "${cache}/judgmentdayfullsetup.exe" /silent
cat << EOF > /tmp/judgementday.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\judgmentday\config]
"name"="$USER"
EOF
wine regedit /s /tmp/judgementday.reg
rm /tmp/judgementday.reg
add_launcher "c:\Program Files (x86)\Lworks\Judgment Day\judgmentday.exe"
@@ -0,0 +1,8 @@
export WINEARCH="win64" # Migrated to wine64 with WINETRICKS_FORCE=1
export winVer="win7"
export winetricksSettings="vd=1024x768"
download "${ipfs[Kitchensinc Games]}"
install_wine_bottle sapi vb6run dx8vb
echo "Extracting files..."
tar xf "${cache}/kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/"
add_launcher "c:\Program Files\Kitchen's Sink\gamemenu.exe"
@@ -0,0 +1,4 @@
download "https://www.agarchive.net/games/blastbay/kringle%20crash%20setup.exe"
install_wine_bottle
wine "${cache}/kringle crash setup.exe" /silent
add_launcher "c:\Program Files (x86)\Kringle Crash\kringlecrash.exe"
@@ -0,0 +1,6 @@
export winVer="win7"
download "https://www.agarchive.net/games/nyanchan/laser%20breakout.7z" "https://stormgames.wolfe.casa/downloads/laser-breakout-options.dat"
install_wine_bottle
install_with_progress 7z "Extracting game files..." x -o"$WINEPREFIX/drive_c/nyanchangame/" "$cache/laser breakout.7z"
cp -fv "$cache/laser-breakout-options.dat" "$WINEPREFIX/drive_c/nyanchangame/laser breakout/options.dat"
add_launcher "c:\nyanchangame\laser breakout\play.exe"
@@ -0,0 +1,5 @@
export winVer="win7"
download "https://prometheus-enterprises.com/games/CoL.exe"
install_wine_bottle
install_with_progress 7z "Extracting game files..." x -o"$WINEPREFIX/drive_c/Program Files/Light Battles" "${cache}/CoL.exe"
add_launcher "c:\Program Files\Light Battles\battles.exe"
@@ -0,0 +1,8 @@
download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe"
install_wine_bottle dx8vb vb6run
wine "${cache}/light cars setup.exe" &
xdotool sleep 10 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+a key --clearmodifiers space sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+i sleep 30 key --clearmodifiers Tab sleep 1 key --clearmodifiers Return 2> /dev/null
wineserver -w
echo -e "${USER} ${HOST}\nna@na.na\nUS" > ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat
unix2dos ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat
add_launcher "c:\Program Files\Lighttech Interactive\Light Cars\lightCars.exe"
@@ -0,0 +1,4 @@
download "http://files.l-works.net/lockpicksetup.exe"
install_wine_bottle vb6run dx8vb
wine "${cache}/lockpicksetup.exe" /silent
add_launcher "c:\Program Files (x86)\lWorks\Lockpick\lockpick.exe"
@@ -0,0 +1,15 @@
download "http://www.gmagames.com/lw350.exe"
install_wine_bottle vb6run dx8vb
wine "${cache}/lw350.exe" /silent &
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
xdotool sleep 10 type --clearmodifiers --delay 100 "$USER" 2> /dev/null
xdotool key --clearmodifiers Tab 2> /dev/null
xdotool type --clearmodifiers --delay 100 "$HOSTNAME" 2> /dev/null
xdotool key --clearmodifiers Tab 2> /dev/null
xdotool type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null
xdotool key --clearmodifiers Tab 2> /dev/null
xdotool type --clearmodifiers --delay 100 "uuuuuu" 2> /dev/null
xdotool key --clearmodifiers Tab 2> /dev/null
xdotool key --clearmodifiers Return 2> /dev/null
wineserver -w
add_launcher "c:\Program Files (x86)\Lone Wolf\lw.exe"
@@ -0,0 +1,4 @@
download "https://agarchive.net/games/danZ/lost.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/lost" "$cache/lost.zip"
add_launcher 'c:\Program Files\lost\lost.exe'
@@ -0,0 +1,15 @@
download "http://www.danielzingaro.com/maze_craze_setup.exe"
install_wine_bottle vb6run dx8vb
wine "${cache}/maze_craze_setup.exe" &
xdotool sleep 15 key --delay 100 y 2> /dev/null
xdotool sleep 3 key --delay 250 alt+n 2> /dev/null
xdotool key --delay 250 alt+a 2> /dev/null
xdotool key --delay 250 space 2> /dev/null
xdotool key --delay 250 alt+n 2> /dev/null
xdotool key --delay 250 alt+n 2> /dev/null
xdotool key --delay 250 alt+n 2> /dev/null
xdotool key --delay 250 alt+i 2> /dev/null
xdotool sleep 15 key --delay 250 alt+f 2> /dev/null
xdotool sleep 3 key --delay 250 n 2> /dev/null
wineserver -k
add_launcher "c:\Program Files\Maze Craze 1.4\mazecraze.exe"
@@ -0,0 +1,12 @@
export winVer="win7"
# Uses standard wine path based on architecture (win32/win64)
download "http://download.dracoent.com/Windows/classic/MBSetup.exe"
install_wine_bottle vb6run dx8vb quartz
cp -fv "${cache}/MBSetup.exe" "$WINEPREFIX/drive_c/windows/temp/"
wine "c:/windows/temp/MBSetup.exe" /sp- /silent
rm -fv "$WINEPREFIX/drive_c/windows/temp/MBSetup.exe"
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files (x86)\Draconis Entertainment\Monkey Business\mb.exe"
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +1,7 @@
export WINEARCH="win64" # Migrated to wine64 with WINETRICKS_FORCE=1
export winVer="win7"
export norh="true" # Requires sapi even though uses nvda
download "${ipfs[Oh Shit]}"
install_wine_bottle sapi
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/OhShit.zip"
add_launcher "c:\Program Files\oh_shit\OhShit.exe"
@@ -0,0 +1,5 @@
check_architecture x86_64
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"
@@ -0,0 +1,5 @@
export winVer="win7"
download "https://www.iamtalon.me/games/blacksquare.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/blacksquare.zip"
add_launcher "c:\Program Files\blacksquare\OperationBlackSquare.exe"
@@ -0,0 +1,4 @@
download "http://www.gmagames.com/pmt101.exe"
install_wine_bottle
wine "${cache}/pmt101.exe" /sp- /silent
add_launcher "c:\Program Files (x86)\Pacman Talks\pmt.exe"
@@ -0,0 +1,4 @@
download "https://www.agarchive.net/games/blastbay/palace%20punch-up%20setup.exe"
install_wine_bottle
wine "${cache}/palace punch-up setup.exe" /silent
add_launcher "c:\Program Files (x86)\Palace Punch-up\palace.exe"
@@ -0,0 +1,7 @@
export winVer="win7"
export winetricksSettings="vd=1024x768"
download "https://www.kaldobsky.com/audiogames/pawprints.zip"
install_wine_bottle vb6run dx8vb quartz
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/pawprints" "${cache}/pawprints.zip"
wine 'c:\Program Files\pawprints\checkup.exe' /verysilent
add_launcher "c:\Program Files\pawprints\PawPrints.exe"
@@ -0,0 +1,4 @@
download "http://agarchive.net/games/lworks/pigeon%20panic%20setup.exe"
install_wine_bottle vb6run dx8vb
wine "${cache}/pigeon panic setup.exe" /silent
add_launcher "c:\Program Files (x86)\Lworks\Pigeon Panic\pigeonPanic.exe"
@@ -0,0 +1,40 @@
install_wine_bottle vb6run dx8vb
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
winetricks -q dotnet35sp1
wineserver -k # Damn you, dotnet.
download "http://www.agarchive.net/games/bsc/BlastChamberSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z"
wine "${cache}/BlastChamberSetup.exe" /silent &
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
sleep 30 && wineserver -k # Sometimes the installer finishes but the wineserver has more processes that don't exit, so we can't depend on wineserver -w.
mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator"
install_with_progress 7z "Extracting game files..." x -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z"
echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Blast Chamber/config.dat"
unix2dos "$WINEPREFIX/drive_c/Program Files/Blast Chamber/config.dat"
if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then
wine "c:\Program Files\Blast Chamber\register.exe" &
xdotool sleep 10 key Return sleep 2 key Return sleep 2 key Alt+n
sleep 1
regcode="$(xclip -selection clipboard -o)"
xdotool sleep 1 key Shift+Tab sleep 1 key Return
# FIXME: Kind of hacky, but let's make sure it actually exitted.
sleep 5
wineserver -k
wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" &
xdotool sleep 10 key Return sleep 2 type b
xdotool sleep 1 key Tab sleep 1 type $regcode
xdotool sleep 1 key Tab sleep 1 key Return
sleep 2
regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable.
# FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program.
sleep 5
wineserver -k
wine "c:\Program Files\Blast Chamber\register.exe" &
echo "$regcode" | xclip -selection clipboard
xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return
# FIXME: Kind of hacky, but let's make sure it actually exitted.
sleep 5
wineserver -k
else
echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff."
fi
add_launcher "c:\Program Files (x86)\Blast Chamber\pipe.exe"
@@ -0,0 +1,69 @@
check_dependencies git uv python-speechd:speechd
# shellcheck disable=SC2154 # set by linux-game-manager.sh
gameRoot="${installPath}/PlayPalace11"
desktopPath="${gameRoot}/clients/desktop"
hostPythonDir="${desktopPath}/.host-python"
speechdFilePath=""
speechdCopySourcePath=""
if [[ -e "${gameRoot}" ]]; then
ui_msgbox "Game Installer" "Game Installer" "\"${gameRoot}\" already exists. Remove it first or choose a different game."
exit 1
fi
mkdir -p "${installPath}" || {
ui_msgbox "Game Installer" "Game Installer" "Could not create ${installPath}."
exit 1
}
if ! git -C "${installPath}" clone "https://github.com/XGDevGroup/PlayPalace11.git"; then
ui_msgbox "Game Installer" "Game Installer" "Could not clone Play Palace from GitHub."
exit 1
fi
if ! pushd "${desktopPath}" > /dev/null; then
ui_msgbox "Game Installer" "Game Installer" "Could not find desktop client path at ${desktopPath}."
exit 1
fi
if ! uv sync; then
popd > /dev/null || exit 1
ui_msgbox "Game Installer" "Game Installer" "uv sync failed for Play Palace."
exit 1
fi
popd > /dev/null || exit 1
speechdFilePath="$(python3 -c 'import pathlib,speechd; print(pathlib.Path(speechd.__file__).resolve())' 2> /dev/null)"
if [[ -z "${speechdFilePath}" ]]; then
ui_msgbox "Game Installer" "Game Installer" "Could not import python module speechd from host Python.\nInstall speech-dispatcher python bindings and try again."
exit 1
fi
if [[ "${speechdFilePath##*/}" == "__init__.py" ]]; then
speechdCopySourcePath="${speechdFilePath%/*}"
elif [[ "${speechdFilePath##*/}" == "speechd.py" ]]; then
speechdCopySourcePath="${speechdFilePath}"
else
speechdCopySourcePath="${speechdFilePath}"
fi
if ! [[ -r "${speechdCopySourcePath}" ]]; then
ui_msgbox "Game Installer" "Game Installer" "Could not read speechd python binding at ${speechdCopySourcePath}."
exit 1
fi
mkdir -p "${hostPythonDir}" || {
ui_msgbox "Game Installer" "Game Installer" "Could not create ${hostPythonDir}."
exit 1
}
if [[ -d "${speechdCopySourcePath}" ]]; then
if ! cp -a "${speechdCopySourcePath}" "${hostPythonDir}/"; then
ui_msgbox "Game Installer" "Game Installer" "Could not copy speechd package into ${hostPythonDir}."
exit 1
fi
elif ! cp -a "${speechdCopySourcePath}" "${hostPythonDir}/speechd.py"; then
ui_msgbox "Game Installer" "Game Installer" "Could not copy speechd module into ${hostPythonDir}."
exit 1
fi
@@ -0,0 +1,7 @@
export winVer="win7"
export winetricksSettings="vd=1024x768"
download "https://www.kaldobsky.com/audiogames/Preludeamals.zip"
install_wine_bottle vb6run dx8vb quartz
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/preludeamals" "${cache}/Preludeamals.zip"
wine 'c:\Program Files\preludeamals\checkup.exe' /verysilent
add_launcher "c:\Program Files\preludeamals\Preludeamals.exe"
@@ -0,0 +1,4 @@
download "http://www.blastbay.com/q9_english_installer.exe"
install_wine_bottle
wine "${cache}/q9_english_installer.exe" /silent
add_launcher "c:\Program Files (x86)\Q9 Action Game\q9.exe"
@@ -0,0 +1,6 @@
export winVer="win7"
export winetricksSettings="vd=1024x768"
download "http://www.kaldobsky.com/audiogames/rettou.zip"
install_wine_bottle vb6run dx8vb quartz
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/rettou" "${cache}/rettou.zip"
add_launcher "c:\Program Files\rettou\Rettou.exe"
@@ -0,0 +1,6 @@
export winVer="win7"
export winetricksSettings="vd=1024x768"
download "https://www.kaldobsky.com/audiogames/revelation.zip"
install_wine_bottle vb6run dx8vb quartz
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/revelation" "${cache}/revelation.zip"
add_launcher "c:\Program Files\revelation\Revelation.exe"
@@ -0,0 +1,5 @@
export winVer="win7"
download "http://oriolgomez.com/games/rr_en.zip" "${nvdaControllerClient32Dll}"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/rhythm rage" "${cache}/rr_en.zip"
add_launcher "c:\Program Files\rhythm rage\game.exe"
@@ -0,0 +1,8 @@
download "https://www.agarchive.net/games/XSight/River%20Raiders%201.3.5.exe"
install_wine_bottle dsound directmusic
wine "$cache/River Raiders 1.3.5.exe" &
xdotool sleep 10 type y 2> /dev/null
xdotool sleep 2 type y 2> /dev/null
xdotool sleep 2 key --clearmodifiers alt+n sleep 2 key alt+n sleep 2 key alt+n sleep 2 key alt+i sleep 10 key alt+f 2> /dev/null
wineserver -w
add_launcher "c:\Program Files\River Raiders\raid.exe"
@@ -0,0 +1,5 @@
export winVer="win7"
download "https://agarchive.net/games/talon/the%20road%20to%20rage%20offline.7z"
install_wine_bottle
install_with_progress 7z "Extracting game files..." x -o"$WINEPREFIX/drive_c/Program Files" "${cache}/the road to rage offline.7z"
add_launcher "c:\Program Files\RTR Offline\rtr.exe"
@@ -0,0 +1,6 @@
export WINEARCH=win64
export winVer="win7"
download "https://iamtalon.me/games/rtr_ultimate.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/rtr_ultimate.zip"
add_launcher "c:\Program Files\rtr_Ultimate\trtr.exe"
@@ -0,0 +1,5 @@
export winVer="win7"
download "http://oriolgomez.com/games/rfyl_en.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/run for your life" "${cache}/rfyl_en.zip"
add_launcher "c:\Program Files\run for your life\game.exe"
@@ -0,0 +1,4 @@
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"
@@ -0,0 +1,9 @@
# shellcheck shell=bash disable=SC2154 # cache and WINEPREFIX are set by audiogame-manager
# shellcheck disable=SC2034 # consumed by shared bottle setup
winetricksSettings="vd=1024x768"
export winVer="win7"
download "https://stevend.net/downloads/scramble_win32.zip"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/scramble_win32.zip"
alert "Note: When you first start the game, it will say that tts initialization failed. Please answer that you do not want to attempt initialization of tts when the game starts to allow easy speech through speech dispatcher."
add_launcher "c:\Program Files\scramble_win32\scramble.exe"
@@ -0,0 +1,7 @@
export winVer="win7"
download "https://www.nyanchangames.com/softs/screamingStrike2.exe" "${nvdaControllerClient32Dll}"
install_wine_bottle fakejapanese
wine "${cache}/screamingStrike2.exe" &
xdotool sleep 10 key Return
wineserver -w
add_launcher "c:\nyanchangame\Screaming Strike 2\play.exe"
@@ -0,0 +1,8 @@
export WINEARCH=win64
export winVer="win7"
get_installer "sbrw-win.zip" "https://masonasons.itch.io/sbrw"
download "https://stormgames.wolfe.casa/downloads/Tolk.dll"
install_wine_bottle
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/sbrw" "${cache}/sbrw-win.zip"
find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -fv "${cache}/Tolk.dll" "{}" \;
add_launcher "c:\Program Files\sbrw\sb.exe"

Some files were not shown because too many files have changed in this diff Show More