The Witcher
Informations
Creator | Message |
---|---|
GNU_Raziel
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks0 1 DescriptionAction role-playing game, 2007. Wikipedia. English : You are Geralt of Rivia, half-human, half-magic creature, and also a feared mercenary in journey to regain his memory. The patch allowing you to enjoy all improvements and two new adventures is also aviable. Français : Incarnez Geralt de Riv créature mi-humaine, mi-magique, mais surtout mercenaire redoutable dans sa quête pour retrouver sa mémoire. Le patch permettant de profiter des améliorations du jeu et des 2 aventures supplémentaire est aussi disponible. Screenshots
Source code#!/bin/bash # Date : (2010-08-31 13:00) # Last revision : see changelog # Wine version used : 1.2.1, 1.2.3, 1.4, 1.6 # Distribution used to test : Debian Testing x64 # Author : GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com # # CHANGELOG: # [GNU_Raziel] (2010-08-31) # First script. # [?] (2012-04-11 21:00) # ? # [Dadu042] (2019-12-24) # Wine 1.6 (obsolete) -> 2.22 (minimal) # [Dadu042] (2020-03-16) # Wine 2.22 -> 3.0.3 (after reviewing Appdb.winehq.org, not tested). [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Witcher" TITLE_EE="The Witcher : Enhanced Edition" PREFIX="thewitcher" EDITOR="CD Projekt" GAME_URL="http://www.thewitcher.com" AUTHOR="GNU_Raziel" WORKING_WINE_VERSION="3.0.3" # (#2900) GAME_VMS="256" SHORTCUT_NAME="$TITLE" MD5_DVD_EE="2596b13aed5fb1c2b3653465e26a32b8" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/witcher/top.jpg" "http://files.playonlinux.com/resources/setups/witcher/left.jpg" "$TITLE" POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Setup method and md5 detection if [ "$POL_SELECTED_FILE" ]; then SETUP_EXE="$POL_SELECTED_FILE" MD5_CHECK=`md5sum $SETUP_EXE` # pol 4.0.16 and lower only if [ "$MD5_CHECK" == "$MD5_DVD_EE" ]; then # pol 4.0.16 and lower only #if [ "$POL_SELECTED_MD5" == "$MD5_DVD_EE" ]; then # pol 4.0.17 and newer only INSTALL_METHOD="DVD" fi else # Choose between DVD, Steam and Digital Download version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" fi # Choose beween Standard and Enhanced Edition if [ "$INSTALL_METHOD" != "STEAM" ]; then POL_SetupWindow_menu "$(eval_gettext 'Which edition do you have?')" "$TITLE" "$(eval_gettext 'Standard Edition')~$(eval_gettext 'Enhanced Edition')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Enhanced Edition')" ]; then cd "$WINEPREFIX/drive_c/" touch ENHANCED_EDITION SHORTCUT_NAME="$TITLE_EE" fi fi # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam fi POL_Call POL_Install_gdiplus POL_Call POL_Install_dxfullsetup # Mandatory pre-install fix for steam [ "$INSTALL_METHOD" == "STEAM" ] && { STEAM_ID="20900"; SHORTCUT_NAME="$TITLE_EE"; } # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver ## Fix for this game cd "$WINEPREFIX/drive_c/windows/temp/" cat << EOF > witcher_fix.reg [HKEY_CURRENT_USER\\Software\\Wine\\Direct3D] "DirectDrawRenderer"="opengl" "RenderTargetLockMode"="readtex" "OffscreenRenderingMode"="fbo" EOF regedit witcher_fix.reg # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ## PlayOnMac Section [ "$POL_OS" = "Mac" ] && Set_Managed "Off" ## End Section # Begin installation if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "witcher.ico" # Disk 1 cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: POL_Wine start /unix "$CDROM/setup.exe" # Ejecting Disk 1 POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next Disk\nclick on \"Forward\"')" "$TITLE" POL_Wine eject # Disk 2 POL_SetupWindow_message "$(eval_gettext 'Please insert the next game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "System/djinni.chm" cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: POL_Wine_WaitExit "$TITLE" elif [ "$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" "$SHORTCUT_NAME" "$TITLE.png" "steam://rungameid/$STEAM_ID" # 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" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Creating Shortcut if [ "$INSTALL_METHOD" != "STEAM" ]; then POL_Shortcut "launcher.exe" "$SHORTCUT_NAME" "$TITLE.png" "" "Game;" fi POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContributeMember | Message |
Dadu042 | Monday 16 March 2020 at 21:36 |
Dadu042
|
InformationThis update has been approved by the team. Differences@@ -13,7 +13,9 @@ # [?] (2012-04-11 21:00) # ? # [Dadu042] (2019-12-24) -# Wine 1.6 -> 2.22 +# Wine 1.6 (obsolete) -> 2.22 (minimal) +# [Dadu042] (2020-03-16) +# Wine 2.22 -> 3.0.3 (after reviewing Appdb.winehq.org, not tested). [ "$PLAYONLINUX" = "" ] && exit 0 @@ -25,7 +27,7 @@ EDITOR="CD Projekt" GAME_URL="http://www.thewitcher.com" AUTHOR="GNU_Raziel" -WORKING_WINE_VERSION="2.22" # (#2900) +WORKING_WINE_VERSION="3.0.3" # (#2900) GAME_VMS="256" SHORTCUT_NAME="$TITLE" MD5_DVD_EE="2596b13aed5fb1c2b3653465e26a32b8" New source code#!/bin/bash # Date : (2010-08-31 13:00) # Last revision : see changelog # Wine version used : 1.2.1, 1.2.3, 1.4, 1.6 # Distribution used to test : Debian Testing x64 # Author : GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com # # CHANGELOG: # [GNU_Raziel] (2010-08-31) # First script. # [?] (2012-04-11 21:00) # ? # [Dadu042] (2019-12-24) # Wine 1.6 (obsolete) -> 2.22 (minimal) # [Dadu042] (2020-03-16) # Wine 2.22 -> 3.0.3 (after reviewing Appdb.winehq.org, not tested). [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Witcher" TITLE_EE="The Witcher : Enhanced Edition" PREFIX="thewitcher" EDITOR="CD Projekt" GAME_URL="http://www.thewitcher.com" AUTHOR="GNU_Raziel" WORKING_WINE_VERSION="3.0.3" # (#2900) GAME_VMS="256" SHORTCUT_NAME="$TITLE" MD5_DVD_EE="2596b13aed5fb1c2b3653465e26a32b8" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/witcher/top.jpg" "http://files.playonlinux.com/resources/setups/witcher/left.jpg" "$TITLE" POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Setup method and md5 detection if [ "$POL_SELECTED_FILE" ]; then SETUP_EXE="$POL_SELECTED_FILE" MD5_CHECK=`md5sum $SETUP_EXE` # pol 4.0.16 and lower only if [ "$MD5_CHECK" == "$MD5_DVD_EE" ]; then # pol 4.0.16 and lower only #if [ "$POL_SELECTED_MD5" == "$MD5_DVD_EE" ]; then # pol 4.0.17 and newer only INSTALL_METHOD="DVD" fi else # Choose between DVD, Steam and Digital Download version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" fi # Choose beween Standard and Enhanced Edition if [ "$INSTALL_METHOD" != "STEAM" ]; then POL_SetupWindow_menu "$(eval_gettext 'Which edition do you have?')" "$TITLE" "$(eval_gettext 'Standard Edition')~$(eval_gettext 'Enhanced Edition')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Enhanced Edition')" ]; then cd "$WINEPREFIX/drive_c/" touch ENHANCED_EDITION SHORTCUT_NAME="$TITLE_EE" fi fi # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam fi POL_Call POL_Install_gdiplus POL_Call POL_Install_dxfullsetup # Mandatory pre-install fix for steam [ "$INSTALL_METHOD" == "STEAM" ] && { STEAM_ID="20900"; SHORTCUT_NAME="$TITLE_EE"; } # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver ## Fix for this game cd "$WINEPREFIX/drive_c/windows/temp/" cat << EOF > witcher_fix.reg [HKEY_CURRENT_USER\\Software\\Wine\\Direct3D] "DirectDrawRenderer"="opengl" "RenderTargetLockMode"="readtex" "OffscreenRenderingMode"="fbo" EOF regedit witcher_fix.reg # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ## PlayOnMac Section [ "$POL_OS" = "Mac" ] && Set_Managed "Off" ## End Section # Begin installation if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "witcher.ico" # Disk 1 cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: POL_Wine start /unix "$CDROM/setup.exe" # Ejecting Disk 1 POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next Disk\nclick on \"Forward\"')" "$TITLE" POL_Wine eject # Disk 2 POL_SetupWindow_message "$(eval_gettext 'Please insert the next game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "System/djinni.chm" cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: POL_Wine_WaitExit "$TITLE" elif [ "$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" "$SHORTCUT_NAME" "$TITLE.png" "steam://rungameid/$STEAM_ID" # 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" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Creating Shortcut if [ "$INSTALL_METHOD" != "STEAM" ]; then POL_Shortcut "launcher.exe" "$SHORTCUT_NAME" "$TITLE.png" "" "Game;" fi POL_SetupWindow_Close exit 0 Replies |
Dadu042 | Tuesday 24 December 2019 at 10:59 |
Dadu042
|
WarningThis update has not been approved yet by the team. Differences@@ -1,11 +1,20 @@ #!/bin/bash # Date : (2010-08-31 13:00) -# Last revision : (2012-04-11 21:00) +# Last revision : see changelog # Wine version used : 1.2.1, 1.2.3, 1.4, 1.6 # Distribution used to test : Debian Testing x64 # Author : GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com +# +# CHANGELOG: +# [GNU_Raziel] (2010-08-31) +# First script. +# [?] (2012-04-11 21:00) +# ? +# [Dadu042] (2019-12-24) +# Wine 1.6 -> 2.22 + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" @@ -16,7 +25,7 @@ EDITOR="CD Projekt" GAME_URL="http://www.thewitcher.com" AUTHOR="GNU_Raziel" -WORKING_WINE_VERSION="1.6" # (#2900) +WORKING_WINE_VERSION="2.22" # (#2900) GAME_VMS="256" SHORTCUT_NAME="$TITLE" MD5_DVD_EE="2596b13aed5fb1c2b3653465e26a32b8" @@ -137,7 +146,7 @@ # Creating Shortcut if [ "$INSTALL_METHOD" != "STEAM" ]; then - POL_Shortcut "launcher.exe" "$SHORTCUT_NAME" "$TITLE.png" "" + POL_Shortcut "launcher.exe" "$SHORTCUT_NAME" "$TITLE.png" "" "Game;" fi POL_SetupWindow_Close exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2010-08-31 13:00) # Last revision : see changelog # Wine version used : 1.2.1, 1.2.3, 1.4, 1.6 # Distribution used to test : Debian Testing x64 # Author : GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com # # CHANGELOG: # [GNU_Raziel] (2010-08-31) # First script. # [?] (2012-04-11 21:00) # ? # [Dadu042] (2019-12-24) # Wine 1.6 -> 2.22 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Witcher" TITLE_EE="The Witcher : Enhanced Edition" PREFIX="thewitcher" EDITOR="CD Projekt" GAME_URL="http://www.thewitcher.com" AUTHOR="GNU_Raziel" WORKING_WINE_VERSION="2.22" # (#2900) GAME_VMS="256" SHORTCUT_NAME="$TITLE" MD5_DVD_EE="2596b13aed5fb1c2b3653465e26a32b8" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/witcher/top.jpg" "http://files.playonlinux.com/resources/setups/witcher/left.jpg" "$TITLE" POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Setup method and md5 detection if [ "$POL_SELECTED_FILE" ]; then SETUP_EXE="$POL_SELECTED_FILE" MD5_CHECK=`md5sum $SETUP_EXE` # pol 4.0.16 and lower only if [ "$MD5_CHECK" == "$MD5_DVD_EE" ]; then # pol 4.0.16 and lower only #if [ "$POL_SELECTED_MD5" == "$MD5_DVD_EE" ]; then # pol 4.0.17 and newer only INSTALL_METHOD="DVD" fi else # Choose between DVD, Steam and Digital Download version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" fi # Choose beween Standard and Enhanced Edition if [ "$INSTALL_METHOD" != "STEAM" ]; then POL_SetupWindow_menu "$(eval_gettext 'Which edition do you have?')" "$TITLE" "$(eval_gettext 'Standard Edition')~$(eval_gettext 'Enhanced Edition')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Enhanced Edition')" ]; then cd "$WINEPREFIX/drive_c/" touch ENHANCED_EDITION SHORTCUT_NAME="$TITLE_EE" fi fi # Installing mandatory dependencies if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam fi POL_Call POL_Install_gdiplus POL_Call POL_Install_dxfullsetup # Mandatory pre-install fix for steam [ "$INSTALL_METHOD" == "STEAM" ] && { STEAM_ID="20900"; SHORTCUT_NAME="$TITLE_EE"; } # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver ## Fix for this game cd "$WINEPREFIX/drive_c/windows/temp/" cat << EOF > witcher_fix.reg [HKEY_CURRENT_USER\\Software\\Wine\\Direct3D] "DirectDrawRenderer"="opengl" "RenderTargetLockMode"="readtex" "OffscreenRenderingMode"="fbo" EOF regedit witcher_fix.reg # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ## PlayOnMac Section [ "$POL_OS" = "Mac" ] && Set_Managed "Off" ## End Section # Begin installation if [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "witcher.ico" # Disk 1 cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: POL_Wine start /unix "$CDROM/setup.exe" # Ejecting Disk 1 POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next Disk\nclick on \"Forward\"')" "$TITLE" POL_Wine eject # Disk 2 POL_SetupWindow_message "$(eval_gettext 'Please insert the next game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "System/djinni.chm" cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: POL_Wine_WaitExit "$TITLE" elif [ "$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" "$SHORTCUT_NAME" "$TITLE.png" "steam://rungameid/$STEAM_ID" # 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" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Creating Shortcut if [ "$INSTALL_METHOD" != "STEAM" ]; then POL_Shortcut "launcher.exe" "$SHORTCUT_NAME" "$TITLE.png" "" "Game;" fi POL_SetupWindow_Close exit 0 Replies |
dorinand | Saturday 28 January 2017 at 21:57 |
dorinand
|
MessageHello, I am new with linux and also playonlinux. I installed Witcher 1 Enhanced Edition. When I try to debug from playon linux there is information: Error in main witcher crashed. And debug show me this: err:module:import_dll Library binkw32.dll (which is needed by L"C:\\Program Files\\Zakl\00edna\00e8 - Roz\0161\00ed\00f8en\00e1 edice\\System\\witcher.exe") not found I read about this issue here. The solution should be this line: env WINEPREFIX="/home/(username)/.wine" wine "D:\Path\to\Oblivion\Oblivion.exe" But I do not have any "D:\..." part. Could anybody help me and explain me the problem? Replies |
Cloddes93 | Monday 29 June 2015 at 22:16 |
Cloddes93
|
MessageGot a problem on starting the game. When i try to open the witcher (enhanced edition) the launcher shows up but everything is white and an error box shows up. The box contains this text: Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x61e474a3). Looking on internet I tryed installing "vcrun6" without success. Any fixes for this? Replies |
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