29 lines
1.4 KiB
Bash
29 lines
1.4 KiB
Bash
|
export version="6.18"
|
||
|
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"
|
||
|
install_wine "$version" "32"
|
||
|
export winVer="win7"
|
||
|
install_wine_bottle speechsdk msvcrt40 gdiplus ie7 wmp11 mf
|
||
|
# Ok, more dotnet.
|
||
|
LC_ALL=C DISPLAY="" winetricks -q dotnet40 xna40
|
||
|
${wine}server -k # Sigh.
|
||
|
mkdir -p "${WINEPREFIX}/drive_c/temp"
|
||
|
pushd "${WINEPREFIX}/drive_c/temp"
|
||
|
7z 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
|
||
|
cp "${cache}/mfplat.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||
|
fi
|
||
|
add_launcher "c:\Program Files\Entombed\Entombed.exe"
|