Initial attempt to get a working wine32. This should hopefully work for a while once correctly set up.

This commit is contained in:
Storm Dragon
2025-08-07 02:04:06 -04:00
parent adefd7aab4
commit 50bb078de2
3 changed files with 65 additions and 17 deletions

View File

@@ -1,20 +1,16 @@
# Source dialog interface wrapper
source "${0%/*}/../.includes/dialog-interface.sh"
# Uses standard wine path based on architecture (win32/win64)
export winVer="win7"
export WINEARCH="win32"
export winetricksSettings="vd=1024x768"
agm_yesno "Swamp Installation" "Swamp Installation" "If you do not have a full 32 bit gstreamer installation, the Swamp music can cause stuttering and crashes. Would you like to remove the music directory after installation?"
deleteMusic=$?
download "https://www.kaldobsky.com/audiogames/Swamp.zip"
install_wine_bottle dx8vb quartz corefonts vb6run sapi
install_wine_bottle dx8vb speechsdk quartz corefonts vb6run
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/swamp" "${cache}/Swamp.zip"
# make sure the latest version is installed.
if curl -L --output "${cache}/SwampPatch.zip" "https://www.kaldobsky.com/audiogames/SwampPatch.zip" ; then
install_with_progress unzip "Installing Swamp patch..." -d "$WINEPREFIX/drive_c/Program Files/swamp" "${cache}/SwampPatch.zip"
fi
$wine 'c:\Program Files\swamp\checkup.exe' /verysilent
#$wine cmd.exe /c 'cd /d c:\Program Files\swamp && Windows32bit.bat'
"$WINE" 'c:\Program Files\swamp\checkup.exe' /verysilent
#wine cmd.exe /c 'cd /d c:\Program Files\swamp && Windows64bit.bat'
# Delete music if requested.
if [[ $deleteMusic -eq 0 ]]; then
rm -frv "$WINEPREFIX/drive_c/Program Files/swamp/sounds/Music/"