POL_Shortcut 'steam.exe' '$TITLE' '$TITLE.png' 'steam://rungameid/$STEAM_ID' 'Game RolePlaying ' # Shortcut done before install for Steam version POL_Call POL_Install_steam_flags '$STEAM_ID' # Set Graphic Card information keys for wine # Asking about memory size of graphic card POL_Call POL_Install_dxfullsetup # Fix game crash POL_Call POL_Install_dotnet35 # Fix launcher issue POL_Call POL_Install_vcrun2008 # Fix game issue POL_SetupWindow_InstallMethod 'DVD,STEAM' # Choose between DVD and Digital Download version POL_Wine_PrefixCreate '$WORKING_WINE_VERSION' POL_System_SetArch 'x86' # For dotnet/mono # Downloading Wine if necessary and creating prefix POL_RequiredVersion '4.2.12' || POL_Debug_Fatal '$APPLICATION_TITLE $VERSION is required to install $TITLE' POL_Debug_message '$(eval_gettext 'The game will fail to launch until you set /proc/sys/kernel/yama/ptrace_scope to 0')' '$TITLE' PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope` POL_SetupWindow_presentation '$TITLE' '$EDITOR' '$GAME_URL' '$AUTHOR' '$PREFIX' # Note (for a future update): replacing dotnet35 by dotnet40 will does the 'ptrace' issue. # Wine 1.7.36 -> 2.22 (emergency update, because of many install issues reported from users) # Distribution used to test : Linux Mint 12 圆4