Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DirectX not found, Diablo 2 LOD - D2VidTest returns 0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Mon Nov 10, 2003 1:58 pm    Post subject: DirectX not found, Diablo 2 LOD - D2VidTest returns 0 Reply with quote

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
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Mon Nov 10, 2003 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Wed Nov 12, 2003 12:24 am    Post subject: Reply with quote

Bump. Anybody know how to fix this?
_________________
I suck at signatures.
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Wed Nov 12, 2003 8:37 pm    Post subject: Reply with 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 :D

8)
Back to top
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Thu Nov 13, 2003 3:02 am    Post subject: Reply with quote

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
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Sun Nov 16, 2003 12:28 pm    Post subject: Reply with quote

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
Code:
wine D2VidTst.exe

don't run "test vidmodes", this will reset your edited settings...
instead run "show vidmodes" and you should see some options ;)

:arrow: 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
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Sun Nov 16, 2003 12:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Malek
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 182
Location: Sucking up the Vespene

PostPosted: Sun Nov 16, 2003 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum