You are here    Supported software    Starcraft Patch 1.18 nl sv ru pl es de fr

Starcraft Patch 1.18

Informations

Creator Message
palas Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

With the new version of Wine 2.8, it seems that the free version of Starcraft - Broodwar (1.18) works seamlessly without much effort. I have written a script. Could you test if it works for you?

 

Source code

				

Contributions

Filters:

Contribute
Member Message
palas Thursday 18 May 2017 at 2:36
palas Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,46 @@
+#!/bin/bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+POL_SetupWindow_Init
+
+POL_SetupWindow_message "This script will help you download and install StarCraft." "Installing StarCraft"
+
+POL_Wine_SelectPrefix "Starcraft"
+
+POL_Wine_PrefixCreate "2.8-staging"
+
+POL_System_TmpCreate "StarcraftInstallation"
+	
+cd "$POL_System_TmpDir"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
+
+    POL_SetupWindow_wait "Please wait. Downloading installer..." "Installing StarCraft"
+    POL_System_wget "https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=STARCRAFT"
+    mv "getInstallerForGame?os=win&version=LIVE&gameProgram=STARCRAFT" "setup.exe"
+    POL_SetupWindow_wait_next_signal "Please wait. Installing..." "Installing StarCraft"
+    wine "$POL_System_TmpDir/setup.exe"
+    POL_SetupWindow_detect_exit
+
+else
+
+    POL_SetupWindow_browse "Please select the installation file to run." "Installing StarCraft"
+    POL_SetupWindow_wait_next_signal "Please wait. Installing..." "Installing StarCraft"
+    wine "$APP_ANSWER"
+    POL_SetupWindow_detect_exit
+
+fi
+
+POL_SetupWindow_message "Please, click next when the installation process has finshed." "Installing StarCraft"
+
+POL_System_TmpDelete
+
+POL_Shortcut "StarCraft.exe" "Starcraft - BroodWar"
+POL_Shortcut "StarEdit.exe" "Starcraft Map Editor"
+
+POL_SetupWindow_Close
+
+exit

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init

POL_SetupWindow_message "This script will help you download and install StarCraft." "Installing StarCraft"

POL_Wine_SelectPrefix "Starcraft"

POL_Wine_PrefixCreate "2.8-staging"

POL_System_TmpCreate "StarcraftInstallation"
        
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then

    POL_SetupWindow_wait "Please wait. Downloading installer..." "Installing StarCraft"
    POL_System_wget "https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=STARCRAFT"
    mv "getInstallerForGame?os=win&version=LIVE&gameProgram=STARCRAFT" "setup.exe"
    POL_SetupWindow_wait_next_signal "Please wait. Installing..." "Installing StarCraft"
    wine "$POL_System_TmpDir/setup.exe"
    POL_SetupWindow_detect_exit

else

    POL_SetupWindow_browse "Please select the installation file to run." "Installing StarCraft"
    POL_SetupWindow_wait_next_signal "Please wait. Installing..." "Installing StarCraft"
    wine "$APP_ANSWER"
    POL_SetupWindow_detect_exit

fi

POL_SetupWindow_message "Please, click next when the installation process has finshed." "Installing StarCraft"

POL_System_TmpDelete

POL_Shortcut "StarCraft.exe" "Starcraft - BroodWar"
POL_Shortcut "StarEdit.exe" "Starcraft Map Editor"

POL_SetupWindow_Close

exit

Replies

Anonymous
Thursday 18 May 2017 at 2:38 -
I posted the source code as a separate message because I couldn't find the way to edit my message. If a moderator sees this, feel free to merge both messages.