Forums

Gothic 3 script library problems

Auteur Réponses
rief Jeudi 7 Janvier 2010 à 17:52
riefAnonymous

Hi,
I tried to install Gothic 3 and patch it to the version 1.73 using the script for playonlinux. The script worked fine but I can't run the game because of a strange error: if I run Gothic 3 from playonlinux nothing happens and if I try manually (using the launcher but without WINEDEGUB=-all) I got the error

wine "Gothic3.exe"
autojump_preexec:1: command not found: autojump
fixme:ntoskrnl:KeInitializeTimerEx stub: 0x1310e0 0
err:module:import_dll Library wined3d.dll (which is needed by L"C:\\\\windows\\\\system32\\\\d3d9.dll") not found
err:module:import_dll Library d3d9.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Engine.dll") not found
err:module:import_dll Library dinput.dll (which is needed by L"C:\\\\windows\\\\system32\\\\dinput8.dll") not found
err:module:import_dll Library DINPUT8.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Engine.dll") not found
err:module:import_dll Library Engine.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Game.dll") not found
err:module:import_dll Library Game.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Importer.dll") not found
err:module:import_dll Library wined3d.dll (which is needed by L"C:\\\\windows\\\\system32\\\\d3d9.dll") not found
err:module:import_dll Library d3d9.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Engine.dll") not found
err:module:import_dll Library dinput.dll (which is needed by L"C:\\\\windows\\\\system32\\\\dinput8.dll") not found
err:module:import_dll Library DINPUT8.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Engine.dll") not found
err:module:import_dll Library Engine.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Importer.dll") not found
err:module:import_dll Library Importer.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Gothic3.exe") not found
err:module:import_dll Library wined3d.dll (which is needed by L"C:\\\\windows\\\\system32\\\\d3d9.dll") not found
err:module:import_dll Library d3d9.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Engine.dll") not found
err:module:import_dll Library dinput.dll (which is needed by L"C:\\\\windows\\\\system32\\\\dinput8.dll") not found
err:module:import_dll Library DINPUT8.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Engine.dll") not found
err:module:import_dll Library Engine.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Game.dll") not found
err:module:import_dll Library Game.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Gothic3.exe") not found
err:module:import_dll Library wined3d.dll (which is needed by L"C:\\\\windows\\\\system32\\\\d3d9.dll") not found
err:module:import_dll Library d3d9.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Engine.dll") not found
err:module:import_dll Library dinput.dll (which is needed by L"C:\\\\windows\\\\system32\\\\dinput8.dll") not found
err:module:import_dll Library DINPUT8.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Engine.dll") not found
err:module:import_dll Library Engine.dll (which is needed by L"C:\\\\Programmi\\\\Gothic III\\\\Gothic3.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\\\Programmi\\\\Gothic III\\\\Gothic3.exe" failed, status c0000135


In the wineprefix/Gothic3 directory, wined3d.dll is located in windows/system32.
The problem is strange because with the versione of my linux distro, Arch Linux, the game runs fine (but I can't move the mouse).

During the execution of the playonlinux Gothic 3 script I installed DirectX but I can't find files in the directory of Gothic 3. This is normal? I mean, the directory windows/system32/DirectX is empty.

I.m using Arch Linux with wine 1.1.35 installed.

Thanks,
Rief
rief Jeudi 7 Janvier 2010 à 22:20
riefAnonymous

I tried to reainstall the game and then use wine without Gothic II patch. The game starts but when it reach the menu the mouse is trapped on the center of the screen and if I move it returns to the center. Wine with the patch still have the problem of the post before this.
NSLW Jeudi 7 Janvier 2010 à 22:44
NSLW

If you cannot use POL's Wine then there will be an problem. You can set MouseWarp to auto to get your mouse working partially normal with Wine from your distro.
rief Jeudi 7 Janvier 2010 à 23:03
riefAnonymous

Uhmm I don't know if I can play this game: using wine of my distro I can reach the menu and start a new game but the game crash few seconds after the intro video...
The problem with playonlinux script remains, the patched wine v1.1.35 can't find the required dlls.
NSLW Vendredi 8 Janvier 2010 à 8:35
NSLW

Does unpatached POL's wine 1.1.35 works?
rief Vendredi 8 Janvier 2010 à 14:29
riefAnonymous

Yes but the mouse is blocked in the center of the screen...
NSLW Vendredi 8 Janvier 2010 à 14:47
NSLW

How big is ~/.PlayOnLinux/WineVersions/1.1.35-dinput?
rief Vendredi 8 Janvier 2010 à 15:30
riefAnonymous

I don't have a directory named 1.1.35-dinput. The only directories are:
du -sh ~/.PlayOnLinux/WineVersions/*
58M ~/.PlayOnLinux/WineVersions/1.1.15
75M ~/.PlayOnLinux/WineVersions/1.1.35
73M ~/.PlayOnLinux/WineVersions/1.1.35-Gothic3
NSLW Vendredi 8 Janvier 2010 à 15:57
NSLW

As you can see something is wrong because 1.1.35 and 1.1.35-Gothic3 should be equally in space they take and they aren't and I don't know why. Starting from the beginning: check if you've got 1.1.35-mod.zip in ~/.PlayOnLinux/ressources
rief Vendredi 8 Janvier 2010 à 16:11
riefAnonymous

Yes I have it. It is 1.1 MB.

EDIT: I did diff on the two directories and I got:
diff -r 1.1.35 1.1.35-Gothic3
Only in 1.1.35/usr/lib/wine: dinput.dll.so
Only in 1.1.35/usr/lib/wine: wined3d.dll.so

Edité par rief

NSLW Samedi 9 Janvier 2010 à 9:48
NSLW

Unpack 1.1.35-mod.zip by typing in terminal:
unzip 1.1.35-mod.zip
./1.1.35-mod
cp dinput/* ./
cp Gothic3/* ./

then copy dinput.dll.so and wined3d.dll.so to 1.1.35-Gothic3/usr/lib/wine
It somehow failed on your computer and I don't know why because it works by me.
Report if above steps were successful then I will know where the script fails exactly for you.
rief Samedi 9 Janvier 2010 à 13:24
riefAnonymous

Now the game works. It's normal that the mouse escape from the window? I can't turn my view of 360° around the noname hero.
NSLW Samedi 9 Janvier 2010 à 15:28
NSLW

Do you play in windowed mode?
rief Samedi 9 Janvier 2010 à 15:59
riefAnonymous

Yes, why?

EDIT: i got it, in fullscreen mode the game is playable. Some problems with low graphics and artifacts, but I can play it :D

Edité par rief

NSLW Samedi 9 Janvier 2010 à 17:35
NSLW

The patch I use to fix mouse behaviour works only in fullscreen but it's very simple and don't modify Wine code a lot. The artifacts are well known.
rief Samedi 9 Janvier 2010 à 20:05
riefAnonymous

Well, thanks NSLW for your work, really thanks. I will not play Gothic 3 because I tried it and it is horrible (Gothic 1 and 2 are masterpiece for me). But thanks for your work.