From 9b172482221268fd79831ad2629adcfe41534669 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 5 Aug 2025 13:17:13 -0400 Subject: [PATCH] =?UTF-8?q?Even=20more=20install=20script=20fixes.=20?= =?UTF-8?q?=F0=9F=98=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .install/A Hero's Call.sh | 2 +- .install/Alien Outback.sh | 2 +- .install/Change Reaction.sh | 2 +- .install/Chopper Challenge.sh | 2 +- .install/Danger City.sh | 2 +- .install/DynaMan.sh | 2 +- .install/ESP Pinball Classic.sh | 2 +- .install/ESP Pinball Extreme.sh | 2 +- .install/Entombed.sh | 10 +++++----- .install/GMA Tank Commander.sh | 2 +- .install/Hunter.sh | 10 +++++----- .install/Light Cars.sh | 2 +- .install/Lone Wolf.sh | 2 +- .install/Marina Break.sh | 2 +- .install/Maze Craze.sh | 4 ++-- .install/Monkey Business.sh | 2 +- .install/MudSplat English.sh | 13 +++++++++---- .install/Park Boss.sh | 2 +- .install/Pipe 2 Blast Chamber.sh | 10 +++++----- .install/River Raiders.sh | 2 +- .install/Screaming Strike 2.sh | 2 +- .install/Shadow Line.sh | 2 +- .install/Silver Dollar.sh | 2 +- .install/Super Deekout.sh | 8 ++++---- .install/Tactical Battle.sh | 2 +- .install/Technoshock.sh | 2 +- .install/Ten Pin Alley.sh | 2 +- .install/Three D velocity.sh | 2 +- .install/Troopanum2.sh | 10 +++++----- .install/Tube Sim.sh | 2 +- .install/Ultimate SounDoku.sh | 2 +- .install/Wave of the Undead.sh | 2 +- 32 files changed, 60 insertions(+), 55 deletions(-) diff --git a/.install/A Hero's Call.sh b/.install/A Hero's Call.sh index 6529e17..1b8cb43 100644 --- a/.install/A Hero's Call.sh +++ b/.install/A Hero's Call.sh @@ -4,6 +4,6 @@ export winetricksSettings="vd=1024x768" install_wine_bottle speechsdk corefonts # Dotnet is evil. That is all. LC_ALL=C DISPLAY="" winetricks -q dotnet462 xna40 -${wine}server -k # Really! +wineserver -k # Really! install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call-freeware.zip" add_launcher "c:\Program Files\a-heros-call\A Hero's Call.exe" diff --git a/.install/Alien Outback.sh b/.install/Alien Outback.sh index 44e0691..d46cc8a 100644 --- a/.install/Alien Outback.sh +++ b/.install/Alien Outback.sh @@ -8,5 +8,5 @@ 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 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Alien Outback\ao.exe" diff --git a/.install/Change Reaction.sh b/.install/Change Reaction.sh index 77d9339..3969292 100644 --- a/.install/Change Reaction.sh +++ b/.install/Change Reaction.sh @@ -8,5 +8,5 @@ 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 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Change Reaction\ChangeReactionGui.exe" diff --git a/.install/Chopper Challenge.sh b/.install/Chopper Challenge.sh index 799c91e..debe468 100644 --- a/.install/Chopper Challenge.sh +++ b/.install/Chopper Challenge.sh @@ -4,6 +4,6 @@ download "https://www.agarchive.net/games/XSight/chopper%20challenge%20setup.exe install_wine_bottle vb6run dx8vb speechsdk wine "${cache}/chopper challenge setup.exe" /silent & xdotool sleep 5 key y 2> /dev/null -${wine}server -w +wineserver -w echo "$USER|n/a" >> "$WINEPREFIX/drive_c/Program Files/x-sight interactive/chopper challenge/config.dat" add_launcher "c:\Program Files\x-sight interactive\chopper challenge\Chopper.exe" diff --git a/.install/Danger City.sh b/.install/Danger City.sh index bfcb3d2..71c0820 100644 --- a/.install/Danger City.sh +++ b/.install/Danger City.sh @@ -5,5 +5,5 @@ 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 -${wine}server -w +wineserver -w add_launcher 'c:\Program Files\Danger City\dc.exe' diff --git a/.install/DynaMan.sh b/.install/DynaMan.sh index 99c588c..b1e807f 100644 --- a/.install/DynaMan.sh +++ b/.install/DynaMan.sh @@ -8,5 +8,5 @@ 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 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\DynaMan\dm.exe" diff --git a/.install/ESP Pinball Classic.sh b/.install/ESP Pinball Classic.sh index cde9d11..bd2a213 100644 --- a/.install/ESP Pinball Classic.sh +++ b/.install/ESP Pinball Classic.sh @@ -8,5 +8,5 @@ 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 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Classic\pbc.exe" diff --git a/.install/ESP Pinball Extreme.sh b/.install/ESP Pinball Extreme.sh index 9366a0b..dbb6bc8 100644 --- a/.install/ESP Pinball Extreme.sh +++ b/.install/ESP Pinball Extreme.sh @@ -8,5 +8,5 @@ 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 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe" diff --git a/.install/Entombed.sh b/.install/Entombed.sh index 4fb7c4a..38cc2f2 100644 --- a/.install/Entombed.sh +++ b/.install/Entombed.sh @@ -4,18 +4,18 @@ export winVer="win7" install_wine_bottle speechsdk msvcrt40 gdiplus ie7 wmp11 mf # Ok, more dotnet. LC_ALL=C DISPLAY="" winetricks -q dotnet40 xna40 -${wine}server -k # Sigh. +wineserver -k # Sigh. mkdir -p "${WINEPREFIX}/drive_c/temp" pushd "${WINEPREFIX}/drive_c/temp" install_with_progress 7z "Extracting game files..." x "${cache}/SSCERuntime-ENU.exe" -${wine} msiexec /i "${WINEPREFIX}/drive_c/temp/SSCERuntime_x86-ENU.msi" /q +wine msiexec /i "${WINEPREFIX}/drive_c/temp/SSCERuntime_x86-ENU.msi" /q rm * popd pushd "${WINEPREFIX}/drive_c/Program Files/Microsoft SQL Server Compact Edition/v3.5" -${wine} regsvr32 sqlceoledb35.dll -${wine} regsvr32 sqlceca35.dll +wine regsvr32 sqlceoledb35.dll +wine regsvr32 sqlceca35.dll popd -${wine} "${cache}/EntombedSetup.exe" /silent +wine "${cache}/EntombedSetup.exe" /silent pushd "${WINEPREFIX}/drive_c/Program Files/Entombed" cp ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/Private/System.Data.SqlServerCe.Entity.dll ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/Private/System.Data.SqlServerCe.dll . cp ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/sql* . diff --git a/.install/GMA Tank Commander.sh b/.install/GMA Tank Commander.sh index df356ac..56cebb8 100644 --- a/.install/GMA Tank Commander.sh +++ b/.install/GMA Tank Commander.sh @@ -12,7 +12,7 @@ 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 -${wine}server -w +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:" diff --git a/.install/Hunter.sh b/.install/Hunter.sh index 66c2746..27b50a5 100644 --- a/.install/Hunter.sh +++ b/.install/Hunter.sh @@ -2,10 +2,10 @@ download "http://www.agarchive.net/games/bsc/HunterSetup.exe" "https://www.agarc install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. winetricks -q dotnet35sp1 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. wine "${cache}/HunterSetup.exe" /silent & xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null -sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. +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" @@ -18,7 +18,7 @@ if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then xdotool sleep 1 key Shift+Tab sleep 1 key Return # FIXME: Kind of hacky, but let's make sure it actually exitted. sleep 5 - ${wine}server -k + 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 @@ -27,13 +27,13 @@ if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then 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 - ${wine}server -k + 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 - ${wine}server -k + 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 diff --git a/.install/Light Cars.sh b/.install/Light Cars.sh index 3f485b0..22429f1 100644 --- a/.install/Light Cars.sh +++ b/.install/Light Cars.sh @@ -2,7 +2,7 @@ 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 -${wine}server -w +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" diff --git a/.install/Lone Wolf.sh b/.install/Lone Wolf.sh index 8aa6f21..dc84c46 100644 --- a/.install/Lone Wolf.sh +++ b/.install/Lone Wolf.sh @@ -11,5 +11,5 @@ 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 -${wine}server -w +wineserver -w add_launcher "c:\Program Files\Lone Wolf\lw.exe" diff --git a/.install/Marina Break.sh b/.install/Marina Break.sh index 4e4bd28..7c82996 100644 --- a/.install/Marina Break.sh +++ b/.install/Marina Break.sh @@ -4,5 +4,5 @@ export winVer="win7" install_wine_bottle speechsdk wine "${cache}/MbSetupE.exe" & xdotool sleep 10 key Return -${wine}server -w +wineserver -w add_launcher "c:\nyanchangame\MarinaBreak\marinabreak.exe" diff --git a/.install/Maze Craze.sh b/.install/Maze Craze.sh index ce1052f..f5e35c4 100644 --- a/.install/Maze Craze.sh +++ b/.install/Maze Craze.sh @@ -1,7 +1,7 @@ # Uses standard wine path based on architecture (win32/win64) download "http://www.danielzingaro.com/maze_craze_setup.exe" install_wine_bottle vb6run dx8vb -${wine} "${cache}/maze_craze_setup.exe" & +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 @@ -12,5 +12,5 @@ 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 -${wine}server -k +wineserver -k add_launcher "c:\Program Files\Maze Craze 1.4\mazecraze.exe" diff --git a/.install/Monkey Business.sh b/.install/Monkey Business.sh index 0cbfa9a..d715afa 100644 --- a/.install/Monkey Business.sh +++ b/.install/Monkey Business.sh @@ -8,5 +8,5 @@ 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 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Monkey Business\mb.exe" diff --git a/.install/MudSplat English.sh b/.install/MudSplat English.sh index 630d5e6..e472e8a 100644 --- a/.install/MudSplat English.sh +++ b/.install/MudSplat English.sh @@ -1,28 +1,33 @@ +#!/bin/bash +case "${game}" in + "MudSplat English") a="a" f="f" i="i" n="n" - ;& + ;; "MudSplat French") # Variables may be already set for English installation, so make sure not to overwrite them. a="${a:-j}" f="${f:-t}" i="${i:-i}" n="${n:-s}" - ;& + ;; "MudSplat Swedish") # Variables may be already set for French installation, so make sure not to overwrite them. a="${a:-a}" f="${f:-f}" i="${i:-i}" n="${n:-n}" + ;; +esac download "https://www.agarchive.net/games/other/Mudsplat-install.exe" install_wine_bottle wine "${cache}/Mudsplat-install.exe" & # Select the language. xdotool sleep 10 type --clearmodifiers ${game:9:1} 2> /dev/null xdotool sleep 1 key --clearmodifiers Return sleep 1 key alt+${n} sleep 1 key alt+${a} sleep 1 key alt+${n} sleep 1 key space sleep 1 key alt+${n} sleep 1 key alt+${n} sleep 1 key alt+${i} sleep 10 key space sleep 1 key alt+${f} 2> /dev/null -${wine}server -w +wineserver -w mudsplatLauncher="$(find "$WINEPREFIX/drive_c/Program Files/TiM/MudSplat" -name 'mudsplat-*.exe')" mudsplatLauncher="${mudsplatLauncher##*/}" -add_launcher "c:\Program Files\TiM\MudSplat\\${mudsplatLauncher}" +add_launcher "c:\Program Files\TiM\MudSplat\\${mudsplatLauncher}" \ No newline at end of file diff --git a/.install/Park Boss.sh b/.install/Park Boss.sh index 99963cd..ced59d2 100644 --- a/.install/Park Boss.sh +++ b/.install/Park Boss.sh @@ -3,5 +3,5 @@ download "http://www.ndadamson.com/downloads/Park%20Boss%201.01%20setup.exe" install_wine_bottle speechsdk wine "${cache}/Park Boss 1.01 setup.exe" /silent & xdotool sleep 10 key --clearmodifiers Return sleep 1 key alt+n sleep 1 key alt+a sleep 1 key alt+i sleep 10 key alt+f 2> /dev/null -${wine}server -w +wineserver -w add_launcher "c:\Program Files\NASoft\ParkBoss\pbMain.exe" diff --git a/.install/Pipe 2 Blast Chamber.sh b/.install/Pipe 2 Blast Chamber.sh index 10c2b63..8b01203 100644 --- a/.install/Pipe 2 Blast Chamber.sh +++ b/.install/Pipe 2 Blast Chamber.sh @@ -1,11 +1,11 @@ install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. winetricks -q dotnet35sp1 -${wine}server -k # Damn you, dotnet. +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 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. +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" @@ -18,7 +18,7 @@ if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then xdotool sleep 1 key Shift+Tab sleep 1 key Return # FIXME: Kind of hacky, but let's make sure it actually exitted. sleep 5 - ${wine}server -k + 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 @@ -27,13 +27,13 @@ if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then 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 - ${wine}server -k + 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 - ${wine}server -k + 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 diff --git a/.install/River Raiders.sh b/.install/River Raiders.sh index 971b9e4..130153a 100644 --- a/.install/River Raiders.sh +++ b/.install/River Raiders.sh @@ -5,5 +5,5 @@ 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 -${wine}server -w +wineserver -w add_launcher "c:\Program Files\River Raiders\raid.exe" diff --git a/.install/Screaming Strike 2.sh b/.install/Screaming Strike 2.sh index 52ab146..aa4ad86 100644 --- a/.install/Screaming Strike 2.sh +++ b/.install/Screaming Strike 2.sh @@ -4,5 +4,5 @@ download "https://www.nyanchangames.com/softs/screamingStrike2.exe" "${nvdaContr install_wine_bottle fakejapanese speechsdk wine "${cache}/screamingStrike2.exe" & xdotool sleep 10 key Return -${wine}server -w +wineserver -w add_launcher "c:\nyanchangame\Screaming Strike 2\play.exe" diff --git a/.install/Shadow Line.sh b/.install/Shadow Line.sh index b724cca..88e49c8 100644 --- a/.install/Shadow Line.sh +++ b/.install/Shadow Line.sh @@ -11,7 +11,7 @@ echo "Running installer, this will take approximately 3 minutes..." xdotool sleep 180 key --clearmodifiers --delay=500 Down xdotool key --clearmodifiers --delay=500 space xdotool key --clearmodifiers --delay=500 alt+f -${wine}server -w +wineserver -w mv -v "${cache}/language_en.dat" "${WINEPREFIX}/drive_c/Program Files/GalaxyLaboratory/ShadowRine_FullVoice/SystemData/language_en.dat" add_launcher "c:\Program Files\GalaxyLaboratory\ShadowRine_FullVoice\play_sr.exe" echo "Please set the language to English when the game opens." diff --git a/.install/Silver Dollar.sh b/.install/Silver Dollar.sh index 2016dd0..f01cff0 100644 --- a/.install/Silver Dollar.sh +++ b/.install/Silver Dollar.sh @@ -8,5 +8,5 @@ rm -fv "$WINEPREFIX/drive_c/windows/temp/SilverDollarSetup.exe" # warning warning warning: Do not change location, or installer will not function. # FIXME: Hacky, but it works. Install dotnet40 by itself so it actually doesn't hang. DISPLAY="" winetricks -q dotnet40 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Silver Dollar\SilverDollarGui.exe" diff --git a/.install/Super Deekout.sh b/.install/Super Deekout.sh index 8a1c46c..cb691b7 100644 --- a/.install/Super Deekout.sh +++ b/.install/Super Deekout.sh @@ -1,7 +1,7 @@ # Uses standard wine path based on architecture (win32/win64) download "http://www.danielzingaro.com/superdeekout_setup.exe" "http://www.danielzingaro.com/sd_full.exe" install_wine_bottle vb6run dx8vb -${wine} "${cache}/superdeekout_setup.exe" & +wine "${cache}/superdeekout_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 @@ -12,14 +12,14 @@ 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 -${wine}server -k +wineserver -k install_with_progress 7z "Extracting game files..." x -y -o"$WINEPREFIX/drive_c/Program Files/Super Deekout" "${cache}/sd_full.exe" echo "Super Deekout needs some information before it will run:" alert read -erp "Please enter your first name: " fname read -erp "Please enter your last name: " lname read -erp "Please enter your email address: " email -${wine} "c:\Program Files\Super Deekout\config.exe" & +wine "c:\Program Files\Super Deekout\config.exe" & xdotool sleep 5 key --delay 100 Return 2> /dev/null xdotool sleep 3 type --clearmodifiers --delay 100 "${fname}" xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null @@ -30,5 +30,5 @@ xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null xdotool sleep 15 key --delay 100 u 2> /dev/null xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null xdotool sleep 1 key --delay 250 Return 2> /dev/null -${wine}server -k +wineserver -k add_launcher "c:\Program Files\Super Deekout\super.exe" diff --git a/.install/Tactical Battle.sh b/.install/Tactical Battle.sh index 53fb68c..ec50cac 100644 --- a/.install/Tactical Battle.sh +++ b/.install/Tactical Battle.sh @@ -1,6 +1,6 @@ download "https://blindgamers.com/downloads/Tactical%20Battle%20Dev.zip" install_wine_bottle speechsdk LC_ALL=C DISPLAY="" winetricks -q dotnet462 -${wine}server -k +wineserver -k install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/Tactical Battle" "${cache}/Tactical Battle Dev.zip" add_launcher "c:\Program Files\Tactical Battle\Tactical Battle.exe" diff --git a/.install/Technoshock.sh b/.install/Technoshock.sh index f9fcfe7..7344026 100644 --- a/.install/Technoshock.sh +++ b/.install/Technoshock.sh @@ -3,6 +3,6 @@ install_wine_bottle install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/technoshock_140b_en.zip" install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/technoshock_140b_en_update.zip" wine "$WINEPREFIX/drive_c/Program Files/setup_eng.exe" /silent -${wine}server -w +wineserver -w wine "$WINEPREFIX/drive_c/Program Files/setup_eng_update_pack.exe" /silent add_launcher "c:\Program Files\Tiflocomp Games\Technoshock\ts.exe" diff --git a/.install/Ten Pin Alley.sh b/.install/Ten Pin Alley.sh index f61b46e..0268a4b 100644 --- a/.install/Ten Pin Alley.sh +++ b/.install/Ten Pin Alley.sh @@ -9,5 +9,5 @@ rm -fv "$WINEPREFIX/drive_c/windows/temp/TPAXPSetup.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 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Ten Pin Alley\tpa.exe" diff --git a/.install/Three D velocity.sh b/.install/Three D velocity.sh index 2842406..db76af5 100644 --- a/.install/Three D velocity.sh +++ b/.install/Three D velocity.sh @@ -5,6 +5,6 @@ download "https://github.com/munawarb/Three-D-Velocity-Binaries/archive/master.z install_wine_bottle sapi vcrun2008 gdiplus xact dotnet48 xna40 # Dotnet is evil. That is all. # LC_ALL=C winetricks -q dotnet48 -# ${wine}server -k # Ha ha ha. +# wineserver -k # Ha ha ha. install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/master.zip" add_launcher "c:\Program Files\Three-D-Velocity-Binaries-master\tdv.exe" diff --git a/.install/Troopanum2.sh b/.install/Troopanum2.sh index 262dce8..e010053 100644 --- a/.install/Troopanum2.sh +++ b/.install/Troopanum2.sh @@ -2,10 +2,10 @@ download "https://www.agarchive.net/games/bsc/Troopanum2Setup.exe" "https://www. install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. winetricks -q dotnet35sp1 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. wine "${cache}/Troopanum2Setup.exe" /silent & xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null -sleep 30 && ${wine}server -k # Sometimes the installer finishes but the ${wine}server has more processes that don't exit, so we can't depend on ${wine}server -w. +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/Troopanum 2.0/config.dat" @@ -18,7 +18,7 @@ if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then xdotool sleep 1 key Shift+Tab sleep 1 key Return # FIXME: Kind of hacky, but let's make sure it actually exitted. sleep 5 - ${wine}server -k + wineserver -k wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" & xdotool sleep 10 key Return sleep 2 type t xdotool sleep 1 type t @@ -28,13 +28,13 @@ if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then 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 - ${wine}server -k + wineserver -k wine "c:\Program Files\Troopanum 2.0\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 - ${wine}server -k + 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 diff --git a/.install/Tube Sim.sh b/.install/Tube Sim.sh index ad1221d..2d5fd88 100644 --- a/.install/Tube Sim.sh +++ b/.install/Tube Sim.sh @@ -3,5 +3,5 @@ download "http://www.ndadamson.com/downloads/TubeSim1_1_Install.exe" install_wine_bottle speechsdk wine "${cache}/TubeSim1_1_Install.exe" /silent & xdotool sleep 10 key --clearmodifiers Return sleep 1 key alt+n sleep 1 key alt+a sleep 1 key alt+i sleep 10 key alt+f 2> /dev/null -${wine}server -w +wineserver -w add_launcher "c:\Program Files\NASoft\TubeSim\tsMain.exe" diff --git a/.install/Ultimate SounDoku.sh b/.install/Ultimate SounDoku.sh index 17d2165..d6e0d49 100644 --- a/.install/Ultimate SounDoku.sh +++ b/.install/Ultimate SounDoku.sh @@ -8,5 +8,5 @@ rm -fv "$WINEPREFIX/drive_c/windows/temp/USSetup.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 -${wine}server -k # Damn you, dotnet. +wineserver -k # Damn you, dotnet. add_launcher "c:\Program Files\Draconis Entertainment\Ultimate Soundoku\soundoku.exe" diff --git a/.install/Wave of the Undead.sh b/.install/Wave of the Undead.sh index d31b696..7158e70 100644 --- a/.install/Wave of the Undead.sh +++ b/.install/Wave of the Undead.sh @@ -7,5 +7,5 @@ wine "${cache}/Wave-of-the-Undead-Setup.exe" & xdotool sleep 20 key Alt+n xdotool sleep 2 key space xdotool sleep 2 key Alt+f - ${wine}server -w + wineserver -w add_launcher "c:\Program Files (x86)\Wave Of The Undead\wave_of_the_undead.exe"