From a2a3972f12b9326a018c7d364c48814852f8e658 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 26 Nov 2026 15:24:29 -0500 Subject: [PATCH] Accidently added a file that wasn't ready. Removed now. --- .install/Knights of the Old Republic.sh | 44 ------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .install/Knights of the Old Republic.sh diff --git a/.install/Knights of the Old Republic.sh b/.install/Knights of the Old Republic.sh deleted file mode 100644 index e8e2e1f..0000000 --- a/.install/Knights of the Old Republic.sh +++ /dev/null @@ -1,44 +0,0 @@ -# shellcheck shell=bash disable=SC2154 # AGM supplies cache and game. -export WINEARCH=win64 -export winVer="win10" - -install_wine_bottle -kotorGameDir="${WINEPREFIX}/drive_c/Program Files/${game}" -if [[ ! -f "${kotorGameDir}/swkotor.exe" ]]; then - get_steam "32370" "https://store.steampowered.com/app/32370/STAR_WARS_Knights_of_the_Old_Republic/" -fi -if [[ ! -f "${kotorGameDir}/swkotor.exe" ]]; then - alert "$game" "The Windows game executable was not found at ${kotorGameDir}/swkotor.exe. Install your own Steam or GOG game files there, then try again." - exit 1 -fi - -kotorModVersion="v0.9.1" -kotorModHash="7cfe338c61571535ef0007d486883779c61cd4aac69ec782dbf8af77ae10c714" -kotorModUrl="https://github.com/JeanStiletto/voice-of-the-old-republic/releases/download/${kotorModVersion}/VoiceOfTheOldRepublicInstaller.exe" -if ! download "$kotorModUrl"; then - exit 1 -fi -kotorModFile="${cache}/VoiceOfTheOldRepublicInstaller.exe" -kotorDownloadedHash="$(sha256sum "$kotorModFile")" || exit 1 -if [[ "${kotorDownloadedHash%% *}" != "$kotorModHash" ]]; then - alert "$game" "The accessibility mod installer failed its published SHA-256 check. Remove the cached installer and try again." - exit 1 -fi - -if ! kotorWindowsDir="$(winepath -w "$kotorGameDir")"; then - alert "$game" "Could not convert the game folder to a Windows path." - exit 1 -fi -alert "$game" "The Voice of the Old Republic installer will open. Choose KOTOR 1 and complete its installation. Do not launch the game from the installer's final screen; use Audiogame Manager after it closes. This upstream installer targets Windows, so its Wine behavior is still being tested." -if ! wine "$kotorModFile" --game k1 "$kotorWindowsDir"; then - alert "$game" "The accessibility mod installer failed. Check its log before trying again." - exit 1 -fi -if [[ ! -f "${kotorGameDir}/patches/accessibility.dll" || - ! -f "${kotorGameDir}/patches/prism.dll" || - ! -f "${kotorGameDir}/dinput8.dll" ]]; then - alert "$game" "The accessibility patch files were not installed. Audiogame Manager did not add a launcher." - exit 1 -fi - -add_launcher 'c:\Program Files\Knights of the Old Republic\swkotor.exe' 'export WINEDLLOVERRIDES=dinput8=n,b'