Working on lght cars and light battles.

This commit is contained in:
Storm Dragon 2020-12-31 09:53:13 -05:00
parent e4411ce1cd
commit d348a879e5

View File

@ -536,6 +536,7 @@ gameList=(
"Judgement Day"
"Kitchensinc Games"
"Kringle Crash"
"Light Battles"
"Light Cars"
"Lockpick"
"Lone Wolf"
@ -850,15 +851,20 @@ EOF
tar xf "${cache}/kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/"
add_launcher "c:\Program Files\Kitchen's Sink\gamemenu.exe"
;;
"Light Battles")
export winVer="win7"
install_wine_bottle speechsdk
download "https://prometheus-enterprises.com/games/CoL.exe"
7z e -o"$WINEPREFIX/drive_c/Program Files/Light Battles" "${cache}/CoL.exe"
rm -fv "${WINEPREFIX}/drive_c/Program Files/Light Battles/nvdaControllerClient.dll"
add_launcher "c:\Program Files\Light Battles\battles.exe"
;;
"Light Cars")
install_wine_bottle dx8vb vb6run
download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe"
if [[ -n "$manualInstall" ]]; then
wine "${cache}/light cars setup.exe"
else
wine "${cache}/light cars setup.exe" &
automate_installer alt+n alt+a space alt+n alt+n alt+i alt+f
fi
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 alt+f
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"