Starcraft
Informations
| Creator | Meddelanden | 
|---|---|
| Quentin PÂRIS   
 | WarningThis installer is a beta script. It means that it might not work as expected InformationsPlatforms:   Feedbacks1 1 DescriptionRTS Source code#!/bin/bash
# CHANGELOG
# [Quentin PÂRIS] (2010 ?)
#   Initial writting.
# [SuperPlumus] (2013-06-09 15-11)
#   gettext
#   clean code
#   fix $PLAYONLINUX variable check
#   fix POL_SetupWindow_browe -> POL_SetupWindow_browse (missing 's')
# [Dadu042] (2020-02-20 17:15)
#   Wine 1.7.46 (outdated) -> 3.0.3 (untested)
#   Add function to set a virtual desktop window.
#   Add POL_RequiredVersion "4.1.0" 
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Starcraft"
PREFIX="Starcraft"
WORKING_WINE_VERSION="3.0.3"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://www.blizzard.com" "Quentin PÂRIS" "$PREFIX"
POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]; then
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "setup.exe"
    SetupIs="$CDROM/setup.exe"
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SetupIs="$APP_ANSWER"
fi
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"
POL_Shortcut "Starcraft.exe" "$TITLE" "" "" "Game;"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Starcraft/"
POL_Download "http://files.playonlinux.com/ddraw.dll" "efe4aa40d8633213dbfd2c927c7c70b0"
#######################################
# Create a 'virtual desktop' (window) #
#######################################
   
# Workaround to fix the "No mouse nor keyboard on main menu":
   
POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1368x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
     
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"
   
Set_Desktop "On" "$WIDTH" "$HEIGHT"
POL_SetupWindow_Close
exit | 
Contributions
Filters:
Contribute| Member | Meddelanden | 
| Dadu042 | Monday 20 April 2020 at 20:04 | 
| Dadu042   
 | InformationThis update has been approved by the team. Differences@@ -1,24 +1,32 @@ #!/bin/bash # CHANGELOG +# [Quentin PÂRIS] (2010 ?) +# Initial writting. # [SuperPlumus] (2013-06-09 15-11) # gettext # clean code # fix $PLAYONLINUX variable check # fix POL_SetupWindow_browe -> POL_SetupWindow_browse (missing 's') - +# [Dadu042] (2020-02-20 17:15) +# Wine 1.7.46 (outdated) -> 3.0.3 (untested) +# Add function to set a virtual desktop window. +# Add POL_RequiredVersion "4.1.0" + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Starcraft" PREFIX="Starcraft" -WORKING_WINE_VERSION="1.7.46" +WORKING_WINE_VERSION="3.0.3" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://www.blizzard.com" "Quentin PÂRIS" "$PREFIX" +POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" + POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" @@ -39,10 +47,25 @@ POL_Wine "$SetupIs" POL_Wine_WaitExit "$TITLE" -POL_Shortcut "Starcraft.exe" "$TITLE" +POL_Shortcut "Starcraft.exe" "$TITLE" "" "" "Game;" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Starcraft/" POL_Download "http://files.playonlinux.com/ddraw.dll" "efe4aa40d8633213dbfd2c927c7c70b0" + +####################################### +# Create a 'virtual desktop' (window) # +####################################### + +# Workaround to fix the "No mouse nor keyboard on main menu": + +POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1368x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600" + +resolution="$APP_ANSWER" +WIDTH="$(echo $resolution | cut -d"x" -f1)" +HEIGHT="$(echo $resolution | cut -d"x" -f2)" + +Set_Desktop "On" "$WIDTH" "$HEIGHT" + POL_SetupWindow_Close exit \ No newline at end of file New source code#!/bin/bash
# CHANGELOG
# [Quentin PÂRIS] (2010 ?)
#   Initial writting.
# [SuperPlumus] (2013-06-09 15-11)
#   gettext
#   clean code
#   fix $PLAYONLINUX variable check
#   fix POL_SetupWindow_browe -> POL_SetupWindow_browse (missing 's')
# [Dadu042] (2020-02-20 17:15)
#   Wine 1.7.46 (outdated) -> 3.0.3 (untested)
#   Add function to set a virtual desktop window.
#   Add POL_RequiredVersion "4.1.0" 
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Starcraft"
PREFIX="Starcraft"
WORKING_WINE_VERSION="3.0.3"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://www.blizzard.com" "Quentin PÂRIS" "$PREFIX"
POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]; then
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "setup.exe"
    SetupIs="$CDROM/setup.exe"
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SetupIs="$APP_ANSWER"
fi
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"
POL_Shortcut "Starcraft.exe" "$TITLE" "" "" "Game;"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Starcraft/"
POL_Download "http://files.playonlinux.com/ddraw.dll" "efe4aa40d8633213dbfd2c927c7c70b0"
#######################################
# Create a 'virtual desktop' (window) #
#######################################
   
# Workaround to fix the "No mouse nor keyboard on main menu":
   
POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1368x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
     
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"
   
Set_Desktop "On" "$WIDTH" "$HEIGHT"
POL_SetupWindow_Close
exitSvar | 
| Quentin PÂRIS | Tuesday 7 July 2015 at 19:41 | 
| Quentin PÂRIS   
 | WarningThis update has not been approved yet by the team. MeddelandenMaybe it also needs some fixe to using a native version of ddraw. Differences@@ -12,7 +12,7 @@ TITLE="Starcraft" PREFIX="Starcraft" -WORKING_WINE_VERSION="1.4" +WORKING_WINE_VERSION="1.7.46" POL_SetupWindow_Init POL_Debug_Init New source code#!/bin/bash
# CHANGELOG
# [SuperPlumus] (2013-06-09 15-11)
#   gettext
#   clean code
#   fix $PLAYONLINUX variable check
#   fix POL_SetupWindow_browe -> POL_SetupWindow_browse (missing 's')
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Starcraft"
PREFIX="Starcraft"
WORKING_WINE_VERSION="1.7.46"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://www.blizzard.com" "Quentin PÂRIS" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]; then
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "setup.exe"
    SetupIs="$CDROM/setup.exe"
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SetupIs="$APP_ANSWER"
fi
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"
POL_Shortcut "Starcraft.exe" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Starcraft/"
POL_Download "http://files.playonlinux.com/ddraw.dll" "efe4aa40d8633213dbfd2c927c7c70b0"
POL_SetupWindow_Close
exitSvar | 
| Kadas | Monday 6 July 2015 at 4:18 | 
| Kadas   
 | MeddelandenHi. I tryed to run both Starcraft and Starcraft: Brood War, but it seems to be a X11 issue. When it asks to enter the RandR mode, it comes a black screen with the music in background. It seems to change the resolution, becouse the mouse cursor it becomes bigger... This are my specs:   Nome modello:    MacBook Pro Intel Iris 1536 MB Hope you can help me and improve the emulation. Svar | 
| ralstonra | Monday 16 February 2015 at 20:28 | 
| ralstonra   
 | MeddelandenI've tried multiple times to install StarCraft and each time it ends with cinnamon desktop failure and entry into fallback mode. I attempted to debug but a playonlinux message pops up while debugging and says "Playonlinux has encountered an error. Error in main. StarCraft crashed." Here is what the debugging software shows: [02/16/15 11:26:15] - Running wine-1.4 StarCraft.exe (Working directory : /home/ralstonra/.PlayOnLinux/wineprefix/Starcraft/drive_c/Program Files/Starcraft) Does anyone know how to fix it? SvarMonday 16 February 2015 at 20:34                                                                                     | 
| temba | Friday 28 November 2014 at 21:58 | 
| temba   
 | MeddelandenLinuxMint 17 XFCE on i5 2.5Ghz/Intel 4600HD/8Gb Probook 640 Installed with SC Combo Installer file from Battlenet. I let POL do all the work and...everything worked :) Only tested the first mission, no issues. Will update if/when I get a chance to play more. SC2 is going to be installed now so that will take more of my time. Svar | 
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
 Install this program
 Install this program                        