You are here    Supported software    The Witcher nl sv ru pl es de fr

The Witcher

Informations

Creator Message
GNU_Raziel
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 27082
Wine: 1.6 # (#2900)

Feedbacks

Description

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.

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.

Screenshots

Source code

#!/bin/bash
# Date : (2010-08-31 13:00)
# Last revision : (2012-04-11 21:00)
# 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

[ "$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="1.6" # (#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" ""
fi
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
dorinand Saturday 28 January 2017 at 21:57
dorinand Anonymous

Message

Hello,

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
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Zakl\00edna\00e8 - Roz\0161\00ed\00f8en\00e1 edice\\System\\witcher.exe" failed, status c0000135

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 Anonymous

Message

Got 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).
Register dump:
 CS:001b SS:0023 DS:0023 ES:0023 FS:1087 GS:000f
 EIP:61e474a3 ESP:02e3c400 EBP:6b172b04 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:0000000a EBX:00000003 ECX:02e3c400 EDX:0000000a
 ESI:6b171de8 EDI:00000000
Stack dump:
0x02e3c400:  0000000a 43b1ee80 69ce4f24 00000000
0x02e3c410:  40931000 9029b46e bdd43640 69d79744
0x02e3c420:  02e3c454 02e3c440 6b172b04 69c6514d
0x02e3c430:  00203ec0 00000000 6b172b04 69c65179
0x02e3c440:  43b1ee80 6b171e2e 02e3c454 000004a7
0x02e3c450:  4092a000 21232323 41202121 54524f42
0210: sel=1087 base=7fec0000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x61e474a3 in mozalloc (+0x74a3) (0x6b172b04)
0x61e474a3: movl    $0x7b,0x00000000
Modules:
Module    Address            Debug info    Name (62 modules)
ELF           0-82001000    Stabs           <wine-loader>
PE      400000-  524000    Deferred        launcher
PE      a40000-  a67000    Deferred        nssutil3
PE      cf0000-  d2b000    Deferred        nspr4
PE    40590000-40594000    Deferred        version
PE    405c0000-405c3000    Deferred        msimg32
PE    405e0000-405ea000    Deferred        mpr
PE    40710000-40714000    Deferred        advapi32
PE    40780000-40789000    Deferred        winspool
PE    407d0000-407e0000    Deferred        oleacc
PE    42110000-42118000    Deferred        shlwapi
PE    42190000-421b3000    Deferred        oledlg
PE    42610000-4264b000    Deferred        user32
PE    43010000-43017000    Deferred        gdi32
PE    43140000-43144000    Deferred        rpcrt4
PE    431e0000-431e4000    Deferred        imm32
PE    43310000-433a8000    Deferred        comdlg32
PE    43420000-4357d000    Deferred        shell32
PE    43680000-436af000    Deferred        comctl32
PE    437c0000-437c8000    Deferred        ole32
PE    43930000-439c2000    Deferred        oleaut32
PE    43aa0000-43ae4000    Deferred        msvcrt
PE    43b50000-43b68000    Deferred        wininet
PE    43c60000-43c64000    Deferred        winex11
PE    43e30000-43e34000    Deferred        uxtheme
PE    44010000-44016000    Deferred        gameux
PE    440a0000-440a3000    Deferred        secur32
PE    440d0000-440d3000    Deferred        netapi32
PE    44110000-44114000    Deferred        iphlpapi
PE    44130000-44134000    Deferred        ws2_32
PE    44170000-44174000    Deferred        schannel
PE    45450000-45490000    Deferred        crypt32
PE    45530000-45534000    Deferred        rsaenh
PE    45580000-455a3000    Deferred        ieframe
PE    45610000-45621000    Deferred        urlmon
PE    456d0000-456e1000    Deferred        mshtml
PE    45880000-45883000    Deferred        usp10
PE    458c0000-45937000    Deferred        winmm
PE    45990000-45999000    Deferred        msacm32
PE    459c0000-459c4000    Deferred        psapi
PE    459d0000-459d4000    Deferred        wsock32
PE    459f0000-459f4000    Deferred        dbghelp
PE    45a60000-45a63000    Deferred        rasapi32
PE    45a80000-45a83000    Deferred        rasdlg
PE    45aa0000-45aae000    Deferred        setupapi
PE    45b20000-45b23000    Deferred        userenv
PE    45b40000-45b5f000    Deferred        jscript
PE    45be0000-45be3000    Deferred        t2embed
PE    4ec50000-4edfb000    Deferred        gdiplus
PE    61700000-6179b000    Deferred        mozsqlite3
PE    61e40000-61e51000    Deferred        mozalloc
PE    622c0000-622d2000    Deferred        plds4
PE    62d40000-62d6c000    Deferred        smime3
PE    64700000-64740000    Deferred        ssl3
PE    64a40000-64b2f000    Deferred        nss3
PE    64f00000-6537c000    Deferred        gkmedias
PE    65fc0000-65ffa000    Deferred        mozglue
PE    69c40000-6b573000    Deferred        xul
PE    6ce40000-6ce52000    Deferred        plc4
PE    70180000-705cc000    Deferred        mozjs
PE    7b810000-7b868000    Deferred        kernel32
PE    7bc10000-7bc14000    Deferred        ntdll
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\The Witcher Enhanced Edition\launcher.exe
    00000036    0
    00000035    0
    00000034    0 <==
    00000033    0
    00000032    0
    00000031    0
    00000030    0
    0000002f    0
    0000002e    0
    0000002d    0
    0000002c   -1
    0000002b    0
    0000002a    0
    00000029    0
    00000028    0
    00000027    0
    00000026    0
    00000025    0
    00000009    0
0000000e services.exe
    0000001f    0
    0000001e    0
    00000019    0
    00000018    0
    00000016    0
    00000014    0
    00000010    0
    0000000f    0
00000012 winedevice.exe
    0000001d    0
    0000001a    0
    00000017    0
    00000013    0
0000001b plugplay.exe
    00000021    0
    00000020    0
    0000001c    0
00000022 explorer.exe
    00000024    0
    00000023    0
System information:
    Wine build: wine-1.6
    Platform: i386
    Host system: Darwin
    Host version: 12.5.0

Looking on internet I tryed installing "vcrun6" without success. Any fixes for this?

Replies

Anonymous
Monday 29 June 2015 at 22:58 -
Found on some forums that is a problem of the launcher, the launcher won't work in any way so you need to start it from "witcher.exe". Everything else is fine
Anonymous
Sunday 9 April 2017 at 15:00 -
GNU_Raziel thank you very much for script, you save me a lot of time. At first i was afraid when get message that script is not approved by PlayonLinux but when i saw that script was created by admin i calmed down. I run the game as people wrote before me from witcher.exe. If your mouse cursor dissaper dont press shift tab to close steam notification before you load your save file.