# Restore screen resolution (game's default is 1024x768) # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n -> ')" "$TITLE" # unzip "gameinstaller.zip" -j -d "$WINEPREFIX/drive_c/" # 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 Teacher Simulator.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_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 "Warning: do not install Visual C 2013 redistribuable\n nor Direct X." "$TITLE" # POL_SetupWindow_message "Warning: do not install DirectX (nor icons)." "$TITLE" # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" # Choose between Steam and other Digital Download versions # Sound problem fix - pulseaudio related # # POL_Call POL_Install_physx # I'm not sure if it works fine (Dadu042, 2020-06) # Set Graphic Card information keys for wine # Asking about memory size of graphic card POL_Wine_OverrideDLL_App "Nox.exe" "" "NetLwfUninstall.exe" POL_Wine_OverrideDLL_App "Nox.exe" "" "NetLwfInstall.exe" POL_Wine_OverrideDLL_App "Nox.exe" "" "NetFltUninstall.exe" POL_Wine_OverrideDLL_App "Nox.exe" "" "NetFltInstall.exe" # Not sure if really useful (Dadu042, 2020-06) # 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_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" # When launching I see errors messages windows about NetFltUninstall.exe NetLwfUninstall.exe that fail to uninstall. # Middlewares used by this software : Oracle VM VirtualBox, Visual C 2008, QT v5. # Distribution used to test : XUbuntu 18.04 64 bits # Wine version used : see the changelog below # Last revision : see the changelog below However here is the script if someone wish to waste more time : I think it will never run since it is based on Oracle VirtualBox (too difficult to run with Wine). This is my attempt, because the software does install but it does not run.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |