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" "Judgement Day"
"Kitchensinc Games" "Kitchensinc Games"
"Kringle Crash" "Kringle Crash"
"Light Battles"
"Light Cars" "Light Cars"
"Lockpick" "Lockpick"
"Lone Wolf" "Lone Wolf"
@ -850,15 +851,20 @@ EOF
tar xf "${cache}/kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/" tar xf "${cache}/kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/"
add_launcher "c:\Program Files\Kitchen's Sink\gamemenu.exe" 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") "Light Cars")
install_wine_bottle dx8vb vb6run install_wine_bottle dx8vb vb6run
download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe" download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe"
if [[ -n "$manualInstall" ]]; then wine "${cache}/light cars setup.exe" &
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
else wineserver -w
wine "${cache}/light cars setup.exe" &
automate_installer alt+n alt+a space alt+n alt+n alt+i alt+f
fi
echo -e "${USER} ${HOST}\nna@na.na\nUS" > ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat 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 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" add_launcher "c:\Program Files\Lighttech Interactive\Light Cars\lightCars.exe"