Starcraft : BroodWar
Informations
Créateur | Messages |
---|---|
Quentin PÂRIS
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience1 1 Code source#!/bin/bash # CHANGELOG # [Martenk] (2017-12-26 20-23) # Adding download free version from battle.net # Changing name from Starcraft to StarCraft # [SuperPlumus] (2013-06-09 15-26) # gettext + clean # Fix POL_SetupWindow_browe -> POL_SetupWindow_browse (missing 's') [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="StarCraft : BroodWar" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://www.blizzard.com" "Zoloom" "StarCraft" POL_Wine_SelectPrefix "StarCraft" POL_Wine_PrefixCreate "2.21-staging" POL_Wine_InstallFonts Set_OS "win7" POL_System_TmpCreate "StarCraft" POL_SetupWindow_InstallMethod "CD,LOCAL,DOWNLOAD" if [ "$INSTALL_METHOD" = "LOCAL" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SetupIs="$APP_ANSWER" fi if [ "$INSTALL_METHOD" = "CD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "setup.exe" SetupIs="$CDROM/setup.exe" fi if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then cd "$POL_System_TmpDir" POL_Download "https://battle.net/download/getInstallerForGame?os=WIN&version=LIVE&gameProgram=STARCRAFT" mv getInstallerForGame\?os=WIN\&version=LIVE\&gameProgram=STARCRAFT StarCraft-Setup.exe SetupIs="$POL_System_TmpDir/StarCraft-Setup.exe" fi POL_Wine_WaitBefore "$TITLE" POL_Wine "$SetupIs" POL_System_TmpDelete if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then POL_Shortcut "Battle.net\ Launcher.exe" "$TITLE" else POL_Shortcut "StarCraft.exe" "$TITLE" fi POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
martenk | Mercredi 27 Décembre 2017 à 23:58 |
martenk
|
InformationCette mise à jour a été acceptée par l'équipe MessagesHere's a change that enables you to install the free version from battle.net. If you are running ubuntu you will need to install ttf-mscorefonts-installer to get battle.net launcher to work properly. Differences@@ -1,6 +1,9 @@ #!/bin/bash # CHANGELOG +# [Martenk] (2017-12-26 20-23) +# Adding download free version from battle.net +# Changing name from Starcraft to StarCraft # [SuperPlumus] (2013-06-09 15-26) # gettext + clean # Fix POL_SetupWindow_browe -> POL_SetupWindow_browse (missing 's') @@ -8,17 +11,21 @@ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -TITLE="Starcraft : BroodWar" +TITLE="StarCraft : BroodWar" POL_SetupWindow_Init POL_Debug_Init -POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://www.blizzard.com" "Zoloom" "Starcraft" +POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://www.blizzard.com" "Zoloom" "StarCraft" -POL_Wine_SelectPrefix "Starcraft" -POL_Wine_PrefixCreate "1.4" +POL_Wine_SelectPrefix "StarCraft" +POL_Wine_PrefixCreate "2.21-staging" +POL_Wine_InstallFonts +Set_OS "win7" -POL_SetupWindow_InstallMethod "CD,LOCAL" +POL_System_TmpCreate "StarCraft" + +POL_SetupWindow_InstallMethod "CD,LOCAL,DOWNLOAD" if [ "$INSTALL_METHOD" = "LOCAL" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" @@ -31,10 +38,22 @@ SetupIs="$CDROM/setup.exe" fi +if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then + cd "$POL_System_TmpDir" + POL_Download "https://battle.net/download/getInstallerForGame?os=WIN&version=LIVE&gameProgram=STARCRAFT" + mv getInstallerForGame\?os=WIN\&version=LIVE\&gameProgram=STARCRAFT StarCraft-Setup.exe + SetupIs="$POL_System_TmpDir/StarCraft-Setup.exe" +fi + POL_Wine_WaitBefore "$TITLE" POL_Wine "$SetupIs" -POL_Shortcut "StarCraft.exe" "$TITLE" +POL_System_TmpDelete +if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then + POL_Shortcut "Battle.net\ Launcher.exe" "$TITLE" +else + POL_Shortcut "StarCraft.exe" "$TITLE" +fi POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/bin/bash # CHANGELOG # [Martenk] (2017-12-26 20-23) # Adding download free version from battle.net # Changing name from Starcraft to StarCraft # [SuperPlumus] (2013-06-09 15-26) # gettext + clean # Fix POL_SetupWindow_browe -> POL_SetupWindow_browse (missing 's') [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="StarCraft : BroodWar" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://www.blizzard.com" "Zoloom" "StarCraft" POL_Wine_SelectPrefix "StarCraft" POL_Wine_PrefixCreate "2.21-staging" POL_Wine_InstallFonts Set_OS "win7" POL_System_TmpCreate "StarCraft" POL_SetupWindow_InstallMethod "CD,LOCAL,DOWNLOAD" if [ "$INSTALL_METHOD" = "LOCAL" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SetupIs="$APP_ANSWER" fi if [ "$INSTALL_METHOD" = "CD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "setup.exe" SetupIs="$CDROM/setup.exe" fi if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then cd "$POL_System_TmpDir" POL_Download "https://battle.net/download/getInstallerForGame?os=WIN&version=LIVE&gameProgram=STARCRAFT" mv getInstallerForGame\?os=WIN\&version=LIVE\&gameProgram=STARCRAFT StarCraft-Setup.exe SetupIs="$POL_System_TmpDir/StarCraft-Setup.exe" fi POL_Wine_WaitBefore "$TITLE" POL_Wine "$SetupIs" POL_System_TmpDelete if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then POL_Shortcut "Battle.net\ Launcher.exe" "$TITLE" else POL_Shortcut "StarCraft.exe" "$TITLE" fi POL_SetupWindow_Close exit 0 Réponses |
xampf | Lundi 10 Juillet 2017 à 5:09 |
xampf
|
MessagesI managed to install sc:bw 1.18.8 using wine 2.11 staging (32bit). It also seems to run flawlessly under this version (including battle.net). Maybe reflect this change in a new installscript. RéponsesLundi 10 Juillet 2017 à 5:13
|
krichter | Vendredi 18 Mars 2016 à 22:58 |
krichter
|
MessagesAfter installation of Starcraft and Starcraft patch 1.15.2 (tried with and without the latter) the installation of `Starcraft BroadWar` fails with `wine` error `Internal errors - invalid paramters received`. RéponsesVendredi 9 September 2016 à 3:24
Vendredi 9 September 2016 à 3:28
|
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