Even more install script fixes. 😢

This commit is contained in:
Storm Dragon
2025-08-05 13:17:13 -04:00
parent a37bdfd32b
commit 9b17248222
32 changed files with 60 additions and 55 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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'

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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* .

View File

@@ -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:"

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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}"

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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."

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"