Banished
Informations
Créateur | Messages |
---|---|
foz
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience1 1 DescriptionA city-building strategy video game, 2014. The game focuses on careful resource management and survival as an isolated and growing society.
Code source#!/bin/bash # Date : (2014-07-12 11:00) # Last revision : see Changelog # Wine version used : see Changelog # Distribution used to test : KUbuntu 18.04 # Author : Foz # Licence : Retail # Only For : http://www.playonlinux.com # # TESTED (with succcess): # - v1.0.0 standalone installer + Wine 2.22. # - v1.0.0 + patch v1.0.1 (note: still show v1.0.0 in the main menu). # # # CHANGELOG # Foz (2014-07-12) # First script. # [Dadu042] (2019-07-30 13:02) # Wine 1.7.55 -> 2.22. # Add support for installing from .RAR or .ZIP files. # # KNOWN ISSUES # - v1.0.7 Build 170910 (Steam) + Wine 1.7.55, 2.22, 3.0.3, 4.0.1: crash when loading. # - v1.0.0 + patch v1.0.4 (BanishedPatch_Any_To_1.0.4.141103.zip) + Wine 2.22: once patched, when game launched a new window appear (buttons: Options, Video Options, Play), game freeze when 'Play' is clicked. Log last line: 'err:seh:setup_exception_record stack overflow' # - v1.0.0 + patch v1.0.3 (Banished_1.0.3_Beta_140531) + Wine 2.22, 3.0.3, 4.0.1: after the Loading animation, the screen goes black and only the mouse cursor is show. POL's error window: 'Fatal error in wined3d.dll'. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Banished" PREFIX="Banished" EDITOR="Shining Rock Software" GAME_URL="http://www.shiningrocksoftware.com/" AUTHOR="Foz" STEAM_ID="242920" WORKING_WINE_VERSION="2.22" GAME_VMS="512" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Determine Architecture POL_System_SetArch "x86" # Downloading wine if necessary and creating prefix POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Installing mandatory dependencies POL_Call POL_Install_d3dx9 POL_Call POL_Install_xact # Choose between Steam and other Digital Download versions POL_SetupWindow_InstallMethod "STEAM,LOCAL" # Disable Steam In Game Overlay POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local copy of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Making shortcut rm "$HOME/Desktop/Banished 32-bit.lnk" POL_Shortcut "Banished-x32.exe" "$TITLE (Banished-x32)" "$TITLE.png" "" POL_Shortcut "Application-x32.exe" "$TITLE (Application-x32)" "$TITLE.png" "" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/" POL_Shortcut "Application-steam-x32.exe" "$TITLE" "$TITLE.png" "" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/" POL_Shortcut "Application-steam-x32.exe" "$TITLE" "$TITLE.png" "" fi fi # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
Dadu042 | Samedi 2 Novembre 2019 à 23:23 |
Dadu042
|
InformationCette mise à jour a été acceptée par l'équipe MessagesI set this game to 'testing' because I can't make it run. Differences@@ -6,10 +6,11 @@ # Author : Foz # Licence : Retail # Only For : http://www.playonlinux.com - +# # TESTED (with succcess): -# - v1.0.0 standalone installer + Wine 2.22. - +# - v1.0.0 standalone installer + Wine 2.22. +# - v1.0.0 + patch v1.0.1 (note: still show v1.0.0 in the main menu). +# # # CHANGELOG # Foz (2014-07-12) @@ -20,7 +21,9 @@ # # KNOWN ISSUES # - v1.0.7 Build 170910 (Steam) + Wine 1.7.55, 2.22, 3.0.3, 4.0.1: crash when loading. -# - v1.0.0 + patch v1.0.4 (BanishedPatch_Any_To_1.0.4.141103.zip): once patched, when game launched a new window appear (buttons: Options, Video Options, Play), game freeze when 'Play' is clicked. +# - v1.0.0 + patch v1.0.4 (BanishedPatch_Any_To_1.0.4.141103.zip) + Wine 2.22: once patched, when game launched a new window appear (buttons: Options, Video Options, Play), game freeze when 'Play' is clicked. Log last line: 'err:seh:setup_exception_record stack overflow' +# - v1.0.0 + patch v1.0.3 (Banished_1.0.3_Beta_140531) + Wine 2.22, 3.0.3, 4.0.1: after the Loading animation, the screen goes black and only the mouse cursor is show. POL's error window: 'Fatal error in wined3d.dll'. + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" @@ -42,7 +45,9 @@ # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" - + +POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" + # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" @@ -125,4 +130,4 @@ POL_SetupWindow_VMS $GAME_VMS POL_SetupWindow_Close -exit 0 \ No newline at end of file +exit 0 Nouveau code source#!/bin/bash # Date : (2014-07-12 11:00) # Last revision : see Changelog # Wine version used : see Changelog # Distribution used to test : KUbuntu 18.04 # Author : Foz # Licence : Retail # Only For : http://www.playonlinux.com # # TESTED (with succcess): # - v1.0.0 standalone installer + Wine 2.22. # - v1.0.0 + patch v1.0.1 (note: still show v1.0.0 in the main menu). # # # CHANGELOG # Foz (2014-07-12) # First script. # [Dadu042] (2019-07-30 13:02) # Wine 1.7.55 -> 2.22. # Add support for installing from .RAR or .ZIP files. # # KNOWN ISSUES # - v1.0.7 Build 170910 (Steam) + Wine 1.7.55, 2.22, 3.0.3, 4.0.1: crash when loading. # - v1.0.0 + patch v1.0.4 (BanishedPatch_Any_To_1.0.4.141103.zip) + Wine 2.22: once patched, when game launched a new window appear (buttons: Options, Video Options, Play), game freeze when 'Play' is clicked. Log last line: 'err:seh:setup_exception_record stack overflow' # - v1.0.0 + patch v1.0.3 (Banished_1.0.3_Beta_140531) + Wine 2.22, 3.0.3, 4.0.1: after the Loading animation, the screen goes black and only the mouse cursor is show. POL's error window: 'Fatal error in wined3d.dll'. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Banished" PREFIX="Banished" EDITOR="Shining Rock Software" GAME_URL="http://www.shiningrocksoftware.com/" AUTHOR="Foz" STEAM_ID="242920" WORKING_WINE_VERSION="2.22" GAME_VMS="512" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Determine Architecture POL_System_SetArch "x86" # Downloading wine if necessary and creating prefix POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Installing mandatory dependencies POL_Call POL_Install_d3dx9 POL_Call POL_Install_xact # Choose between Steam and other Digital Download versions POL_SetupWindow_InstallMethod "STEAM,LOCAL" # Disable Steam In Game Overlay POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local copy of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Making shortcut rm "$HOME/Desktop/Banished 32-bit.lnk" POL_Shortcut "Banished-x32.exe" "$TITLE (Banished-x32)" "$TITLE.png" "" POL_Shortcut "Application-x32.exe" "$TITLE (Application-x32)" "$TITLE.png" "" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/" POL_Shortcut "Application-steam-x32.exe" "$TITLE" "$TITLE.png" "" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/" POL_Shortcut "Application-steam-x32.exe" "$TITLE" "$TITLE.png" "" fi fi # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS POL_SetupWindow_Close exit 0 Réponses |
Dadu042 | Mardi 30 Juillet 2019 à 13:04 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesSee changelog. Differences@@ -56,15 +56,9 @@ POL_Call POL_Install_d3dx9 POL_Call POL_Install_xact -# Set Graphic Card information keys for wine -# POL_Wine_SetVideoDriver - # Choose between Steam and other Digital Download versions POL_SetupWindow_InstallMethod "STEAM,LOCAL" -# Asking about memory size of graphic card -POL_SetupWindow_VMS $GAME_VMS - # Disable Steam In Game Overlay POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL @@ -124,5 +118,11 @@ fi fi +# Set Graphic Card information keys for wine +POL_Wine_SetVideoDriver + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/bin/bash # Date : (2014-07-12 11:00) # Last revision : see Changelog # Wine version used : see Changelog # Distribution used to test : KUbuntu 18.04 # Author : Foz # Licence : Retail # Only For : http://www.playonlinux.com # TESTED (with succcess): # - v1.0.0 standalone installer + Wine 2.22. # # CHANGELOG # Foz (2014-07-12) # First script. # [Dadu042] (2019-07-30 13:02) # Wine 1.7.55 -> 2.22. # Add support for installing from .RAR or .ZIP files. # # KNOWN ISSUES # - v1.0.7 Build 170910 (Steam) + Wine 1.7.55, 2.22, 3.0.3, 4.0.1: crash when loading. # - v1.0.0 + patch v1.0.4 (BanishedPatch_Any_To_1.0.4.141103.zip): once patched, when game launched a new window appear (buttons: Options, Video Options, Play), game freeze when 'Play' is clicked. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Banished" PREFIX="Banished" EDITOR="Shining Rock Software" GAME_URL="http://www.shiningrocksoftware.com/" AUTHOR="Foz" STEAM_ID="242920" WORKING_WINE_VERSION="2.22" GAME_VMS="512" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Determine Architecture POL_System_SetArch "x86" # Downloading wine if necessary and creating prefix POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Installing mandatory dependencies POL_Call POL_Install_d3dx9 POL_Call POL_Install_xact # Choose between Steam and other Digital Download versions POL_SetupWindow_InstallMethod "STEAM,LOCAL" # Disable Steam In Game Overlay POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local copy of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Making shortcut rm "$HOME/Desktop/Banished 32-bit.lnk" POL_Shortcut "Banished-x32.exe" "$TITLE (Banished-x32)" "$TITLE.png" "" POL_Shortcut "Application-x32.exe" "$TITLE (Application-x32)" "$TITLE.png" "" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/" POL_Shortcut "Application-steam-x32.exe" "$TITLE" "$TITLE.png" "" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/" POL_Shortcut "Application-steam-x32.exe" "$TITLE" "$TITLE.png" "" fi fi # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS POL_SetupWindow_Close exit 0 RéponsesEdité par Dadu042 |
hemna | Dimanche 28 Juillet 2019 à 16:30 |
hemna
|
MessagesTried several times to install the standalone 64bit app, but it doesn't work. The game installer starts, you select the language, and then it complains that my system doesn't meet the minimum requirements. Doesn't say why, or what they are. I click the continue anyway, and the install looks like it starts to go, but then immediately says it's done. The game isn't installed and playonmac can't find the app shortcut (because it didn't get installed), then playonmac fails out. RéponsesDimanche 28 Juillet 2019 à 23:00
|
PaxPlaysOnMac | Dimanche 10 Janvier 2016 à 21:19 |
PaxPlaysOnMac
|
MessagesI use the Steam version on the Mid-2010 Macbook Pro 13', and it goes perfectly well :) Core2Duo, 4Gb RAM, GeForce 320m 256Mb shared memory. I'm using tthe custom Steam client (1.7.53 crossover_hack). Steam made the game install DirectX before first launch, it was quick and only once. The only thing I had to do is lower the resolution (I don't remember it, but it's just below the native 1280x800, must be around 1172x768 [I know it's not common]) and most details are on low. Not a huge deal to me, game looks more than okay. But it works! Custom key bindings, keyboard inputs, saves, OSX app switching, closing computer and opening it again : all good! Thanks PlayOnMac Réponses |
foz | Dimanche 13 Juillet 2014 à 11:13 |
foz
|
MessagesOk, this doesn't currently work on Mac 0SX (10.9.4). Screen flickering and pulsing. Will try to work out fix soon. RéponsesDimanche 13 Juillet 2014 à 12:14
Dimanche 13 Juillet 2014 à 12:39
Dimanche 13 Juillet 2014 à 12:39
Dimanche 13 Juillet 2014 à 13:23
|
foz | Samedi 12 Juillet 2014 à 23:25 |
foz
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesA couple of lines removed and redundant varibales sorted. Differences@@ -0,0 +1,81 @@ +#!/bin/bash +# Date : (2014-07-12 11:00) +# Last revision : (2014-07-12 16:45) +# Wine version used : 1.7.15 +# Distribution used to test : Ubuntu 14.04 +# Author : Foz +# Licence : Retail +# Only For : http://www.playonlinux.com + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Banished" +PREFIX="Banished" +EDITOR="Shining Rock Software" +GAME_URL="http://www.shiningrocksoftware.com/" +AUTHOR="Foz" +STEAM_ID="242920" +WORKING_WINE_VERSION="1.7.15" +GAME_VMS="512" + +# Starting the script +POL_SetupWindow_Init + +# Starting debugging API +POL_Debug_Init + +# Open dialogue box +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Determine Architecture +POL_System_SetArch "x86" + +# Downloading wine if necessary and creating prefix +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +# Choose between Steam and other Digital Download versions +POL_SetupWindow_InstallMethod "STEAM,LOCAL" + +# Installing mandatory dependencies +POL_Call POL_Install_d3dx9 +POL_Call POL_Install_xact + +# Set Graphic Card information keys for wine +POL_Wine_SetVideoDriver + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + +# Disable Steam In Game Overlay +POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL + +# Begin game installation +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + # Mandatory pre-install fix for steam + POL_Call POL_Install_steam_flags "$STEAM_ID" + # Shortcut done before install for steam version + POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" + # Steam install + POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID + POL_Wine_WaitExit "$TITLE" +else + # Asking then installing local copy of the game + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" + SETUP_EXE="$APP_ANSWER" + POL_Wine start /unix "$SETUP_EXE" + POL_Wine_WaitExit "$TITLE" + # Making shortcut + rm "$HOME/Desktop/Banished 32-bit.lnk" + POL_Shortcut "Application-x32.exe" "$TITLE" "$TITLE.png" "" +fi + +POL_SetupWindow_Close +exit 0 \ No newline at end of file Nouveau code source#!/bin/bash # Date : (2014-07-12 11:00) # Last revision : (2014-07-12 16:45) # Wine version used : 1.7.15 # Distribution used to test : Ubuntu 14.04 # Author : Foz # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Banished" PREFIX="Banished" EDITOR="Shining Rock Software" GAME_URL="http://www.shiningrocksoftware.com/" AUTHOR="Foz" STEAM_ID="242920" WORKING_WINE_VERSION="1.7.15" GAME_VMS="512" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Determine Architecture POL_System_SetArch "x86" # Downloading wine if necessary and creating prefix POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between Steam and other Digital Download versions POL_SetupWindow_InstallMethod "STEAM,LOCAL" # Installing mandatory dependencies POL_Call POL_Install_d3dx9 POL_Call POL_Install_xact # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Disable Steam In Game Overlay POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" else # Asking then installing local copy of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Making shortcut rm "$HOME/Desktop/Banished 32-bit.lnk" POL_Shortcut "Application-x32.exe" "$TITLE" "$TITLE.png" "" fi POL_SetupWindow_Close exit 0 Réponses |
foz | Samedi 12 Juillet 2014 à 18:15 |
foz
|
MessagesI'm not sure if my adblocker stopped the section to add the source code, but after creating two entries, I don't want to keep creating mistakes, before I can work out the issues. It would be nice for the system to allow you to review an entry before posting it. Réponses |
foz | Samedi 12 Juillet 2014 à 18:10 |
foz
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,85 @@ +#!/bin/bash +# Date : (2014-07-12 11:00) +# Last revision : (2014-07-12 16:45) +# Wine version used : 1.7.15 +# Distribution used to test : Ubuntu 14.04 +# Author : Foz +# Licence : Retail +# Only For : http://www.playonlinux.com + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Banished" +PREFIX="Banished" +EDITOR="Shining Rock Software" +GAME_URL="http://www.shiningrocksoftware.com/" +AUTHOR="Foz" +STEAM_ID="242920" +WORKING_WINE_VERSION="1.7.15" +GAME_VMS="512" + +# Starting the script +POL_SetupWindow_Init + +# Starting debugging API +POL_Debug_Init + +# Open dialogue box +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Determine Architecture +POL_System_SetArch "x86" + +# Downloading wine if necessary and creating prefix +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +# Choose between Steam and other Digital Download versions +POL_SetupWindow_InstallMethod "STEAM,LOCAL" + +# Installing mandatory dependencies +POL_Call POL_Install_d3dx9 +POL_Call POL_Install_xact + +# Set Graphic Card information keys for wine +POL_Wine_SetVideoDriver + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + +# Disable Steam In Game Overlay +POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL + +# Mandatory pre-install fix for steam +[ "$INSTALL_METHOD" == "STEAM" ] && { SHORTCUT_NAME="$TITLE"; } + +# Begin game installation +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + # Mandatory pre-install fix for steam + POL_Call POL_Install_steam_flags "$STEAM_ID" + # Shortcut done before install for steam version + POL_Shortcut "steam.exe" "$SHORTCUT_NAME" "$TITLE.png" "steam://rungameid/$STEAM_ID" + POL_Shortcut "steam.exe" "Steam ($SHORTCUT_NAME)" "" "" + # Steam install + POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID + POL_Wine_WaitExit "$TITLE" +else + # Asking then installing local copy of the game + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" + SETUP_EXE="$APP_ANSWER" + POL_Wine start /unix "$SETUP_EXE" + POL_Wine_WaitExit "$TITLE" + # Making shortcut + rm "$HOME/Desktop/Banished 32-bit.lnk" + POL_Shortcut "Application-x32.exe" "$SHORTCUT_NAME" "$TITLE.png" "" +fi + +POL_SetupWindow_Close +exit 0 \ No newline at end of file Nouveau code source#!/bin/bash # Date : (2014-07-12 11:00) # Last revision : (2014-07-12 16:45) # Wine version used : 1.7.15 # Distribution used to test : Ubuntu 14.04 # Author : Foz # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Banished" PREFIX="Banished" EDITOR="Shining Rock Software" GAME_URL="http://www.shiningrocksoftware.com/" AUTHOR="Foz" STEAM_ID="242920" WORKING_WINE_VERSION="1.7.15" GAME_VMS="512" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Determine Architecture POL_System_SetArch "x86" # Downloading wine if necessary and creating prefix POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between Steam and other Digital Download versions POL_SetupWindow_InstallMethod "STEAM,LOCAL" # Installing mandatory dependencies POL_Call POL_Install_d3dx9 POL_Call POL_Install_xact # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Disable Steam In Game Overlay POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL # Mandatory pre-install fix for steam [ "$INSTALL_METHOD" == "STEAM" ] && { SHORTCUT_NAME="$TITLE"; } # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$SHORTCUT_NAME" "$TITLE.png" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($SHORTCUT_NAME)" "" "" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" else # Asking then installing local copy of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Making shortcut rm "$HOME/Desktop/Banished 32-bit.lnk" POL_Shortcut "Application-x32.exe" "$SHORTCUT_NAME" "$TITLE.png" "" fi POL_SetupWindow_Close exit 0 RéponsesSamedi 12 Juillet 2014 à 18:26
Samedi 12 Juillet 2014 à 18:58
Samedi 12 Juillet 2014 à 18:59
Samedi 12 Juillet 2014 à 20:32
Samedi 12 Juillet 2014 à 23:14
Samedi 12 Juillet 2014 à 23:23
|
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