The Witcher 3 : Wild Hunt (Steam)
Informations
Creator | Message |
---|---|
ImperatorS79
|
WarningThis installer is a beta script. It means that it might not work as expected InformationsPlatforms: Feedbacks0 0 DescriptionA 2015 action role-playing game. Wikipedia. Source code#!/bin/bash # Date conv:yy-mm-dd # Date : (2017-06-04) # Last revision : (2017-07-18) # Wine version used : 2.12-staging # Distribution used to test : - # Author : ImperatorS79 # Licence : Retail # Only For : http://www.playonlinux.com # # CHANGELOG: # [ImperatorS79] (2017-06-04) # First script. # # Begin Note ## # see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 # Not from me, but inspired this script, it's a kind of test... # Script inspired from AC2 script # # End Note ## # # [ImperatorS79] (2017-07-18) # ? # [Dadu042] (2019-12-24) # Wine 2.12-staging -> 2.22 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Witcher 3 : Wild Hunt" PREFIX="WItcher3" EDITOR="CD Projekt Red" GAME_URL="http://thewitcher.com/en/witcher3" AUTOR="ImperatorS79" WORKING_WINE_VERSION="2.22" GAME_VMS="1536" # Starting the script #POL_GetSetupImages "undefined" "undefine" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_message "$(eval_gettext 'DirectX11 is still partially supported by Wine, \n so a lot of graphical glitches can occur during the use of this software !\n (Note: Disable Nvidia Hairworks Alpha Script -> D3D11 ). ')" "$TITLE" # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" #DVD maybe later POL_SetupWindow_InstallMethod "STEAM" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam STEAM_ID="292030" fi #Not sure if it's needed #POL_Call POL_Install_physx POL_SetupWindow_VMS "$GAME_VMS" # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" # Steam install 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" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" fi POL_SetupWindow_message "From appdb wine site : \n\n To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n For Nvidia blob: you'd probably need to set: __GL_THREADED_OPTIMIZATIONS=0\n\n For Mesa: threaded dispatch is off by default.\n\n Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" POL_SetupWindow_message "From appdb wine site : \n\n Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n REGEDIT4\n [HKEY_CURRENT_USER\Software\Wine\Direct3D] \n DirectDrawRenderer=opengl\n UseGLSL=enabled\n MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContributeMember | Message |
Dadu042 | Tuesday 24 December 2019 at 11:04 |
Dadu042
|
InformationThis update has been approved by the team. Differences@@ -7,13 +7,23 @@ # Author : ImperatorS79 # Licence : Retail # Only For : http://www.playonlinux.com - -## Begin Note ## -# see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 -# Not from me, but inspired this script, it's a kind of test... -# Script inspired from AC2 script -## End Note ## - + +# +# CHANGELOG: +# [ImperatorS79] (2017-06-04) +# First script. +# # Begin Note ## +# see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +# # End Note ## +# +# [ImperatorS79] (2017-07-18) +# ? +# [Dadu042] (2019-12-24) +# Wine 2.12-staging -> 2.22 + + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" @@ -22,16 +32,16 @@ EDITOR="CD Projekt Red" GAME_URL="http://thewitcher.com/en/witcher3" AUTOR="ImperatorS79" -WORKING_WINE_VERSION="2.12-staging" +WORKING_WINE_VERSION="2.22" GAME_VMS="1536" # Starting the script #POL_GetSetupImages "undefined" "undefine" "$TITLE" POL_SetupWindow_Init -POL_SetupWindow_message "DirectX11 is still partially supported by Wine\n\n -A lot of graphical glitches can occur during the use of this software ! (PS:Disable Nvidia Hairworks)" "Alpha Script -> D3D11" - +POL_SetupWindow_message "$(eval_gettext 'DirectX11 is still partially supported by Wine, \n +so a lot of graphical glitches can occur during the use of this software !\n (Note: Disable Nvidia Hairworks Alpha Script -> D3D11 ). ')" "$TITLE" + # Starting debugging API POL_Debug_Init New source code#!/bin/bash # Date conv:yy-mm-dd # Date : (2017-06-04) # Last revision : (2017-07-18) # Wine version used : 2.12-staging # Distribution used to test : - # Author : ImperatorS79 # Licence : Retail # Only For : http://www.playonlinux.com # # CHANGELOG: # [ImperatorS79] (2017-06-04) # First script. # # Begin Note ## # see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 # Not from me, but inspired this script, it's a kind of test... # Script inspired from AC2 script # # End Note ## # # [ImperatorS79] (2017-07-18) # ? # [Dadu042] (2019-12-24) # Wine 2.12-staging -> 2.22 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Witcher 3 : Wild Hunt" PREFIX="WItcher3" EDITOR="CD Projekt Red" GAME_URL="http://thewitcher.com/en/witcher3" AUTOR="ImperatorS79" WORKING_WINE_VERSION="2.22" GAME_VMS="1536" # Starting the script #POL_GetSetupImages "undefined" "undefine" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_message "$(eval_gettext 'DirectX11 is still partially supported by Wine, \n so a lot of graphical glitches can occur during the use of this software !\n (Note: Disable Nvidia Hairworks Alpha Script -> D3D11 ). ')" "$TITLE" # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" #DVD maybe later POL_SetupWindow_InstallMethod "STEAM" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam STEAM_ID="292030" fi #Not sure if it's needed #POL_Call POL_Install_physx POL_SetupWindow_VMS "$GAME_VMS" # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" # Steam install 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" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" fi POL_SetupWindow_message "From appdb wine site : \n\n To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n For Nvidia blob: you'd probably need to set: __GL_THREADED_OPTIMIZATIONS=0\n\n For Mesa: threaded dispatch is off by default.\n\n Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" POL_SetupWindow_message "From appdb wine site : \n\n Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n REGEDIT4\n [HKEY_CURRENT_USER\Software\Wine\Direct3D] \n DirectDrawRenderer=opengl\n UseGLSL=enabled\n MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" POL_SetupWindow_Close exit 0 Replies |
ImperatorS79 | Tuesday 18 July 2017 at 15:15 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageSeems wine staging 2.12 contain a fix for sample_c_lz Differences@@ -0,0 +1,105 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-07-18) +# Wine version used : 2.12-staging +# Distribution used to test : - +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="The Witcher 3 : Wild Hunt" +PREFIX="WItcher3" +EDITOR="CD Projekt Red" +GAME_URL="http://thewitcher.com/en/witcher3" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.12-staging" +GAME_VMS="1536" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +POL_SetupWindow_message "DirectX11 is still partially supported by Wine\n\n +A lot of graphical glitches can occur during the use of this software ! (PS:Disable Nvidia Hairworks)" "Alpha Script -> D3D11" + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="292030" +fi + +#Not sure if it's needed +#POL_Call POL_Install_physx + +POL_SetupWindow_VMS "$GAME_VMS" + +# Set Graphic Card informations keys for wine +POL_Wine_SetVideoDriver + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # Mandatory pre-install fix for steam + POL_Call POL_Install_steam_flags "$STEAM_ID" + # Shortcut done before install for steam version + POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # Steam install + 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" + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID + POL_Wine_WaitExit "$TITLE" +fi + +POL_SetupWindow_message "From appdb wine site : \n\n + +To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n + +For Nvidia blob: + +you'd probably need to set: +__GL_THREADED_OPTIMIZATIONS=0\n\n + +For Mesa: + +threaded dispatch is off by default.\n\n + +Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" + + +POL_SetupWindow_message "From appdb wine site : \n\n +Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n + +REGEDIT4\n +[HKEY_CURRENT_USER\Software\Wine\Direct3D] \n +DirectDrawRenderer=opengl\n +UseGLSL=enabled\n +MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash # Date conv:yy-mm-dd # Date : (2017-06-04) # Last revision : (2017-07-18) # Wine version used : 2.12-staging # Distribution used to test : - # Author : ImperatorS79 # Licence : Retail # Only For : http://www.playonlinux.com ## Begin Note ## # see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 # Not from me, but inspired this script, it's a kind of test... # Script inspired from AC2 script ## End Note ## [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Witcher 3 : Wild Hunt" PREFIX="WItcher3" EDITOR="CD Projekt Red" GAME_URL="http://thewitcher.com/en/witcher3" AUTOR="ImperatorS79" WORKING_WINE_VERSION="2.12-staging" GAME_VMS="1536" # Starting the script #POL_GetSetupImages "undefined" "undefine" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_message "DirectX11 is still partially supported by Wine\n\n A lot of graphical glitches can occur during the use of this software ! (PS:Disable Nvidia Hairworks)" "Alpha Script -> D3D11" # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" #DVD maybe later POL_SetupWindow_InstallMethod "STEAM" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam STEAM_ID="292030" fi #Not sure if it's needed #POL_Call POL_Install_physx POL_SetupWindow_VMS "$GAME_VMS" # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" # Steam install 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" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" fi POL_SetupWindow_message "From appdb wine site : \n\n To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n For Nvidia blob: you'd probably need to set: __GL_THREADED_OPTIMIZATIONS=0\n\n For Mesa: threaded dispatch is off by default.\n\n Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" POL_SetupWindow_message "From appdb wine site : \n\n Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n REGEDIT4\n [HKEY_CURRENT_USER\Software\Wine\Direct3D] \n DirectDrawRenderer=opengl\n UseGLSL=enabled\n MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" POL_SetupWindow_Close exit 0 Replies |
ImperatorS79 | Monday 19 June 2017 at 14:30 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageUpdated to 2.10-staging Need the sample_c_lz hack from here : https://bugs.winehq.org/attachment.cgi?id=58396 for hair and water Can anyone build this ? Differences@@ -0,0 +1,105 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-06-04) +# Wine version used : 2.10-staging +# Distribution used to test : Arch Linux +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="The Witcher 3 : Wild Hunt" +PREFIX="WItcher3" +EDITOR="CD Projekt Red" +GAME_URL="http://thewitcher.com/en/witcher3" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.10-staging" +GAME_VMS="1536" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +POL_SetupWindow_message "DirectX11 is still partially supported by Wine\n\n +A lot of graphical glitches can occur during the use of this software !" "Alpha Script -> D3D11" + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="292030" +fi + +#Not sure if it's needed +#POL_Call POL_Install_physx + +POL_SetupWindow_VMS "$GAME_VMS" + +# Set Graphic Card informations keys for wine +POL_Wine_SetVideoDriver + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # Mandatory pre-install fix for steam + POL_Call POL_Install_steam_flags "$STEAM_ID" + # Shortcut done before install for steam version + POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # Steam install + 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" + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID + POL_Wine_WaitExit "$TITLE" +fi + +POL_SetupWindow_message "From appdb wine site : \n\n + +To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n + +For Nvidia blob: + +you'd probably need to set: +__GL_THREADED_OPTIMIZATIONS=0\n\n + +For Mesa: + +threaded dispatch is off by default.\n\n + +Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" + + +POL_SetupWindow_message "From appdb wine site : \n\n +Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n + +REGEDIT4\n +[HKEY_CURRENT_USER\Software\Wine\Direct3D] \n +DirectDrawRenderer=opengl\n +UseGLSL=enabled\n +MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash # Date conv:yy-mm-dd # Date : (2017-06-04) # Last revision : (2017-06-04) # Wine version used : 2.10-staging # Distribution used to test : Arch Linux # Author : ImperatorS79 # Licence : Retail # Only For : http://www.playonlinux.com ## Begin Note ## # see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 # Not from me, but inspired this script, it's a kind of test... # Script inspired from AC2 script ## End Note ## [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Witcher 3 : Wild Hunt" PREFIX="WItcher3" EDITOR="CD Projekt Red" GAME_URL="http://thewitcher.com/en/witcher3" AUTOR="ImperatorS79" WORKING_WINE_VERSION="2.10-staging" GAME_VMS="1536" # Starting the script #POL_GetSetupImages "undefined" "undefine" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_message "DirectX11 is still partially supported by Wine\n\n A lot of graphical glitches can occur during the use of this software !" "Alpha Script -> D3D11" # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" #DVD maybe later POL_SetupWindow_InstallMethod "STEAM" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam STEAM_ID="292030" fi #Not sure if it's needed #POL_Call POL_Install_physx POL_SetupWindow_VMS "$GAME_VMS" # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" # Steam install 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" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" fi POL_SetupWindow_message "From appdb wine site : \n\n To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n For Nvidia blob: you'd probably need to set: __GL_THREADED_OPTIMIZATIONS=0\n\n For Mesa: threaded dispatch is off by default.\n\n Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" POL_SetupWindow_message "From appdb wine site : \n\n Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n REGEDIT4\n [HKEY_CURRENT_USER\Software\Wine\Direct3D] \n DirectDrawRenderer=opengl\n UseGLSL=enabled\n MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" POL_SetupWindow_Close exit 0 Replies |
ImperatorS79 | Tuesday 6 June 2017 at 16:49 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageI think it's better with POL_Wine_SetVideoDriver Differences@@ -0,0 +1,105 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-06-04) +# Wine version used : 2.9-staging +# Distribution used to test : Arch Linux +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="The Witcher 3 : Wild Hunt" +PREFIX="WItcher3" +EDITOR="CD Projekt Red" +GAME_URL="http://thewitcher.com/en/witcher3" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.9-staging" +GAME_VMS="1536" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +POL_SetupWindow_message "DirectX11 is still partially supported by Wine\n\n +A lot of graphical glitches can occur during the use of this software !" "Alpha Script -> D3D11" + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="292030" +fi + +#Not sure if it's needed +#POL_Call POL_Install_physx + +POL_SetupWindow_VMS "$GAME_VMS" + +# Set Graphic Card informations keys for wine +POL_Wine_SetVideoDriver + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # Mandatory pre-install fix for steam + POL_Call POL_Install_steam_flags "$STEAM_ID" + # Shortcut done before install for steam version + POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # Steam install + 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" + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID + POL_Wine_WaitExit "$TITLE" +fi + +POL_SetupWindow_message "From appdb wine site : \n\n + +To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n + +For Nvidia blob: + +you'd probably need to set: +__GL_THREADED_OPTIMIZATIONS=0\n\n + +For Mesa: + +threaded dispatch is off by default.\n\n + +Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" + + +POL_SetupWindow_message "From appdb wine site : \n\n +Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n + +REGEDIT4\n +[HKEY_CURRENT_USER\Software\Wine\Direct3D] \n +DirectDrawRenderer=opengl\n +UseGLSL=enabled\n +MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash # Date conv:yy-mm-dd # Date : (2017-06-04) # Last revision : (2017-06-04) # Wine version used : 2.9-staging # Distribution used to test : Arch Linux # Author : ImperatorS79 # Licence : Retail # Only For : http://www.playonlinux.com ## Begin Note ## # see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 # Not from me, but inspired this script, it's a kind of test... # Script inspired from AC2 script ## End Note ## [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Witcher 3 : Wild Hunt" PREFIX="WItcher3" EDITOR="CD Projekt Red" GAME_URL="http://thewitcher.com/en/witcher3" AUTOR="ImperatorS79" WORKING_WINE_VERSION="2.9-staging" GAME_VMS="1536" # Starting the script #POL_GetSetupImages "undefined" "undefine" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_message "DirectX11 is still partially supported by Wine\n\n A lot of graphical glitches can occur during the use of this software !" "Alpha Script -> D3D11" # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" #DVD maybe later POL_SetupWindow_InstallMethod "STEAM" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam STEAM_ID="292030" fi #Not sure if it's needed #POL_Call POL_Install_physx POL_SetupWindow_VMS "$GAME_VMS" # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" # Steam install 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" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" fi POL_SetupWindow_message "From appdb wine site : \n\n To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n For Nvidia blob: you'd probably need to set: __GL_THREADED_OPTIMIZATIONS=0\n\n For Mesa: threaded dispatch is off by default.\n\n Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" POL_SetupWindow_message "From appdb wine site : \n\n Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n REGEDIT4\n [HKEY_CURRENT_USER\Software\Wine\Direct3D] \n DirectDrawRenderer=opengl\n UseGLSL=enabled\n MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" POL_SetupWindow_Close exit 0 Replies |
ImperatorS79 | Sunday 4 June 2017 at 16:13 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageFirts set of the script Game_VMS ste to min value of a GTX 660 (3x512Mb) Low framerate workaround and OpenGL 4.5-DirectX11 workaround as messages (I don't know how to do it in POL) "Testing" come from this video https://www.youtube.com/watch?v=SOSbKWvF1iM Direct3D 11 is still in developpment, use at your own risks Only steam install first Differences@@ -0,0 +1,102 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-06-04) +# Wine version used : 2.9-staging +# Distribution used to test : Arch Linux +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="The Witcher 3 : Wild Hunt" +PREFIX="WItcher3" +EDITOR="CD Projekt Red" +GAME_URL="http://thewitcher.com/en/witcher3" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.9-staging" +GAME_VMS="1536" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +POL_SetupWindow_message "DirectX11 is still partially supported by Wine\n\n +A lot of graphical glitches can occur during the use of this software !" "Alpha Script -> D3D11" + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="292030" +fi + +#Not sure if it's needed +#POL_Call POL_Install_physx + +POL_SetupWindow_VMS "$GAME_VMS" + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # Mandatory pre-install fix for steam + POL_Call POL_Install_steam_flags "$STEAM_ID" + # Shortcut done before install for steam version + POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # Steam install + 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" + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID + POL_Wine_WaitExit "$TITLE" +fi + +POL_SetupWindow_message "From appdb wine site : \n\n + +To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n + +For Nvidia blob: + +you'd probably need to set: +__GL_THREADED_OPTIMIZATIONS=0\n\n + +For Mesa: + +threaded dispatch is off by default.\n\n + +Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" + + +POL_SetupWindow_message "From appdb wine site : \n\n +Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n + +REGEDIT4\n +[HKEY_CURRENT_USER\Software\Wine\Direct3D] \n +DirectDrawRenderer=opengl\n +UseGLSL=enabled\n +MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash # Date conv:yy-mm-dd # Date : (2017-06-04) # Last revision : (2017-06-04) # Wine version used : 2.9-staging # Distribution used to test : Arch Linux # Author : ImperatorS79 # Licence : Retail # Only For : http://www.playonlinux.com ## Begin Note ## # see https://www.youtube.com/watch?v=SOSbKWvF1iM and https://appdb.winehq.org/objectManager.php?sClass=version&iId=32974 # Not from me, but inspired this script, it's a kind of test... # Script inspired from AC2 script ## End Note ## [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Witcher 3 : Wild Hunt" PREFIX="WItcher3" EDITOR="CD Projekt Red" GAME_URL="http://thewitcher.com/en/witcher3" AUTOR="ImperatorS79" WORKING_WINE_VERSION="2.9-staging" GAME_VMS="1536" # Starting the script #POL_GetSetupImages "undefined" "undefine" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_message "DirectX11 is still partially supported by Wine\n\n A lot of graphical glitches can occur during the use of this software !" "Alpha Script -> D3D11" # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" #DVD maybe later POL_SetupWindow_InstallMethod "STEAM" # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam STEAM_ID="292030" fi #Not sure if it's needed #POL_Call POL_Install_physx POL_SetupWindow_VMS "$GAME_VMS" # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" # Steam install 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" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" fi POL_SetupWindow_message "From appdb wine site : \n\n To avoid having low framerate, make sure you have buffer pool patch from Wine staging, and you don't have colliding CSMT and threaded dispatch.\n\n For Nvidia blob: you'd probably need to set: __GL_THREADED_OPTIMIZATIONS=0\n\n For Mesa: threaded dispatch is off by default.\n\n Check your GPU against minimal requirements : Low framerate can be simply caused by having an older GPU. Official Nvidia minimum requirement if GTX 660." "Low Framerate Problem" POL_SetupWindow_message "From appdb wine site : \n\n Setting in registry, to enable OpenGL 4.5 for DirectX 11 detection\n\n REGEDIT4\n [HKEY_CURRENT_USER\Software\Wine\Direct3D] \n DirectDrawRenderer=opengl\n UseGLSL=enabled\n MaxVersionGL=dword:00040005" "Enabling OpenGL 4.5 for DirectX 11 detection" POL_SetupWindow_Close exit 0 RepliesSunday 4 June 2017 at 16:15
Sunday 4 June 2017 at 16:23
Sunday 4 June 2017 at 16:25
|
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com