[Bug 29521] New: Warhammer Darkomen starts with blank screen
http://bugs.winehq.org/show_bug.cgi?id=29521 Bug #: 29521 Summary: Warhammer Darkomen starts with blank screen Product: Wine Version: 1.3.36 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: alexandrbezenkov(a)gmail.com Classification: Unclassified Game starts fine, but I see nothing except cursor. Ingame sounds are present, when I move cursor I hear sounds that appear when menu item is hovered, also menu music is present. I tried to run with "winduz 98" and "winduz 95" setting in winecfg, but result is the same. Specs: Arch Linux with 3.1.6 kernel. NVidia gt430 with nvidia 290.10 driver. wine 1.3.36 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #1 from RealGecko <alexandrbezenkov(a)gmail.com> 2012-01-03 04:48:02 CST --- Some addtion: after game start console output is filled with "err:ddraw:ddraw_surface7_Flip Can't find a flip target" message. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #2 from James Carthew <jcarthew(a)gmail.com> 2013-11-18 15:30:17 CST --- Created attachment 46562 --> http://bugs.winehq.org/attachment.cgi?id=46562 Log of Warhammer: Dark Omen startup Running warhammer dark omen under wine 1.7.4 with no additional flags. Game loads with black screen and intro movie plays (audio can be heard) press a button and the main menu music starts to play. Screen remains black. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #3 from James Carthew <jcarthew(a)gmail.com> 2013-11-18 15:31:42 CST --- Created attachment 46563 --> http://bugs.winehq.org/attachment.cgi?id=46563 Log of Warhammer: Dark Omen startup with +ddraw enabled Log file of Dark Omen being run in wine 1.7.4 with WINEDEBUG=+ddraw enabled. Game loads to black screen but main menu music can be heard playing. Intro movie also plays but screen remains black. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #4 from James Carthew <jcarthew(a)gmail.com> 2013-11-18 15:36:33 CST --- Created attachment 46564 --> http://bugs.winehq.org/attachment.cgi?id=46564 Screenshot of game running When game runs, comes up with black screen, moving window around (virtual desktop) causes immediate graphics corruption of the window. Screenshot of this is provided. Main Menu music continues to play. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29521 James Carthew <jcarthew(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcarthew(a)gmail.com --- Comment #5 from James Carthew <jcarthew(a)gmail.com> 2013-11-19 06:18:31 CST --- (In reply to comment #0)
Game starts fine, but I see nothing except cursor. Ingame sounds are present, when I move cursor I hear sounds that appear when menu item is hovered, also menu music is present. I tried to run with "winduz 98" and "winduz 95" setting in winecfg, but result is the same. Specs: Arch Linux with 3.1.6 kernel. NVidia gt430 with nvidia 290.10 driver. wine 1.3.36
When you ran the game, was the cursor you saw the ingame cursor, or the windows arrow cursor? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #6 from RealGecko <alexandrbezenkov(a)gmail.com> 2013-11-19 20:11:23 CST --- (In reply to comment #5)
When you ran the game, was the cursor you saw the ingame cursor, or the windows arrow cursor?
Well, it was so long ago so I can`t remember :) I`l try to retest issue as soon as possible. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #7 from James Carthew <jcarthew(a)gmail.com> 2013-11-22 14:04:26 CST --- There is a workaround for the intro movie. If you hex edit a value in the executable to blit instead of page flip, the intro movie loads and plays. The games main menu still fails to display. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29521 Michael Andersson <mike.andersson(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.andersson(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #8 from James Carthew <jcarthew(a)gmail.com> --- This is being caused by wine's page flipping support in DirectX 5. When the game is patched to Blit to the screen by hex editing a value in the .EXE the menus load and graphics display. The game should be run in 16-bit mode for best visual effect. This bug is not fixed. I have posted screenshots of the game with blitting set to on. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 tomodachi <tomodachi(a)fishface.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomodachi(a)fishface.se --- Comment #9 from tomodachi <tomodachi(a)fishface.se> --- James this is wonderful news, I have been lurking this page several years hoping to seem some result. Could you share the details for your hexedit hack? perhaps also a version of the game or md5 of the exe so one can be sure to do it on the same version. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #10 from James Carthew <jcarthew(a)gmail.com> --- The hex-edit for the english version of EngRel.Exe: write 0x00 at file offset: 0x000BD0A8 The original source is here: http://forum.dark-omen.org/help-section/3d-mode-and-win8-dark-omen-t1164.0.h... You will also need to run X11 in 16-bit colour mode as wine does not currently change the display mode to 16-bit. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #11 from James Carthew <jcarthew(a)gmail.com> --- Bug is still occurring in wine-1.9.7: err:ddraw:ddraw_surface7_Flip Can't find a flip target -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #12 from James Carthew <jcarthew(a)gmail.com> --- I'd like this bug closed for being too vague, instead I'll log two new bugs which are more specific to these problems. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #13 from winetest(a)luukku.com --- (In reply to James Carthew from comment #8)
This is being caused by wine's page flipping support in DirectX 5. When the game is patched to Blit to the screen by hex editing a value in the .EXE the menus load and graphics display. The game should be run in 16-bit mode for best visual effect. This bug is not fixed. I have posted screenshots of the game with blitting set to on.
This patch should help for 16bit mode. diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c index d4f5c84..10ee851 100644 --- a/dlls/winex11.drv/x11drv_main.c +++ b/dlls/winex11.drv/x11drv_main.c @@ -562,7 +562,7 @@ static BOOL process_attach(void) init_pixmap_formats( display ); init_visuals( display, DefaultScreen( display )); - screen_bpp = pixmap_formats[default_visual.depth]->bits_per_pixel; + screen_bpp = 16; XInternAtoms( display, (char **)atom_names, NB_XATOMS - FIRST_XATOM, False, X11DRV_Atoms ); -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d CC| |joseph.kucia(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #14 from joaopa <jeremielapuree(a)yahoo.fr> --- Does the bug still occur with wine-4.19? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #15 from RealGecko <alexandrbezenkov(a)gmail.com> --- Yes, and with 4.20 too. And console is still filled with following error: 002c:err:ddraw:ddraw_surface7_Flip Can't find a flip target. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #16 from joaopa <jeremielapuree(a)yahoo.fr> --- Does the bug still occur with wine-6.3? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #17 from RealGecko <alexandrbezenkov(a)gmail.com> --- With both WINE 6.2 and 6.3 game does not start at all, I've tried 32 bit winduz 98 and 64 bit winduz 7 prefixes and result is always the same. Stack trace attached. OS: Arch Linux x86_64 Kernel Release: 5.11.2-arch1-1 GTX 1070 with Nvidia 460.56 driver -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #18 from RealGecko <alexandrbezenkov(a)gmail.com> --- Created attachment 69522 --> https://bugs.winehq.org/attachment.cgi?id=69522 Warhammer Dark Omen crash stack trace with WINE 6.3 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #19 from joaopa <jeremielapuree(a)yahoo.fr> --- Does the bug still occur with wine-6.18? (I mean blank screen). If you still have a crash, please open a new bug report for that. Thanks in advance. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #20 from RealGecko <alexandrbezenkov(a)gmail.com> --- Sorry, currently waiting for update of WINE for Arch Linux, will test immediately it upgrades. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #21 from James Carthew <jcarthew(a)gmail.com> --- Still coming up with a black screen I'm sure it's related to this: 014c:err:ddraw:ddraw_surface1_Flip Can't find a flip target Intro cutscene is playing (audio works but video doesn't) Main Menu interaction works but screen is black. Cursor is now visible though. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #22 from James Carthew <jcarthew(a)gmail.com> --- Latest version of WINE tested with: 6.20 on Debian Linux 64-bit -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #23 from RealGecko <alexandrbezenkov(a)gmail.com> --- Confirming on Arch Linux with WINE 6.19 issue is still the same. Console is filled with 010c:err:ddraw:ddraw_surface1_Flip Can't find a flip target -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 padraig <padraig_mac(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |padraig_mac(a)hotmail.com --- Comment #24 from padraig <padraig_mac(a)hotmail.com> --- The problem of the black screen is with ddraw.dll, the best solution is to create a wine prefix for Dark Omen, and replace ddraw.dll in system32 with the one from the CD (note you should rename it in small letters as it is in capitals). This will then run but the colours are warped so run it in Xephyr 16 bit then and the cut scenes and battles work. However, the background textures are doubled over. This doesn't affect battles, just the menu, load screen and briefings. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #25 from tomodachi <tomodachi(a)fishface.se> --- Thanks for taking your time to post on this long-running bug :) James. For sake of completeness could you tell us what exact version of Wine you're using as well as Version of DarkHammer (perhaps even a md5sum of the DLL you mentioned) To make it easier for others to pick up -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #26 from padraig <padraig_mac(a)hotmail.com> --- Apologies, I intended to put the version of wine in, this is on wine 7.3. For the dll, the one in the DirectX folder on the cd has md5sum: 7cfb6efb41b680b1e8a1691255115ac4 and there is a custom patch on dark-omen.org which might be better to use, that has md5sum: a8bb6b9179b88536a65fb1742dad2532. I'm not sure how to find out what version of the game I have, that dll has a date of 14 July 1997 if that helps in any way... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #27 from RealGecko <alexandrbezenkov(a)gmail.com> --- Hey there! I've tried the solution and it did not work. I've grabbed ddraw.dll with checksum 7cfb6efb41b680b1e8a1691255115ac4 and tried following: 1. windows/system32 - black screen 2. game installation directory and run autorun.exe - black screen 3. game installation dir/PRG_ENG and run EngRel.exe - black screen Alas I was unable to find other dll you've mentioned on http://en.dark-omen.org, can you please provide a direct link? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #28 from RealGecko <alexandrbezenkov(a)gmail.com> --- WINE 7.6 on Arch Linux, forgot to mention. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #29 from padraig <padraig_mac(a)hotmail.com> --- I had to create a wine prefix for it too, it didn't work in system wine. Also you could try using the patched d3drm.dll from here: http://en.dark-omen.org/downloads/5.-miscellaneous/index.html I did use it but it didn't seem to make a difference. The other dll I mentioned (and d3drm.dll) are here: http://www.mediafire.com/file/fnnkq89xdjy75m0/DarkOmenMods.zip/file I've put full instructions for what I did here: http://forum.dark-omen.org/help-section/dark-omen-linux-textures-flipped-t15... Let me know if it doesn't work and I'll try on another machine. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #30 from RealGecko <alexandrbezenkov(a)gmail.com> --- I have separate prefix for Dark Omen for years which is 32 bit win98 :D Will download files you linked and try again. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #31 from padraig <padraig_mac(a)hotmail.com> --- Might be worth trying to set up a clean prefix anyway as at some stage I had it working on system wine but after messing with dlls to try to fix the texture issue it went to the black screen and I couldn't get it working again. The clean prefix with the ddraw.dll fixed it. Note that if you don't open it in Xephyr (or something with 16 bit colour) the cut scene starts as black but you'll hear "Electronic Arts" so you could think it hasn't worked, press Escape or something first to get out of the cut scene. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #32 from RealGecko <alexandrbezenkov(a)gmail.com> --- OK, I don't know what I was doing wrong but replacing dlls did not help at all. So I simply removed everything from PRG_ENG directory and replaced it with contents of DarkOmenMods.zip you linked. Then everything started working and Xephyr helped to solve the issue with palette. Thanks, I guess your guide may be used as a workaround for the game. However I'm still not sure about dlls. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #33 from padraig <padraig_mac(a)hotmail.com> --- Well that's great that it works, odd that they worked in the folder with the exe but not in system32 but still. I presume you have issues with the background textures being doubled over? I have an error in the console which seems to be with dplay, I tried using dplay.dll and dplayx.dll that were in the CDs Directx folder but they didn't make a difference. Also I don't know how to upscale it, I don't have to use Xephyr for Shadow of the Horned Rat which is also 16 bit colour and that runs well in full screen. It would be nice to run this larger than a little window anyway. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #34 from padraig <padraig_mac(a)hotmail.com> --- Just a further update for how the texture mirroring can be fixed. Download the ddraw.dll and config file from here: http://www.bitpatch.com/ddwrapper.html Put them in the same directory as EngRel.exe and in the config file set BltMirror=1 Then use winecfg to add ddraw to the overrides library as native first and then the textures will render correctly. I should also point out that everything I've said doesn't work with the original executable, you need to use the hexedited one which is one of the executables in here: http://www.mediafire.com/file/fnnkq89xdjy75m0/DarkOmenMods.zip/file (There are other ones around dark-omen.org too but I haven't tested them all). The game will run perfectly then in Xephyr with 16 bit colour. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #35 from RealGecko <alexandrbezenkov(a)gmail.com> --- Sorry for late reply. I guess that's what was the cause of the issue, I used original .exe an it did not work, then I just replaced everything in PRG_ENG (including .exe) and it did work. Thing to note: I did not have texture doubling issue when I was running through Xephyr. I guess my setup is somehow different from yours. Maybe it's due to video driver? I use Nvidia 510.60.02. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #36 from padraig <padraig_mac(a)hotmail.com> --- I initially had the main executable working after some messing with dlls without the hex edit (apart from the texture flip), but I'm not sure which dlls I used as I wasn't able to replicate it on a new wine prefix so then had to use one of the edited executables. I tried it another machine today and still have the texture flipping and again, required the edited exe. My main laptop has an Nvidia graphics card but it is currently uninstalled so I should try it with that and see if that affects anything. I know there are issues with Nvidia cards on Window for Dark Omen. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #37 from James Carthew <jcarthew(a)gmail.com> --- Created attachment 77384 --> https://bugs.winehq.org/attachment.cgi?id=77384 Direct Draw Trace when running the game. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29521 --- Comment #38 from James Carthew <jcarthew(a)gmail.com> --- Still happening in WINE 9.20. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla