
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive.')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext '\nNote: this script will download the DEMO.')" "$TITLE" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT"

# Restore screen resolution (game's default is 800圆00 ?) 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" "" "steam://rungameid/$STEAM_ID" # Shortcut done before install for steam version POL_Call POL_Install_steam_flags "$STEAM_ID" # POL_SetupWindow_message "Note: at the end of the installation, please do not run the game, and do not install DirectX 9." "$TITLE" POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" # Choose between Steam and other Digital Download versions POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Downloading wine if necessary and creating prefix

POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # POL_SetupWindow_message "$(eval_gettext 'This game requires a fast 3D GPU (FYI: a iGPU Intel HD Graphics 530 does only become comfortable with low details).')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'WARNING: this software does exist in Linux native version.\n\nThis script only allow to run the Windows version on Linux, please prefer the Linux edition for better 3D speed.')" "$TITLE" POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" SOFTWARE_CATEGORIES="Game AdventureGame " SHORTCUT_FILENAME="SCP - Containment Breach.exe" # Ideas to improve this script: select archive, then decide if extension is RAR or ZIP or 7Z. # - Wine amd64 3.0.3: black window, sound 15 sec, then crash ('Memory Access Violation'). # - Wine amd64 3.0.3: in the log lots of messages about Quartz. Tried: corefonts, FontsSmoothGrayScale, RegisterFonts. # - Wine amd64 3.0.3: some text fonts appear blurred (issue occurs from the launcher screen). Cause: Quartz when installed, I decide to only ask to hide messages in the log (fixme-all). # - Wine amd64 3.0.3 fullscreen: crash after 5 sec (intro video), but works windowed.

# - User guide's shortcut (from POL) does link to a wrong 'readme.txt' # Middlewares used by this software : Blitz Basic. # Distribution used to test : XUbuntu 19.04 圆4 # Wine version used : see the changelog below # Last revision : see the changelog below
