Diablo 1 shows black screen after intro on Mandriva 2008 w/ WINE.0.9.44
I am JUST venturing into the world of Wine (I eventually would LOVE to get rid of Windoze altogether... currently I have XP and Mandriva 2008 on dual boot) and I've managed to install Diablo II LOD, Astrolog32 (an astrology tool for calculating Birth/Natal Charts), and Omikron - The Nomad Soul (I know, I love the old-school stuff!:D ). Unfortunately I cannot get the first Diablo to run correctly. It SEEMS to install ok... I can see the Blizzard logos and if I don't hit any buttons the intro screen starts up ok. But after that I get a black screen, although I still hear the music in the background, and I can also hear if I move thru the options with my Up/Down arrows and press enter to select. Is this an issue w/ Wine? Or my comp? I'll insert the contents of my xorg.conf file (who knows, maybe my settings are off).
I've also noticed that on Omikron and Diablo II LOD when I setup wine.cfg I select 1024x768 for my resolution, but it defaults to 800x600. I can't change my monitor's resolution to 800x600 either for some reason; when I go into "Configure - KDesktop" -> "Display Settings" -> "Size and Orientation" tab the only option on my "Screen size" drop-down is 1024x768. ??? I surely hope I don't have to uninstall and reinstall Mandriva (in other words, I messed something up when I installed!) I know that on my Vector Linux machine I can go into VASM and re-setup my hardware just the same as I did when I initially installed. Is there a way to do that w/ Mandriva 2008? Any help is GREATLY appreciated. Contents of xorg.conf: Code:
# File generated by XFdrake (rev 230776) |
Hi k0lvert!
For Diablo 1: Could the blackscreen be a problem with your monitor running out of range? I've had similar issues with Warcraft 2. The solution was to find out specifications on the net about my monitor and use this to edit the xorg.conf file. My monitor can't do anything over 75hz and Warcraft 2 was kicking 85hz when running in full screen. Also, years ago, Diablo 1 worked fine in Linux... for one small problem: IT WAS NOT POSSIBLE TO SAVE :). Since Diablo 1 is not the one-sitting type of game, this can be a turn off for you. Make sure to download the latest patch before running Diablo 1. Usually, you can update Blizzard games by connecting to battle.net, but if you can't navigate the menus, you will need to download the patch from Blizzard's homepage separated. For Diablo 2: As far as I remember, Diablo 2 runs at 640x480 and LOD added 800x600 resolution, so you won't be able to run it at 1024x768. If you are also getting a blackscreen when running D2 - LOD, then it definitely is an out-of-range problem with your monitor. Check http://www.winehq.org/ for some tips and possible solutions with those games. Regards! |
I, too, would like to play the first Diablo in wine, but what you're experiencing is pretty much normal. I haven't tried in while and Wine-0.9.50 was just released a few days ago. Since the problem appears to be DirectDraw related I remember trying changing ddraw from native to builtin and vice-versa, and I tried changing the emulated Windows version from 2000 to 98 and 95 with no success. That was around Wine version 0.9.40.
What you're seeing in KDE's display options is also normal. I never changed my resolution from 1024x768 so I never bothered to investigate why. This line Quote:
Wine can be told to run an app in a window, simulating a specific desktop size. In winecfg look for the options to simulate a desktop and the size you want. If it's not there or grayed out you can do it by editing the user file in ~/.wine. |
The key combo to switch between resolutions is [ctrl][alt][-] and [ctrl][alt[+]. I seem to remember having a similar problem with another Blizzard game (can't remember off the top of my head which one) and I think I had to change the number of colors, not the resolution, to get things to work. That would be set with the DefaultColorDepth variable in your xorg.conf. See how many colors Diablo wants in order to run properly (256=8bit, 65536=16Bit) then set the default color depth to the correct number of bits, restart X and try again.
(Oh, and just an additional note that is only slightly related. To kill an X session immediately [ctl][alt][backspace]). HTH Forrest |
Thanks guys! I managed to get Diablo II LOD to fill my entire screen with the [Control][Alt]+ and [Control][Alt]- combinations... very sweet! The [Control][Alt][Backspace] is also very handy; the first time I did it I thought it would only close down that program, but no, it closes EVERYTHING down! :eek: Along those lines, I was wondering if there is a key combination that is similar to Windoze' [Control][Alt][Delete] for stopping runaway programs? I know if you happen to have a CLI up (terminal, Konsole, whatever you call it), you can [Alt][Tab] to it, type in "top", find the runaway program, and kill it there. BUT if you don't have any other programs up, and if the runaway program is SERIOUSLY locking up your PC, how can you kill it (without killing everything else, that is)?
Back to Diablo: I did find another post here discussing this... http://www.linuxquestions.org/questi...-linux-218393/ At the end of the post they point toward another link (http://bugs.winehq.org/show_bug.cgi?id=2082) which is supposed to contain a "patch" for wine/Diablo 1. When I tried clicking on the patch (to download it, I thought), it opens code. Where would I paste this code??? The page that comes up from that second link is not very self-explanatory (well, at least not to me ;) ). I dunno... any other thoughts?? |
Did you try changing your color depth and starting Diablo?
|
Quote:
Quote:
|
To forrestt:
I haven't tried to change my color depth as of yet, because I haven't been able to find the specifications that Diablo needs. ;) The manual only gives this for the requirements: Quote:
Quote:
Quote:
To dracolich: I did right-click and save the file; it saved as "attachment.cgi", which I do not know what file-type that is or where it would go (I don't know if it would go somewhere in a wine-file or Diablo-file). In FACT, it might not be for either one, since the forum I downloaded this from was talking about Cedega and CVS quite a bit... it might be a file for Cedega. I tried [Control][Alt][Escape] but it had no affect on my system at all. It may not work on KDE. But I still greatly appreciate the input! From both of you guys! :D |
Ok, I should have read that Bug 2082 site a little more thoroughly. ;) They do mention that Diablo attempts to change the BPP (color depth, I am assuming) to 8. So I will try that and see how that works! ;)
|
Ok, I did attempt changing my default color depth to both 8 and 16... and my screen went dead on both attempts. ;) Evidentally I can only run at a Color Depth of 24.
|
Quote:
Try this instead: Open a terminal and time: winecfg In this window, go to "graphics" tab and mark the checkbox "Emulate a virtual desktop". Also set the Desktop size to something like 800x600 or higher. This will make the game to run inside a window. Fire up the game as you normally do again. If everything works as it should, then you know the problem is your monitor running out of range. You will need to configure it manually on xorg.conf file. This is also a good way to test if Diablo actually can safe the game or if you are just wasting your time installing a game and tweaking your monitor with a game that may fail to save your progress... Regards! |
I have my wine.cfg setup for 1024x768 (and Diablo starts up in its own window, which defaults to 800x600, since the game can't support 1024x768... too old), so I think I am good there. I'm thinking the problem may be something else; at the link I was talking about before (http://bugs.winehq.org/show_bug.cgi?id=2082) they seem to think it is a Direct Draw issue. They talk about alt-tab-ing back and forth to "force" the intro screen to draw itself, but I had no luck with this at all. They also have a couple of "patches" but I don't know where to place/add these files... I THINK they go into wine somewhere. I'm seriously tempted to join that forum so I can find out! ;)
I have heard about the issue with saving your progress in Diablo using wine; I figured I would tackle one issue before moving on to the next one. ;) And I realize most people would say, "If Diablo runs just fine in Windoze, then why go thru all the trouble of setting it up in Linux???" And that is a valid question. But I feel that A: this is my personal (well, one of many) Mt. Everest, and B: I'm working toward becoming 100% Windoze free! :D |
Ok, I went ahead and subscribed to the Wine Bugzilla forum. Looks like I have a LOT of reading and learning to do before I can go too much further... you have to know Perl and/or C (which I don't) and use a tool called "Git" to view or modify the Wine source tree. And this is where the file I downloaded before (attachment.cgi) comes into play. I will do my VERY best to keep everyone here updated on my progress, although I will admit it may take awhile (I'm still in training at my new job, so I'll REALLY be pushing my brain to its limits!) But its such sweet torture. :study:
|
Quote:
Quote:
Ahh, to be 100% Windoze-free...I guess you could call that your personal Utopia. I'm almost there myself. My personal Mt. Everest has been Mechwarrior 3 and 4. Quote:
|
All times are GMT -5. The time now is 05:45 PM. |