Hi again!
The game is installed and patched! No problems at all with your script.
But when I should play the game it failed. =(
However, some small changes in winecfg (running from POL) and it got going.
Installing this mod: http://pw-forum.onlinewelten.com/yaf_postst3238_Perfect-World-Resolution-Pack--Download.aspx and I had my native resolution. I will soon reinstall Ubuntu 9.10 on this computer (the update from 9.04 to 9.10 was not flawless). I will then try your script with a fresh install. =)
EDIT: Actually, the water was also buggy. =/
But I'll post here again when I have installed on a fresh installation. =)
EDIT2: Well your script is 6 months old. The information on the AppDB page has most likely been updated pretty much since then, now it seems to be "later is better", not using 1.1.22 (which is not even mentioned on PW's AppDB page) . They also recommends some settings:
Wine configuration:
Windows -> "Windows XP"
Allow Pixel Shader "enable"
Audio only ALSA
Regedit configuration:
Add "Direct3D" key to HKEY_CURRENT_USR -> Software -> Wine
Add the following String Values to the Direct3D key:
DirectDrawRenderer "opengl"
Nonpower2Mode "repack"
OffscreenRenderingMode "fbo"
PixelShaderMode "enabled"
RenderTargetLockMode "auto"
Install DirectX 9 with WineTricks:
Open a terminal and use:
wget http://www.kegel.com/wine/winetricksAfter that:
Run winetricks with:
sh winetricksAnd install the DirectX9 package from the list.
If you have performance issues, switch off Compiz. In the Perfect World Settings, disable the option "Soften" if your game is slow.
They also recommend to let wine emulate a virtual desktop, even if the game will run anyway. I have not done very much in POL before, but I'll think I'll try to update your script a little so we can get this in to the repo. However, I'll probably fail big so someone might have to write the update anyway. ;)
Edité par Dr Phil