I forgot to push changes, and it's been a while. I'm pretty sure this is game fixes.
This commit is contained in:
@@ -1,9 +1,41 @@
|
||||
download "https://blindgamers.com/downloads/a-heros-call-freeware.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
||||
export winVer="win7"
|
||||
export winetricksSettings="vd=1024x768"
|
||||
install_wine_bottle
|
||||
# Dotnet is evil. That is all.
|
||||
LC_ALL=C DISPLAY="" winetricks -q dotnet462 xna40
|
||||
wineserver -k # Really!
|
||||
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call-freeware.zip"
|
||||
add_launcher "c:\Program Files\a-heros-call\A Hero's Call.exe"
|
||||
# shellcheck shell=bash disable=SC2154 # cache, game, and helper functions are set by audiogame-manager.
|
||||
|
||||
export game="A Hero's Call"
|
||||
herosCallGameId="a-heros-call"
|
||||
herosCallPath="c:\\Program Files\\a-heros-call\\A Hero's Call.exe"
|
||||
|
||||
download "https://blindgamers.com/downloads/a-heros-call-freeware.zip" \
|
||||
"https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
||||
|
||||
export PROTON_USE_XALIA=0
|
||||
install_proton_bottle "$herosCallGameId"
|
||||
|
||||
alert "A Hero's Call" "A Hero's Call" "If you hear a window open during installation, or if the installer seems to be taking a long time, try pressing enter to see if it will continue."
|
||||
|
||||
{
|
||||
echo "# Installing A Hero's Call dependencies..."
|
||||
WINETRICKS_FORCE=1 install_proton_winetricks_verb speechsdk
|
||||
install_proton_winetricks_verb corefonts
|
||||
install_proton_winetricks_verb dotnet462
|
||||
install_proton_winetricks_verb xna40
|
||||
install_proton_winetricks_verb win7
|
||||
|
||||
echo "# Extracting game files..."
|
||||
mkdir -p "${WINEPREFIX}/drive_c/Program Files"
|
||||
unzip -oq "${cache}/a-heros-call-freeware.zip" -d "${WINEPREFIX}/drive_c/Program Files"
|
||||
echo "# Installation complete"
|
||||
} | agm_progressbox "Installing Game" "Installing A Hero's Call with UMU/Proton (this may take several minutes)..."
|
||||
|
||||
stop_umu_bottle
|
||||
|
||||
herosCallInstallDir="${WINEPREFIX}/drive_c/Program Files/a-heros-call"
|
||||
if [[ ! -f "${herosCallInstallDir}/A Hero's Call.exe" ]]; then
|
||||
agm_msgbox "A Hero's Call" "A Hero's Call" "A Hero's Call did not install to the expected location."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cp "${cache}/nvdaControllerClient32.dll" "${herosCallInstallDir}/nvdaControllerClient32.dll"
|
||||
mkdir -p "${herosCallInstallDir}/lib/Tolk"
|
||||
cp "${cache}/nvdaControllerClient32.dll" "${herosCallInstallDir}/lib/Tolk/nvdaControllerClient32.dll"
|
||||
|
||||
add_umu_launcher "$herosCallGameId" "$herosCallPath" "export PROTON_USE_XALIA=0"
|
||||
|
||||
+92
-26
@@ -1,28 +1,94 @@
|
||||
#// Borken, candidate for removal
|
||||
export WINEARCH="win64" # Migrated to wine64 with WINETRICKS_FORCE=1 - complex .NET dependencies, test carefully
|
||||
download "http://blind-games.com/newentombed/EntombedSetup.exe" "https://download.microsoft.com/download/E/C/1/EC1B2340-67A0-4B87-85F0-74D987A27160/SSCERuntime-ENU.exe" "https://stormgames.wolfe.casa/downloads/Entombed.exe.config" "https://stormgames.wolfe.casa/downloads/mfplat.dll"
|
||||
export winVer="win7"
|
||||
install_wine_bottle sapi msvcrt40 gdiplus ie7 wmp11 mf
|
||||
# Ok, more dotnet.
|
||||
LC_ALL=C DISPLAY="" winetricks -q dotnet40 xna40
|
||||
wineserver -k # Sigh.
|
||||
mkdir -p "${WINEPREFIX}/drive_c/temp"
|
||||
pushd "${WINEPREFIX}/drive_c/temp"
|
||||
install_with_progress 7z "Extracting game files..." x "${cache}/SSCERuntime-ENU.exe"
|
||||
wine msiexec /i "${WINEPREFIX}/drive_c/temp/SSCERuntime_x86-ENU.msi" /q
|
||||
rm *
|
||||
popd
|
||||
pushd "${WINEPREFIX}/drive_c/Program Files/Microsoft SQL Server Compact Edition/v3.5"
|
||||
wine regsvr32 sqlceoledb35.dll
|
||||
wine regsvr32 sqlceca35.dll
|
||||
popd
|
||||
wine "${cache}/EntombedSetup.exe" /silent
|
||||
pushd "${WINEPREFIX}/drive_c/Program Files/Entombed"
|
||||
cp ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/Private/System.Data.SqlServerCe.Entity.dll ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/Private/System.Data.SqlServerCe.dll .
|
||||
cp ../Microsoft\ SQL\ Server\ Compact\ Edition/v3.5/sql* .
|
||||
cp "${cache}/Entombed.exe.config" .
|
||||
popd
|
||||
if [ ! -f "${WINEPREFIX}/drive_c/windows/system32/mfplat.dll" ] ; then
|
||||
# shellcheck shell=bash disable=SC2154 # cache, game, and helper functions are set by audiogame-manager.
|
||||
|
||||
export game="Entombed"
|
||||
entombedGameId="entombed"
|
||||
entombedPath='c:\Program Files (x86)\Entombed\Entombed.exe'
|
||||
|
||||
download "http://blind-games.com/newentombed/EntombedSetup.exe" \
|
||||
"https://download.microsoft.com/download/E/C/1/EC1B2340-67A0-4B87-85F0-74D987A27160/SSCERuntime-ENU.exe" \
|
||||
"https://stormgames.wolfe.casa/downloads/Entombed.exe.config" \
|
||||
"https://stormgames.wolfe.casa/downloads/mfplat.dll"
|
||||
|
||||
export PROTON_USE_XALIA=0
|
||||
install_proton_bottle "$entombedGameId"
|
||||
|
||||
entombedProfileSid="$(sed -n 's/^;; All keys relative to REGISTRY\\\\User\\\\//p' "${WINEPREFIX}/user.reg" | head -n 1)"
|
||||
if [[ -n "$entombedProfileSid" ]]; then
|
||||
umu-run reg add "HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList\\${entombedProfileSid}" /v ProfileImagePath /t REG_SZ /d "C:\\users\\steamuser" /f
|
||||
fi
|
||||
|
||||
mkdir -p \
|
||||
"${WINEPREFIX}/drive_c/users/steamuser/AppData/Local/IsolatedStorage" \
|
||||
"${WINEPREFIX}/drive_c/users/steamuser/AppData/Roaming/IsolatedStorage"
|
||||
|
||||
alert "Entombed" "Entombed" "If you hear a window open during installation, or if the installer seems to be taking a long time, try pressing enter to see if it will continue."
|
||||
|
||||
{
|
||||
echo "# Installing Entombed dependencies..."
|
||||
WINETRICKS_FORCE=1 install_proton_winetricks_verb speechsdk
|
||||
install_proton_winetricks_verb msvcrt40
|
||||
install_proton_winetricks_verb gdiplus
|
||||
install_proton_winetricks_verb wmp11
|
||||
install_proton_winetricks_verb mf
|
||||
install_proton_winetricks_verb dotnet40
|
||||
install_proton_winetricks_verb xna40
|
||||
install_proton_winetricks_verb win7
|
||||
|
||||
echo "# Extracting SQL Server Compact runtime..."
|
||||
entombedTempDir="${WINEPREFIX}/drive_c/temp"
|
||||
mkdir -p "$entombedTempDir"
|
||||
7z x -y "-o${entombedTempDir}" "${cache}/SSCERuntime-ENU.exe"
|
||||
|
||||
echo "# Installing SQL Server Compact runtime..."
|
||||
umu-run msiexec /i "c:\\temp\\SSCERuntime_x86-ENU.msi" /q
|
||||
umu-run regsvr32 "c:\\Program Files\\Microsoft SQL Server Compact Edition\\v3.5\\sqlceoledb35.dll"
|
||||
umu-run regsvr32 "c:\\Program Files\\Microsoft SQL Server Compact Edition\\v3.5\\sqlceca35.dll"
|
||||
|
||||
echo "# Installing Entombed..."
|
||||
umu-run "${cache}/EntombedSetup.exe" /silent
|
||||
find "$entombedTempDir" -mindepth 1 -maxdepth 1 -exec rm -rf "{}" +
|
||||
echo "# Installation complete"
|
||||
} | agm_progressbox "Installing Game" "Installing Entombed with UMU/Proton (this may take several minutes)..."
|
||||
|
||||
stop_umu_bottle
|
||||
|
||||
entombedInstallDir=""
|
||||
for entombedCandidateDir in \
|
||||
"${WINEPREFIX}/drive_c/Program Files (x86)/Entombed" \
|
||||
"${WINEPREFIX}/drive_c/Program Files/Entombed"; do
|
||||
if [[ -f "${entombedCandidateDir}/Entombed.exe" ]]; then
|
||||
entombedInstallDir="$entombedCandidateDir"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -z "$entombedInstallDir" ]]; then
|
||||
agm_msgbox "Entombed" "Entombed" "Entombed did not install to the expected location."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
entombedSqlDir=""
|
||||
for entombedCandidateSqlDir in \
|
||||
"${WINEPREFIX}/drive_c/Program Files (x86)/Microsoft SQL Server Compact Edition/v3.5" \
|
||||
"${WINEPREFIX}/drive_c/Program Files/Microsoft SQL Server Compact Edition/v3.5"; do
|
||||
if [[ -d "$entombedCandidateSqlDir" ]]; then
|
||||
entombedSqlDir="$entombedCandidateSqlDir"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -z "$entombedSqlDir" ]]; then
|
||||
agm_msgbox "Entombed" "Entombed" "SQL Server Compact v3.5 did not install to the expected location."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cp "${entombedSqlDir}/Private/System.Data.SqlServerCe.Entity.dll" "$entombedInstallDir/"
|
||||
cp "${entombedSqlDir}/Private/System.Data.SqlServerCe.dll" "$entombedInstallDir/"
|
||||
cp "${entombedSqlDir}"/sql* "$entombedInstallDir/"
|
||||
cp "${cache}/Entombed.exe.config" "${entombedInstallDir}/Entombed.exe.config"
|
||||
|
||||
if [[ ! -f "${WINEPREFIX}/drive_c/windows/system32/mfplat.dll" ]]; then
|
||||
cp "${cache}/mfplat.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
fi
|
||||
add_launcher "c:\Program Files (x86)\Entombed\Entombed.exe"
|
||||
|
||||
add_umu_launcher "$entombedGameId" "$entombedPath" "export PROTON_USE_XALIA=0"
|
||||
|
||||
Reference in New Issue
Block a user