

# - v1.0.0 standalone installer + Wine 2.22. # Asking about memory size of graphic card # Set Graphic Card information keys for wine POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/" POL_SetupWindow_browse "$(eval_gettext 'Please select the. POL_Shortcut "Application-steam-x32.exe" "$TITLE" "$TITLE.png" "" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"

POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive.')" "$TITLE" POL_Shortcut "Banished-x32.exe" "$TITLE (Banished-x32)" "$TITLE.png" "" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" # Asking then installing local copy of the game

POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" POL_Wine start /unix "steam.exe" steam://install/$STEAM_IDĮlif then 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"Ĭd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" # Shortcut done before install for steam version POL_Call POL_Install_steam_flags "$STEAM_ID" POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL POL_SetupWindow_InstallMethod "STEAM,LOCAL" # Choose between Steam and other Digital Download versions POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Downloading wine if necessary and creating prefix POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL's error window: 'Fatal error in wined3d.dll'. # - 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. Log last line: 'err:seh:setup_exception_record stack overflow' # - v1.0.0 + patch v1.0.4 (BanishedPatch_Any_To_1.03.zip) + Wine 2.22: once patched, when game launched a new window appear (buttons: Options, Video Options, Play), game freeze when 'Play' is clicked. # - v1.0.0 standalone installer + Wine 2.22. # Distribution used to test : KUbuntu 18.04
