View previous topic :: View next topic |
Author |
Message |
Jefklak l33t
Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Mon Nov 10, 2003 1:58 pm Post subject: DirectX not found, Diablo 2 LOD - D2VidTest returns 0 |
|
|
I am trying to get Diablo 2 LOD and patch 1.10 work under linux with the latest wine (emerged). I used winesetuptk to set everything up and the install worked flawlessly. But the video setup returns "no video modes found" blabla this could be because you don't have directx blabla.
When I start the game using wine game.exe I get this error:
Error 22: a critical error has occured while initialising DirectDraw.
I did the following steps:
1) emerge wine
2) emerge winesetuptk
3) run winesetuptk (generally dont change anything)
4) mount cds, install
5) get patch, install and crack
6) try to run the program
Do I need something or so to install DirectX??
Your help is appriciated I never worked with Wine before so please bare with me...
Thanks a lot! |
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Mon Nov 10, 2003 2:21 pm Post subject: |
|
|
This one has me stymied as well. It seems to work for some people but not for others, and I have yet to find that magic bullet solution. I would be in gaming bliss if I could get Diablo II to work under Wine!
Surely somebody has the solution to this problem. _________________ I suck at signatures. |
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Wed Nov 12, 2003 12:24 am Post subject: |
|
|
Bump. Anybody know how to fix this? _________________ I suck at signatures. |
|
Back to top |
|
|
Jefklak l33t
Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Wed Nov 12, 2003 8:37 pm Post subject: |
|
|
I fixed it!
You have to play in windowed mode. Set managed to N and declare a "desktop" = "800x600" or your resolution. Enable DXGrap "Y" and you're set
|
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Thu Nov 13, 2003 3:02 am Post subject: |
|
|
Well, I also got it to work, in a manner of speaking. I installed it on my Windows partition then set up Wine to use my Windows directory instead of building its own "fake_windows", and now I'm playing Diablo II in Linux. It's not perfect--the sound crackles and there are some minor performance issues--but it's a start.
Edit: O.K., bad idea! It seems letting Wine have its way with my Windows partition borked Windows! Looks like I'll be reinstalling Windows this weekend. _________________ I suck at signatures. |
|
Back to top |
|
|
boris64 Veteran
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
Posted: Sun Nov 16, 2003 12:28 pm Post subject: |
|
|
hi,
i got d3d-mode working in d2 via winex_cvs.
i copied some d2-related stuff from the windows registry.
now even the D2VidTst.exe lists dd- & d3d-modes...
BUT BEWARE:
these are settings for my geforce card, i DON'T know, if this
works for another graphic card (try and find out!)
try adding/replacing this in your ~/.wine/system.reg
Code: | [Software\\Blizzard Entertainment\\Diablo II\\VideoConfig] 1068820129
"DeviceName"="NVIDIA GeForce4 Ti 4200 with AGP8X"
"dwFlags"=dword:0000029b
"GUID"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"Render"=dword:00000001 |
then try running D2VidTst.exe in your d2-folder
don't run "test vidmodes", this will reset your edited settings...
instead run "show vidmodes" and you should see some options
so, there you are. my d2 runs in d3d-mode, but IMHO
d3d seems to be a bit slower than dd-mode.
don't know why and i hope someone finds out soon... _________________ boris64.net 200x / visit my desktop / try these tiny kernel patches |
|
Back to top |
|
|
boris64 Veteran
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
Posted: Sun Nov 16, 2003 12:31 pm Post subject: |
|
|
Quote: | I fixed it!
You have to play in windowed mode. Set managed to N and declare a "desktop" = "800x600" or your resolution. Enable DXGrap "Y" and you're set |
try this instead, and play diablo2 in fullscreen!
add this to your ~/.wine/config
Code: | [AppDefaults\\game.exe\\x11drv]
"AllocSystemColors" = "100"
"PrivateColorMap" = "N"
"PerfectGraphics" = "N"
"Managed" = "Y"
"Desktop" = "N"
"UseDGA" = "Y"
"UseXShm" = "Y"
"DXGrab" = "Y"
"DesktopDoubleBuffered" = "N"
"TextCP" = "0"
"UseXVidMode" = "Y"
"UseXRandR" = "Y" |
_________________ boris64.net 200x / visit my desktop / try these tiny kernel patches |
|
Back to top |
|
|
Malek Apprentice
Joined: 16 Aug 2003 Posts: 182 Location: Sucking up the Vespene
|
Posted: Sun Nov 16, 2003 3:45 pm Post subject: |
|
|
Just FYI, I've heard that the direct3d mode -- while better -- runs slower, but I can't confirm it since I haven't played in a while. _________________ Smells like Barbeque |
|
Back to top |
|
|
|