Organize files into categories. Likely still a bit of cleanup left to do.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
download "http://oriolgomez.com/games/wheel_en.zip"
|
||||
# Uses standard wine path based on architecture (win32/win64)
|
||||
export winVer="win7"
|
||||
install_wine_bottle
|
||||
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/danger on the wheel" "${cache}/wheel_en.zip"
|
||||
add_launcher "c:\Program Files\danger on the wheel\game.exe"
|
||||
@@ -0,0 +1,7 @@
|
||||
export winVer="win7"
|
||||
export winetricksSettings="vd=1024x768"
|
||||
download "https://kaldobsky.com/audiogames/Daytona.zip"
|
||||
install_wine_bottle vb6run dx8vb quartz
|
||||
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/daytona" "${cache}/Daytona.zip"
|
||||
wine 'c:\Program Files\daytona\checkup.exe' /verysilent
|
||||
add_launcher "c:\Program Files\daytona\Daytona.exe"
|
||||
@@ -0,0 +1,10 @@
|
||||
export winVer="win10"
|
||||
export WINEARCH=win64
|
||||
export norh=false # Must install a voice, and rhvoice works easily with 64 bit.
|
||||
download "https://github.com/munawarb/Three-D-Velocity-Binaries/archive/master.zip"
|
||||
install_wine_bottle sapi vcrun2008 gdiplus xact dotnet48 xna40
|
||||
# Dotnet is evil. That is all.
|
||||
# LC_ALL=C winetricks -q dotnet48
|
||||
# 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"
|
||||
@@ -0,0 +1,4 @@
|
||||
download "http://users.pandora.be/playinginthedark/downloads/Tspeed_2.00.exe"
|
||||
install_wine_bottle
|
||||
wine "${cache}/Tspeed_2.00.exe" /silent
|
||||
add_launcher "c:\Program Files (x86)\Playing in the dark\Top Speed 2\TopSpeed.exe"
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
# shellcheck disable=SC2154 # set by linux-game-manager.sh
|
||||
check_architecture x86_64
|
||||
|
||||
releaseMetadataFile="TopSpeed-release-build.json"
|
||||
releaseMetadataPath="${cache}/${releaseMetadataFile}"
|
||||
releaseMetadataUrl="https://api.github.com/repos/diamondStar35/top_speed/releases/tags/release-build"
|
||||
assetPattern='^TopSpeed-linux-x64-Release-v-.*\.zip$'
|
||||
|
||||
rm -f "${releaseMetadataPath}"
|
||||
download_named "${releaseMetadataFile}" "${releaseMetadataUrl}"
|
||||
|
||||
assetName="$(jq -r --arg assetPattern "${assetPattern}" '.assets[] | select(.name | test($assetPattern)) | .name' "${releaseMetadataPath}" | head -n 1)"
|
||||
assetUrl="$(jq -r --arg assetPattern "${assetPattern}" '.assets[] | select(.name | test($assetPattern)) | .browser_download_url' "${releaseMetadataPath}" | head -n 1)"
|
||||
|
||||
if [[ -z "${assetName}" ]] || [[ -z "${assetUrl}" ]] || [[ "${assetName}" == "null" ]] || [[ "${assetUrl}" == "null" ]]; then
|
||||
ui_msgbox "Linux Game Manager" "Linux Game Manager" "Unable to find the latest Top Speed Linux download in the GitHub release metadata."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
download_named "${assetName}" "${assetUrl}"
|
||||
mkdir -p "${installPath}/TopSpeed"
|
||||
unzip -o -d "${installPath}/TopSpeed" "${cache}/${assetName}"
|
||||
chmod +x "${installPath}/TopSpeed/TopSpeed"
|
||||
@@ -0,0 +1,7 @@
|
||||
export winVer="win7"
|
||||
download "http://www.ndadamson.com/downloads/TubeSim1_1_Install.exe"
|
||||
install_wine_bottle
|
||||
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
|
||||
wineserver -w
|
||||
add_launcher "c:\Program Files (x86)\NASoft\TubeSim\tsMain.exe"
|
||||
@@ -0,0 +1,6 @@
|
||||
# shellcheck shell=bash disable=SC2154 # installPath and cache are set by linux-game-manager.sh
|
||||
check_architecture x86_64
|
||||
get_installer "Wp v3.0 linux.zip" "https://psyra-productions.itch.io/wheels-of-prio"
|
||||
unzip -d "${installPath}/Wheels of Prio" "${cache}/Wp v3.0 linux.zip"
|
||||
chmod +x "${installPath}/Wheels of Prio/Wp"
|
||||
alert "Game Installer" "Game Installer" "Note: When the game first starts it will be playing very loud music with the built in suboptimal voice.\n\nYou are recommended to press page down several times to turn down the music, then go to settings and enable speech with screen reader, using speech dispatcher.\n\nYou may then press page up to set the music to your liking."
|
||||
Reference in New Issue
Block a user