The Witcher 3 : Wild Hunt (Steam)

Informations

Créateur Messages
ImperatorS79 Anonymous

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 8952
Wine: 2.22

Retours d'expérience

Description

A 2015 action role-playing game. Wikipedia

Appdb.Winehq.org,  PCGamingWiki

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Mardi 24 Décembre 2019 à 11:04
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

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
     

Nouveau code source

#!/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

Réponses

ImperatorS79 Mardi 18 Juillet 2017 à 15:15
ImperatorS79 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Seems 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

Nouveau code source

#!/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

Réponses

ImperatorS79 Lundi 19 Juin 2017 à 14:30
ImperatorS79 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Updated 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

Nouveau code source

#!/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

Réponses

ImperatorS79 Mardi 6 Juin 2017 à 16:49
ImperatorS79 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

I 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

Nouveau code source

#!/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

Réponses

ImperatorS79 Dimanche 4 Juin 2017 à 16:13
ImperatorS79 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Firts 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)

Again I can provide image (top, left, 4!x48 and 22x22) for 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

Nouveau code source

#!/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

Réponses

Anonymous
Dimanche 4 Juin 2017 à 16:15
Testers, please help ! ;)
Anonymous
Dimanche 4 Juin 2017 à 16:23
Do you think it will need POL_Wine_SetVideoDriver ?
Anonymous
Dimanche 4 Juin 2017 à 16:25
Or maybe to set win version ?

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