![]() POL_SetupWindow_browse "$(eval_gettext 'Please select the. POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" # Asking then installing local files 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_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" # POL_Shortcut "l.exe" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" # Restore screen resolution (game's default is 1024x768) POL_Shortcut "ds.exe" "$TITLE (Demo)" "" "" "$SOFTWARE_CATEGORIES" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n -> ')" "$TITLE" # POL_System_unzip "armoredfist3demo.zip" -d "$WINEPREFIX/drive_c/game/" # POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive.')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script can only download the demo (called shareware).')" "$TITLE" 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_Wine start /unix "$CDROM/autorun/autorun.exe" POL_SetupWindow_check_cdrom "autorun/af3_bkgd.bmp" 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 # Sound problem fix - pulseaudio related # # Set Graphic Card information keys for wine # Asking about memory size of graphic card 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_message "$(eval_gettext 'This game requires a fast 3D GPU (ie: Intel HD Graphics 4440 is not enough).')" "$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" # Ideas to improve this script: select archive, then decide if extension is RAR or ZIP or 7Z. ![]() # - Wine amd64 4.0.3: sound of the intro is NOK (clicks) but become OK in the main menu (and issue again when the game is playing). # - Wine amd64 4.0.3: sounds missing when playing. # First script (game can work without Alsa). # Distribution used to test : Ubuntu 19.04 圆4 # Wine version used : see the changelog below # Last revision : see the changelog below
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |