
# POL_System_unzip "gameinstaller.zip" -d "$WINEPREFIX/drive_c/game/" # POL_System_unrar x "gameinstaller.rar" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." # POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive.')" "$TITLE" # mv doomrl-win-0997.zip gameinstaller.zip

# mv Teacher%20Simulator.rar gameinstaller.rar # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo. POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" 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_SetupWindow_check_cdrom "engine32.cab" 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 "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n -> ')" "$TITLE" # POL_SetupWindow_message "Warning: do not install Visual C++ 2013 redistribuable\n nor Direct X." "$TITLE" # POL_SetupWindow_message "Warning: do not install DirectX (nor the icons)." "$TITLE" POL_SetupWindow_InstallMethod "LOCAL,STEAM" # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" # Choose between Steam and other Digital Download versions # Sound problem fix - pulseaudio related # # Set Graphic Card information keys for wine # Asking about memory size of graphic card # Downloading wine if necessary and creating prefix POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" SHORTCUT_FILENAME="Slender - The Arrival.exe" # Middlewares used by this software : Unity Engine # TESTED Editions: unofficial local file. # Distribution used to test : XUbuntu 18.04 64 bits (Linux kernel v5.4). # Wine version used : see the changelog below # Last revision : see the changelog below
