Add dark destroyer, not working yet though

This commit is contained in:
Michael Taboada 2022-10-15 10:30:53 -07:00
parent 895541f802
commit 946d7522c4

View File

@ -381,6 +381,9 @@ get_bottle() {
"run-for-your-life"*) ;& "run-for-your-life"*) ;&
"thief"*) ;& "thief"*) ;&
"villains-from-beyond"*) export WINEPREFIX="${HOME}/.local/wine/oriol-gomez";; "villains-from-beyond"*) export WINEPREFIX="${HOME}/.local/wine/oriol-gomez";;
# pbgames group
"dark-destroyer"*) ;&
"PBGames TMP") export WINEPREFIX="$HOME/.local/wine/pbgames" ;;
# tunmi13 games group # tunmi13 games group
"battle-of-the-hunter"*) ;& "battle-of-the-hunter"*) ;&
"challenge-of-the-horse"*) export WINEPREFIX="${HOME}/.local/wine/tunmi13";; "challenge-of-the-horse"*) export WINEPREFIX="${HOME}/.local/wine/tunmi13";;
@ -988,6 +991,7 @@ gameList=(
"Crazy Tennis" "Crazy Tennis"
"Crime Hunter" "Crime Hunter"
"Danger on the Wheel" "Danger on the Wheel"
#"Dark Destroyer"
"Daytona and the Book of Gold" "Daytona and the Book of Gold"
"Death on the Road" "Death on the Road"
"Deathmatch" "Deathmatch"
@ -1009,7 +1013,7 @@ gameList=(
"GMA Tank Commander" "GMA Tank Commander"
"Grizzly Gulch" "Grizzly Gulch"
"Hammer of Glory" "Hammer of Glory"
#"Hearthstone" "Hearthstone"
"Hunter" "Hunter"
"Insect Therapy" "Insect Therapy"
"Interceptor" "Interceptor"
@ -1025,6 +1029,7 @@ gameList=(
"Manamon" "Manamon"
"Manamon 2" "Manamon 2"
#"Marina Break" #"Marina Break"
"Minecraft"
"Monkey Business" "Monkey Business"
"MudSplat French" "MudSplat French"
"MudSplat English" "MudSplat English"
@ -1788,6 +1793,13 @@ case "${game}" in
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
add_launcher "c:\Program Files\danger on the wheel\game.exe" add_launcher "c:\Program Files\danger on the wheel\game.exe"
;; ;;
"Dark Destroyer")
export bottle=pbgames
install_wine_bottle speechsdk ie6
download "https://www.agarchive.net/games/pb/Dark-Destroyer-Setup.exe"
wine "$cache/Dark-Destroyer-Setup.exe" /silent
add_launcher 'c:\Pbgames\Dark_destroyer\darkdestroyer.exe'
;;
"Daytona and the Book of Gold") "Daytona and the Book of Gold")
export bottle="aprone" export bottle="aprone"
export winVer="win7" export winVer="win7"
@ -2004,7 +2016,7 @@ case "${game}" in
export winVer="win10" export winVer="win10"
install_wine_bottle ie8 vcrun2015 speechsdk install_wine_bottle ie8 vcrun2015 speechsdk
# This download url breaks the download function, so grab it manually. # This download url breaks the download function, so grab it manually.
wget -O "${cache}/Hearthstone.exe" "https://www.battle.net/download/getInstallerForGame?os=win&gameProgram=HEARTHSTONE&version=Live" wget -O "${cache}/Hearthstone.exe" "https://us.battle.net/download/getInstaller?os=win&installer=Hearthstone-Setup.exe"
wget -O "${cache}/Hearthstone_patch.zip" "https://github.com/HearthstoneAccess/HearthstoneAccess/releases/latest/download/patch.zip" wget -O "${cache}/Hearthstone_patch.zip" "https://github.com/HearthstoneAccess/HearthstoneAccess/releases/latest/download/patch.zip"
wine "${cache}/Hearthstone.exe" /silent wine "${cache}/Hearthstone.exe" /silent
unzip -o "${cache}/Hearthstone_patch.zip" -d "${WINEPREFIX}/drive_c/Program Files/Hearthstone" unzip -o "${cache}/Hearthstone_patch.zip" -d "${WINEPREFIX}/drive_c/Program Files/Hearthstone"
@ -2182,6 +2194,26 @@ EOF
wineserver -w wineserver -w
find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec cp -v "$cache/nvda2speechd32.dll" "{}" \; find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec cp -v "$cache/nvda2speechd32.dll" "{}" \;
add_launcher "c:\nyanchangame\MarinaBreak\marinabreak.exe" add_launcher "c:\nyanchangame\MarinaBreak\marinabreak.exe"
;;
"Minecraft")
export WINEARCH=win64
export winVer="win7"
install_wine_bottle
get_installer "accessibility-plus-extended-1.18-curseforge-v1.9.0.jar" "https://www.curseforge.com/minecraft/mc-mods/accessibility-plus-extended/download"
get_installer "Mambience-5.2.0+1.19.jar" "https://www.curseforge.com/minecraft/mc-mods/mambience/download"
get_installer "easy-life-1.18-v1.5.1.jar" "https://www.curseforge.com/minecraft/mc-mods/easy-life/download"
get_installer "numpad-camera-controls-1.18-v1.5.1.jar" "https://www.curseforge.com/minecraft/mc-mods/numpad-keypad-camera-controls/download"
download "https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe"
wine "$cache/python-3.7.9-amd64.exe" /silent
wine 'c:\windows\py.exe' -m pip install portablemc portablemc-fabric
# Now just need to install latest fabric, portablemc start --dry fabric
wine 'c:\users\'"$USER"'\AppData\Local\Programs\Python\Python37\Scripts\portablemc.exe' start --dry fabric:
# Also need to copy all mods into right place.
mkdir "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/.minecraft/mods"
for x in "accessibility-plus-extended-1.18-curseforge-v1.9.0.jar" "Mambience-5.2.0+1.19.jar" "easy-life-1.18-v1.5.1.jar" "numpad-camera-controls-1.18-v1.5.1.jar" ; do
cp "$cache/$x" "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/.minecraft/mods"
done
# And of course, add the launcher.
;; ;;
"Monkey Business") "Monkey Business")
export winVer="win7" export winVer="win7"