GOG.com - The Witcher Enhanced Edition Directors Cut

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 26487
Wine: 3.0.3

Feedbacks

Description

English: 1270, Gerald de Rive, aka the "white wolf", is a Witcher, a monster hunter...
(based on Andrzej Sapkowski universe)
(updated for GOG installer v2)

GOG now has installers for Mac

Français : 1270, Gerald de Rive, dit le "loup blanc", est Witcher, chasseur de monstres...
(basé sur l'univers de l'oeuvre d'Andrzej Sapkowski)
(mis à jour pour l'installeur GOG v2)

GOG propose maintenant des installeurs pour Mac

Source code

#!/bin/bash
# Date : (2012-02-19 00-28)
# Last revision : see changelog
# Wine version used : 1.5.18, 1.6.1, 1.7.6, 3.0.3
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-02-19 00-28)
#   First script
# [Dadu042] (2020-01-01)
#   Wine 1.7.6 (outdated) -> 3.0.3. Maybe POL_install_d3dx9_36 + 43 and not necessary anymore.
#   Add SetVideoDriver
#   Update POL_Shortcut_Document
#
# KNOWN ISSUES:
#   1.6.x better performance
#   1.7.x health gauge
#   1.7.0-1.7.5 no music

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="the_witcher"
PREFIX="TheWitcher_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - The Witcher Enhanced Edition Directors Cut"
SHORTCUT_NAME="The Witcher Enhanced Edition DC"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1065
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "CD Projekt RED" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "66ffe865f34e71ef2beb961748873459" "6d24dcb24f4776889e03715044ca8da0" "3060962cd3ef2ec68a9c02fdeb5ce839" "602a920d5e2c05437f70c5600911aca8" "296605a9b5e7acba6a59cd17b98a84c6" "a820dc0f09afefead9e06a9c37491c1b" "e5261e0eff49b83f48a384ece3050106"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Default interface leaks winprocs and crashes under Wine
POL_Call POL_GoG_install "/nogui"


# GoG work!
Set_OS winxp

# Fix black screen
POL_Call POL_install_d3dx9_36
# Fix large dark polygons, (in rain and more)
POL_Call POL_install_d3dx9_43

################
#      GPU     #
################
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS "128"
  
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx


# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "launcher.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "manual.pdf"
# C:\GOG Games\The Witcher Enhanced Edition Director's Cut\readme.rtf

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 2 January 2020 at 7:49
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,23 +1,32 @@
 #!/bin/bash
 # Date : (2012-02-19 00-28)
-# Last revision : (2014-03-30 18-52)
-# Wine version used : 1.5.18, 1.6.1, 1.7.6
+# Last revision : see changelog
+# Wine version used : 1.5.18, 1.6.1, 1.7.6, 3.0.3
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
-
-# 1.6.x better performance
-# 1.7.x health gauge
-# 1.7.0-1.7.5 no music
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2012-02-19 00-28)
+#   First script
+# [Dadu042] (2020-01-01)
+#   Wine 1.7.6 (outdated) -> 3.0.3. Maybe POL_install_d3dx9_36 + 43 and not necessary anymore.
+#   Add SetVideoDriver
+#   Update POL_Shortcut_Document
+#
+# KNOWN ISSUES:
+#   1.6.x better performance
+#   1.7.x health gauge
+#   1.7.0-1.7.5 no music
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="the_witcher"
 PREFIX="TheWitcher_gog"
-WORKING_WINE_VERSION="1.7.6"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - The Witcher Enhanced Edition Directors Cut"
 SHORTCUT_NAME="The Witcher Enhanced Edition DC"
@@ -45,15 +54,27 @@
 # Fix large dark polygons, (in rain and more)
 POL_Call POL_install_d3dx9_43
 
+################
+#      GPU     #
+################
+ 
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+ 
+# Asking about memory size of graphic card
 POL_SetupWindow_VMS "128"
+  
+# Useful for Nvidia GPUs
+# POL_Call POL_Install_physx
+
 
 # Doesn't hurt ;)
 POL_Wine_reboot
 
 POL_Shortcut "launcher.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
-POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/The Witcher Enhanced Edition Director's Cut/manual.pdf"
+POL_Shortcut_Document "$SHORTCUT_NAME" "manual.pdf"
 # C:\GOG Games\The Witcher Enhanced Edition Director's Cut\readme.rtf
 
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2012-02-19 00-28)
# Last revision : see changelog
# Wine version used : 1.5.18, 1.6.1, 1.7.6, 3.0.3
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-02-19 00-28)
#   First script
# [Dadu042] (2020-01-01)
#   Wine 1.7.6 (outdated) -> 3.0.3. Maybe POL_install_d3dx9_36 + 43 and not necessary anymore.
#   Add SetVideoDriver
#   Update POL_Shortcut_Document
#
# KNOWN ISSUES:
#   1.6.x better performance
#   1.7.x health gauge
#   1.7.0-1.7.5 no music

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="the_witcher"
PREFIX="TheWitcher_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - The Witcher Enhanced Edition Directors Cut"
SHORTCUT_NAME="The Witcher Enhanced Edition DC"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1065
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "CD Projekt RED" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "66ffe865f34e71ef2beb961748873459" "6d24dcb24f4776889e03715044ca8da0" "3060962cd3ef2ec68a9c02fdeb5ce839" "602a920d5e2c05437f70c5600911aca8" "296605a9b5e7acba6a59cd17b98a84c6" "a820dc0f09afefead9e06a9c37491c1b" "e5261e0eff49b83f48a384ece3050106"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Default interface leaks winprocs and crashes under Wine
POL_Call POL_GoG_install "/nogui"


# GoG work!
Set_OS winxp

# Fix black screen
POL_Call POL_install_d3dx9_36
# Fix large dark polygons, (in rain and more)
POL_Call POL_install_d3dx9_43

################
#      GPU     #
################
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS "128"
  
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx


# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "launcher.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "manual.pdf"
# C:\GOG Games\The Witcher Enhanced Edition Director's Cut\readme.rtf

POL_SetupWindow_Close

exit 0

Replies

MorningStarGG Friday 23 June 2017 at 14:50
MorningStarGG Anonymous

Message

Installer will no longer run with this script, but if I install it as an unlisted program it installs just fine.

Replies

piratmartin Tuesday 25 October 2016 at 12:45
piratmartin Anonymous

Message

Problem with invisible characters with eyes ball. I have to repeatedly run the game until they see the characters. No hint regarding invisible characters helped.

Replies

Fangorn Sunday 1 November 2015 at 22:21
Fangorn Anonymous

Message

1) With Wine v.1.7.6 after some minutes og playing, sound being distorted, constantly audio underrun issues (in debug log were errors "err:alsa:wine_snd_pcm_recover underrun occurred"). After some googling, I found this Wine bug https://bugs.winehq.org/show_bug.cgi?id=35852 , and this https://bugs.winehq.org/show_bug.cgi?id=10495 . In comment of latest, I found solution - installed Wine 1.7.52-staging (with experimental PulseAudio support patches I guess), and played most of game with it. No more suffered sound underrun.

2) There was problem with puppeteer-lines and missing models, as described here https://appdb.winehq.org/objectManager.php?sClass=version&iId=26114&iTestingId=89846. Workaround ibidem.

Replies

stormsaber Friday 21 November 2014 at 15:49
stormsaber Anonymous

Message

Serious graphical glitches, sticky / stuck key controls, and randomly glitchy audio. The first is the most serious, causing stretched polygons to randomly potrude from character models to screen edges in a way reminiscent or shadows or 'pupeteer strings'. Switching to another virtual terminal and then back again has a small chance to temporarily correct the problem.

Replies

Anonymous
Friday 21 November 2014 at 15:50
(With nvidia 310m, ubuntu 14.04.1 / linux 3.13, proprietary drivers installed throiugh control panel.)
Friday 21 November 2014 at 18:37
Go to
Configure button > select TheWitcher_gog virtual drive > Display tab > Video RAM
and double check that your videocard has the amount of onboard memory you declared. Alternatively, try not declaring available memory ("default") No guarantees, as this problem is randomly plagued users of this game with no pattern that I could recognize...
Anonymous
Monday 24 November 2014 at 21:25
Thanks Petch. Maybe you can help me figure that out actually. My laptop is a Samsung Q430, but there's nothing particularly special about it. It came from a friend so I don't have the original bill of sale, but most references I can find to it online claim it ships with 512MB so that is what I have always assumed. lspci has to say:
Anonymous
Monday 24 November 2014 at 21:29
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device c094
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- [disabled]
Capabilities:
Kernel driver in use: i915

02:00.0 3D controller: NVIDIA Corporation GT218M [GeForce 310M] (rev a2)
Subsystem: Samsung Electronics Co Ltd Device c094
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-
Kernel driver in use: nvidia

So, if I am interpreting this correctly, there are two graphical subsystems, each of which has 256MB assigned to it? Weird. I have read about nVIDIA optimus and having two graphics chips for different use-cases, but several reviews of the Q430 online have explicitly stated that the Q430 does not support Optimus technology. There is no reference to it, let alone any way to disable it in the BIOS. And when I installed bumblee along with the standard proprietary drivers, bumblebee specificly told me that my graphics subsystem did not support the technology. So based on that, I am pretty sure its a standard mobile chip... :-S

In any case, I have tried running GOG_TheWItcher with PlayonLinux with only 256MB set in the settings as you suggest instead of 512MB. It didn't appear to make an appreciable difference and may even have been worse. But I didn't run it with 256MB long enough to form a solid opinion on whether it made the problem better or worse.

I will try selecting "default" instead next time.
Anonymous
Monday 24 November 2014 at 21:32
Sorry I'm not sure why my copy-paste buffer lacked the relevent details. This from NVIDIA GT218M category:

Region 0: Memory at bc000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at be000000 (64-bit, prefetchable) [size=32M]

And this from Intel Corporation Integrated Graphics Controller category:

Region 0: Memory at fc000000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 1800 [size=8]

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