The forum

[Script] Starcraft Broodwar patch 1.18

Author Replies
palas Thursday 25 May 2017 at 3:23
palasAnonymous

Description:

StarCraft (together with its expansion BroodWar) is a military, science fiction, multiplayer, strategy game from 1998 on which players can choose between three different species: the human-like Terrans, the insectoid Zerg, the powerfully enigmatic Protoss.

In April 2017, StarCraft and BroodWar received a path and were released for free to both PC and MAC. This script aids on the download and installation of this patch (and hopefully the following patches) for Linux under the platform PlayOnLinux.

Notes:

I have tested it with "2.8-staging" in Debian jessie and worked seamlessly. I tried changing it to "2.8" after installation and stopped working (it may work with a fresh 2.8 installation, haven't tried). The script allows you to choose between downloading blizzard's installer or to choose a downloaded one (the installer does the actual donwload of the game), and the script adds shortcuts for the game and the map editor at the end. It does require wget, but it is used through the playonlinux wrapper, the normal download method does not seem to work.

Script:

#!/bin/bash
# Date : 2012-05-25
# Wine version used : 2.8-staging
# Distribution used to test : Debian GNU/Linux 8.8 (jessie)
# Author : palas
# Only For : http://www.playonmac.com
[ "$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

Install resources:

  • starcraft-22x22.png

[starcraft-22x22.png]

  • starcraft-48x48.png

[starcraft-48x48.png]

  • top.png

[top.png]

  • left.png

[left.png]

 

Screenshots:

  • screenshot-1.png

[screenshot-1.png]

  • screenshot-2.png

[screenshot-2.png]

  • screenshot-3.png

[screenshot-3.png]

 

cornfeedhobo Saturday 5 September 2020 at 1:10
cornfeedhoboAnonymous

This doesn't work anymore. Installs, but no network

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com