satellite360 |
Lundi 22 Décembre 2008 à 6:45
|
satellite360
|
Hi
Just installed Play On Linux and NWN2 - the install process seemed to go fine but I am unable to successfully start NWN2. I get the following errors:
* Your video card has less than 128 mb of video memory
* Unable to detect a video card with hardware 3D acceleration
* Hardware 3D acceleration appears to be disabled
I am running proprietary NVIDIA drivers on Ubuntu 8.10. The video card is a GeForce 8800 GT.
Checked the POL settings and the video card is recognised and the 3D test runs fine.
Grateful for any pointers.
Thanks
|
satellite360 |
Lundi 22 Décembre 2008 à 6:56
|
satellite360
|
Solved by:
* adding the following lib overrides: devenum, dxdiagn
* copying devenum.dll d3dx9_30.dll dxdiagn.dll to ~/.PlayOnLinux/wineprefix/NWN2/drive_c/windows/system32/
* running regedit and adding the following string values in HKEY_CURRENT_USER\ Software\ Wine\ Direct3D
OffscreenRenderingMode = fbo
UseGLSL = enabled
VideoMemorySize = 512 Edité par satellite360
|
GNU_Raziel |
Lundi 22 Décembre 2008 à 14:16
|
GNU_Raziel
|
You don't need to do all thoses things, the pol installer already do it, I've checked the install process with my nwn2 dvd and all goes fine, nothing to add, run flawlessly without touching anytning...
BTW, I solved the DX9 install problem (broken link).
So be sure to have lastest POL version, use the "update/refresh" button and try installing nwn2 again (use terminal to see if something wrong) by using the "Install" button.
Report if you still have problems.
|
sgreum |
Dimanche 28 Décembre 2008 à 6:00
|
sgreum
|
Hello, I am having exactly the same problem.
I installed the latest version of POL this morning and then NWN2. It ran through the installation properly with only the .NET problem and asked me how much RAM I have on my graphics card (512). When I run the 3D test on POL it works fine. I have even installed the advanced POL WINE configuration plugin and told it how much RAM my card has, but I get exactly the same errors.
However, when I try to run NWN 2 (version 1.00) it gives me the three errors in the first post and then dies.
I have also tried the fix in the second post and that doesn't work for me either, though I am not sure which exe file to apply it to.
I have the following set-up for my computer:
AMD Athlon64 5200+
Ubuntu 8.10
2 Gb RAM
512mb GeForce 7300 SE/7200 GS
POL 3.2.2
I would really get this working, my other alternative is to install it under Windows using Virtual Box, but I would rather not, as I can only use 256 Mb of graphics RAM and 1 Gb of my system RAM. Edité par sgreum
|
sgreum |
Dimanche 28 Décembre 2008 à 12:01
|
sgreum
|
I have it working now, though it is not working properly, I get the feeling that it is the updates that I installed that may be the problem.
The easiest solution I used for getting it started is to set the two overrides and then use the POL advanced WINE configuration plugin to set my graphics card to 256Mb or half of what my card has and it loaded fine from there.
|
leonidas42 |
Lundi 29 Décembre 2008 à 8:28
|
leonidas42
|
Hi, all.
I think I may have a clue... when I install, I get the following errors:
/home/leonidas42/.PlayOnLinux/install: line 74: TEMP: command not found
/home/leonidas42/.PlayOnLinux/install: line 75: /nwn.reg: Permission denied
/home/leonidas42/.PlayOnLinux/install: line 76: /nwn.reg: Permission denied
/home/leonidas42/.PlayOnLinux/install: line 77: /nwn.reg: Permission denied
/home/leonidas42/.PlayOnLinux/install: line 78: /nwn.reg: Permission denied
/home/leonidas42/.PlayOnLinux/install: line 86: /nwn.reg: Permission denied
fixme:ole llRegisterServer stub
regedit: File not found "/nwn.reg" (2)
/home/leonidas42/.PlayOnLinux/install: line 89: /nwn2.reg: Permission denied
/home/leonidas42/.PlayOnLinux/install: line 90: /nwn2.reg: Permission denied
/home/leonidas42/.PlayOnLinux/install: line 91: /nwn2.reg: Permission denied
/home/leonidas42/.PlayOnLinux/install: line 92: /nwn2.reg: Permission denied
regedit: File not found "/nwn2.reg" (2)
When I look at the files, sure enough there's no write permissions. This seems strange to me, since they were created by me using the script. Any ideas?
(Needless to say without the .reg updates, it's not working. I'm going to try them manually and see how it goes.)
FWIW, I'm running Mandriva 2009.0 using KDE 4.1 with a NVidia 8600 video card.
Thanks in advance! Edité par leonidas42
|
leonidas42 |
Lundi 29 Décembre 2008 à 19:49
|
leonidas42
|
Huzzah!
After looking through the script and manually making changes to the registry, it immediately crashed just like before...
But, I was able to revert to a previous version of Wine (Tools>Manage Wine Versions and Settings>Environment). Using 0.9.58 it works great!
I'm thinking about trying to sneak to a higher version... I'll keep you posted.
|
Sam98961 |
Dimanche 26 Avril 2009 à 5:14
|
Sam98961
|
I'm having an issue trying to install this game. When it says it's creating the wine prefix, it locks up. From a terminal is says the following:
wine: created the configuration directory '/home/sam/.PlayOnLinux/wineprefix/NWN2'
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/home/sam/.PlayOnLinux/wineprefix/NWN2' has been updated.
Am I doing something wrong?
|
Sam98961 |
Dimanche 26 Avril 2009 à 5:36
|
Sam98961
|
Quick update, I was able to get it past that part by remove all of wine and playonlinux, deleting my .wine and .Playonlinux directories and starting over. Now it gets to the point where it downloads all of the Wine DirectX9.0c update and then locks up right after it's done downloading. I appreciate any help yall can provide. I've been wanting to play this game. I'm running 9.04 Ubuntu with the latest version of wine.
|
Sam98961 |
Dimanche 26 Avril 2009 à 6:16
|
Sam98961
|
Ok, this link in the script is dead.
http://www.sweetpotatosoftware.com/files/microsoft.vc80.crt.zip
I tried updating it with a working link, http://draconianzone.googlecode.com/files/Microsoft.VC80.CRT.zip, but when I update the link and run the script it pukes everywhere. How can I update this script without it crapping out?
|
NSLW |
Dimanche 26 Avril 2009 à 8:55
|
NSLW
|
How can I update this script without it crapping out?
you should change
POL_SetupWindow_download "$LNG_DX9_DL" "Never Winter Nights 2" "http://www.sweetpotatosoftware.com/files/microsoft.vc80.crt.zip"
to
POL_SetupWindow_download "$LNG_DX9_DL" "Never Winter Nights 2" "http://draconianzone.googlecode.com/files/Microsoft.VC80.CRT.zip"
and
unzip microsoft.vc80.crt.zip
to
unzip Microsoft.VC80.CRT.zip
|
Sam98961 |
Dimanche 26 Avril 2009 à 9:19
|
Sam98961
|
Now I'm getting this.....
PlayOnLinux v3.4
Checking python : [ Ok ]
--2009-04-26 02:18:32-- http://www.playonmac.com/script_files//setups/nwn2/left.jpg
Resolving www.playonlinux.com... 91.121.5.64
Connecting to www.playonlinux.com|91.121.5.64|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12400 (12K) [image/jpeg]
Saving to: `left.jpg'
100%[======================================>] 12,400 46.8K/s in 0.3s
2009-04-26 02:18:32 (46.8 KB/s) - `left.jpg' saved [12400/12400]
/home/sam/Desktop/blah.sh: line 4: POL_SetupWindow_Init: command not found
/home/sam/Desktop/blah.sh: line 5: POL_SetupWindow_presentation: command not found
/home/sam/Desktop/blah.sh: line 7: POL_SetupWindow_cdrom: command not found
/home/sam/Desktop/blah.sh: line 8: POL_SetupWindow_check_cdrom: command not found
/home/sam/Desktop/blah.sh: line 10: select_prefixe: command not found
/home/sam/Desktop/blah.sh: line 11: POL_SetupWindow_prefixcreate: command not found
/home/sam/Desktop/blah.sh: line 22: POL_SetupWindow_download: command not found
/home/sam/Desktop/blah.sh: line 25: POL_SetupWindow_download: command not found
/home/sam/Desktop/blah.sh: line 28: POL_SetupWindow_download: command not found
/home/sam/Desktop/blah.sh: line 31: POL_SetupWindow_download: command not found
/home/sam/Desktop/blah.sh: line 34: cd: /drive_c/windows/temp/: No such file or directory
Archive: /home/sam/.PlayOnLinux/ressources/D3DX9_XX_dll_(32Bit_All).zip
replace D3DX9_XX_dll_(32Bit_All)/Install/Apr2005_d3dx9_25_x86.cab? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(assuming [N]one)
/home/sam/Desktop/blah.sh: line 37: Set_OS: command not found
wine: cannot find 'c:\\windows\\temp\\D3DX9_XX_dll_(32Bit_All)\\Install\\DXSETUP.exe'
wine: could not load L"C:\\\\windows\\\\system32\\\\setup.exe": Module not found
/home/sam/Desktop/blah.sh: line 43: POL_SetupWindow_message: command not found
/home/sam/Desktop/blah.sh: line 45: TEMP: command not found
/home/sam/Desktop/blah.sh: line 46: /nwn.reg: Permission denied
/home/sam/Desktop/blah.sh: line 47: /nwn.reg: Permission denied
/home/sam/Desktop/blah.sh: line 48: /nwn.reg: Permission denied
/home/sam/Desktop/blah.sh: line 49: /nwn.reg: Permission denied
/home/sam/Desktop/blah.sh: line 51: POL_SetupWindow_menu_list: command not found
/home/sam/Desktop/blah.sh: line 53: [: /home/sam/Desktop/blah.sh: integer expression expected
/home/sam/Desktop/blah.sh: line 57: /nwn.reg: Permission denied
regedit: File not found "/nwn.reg" (2)
/home/sam/Desktop/blah.sh: line 60: /nwn2.reg: Permission denied
/home/sam/Desktop/blah.sh: line 61: /nwn2.reg: Permission denied
/home/sam/Desktop/blah.sh: line 62: /nwn2.reg: Permission denied
/home/sam/Desktop/blah.sh: line 63: /nwn2.reg: Permission denied
regedit: File not found "/nwn2.reg" (2)
/home/sam/Desktop/blah.sh: line 67: Set_Managed: command not found
/home/sam/Desktop/blah.sh: line 68: Set_DXGrab: command not found
/home/sam/Desktop/blah.sh: line 69: Set_GLSL: command not found
unzip: cannot find or open Microsoft.VC80.CRT.zip, Microsoft.VC80.CRT.zip.zip or Microsoft.VC80.CRT.zip.ZIP.
/home/sam/Desktop/blah.sh: line 73: cd: ./Microsoft.VC80.CRT: No such file or directory
cp: target `/drive_c/Program Files/Atari/Neverwinter Nights 2/' is not a directory
cp: cannot stat `/home/sam/.PlayOnLinux/ressources/d3dx9_30.dll': No such file or directory
cp: cannot stat `/home/sam/.PlayOnLinux/ressources/devenum.dll': No such file or directory
cp: cannot stat `/home/sam/.PlayOnLinux/ressources/dxdiagn.dll': No such file or directory
/home/sam/Desktop/blah.sh: line 80: POL_SetupWindow_reboot: command not found
/home/sam/Desktop/blah.sh: line 82: POL_SetupWindow_make_shortcut: command not found
/home/sam/Desktop/blah.sh: line 83: POL_SetupWindow_Close: command not found
|
NSLW |
Dimanche 26 Avril 2009 à 9:29
|
NSLW
|
I don't know what you did but all you have to do is to go to this script site and copy all from "#!/bin/bash" to "exit" to a text file without extensions and change in it what i wrote on Sunday 26 April 2009 at 8:55
Then to install you have to go to "tools->run a non-official script" and choose your script
|
Sam98961 |
Dimanche 26 Avril 2009 à 19:15
|
Sam98961
|
Awesome, it's working great now. I didn't get all the script copied previously. Here is the working script.
****************************************************************************************************************
#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check
if [ "$POL_LANG" == "fr" ]; then
LNG_DX9_DL="Téléchargement de la mise a jour DirectX9.0c pour Wine..."
LNG_DX9_FIX="Téléchargement des correctifs DirectX pour ce jeu..."
LNG_VMS="Quelle est la quantité de mémoire (Mo) de votre carte graphique ?\\n(minimum pour ce jeu : 256)"
LNG_WARNING_VMS="Ce jeu ne fonctionnera correctement qu'avec une\\ncarte graphique ayant plus de 64Mo de mémoire."
LNG_WAIT_END="Appuyez sur \\"Suivant\\" UNIQUEMENT quand l'installation du jeu\\nsera terminée sous peine de devoir recommencer l'installation."
elif [ "$POL_LANG" == "de" ]; then
LNG_DX9_DL="Lade Wine DirectX9.0c Update herunter..."
LNG_DX9FIX_DL="Lade Wine DirectX9.0c Fix herunter..."
LNG_WAIT_END="Klicke ERST auf \\"Weiter\\" wenn die Spielinstallation abgeschlossen ist. Ansonsten muss die Installation wiederholt werden.\\nDie Microsoft .NET 2.0 Framework Installation kann fehlschlagen - dies ist aber nicht schlimm."
LNG_VMS="Wieviel Grafikspeicher besitz die Grafikkarte?(Minimum für NWN2 : 128)"
LNG_WARNING_VMS="Warnung: Die Grafikkarte hat zu wenig Speicher!"
else
LNG_DX9_DL="Downloading Wine DirectX9.0c Update..."
LNG_DX9FIX_DL="Downloading DirectX Fix..."
LNG_WAIT_END="Click on \\"Next\\" ONLY when the game installation is finished\\nor you will have to redo the installation.\\nMicrosoft .NET 2.0 Framework installation may fail during install.\\nDon't panic, this is not fatal. Just continue installation."
LNG_VMS="How much memory does your graphics board have?\\n(minimum for this game : 256)"
LNG_WARNING_VMS="warning, your graphic card do not have enough memory to play this game."
fi
cd $REPERTOIRE/tmp
rm *.jpg
wget $SITE/setups/nwn2/left.jpg
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpg"
POL_SetupWindow_presentation "NeverWinter Nights 2" "Atari" "http://www.atari.com" "otty" "NWN2"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
select_prefixe "$REPERTOIRE/wineprefix/NWN2/"
POL_SetupWindow_prefixcreate
if [ ! -e $REPERTOIRE/ressources/ ]; then
mkdir -p $REPERTOIRE/ressources/
fi
cd $REPERTOIRE/ressources/
if [ ! -e $REPERTOIRE/ressources/D3DX9_XX_dll_\\(32Bit_All\\).zip ]; then
POL_SetupWindow_download "$LNG_DX9_DL" "$FULL_NAME" "http://mulx.net/file_pol/D3DX9_XX_dll_(32Bit_All).zip"
fi
if [ ! -e $REPERTOIRE/ressources/microsoft.vc80.crt.zip ]; then
POL_SetupWindow_download "$LNG_DX9_DL" "Never Winter Nights 2" "http://draconianzone.googlecode.com/files/Microsoft.VC80.CRT.zip"
fi
if [ ! -e $REPERTOIRE/ressources/d3dx9_30.dll ]; then
POL_SetupWindow_download "$LNG_DX9FIX_DL" "Never Winter Nights 2" "http://theocratie.com.free.fr/dll/d3dx9_30.dll"
fi
if [ ! -e $REPERTOIRE/ressources/devenum.dll ]; then
POL_SetupWindow_download "$LNG_DX9FIX_DL" "Never Winter Nights 2" "http://theocratie.com.free.fr/dll/devenum.dll"
fi
if [ ! -e $REPERTOIRE/ressources/dxdiagn.dll ]; then
POL_SetupWindow_download "$LNG_DX9FIX_DL" "Never Winter Nights 2" "http://theocratie.com.free.fr/dll/dxdiagn.dll"
fi
cd $WINEPREFIX/drive_c/windows/temp/
unzip $REPERTOIRE/ressources/D3DX9_XX_dll_\\(32Bit_All\\).zip
Set_OS "winxp"
wine c:\\\\windows\\\\temp\\\\D3DX9_XX_dll_\\(32Bit_All\\)\\\\Install\\\\DXSETUP.exe
cd $CDROM
wine setup.exe
POL_SetupWindow_message "$LNG_WAIT_END" "Never Winter Nights 2"
TEMP = "$REPERTOIRE/tmp"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > $TEMP/nwn.reg
echo "\\"DirectDrawRenderer\\"=\\"opengl\\"" >> $TEMP/nwn.reg
echo "\\"OffscreenRenderingMode\\"=\\"fbo\\"" >> $TEMP/nwn.reg
echo "\\"UseGLSL\\"=\\"enabled\\"" >> $TEMP/nwn.reg
POL_SetupWindow_menu_list "$LNG_VMS" "NWN2" "32-64-128-256-384-512-768-1024-2048" "-" "128"
VMS="$APP_ANSWER"
if [ "$VMS" -lt "128" ]; then
POL_SetupWindow_message_image "$LNG_WARNING_VMS" "NWN2" "$PLAYONLINUX/themes/tango/warning.png"
fi
echo "\\"VideoMemorySize\\"=\\"$VMS\\"" >> $TEMP/nwn.reg
regedit $TEMP/nwn.reg
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > $TEMP/nwn2.reg
echo "\\"devenum\\"=\\"native,builtin\\"" >> $TEMP/nwn2.reg
echo "\\"dxdiagn\\"=\\"native,builtin\\"" >> $TEMP/nwn2.reg
echo "\\"d3dx9_30\\"=\\"native,builtin\\"" >> $TEMP/nwn2.reg
regedit $TEMP/nwn2.reg
Set_Managed "On"
Set_DXGrab "On"
Set_GLSL "On"
cd $REPERTOIRE/ressources/
unzip Microsoft.VC80.CRT.zip
cd ./Microsoft.VC80.CRT
cp * "$WINEPREFIX/drive_c/Program Files/Atari/Neverwinter Nights 2/"
cp -v "$REPERTOIRE/ressources/d3dx9_30.dll" "$WINEPREFIX/drive_c/Program Files/Atari/Neverwinter Nights 2/"
cp -v "$REPERTOIRE/ressources/devenum.dll" "$WINEPREFIX/drive_c/Program Files/Atari/Neverwinter Nights 2/"
cp -v "$REPERTOIRE/ressources/dxdiagn.dll" "$WINEPREFIX/drive_c/Program Files/Atari/Neverwinter Nights 2/"
POL_SetupWindow_reboot
POL_SetupWindow_make_shortcut "NWN2" "Program Files/Atari/Neverwinter Nights 2/" "nwn2main.exe" "nwn.ico" "NeverWinter Nights 2"
POL_SetupWindow_Close
exit
***********************************************************************************************************
Do the expansions install the same way?
|
Sam98961 |
Dimanche 26 Avril 2009 à 19:19
|
Sam98961
|
Well, the install worked fine. Now it says I have less than 128mb of video ram, I have 512 and chose that after the install. And after I click ok on that it says it's unable to detect any hardware 3d cards. Then it closes. Oh well.....
|
NSLW |
Dimanche 26 Avril 2009 à 19:52
|
NSLW
|
Well, the install worked fine. Now it says I have less than 128mb of video ram, I have 512 and chose that after the install. And after I click ok on that it says it's unable to detect any hardware 3d cards. Then it closes. Oh well.....
Let me guess, you've got ATI graphic card?
Do Settings->system and then chose "3D test" to check if you really haven't got 3d card after 30 second close this window and check what are the fps. If they are below 2000 fps then something is wrong with your graphic drivers.
Besides you can post what do you see if you run playonlinux from terminal and then the game. Edité par NSLW
|
Sam98961 |
Dimanche 26 Avril 2009 à 20:02
|
Sam98961
|
I have a GeForce Quadro FX 3500M 512MB ram. This is what I get when I run playonlinux from a terminal.
PlayOnLinux v3.4
Checking python : [ Ok ]
Running NeverWinter Nights 2
****************************************************************************************
Glxinfo:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
glxgears:
Running synchronized to the vertical refresh. The framerate should be
approximately 1/13348 the monitor refresh rate.
11160 frames in 5.0 seconds = 2231.866 FPS
11573 frames in 5.0 seconds = 2314.513 FPS
11385 frames in 5.0 seconds = 2276.951 FPS
11477 frames in 5.0 seconds = 2295.303 FPS
11400 frames in 5.0 seconds = 2279.982 FPS
I'm using Ubuntu 9.04 with the latest video drivers from nvidia.
Thanks for your help on this. Edité par Sam98961
|
NSLW |
Dimanche 26 Avril 2009 à 20:15
|
NSLW
|
Then everything is ok with your graphic card.
satellite360 seemed to have got the same issues as you. Did you tried to do what he did in his second post?
It may be also that something changed with wine. Then you should try to download wine 1.1.10 from PlayOnLinux (HOW TO is here if you would not know how to do it)
|
Sam98961 |
Lundi 27 Avril 2009 à 4:14
|
Sam98961
|
No luck. Now it comes to the, "You don't have 128mb of video ram" error and when I click ok it just closes. Nothing in the terminal.
|
NSLW |
Lundi 27 Avril 2009 à 8:22
|
NSLW
|
No luck. Now it comes to the, "You don't have 128mb of video ram" error and when I click ok it just closes. Nothing in the terminal.
Are you sure that you have set?
VideoMemorySize = 512
Are you sure you haven't made typo? This key name is case sensitive.
|