Warhammer Dark Omen Forum

Warhammer Dark Omen => Help Section => Topic started by: aqrit on February 05, 2013, 02:09:35 AM



Title: 3D mode and Win8/7 [ Dark Omen ]
Post by: aqrit on February 05, 2013, 02:09:35 AM
*Only works with NVidia graphics card so far..*

Something seems to be wrong with the flipping chain...

In 3D mode every other frame is blank.
On win8 it looks like every other frame has the wrong color-depth.
Alt+Tab'ing away and coming back ( on the main menu ) causes Flip() to start failing with a "ran out of memory" result.

I assume the back buffer has a z-buffer attached, is set as the rendering target of d3d, etc.

To get 3D-mode working we can just change the Flip() call to a Blt()
Which costs vsync and still has issues when alt+tabbing away

The lazy man's way of not having a flipping chain is to enable the "debug" windowed mode.
Windowed mode can not have the primary surface as part of a flipping chain.
( so it will use Blt instead of Flip )

To play 3D-mode on Win7 in windowed mode... ( with no ForceDirectDrawEmulation of course )
hex-edit the english version of EngRel.Exe, write 0x00 at file offset: 0x000BD0A8
Set the desktop to 16-bit color.

Enable the "Run in 640 x 480 Screen Resolution" on the compatibility tab to have a fullscreen window.


On Win8:
Windowed mode fixes CPU-mode for me ( if it isn't run as admin )
Win8 also has an option to reduce the display to 16-bit color on the compatibility tab


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: olly on February 05, 2013, 02:24:29 PM
Hi Aqrit and welcome back,

your fix sounds great and can't wait to test later on win 8 but talking with you the other night, you gave me and Ghabry Dark Omen ddraw.dll that fixed 3D Mode in Win7! Although it only worked on my bro's Dell pc P4 3Ghz + nvidia 7800gtx Win 7 64bit but wouldn't work on my Acer Pentium Dual core + nvidia 210 XP or on my AMD Phenon quad core + nvidia 630GT Win 7 64bit or XP (no worries but any ideas why? perhaps the lower end cards can not do it although Ghabry had it running on his laptop with Intel and Nvidia optimus).

However, I will try your suggestion -> "To play 3D-mode on Win7 in windowed mode... ( with no ForceDirectDrawEmulation of course )
hex-edit the english version of EngRel.Exe, write 0x00 at file offset: 0x000BD0A8
Set the desktop to 16-bit color.

Enable the "Run in 640 x 480 Screen Resolution" on the compatibility tab to have a fullscreen window."  


This is amazing news and really revitalises Dark Omen for years to come, as looks really decent in 3d mode and saves alot of hassles with 100mhz monitors etc..   on behalf of the Dark Omen community we thank you!  

:)


*****UPDATE ***************

Tested new EngRel hex 3D fix and worked perfectly on Dell Win 7 64bit nvidia 7800gtx but not on XP dual boot same hardware. So that's 2 successfull ways that you have fixed full 3d mode on win 7! Many Thanks

:)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: olly on February 08, 2013, 07:51:45 PM
Beta Maps in full 3d mode on win 7

http://www.youtube.com/watch?v=hakAWBeRpxc (http://www.youtube.com/watch?v=hakAWBeRpxc)

Thanks again for the fix Aqrit.

:)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: JulD on May 22, 2013, 10:59:26 PM
Hi,

Guys I just joined as I grew up playin' both tabletop and DO. Is there anyway to run 3D on:
Win 7 32
Intel Core i3-2310M 2.1 GHz
Intel HD Graphics 3000

Regards,
JD


Title: Re: 3D mode Win 7 and Win8 [ Dark Omen ]
Post by: olly on May 24, 2013, 04:09:17 PM
Hi and Welcome to the Dark Omen Community.

Please locate your Dark Omen folder, such as

C:\Program Files\Dark Omen or C:\Program Files (x86)\Dark Omen

and rename these 2 folders -> PRG_ENG and Save Game to anything like PRG_ENGOrig and Save GameOrig

Then download this goody bag that contains many excellent mods & should allow full 3d mode
New Nov 2015
https://www.dropbox.com/s/0dj594ji44uw1gz/Dark%20Omen%20Mods%20Nov%202015.zip?dl=0 (https://www.dropbox.com/s/0dj594ji44uw1gz/Dark%20Omen%20Mods%20Nov%202015.zip?dl=0)

Old
http://www.mediafire.com/download/fnnkq89xdjy75m0/DarkOmenMods.zip (http://www.mediafire.com/download/fnnkq89xdjy75m0/DarkOmenMods.zip)


The science behind the two Win 7 3d fixes are mentioned in the above posts but a quick summary = ddraw.dll is pasted into PRG_ENG or you can ->
 

"To play 3D-mode on Win7 in windowed mode... ( with no ForceDirectDrawEmulation of course )
hex-edit the english version of EngRel.Exe, write 0x00 at file offset: 0x000BD0A8
Set the desktop to 16-bit color.

Enable the "Run in 640 x 480 Screen Resolution" on the compatibility tab to have a fullscreen window".

On Win8:
Windowed mode fixes CPU-mode for me ( if it isn't run as admin )
Win8 also has an option to reduce the display to 16-bit color on the compatibility tab"


(http://img600.imageshack.us/img600/5884/fortr.jpg) (http://imageshack.us/photo/my-images/600/fortr.jpg/)


The download contains both ways = EngRel.exe that uses ddraw.dll and EngRel3d.exe that has already been hex edited but you will need to set desktop to 16bit color and Enable the "Run in 640 x 480 Screen Resolution" on the compatibility tab to have a fullscreen window and remember to actually set Dark Omen's in game Options to use the 3d setting.

Then after playing all the new mods like the alternate campaigns, you can then join us online using Game Ranger

http://forum.dark-omen.org/multiplayer/gameranger-a-new-place-to-play-dark-omen-online-t157.0.html (http://forum.dark-omen.org/multiplayer/gameranger-a-new-place-to-play-dark-omen-online-t157.0.html)

:)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: mattressses on August 13, 2013, 07:23:32 PM
First of all, aqrit, I don't think enough thanks can be given for figuring this one out. Working 3D mode in DO is the realisation of a decade-long dream for me and many, I think.

However, I'm having some issues getting this working under WinXP and I wonder if anyone can point me in the right direction. For some reason, Setup.exe wouldn't launch for me (I remember having this problem with XP years ago and I suspect it has something to do with ntvdm not being able to deal with 16-bit installshield files), so I've had to use a pre-packaged install that came with the intro crash fixes.
I've edited EngRel to use windowed mode, and that all works fine, but 3D mode isn't selectable (greyed-out). I can force it using tshoot.exe but that just results in none of the 3D elements rendering (everything but UI is black).

This is particularly frustrating me because I had just installed WinXP on an old laptop a few weeks ago and had gotten the game installed and working in 3D mode with no problems, but my housemate's cat has just rendered that laptop unusable!

Thanks in advance for any assistance!


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: olly on August 13, 2013, 10:35:57 PM
Your download version is corrupted if it can not install on XP and the intro crash fix sets the registry, so you can't change to 3d in game. Totally agree, what a legend aqrit is but sadly it doesn't work for XP, at least on all the systems I tested but installing Win 7 on same pc hardware thankfully worked.

:)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: Shauky on October 04, 2013, 03:43:41 PM
Hey everyone,

I also enjoy playing DO from time to time (and I now even have the ambitious idea of creating a DO-themed Empire army for the tabletop Warhammer game).

I've managed to install DO on Win8, and I got it working fine. Then, suddenly, I couldn't play the game anymore. I still don't know why, probably my own fault. I did remove some software I didn't need anymore, it's possible I deleted something I did need. And that was after at least a week of trying and browsing this forum until I found this thread (I even had a go at a virtual Windows XP and 98 environment, I wanted it badly :-)).

So, now I've completely removed all files, reinstalled the game, ran the crashfix and copied the files from the 'goody bag' Olly recommends. I've tried a few things, and I can get the game to work now if I choose the EngRelNo3d exe file. However, now I'm suddenly missing the cutscenes (it doens't matter if I have the CD in or not). Did I miss anything? I can't even access the cutscenes using cheatcodes like 'welcome' in the start scene (other cheats work fine, I tried that). Does anyone have any hints or tips on how to view them?

Thanks ahead!

***Edit***
Al right, think first, ask questions later... Turned out all I needed to do was to copy the directory with the movies into the Dark Omen folder in Program Files. Sorry for clogging up the boards. Still don't know why this didn't install (I'm sure I selected maximum installation).


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: olly on October 04, 2013, 05:39:06 PM
Cool, hope to you see you online with GameRanger soon!

:)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: Shauky on October 04, 2013, 11:08:32 PM
Well, I'm quite busy, so I won't promise anything, but perhaps I'll give it a shot somedays.


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: olly on November 15, 2013, 03:01:57 PM
my new PC can actually run Dark Omen in Full 3d mode, using an Nvidia Titan on Windows 8.1 using Aqrit's excellent fix that would originally allow it to run in CPU mode! His EngRel.exe is hex edited and I can tick run in 16bit colours and in 640x480 screen resolution and as Administrator on the Properties -> Compatibility Tab by right clicking the Icon.

Then download this goody bag that contains many excellent mods & should allow full 3d mode

http://www.mediafire.com/download/17j7dcb1k4adi7z/DOGR3dArmyFix.zip (http://www.mediafire.com/download/17j7dcb1k4adi7z/DOGR3dArmyFix.zip)

(http://img819.imageshack.us/img819/8145/3po0.jpg) (http://imageshack.us/photo/my-images/819/3po0.jpg/)

:)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: Bckh4 on July 22, 2014, 06:36:26 PM
Something seems to be wrong with the flipping chain...

In 3D mode every other frame is blank.
On win8 it looks like every other frame has the wrong color-depth.
Alt+Tab'ing away and coming back ( on the main menu ) causes Flip() to start failing with a "ran out of memory" result.

I assume the back buffer has a z-buffer attached, is set as the rendering target of d3d, etc.

To get 3D-mode working we can just change the Flip() call to a Blt()
Which costs vsync and still has issues when alt+tabbing away

The lazy man's way of not having a flipping chain is to enable the "debug" windowed mode.
Windowed mode can not have the primary surface as part of a flipping chain.
( so it will use Blt instead of Flip )

To play 3D-mode on Win7 in windowed mode... ( with no ForceDirectDrawEmulation of course )
hex-edit the english version of EngRel.Exe, write 0x00 at file offset: 0x000BD0A8
Set the desktop to 16-bit color.

Enable the "Run in 640 x 480 Screen Resolution" on the compatibility tab to have a fullscreen window.


On Win8:
Windowed mode fixes CPU-mode for me ( if it isn't run as admin )
Win8 also has an option to reduce the display to 16-bit color on the compatibility tab

Hi Agrit...
Could you please show the exact way to type in the commands using the hex editor...maybe an example...
I have been trying to get D.O. to work on my Asus gaming laptop (nvidia 740) for three days on Windows 8.1 with no luck...
No matter what I try I'm still getting graphics tearing and flicker after I pick campaign in the game menu
Any help would be appreciated..bckh4 I tried all the registry fixes no luck


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: olly on July 22, 2014, 08:53:48 PM
Aqrit states "To play 3D-mode on Win7/Win8 hex-edit the english version of EngRel.Exe, write 0x00 at file offset: 0x000BD0A8  

(http://imagizer.imageshack.us/v2/150x100q90/661/7159b2.jpg) (http://imageshack.us/photo/my-images/661/7159b2.jpg/)

Just incase here are my unmodified NVidia settings for Black Edition Titan on Win8.1 (4930k i7 processor)

(http://imagizer.imageshack.us/v2/150x100q90/538/02c7c8.jpg) (http://imageshack.us/photo/my-images/538/02c7c8.jpg/)

(Try manually disabling the Vertical Sync perhaps)

Or you could just download a premade one from my goody bag post above ->

http://www.mediafire.com/download/17j7dcb1k4adi7z/DOGR3dArmyFix.zip (http://www.mediafire.com/download/17j7dcb1k4adi7z/DOGR3dArmyFix.zip)

:)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: Bckh4 on July 22, 2014, 09:58:02 PM
Aqrit states "To play 3D-mode on Win7/Win8 hex-edit the english version of EngRel.Exe, write 0x00 at file offset: 0x000BD0A8  

([url]http://imagizer.imageshack.us/v2/150x100q90/661/7159b2.jpg[/url]) ([url]http://imageshack.us/photo/my-images/661/7159b2.jpg/[/url])

Just incase here are my unmodified NVidia settings for Black Edition Titan on Win8.1 (4930k i7 processor)

([url]http://imagizer.imageshack.us/v2/150x100q90/538/02c7c8.jpg[/url]) ([url]http://imageshack.us/photo/my-images/538/02c7c8.jpg/[/url])

(Try manually disabling the Vertical Sync perhaps)




Or you could just download a premade one from my goody bag post above ->

[url]http://www.mediafire.com/download/17j7dcb1k4adi7z/DOGR3dArmyFix.zip[/url] ([url]http://www.mediafire.com/download/17j7dcb1k4adi7z/DOGR3dArmyFix.zip[/url])

:)



Thank u my friend...you are indeed awesome... working good thank god I found you..LOL
Bckh4


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: Outmind on November 09, 2014, 08:19:31 PM
Greetings fellow Dark Omen lovers!

The urge to play a warhammer game hit me a couple of days ago and i tried to give shadow of the horned rat a go. Since its pc interface is extremely clunky and the psx version is nigh unplayable on an emulator without input from the mouse, I decided it was time to go back to Dark Omen once more. Browsing the internet i even discovered that you guys had some amazing sounding new campaigns and army options, and, more importantly, a fix for the 3d version of the game.

Here is why I've decided to write in this topic specifically. In short I can't get the 3d version of the game to work. I've installed the game from an iso, copied and replaced the exe and savegame folders, added the d3d.dll file and the modded engrel files first from the "darkOmenMods" pack and then when that didn't work from the "dogr3darmyfix" pack.

Nothing works - the game runs fine in 16 bit 640x480, but i can't set the 3d in the options, it is grayed out. In and of itself this isn't that big of an issue, but I'd really like to play the 3d mode as I've played it this cpu rendering  way a few years ago and found the game looked lackluster without it, especially the mission under Karstein's castle.

I have windows 7 64 bit and an ati radeon hd 3870 video card if that makes any difference. Any and all help will be appreciated.


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: olly on November 09, 2014, 09:11:00 PM
Hi and welcome,

unfortunately only NVidia cards work with full 3d, as mentioned in this other post ->

http://forum.dark-omen.org/help-section/windows-81-3dmode-and-intel-hd-gt1-haswell-anyone-have-any-luck-tips-t1242.0.html;msg12643#msg12643 (http://forum.dark-omen.org/help-section/windows-81-3dmode-and-intel-hd-gt1-haswell-anyone-have-any-luck-tips-t1242.0.html;msg12643#msg12643)

However, if you want to test you will have to uninstall the game, delete the Dark Omen registry entries and then reinstall but don't apply the Intro crash fix and it also hard sets CPU mode (Press Esc to skip the Intro).

:)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: Outmind on November 09, 2014, 10:02:31 PM
Thank you for the advice, I'll try it out.

I've uninstalled dark omen, but don't know where the left over registry files are located. I've looked through the software folders in both the current user and local machine folders, and there are no dark omen / electronic arts / warhammer folders to delete.


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: olly on November 09, 2014, 10:22:21 PM
The uninstall should have cleared the registry but just in case you can RegEdit -> Ctrl F and Search(F3) for Dark Omen (my Windows 8 has it in HKEY_Current_User -> Software -> Classes-> Virtual Store ->Software-> Microsoft->Wow6432Node-> Electronic Arts->Dark Omen due to installing it as a non Administrator (Right click on Setup.exe and Run as Administrator to avoid this).

http://forum.dark-omen.org/help-section/win-7-ultimate-64-bit-problem-t640.0.html;msg6031#msg6031 (http://forum.dark-omen.org/help-section/win-7-ultimate-64-bit-problem-t640.0.html;msg6031#msg6031)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: Outmind on November 09, 2014, 10:46:27 PM
No luck. Now the game has the black screen and music playing, a problem which i encountered when installing it before. I read a post somewhere on the forum that the vista / win7 fix forces the game to use direct draw... is there any way to bypass this by editing the fix itself? If not, it looks like I'll have to settle for the software version. It's lame that nvda cards can run it and ati can not.

By the way, what about glide wrappers? Could they help?


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: olly on November 09, 2014, 10:49:44 PM
I've tested ATI and Intel a few times and by default they don't work but haven't spent loads of time trying different options, as NVidia works.

Good Luck and let us know if you do get it working with ATI or Intel!

:)


Title: Re: 3D mode and Win8 [ Dark Omen ]
Post by: Outmind on November 09, 2014, 10:51:37 PM
Thank you for your help, in any case. I'll just have to be content  with the new campaigns and units then.


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: Thoreg on January 13, 2015, 01:33:00 PM
This works like a charm and I have an AMD Radeon R9 280X. :) Thanks! The only issue I found is that the Tutorial doesn't recognize when I move the camera.


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: olly on January 13, 2015, 02:02:17 PM
Excellent it's good to know that it does work with AMD/ATI cards and NVidia. (We find the same with Tutorial mission).

:)


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: aqrit on January 14, 2015, 11:00:10 PM
AFAICT, the tutorial issue affects only CPU mode


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: bennymcl on February 20, 2015, 02:27:48 AM
How does one edit the file for windowed mode???

"To play 3D-mode on Win7 in windowed mode... ( with no ForceDirectDrawEmulation of course )
hex-edit the english version of EngRel.Exe, write 0x00 at file offset: 0x000BD0A8
Set the desktop to 16-bit color."

All I see is this. I have never had to do any hex-coding before, but it doesn't seem like anything in this file represents what's mentioned above... help please?



Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: olly on February 20, 2015, 08:28:50 AM
Welcome,

(scroll further down the page until row BD0A0 and column 8 to reach 0x000BD0A8 and change 01 to 00

In my earlier posts I offer to save you the hard work by having some premade ones, ready for you to download, along with mod folders and everything else you need ->

http://www.mediafire.com/download/17j7dcb1k4adi7z/DOGR3dArmyFix.zip (http://www.mediafire.com/download/17j7dcb1k4adi7z/DOGR3dArmyFix.zip)

However, if you really want to try then see my previous post that shows a picture of how to do it ->

Aqrit states "To play 3D-mode on Win7/Win8 hex-edit the english version of EngRel.Exe, write 0x00 at file offset: 0x000BD0A8  

(http://imagizer.imageshack.us/v2/150x100q90/661/7159b2.jpg) (http://imageshack.us/photo/my-images/661/7159b2.jpg/)


Just remember to set 16bit colour desktop (Win 7) or set 16bit colour in compatibility mode for Win8 by right clicking EngRel.exe -> Properties -> Compatibility settings. Also full 3d mode will only work with Nvidia GTX high end graphics card and some ATI cards (worked on one so far).

:)


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: aqrit on April 23, 2015, 05:42:37 AM
dgVoodoo 2 (http://dege.freeweb.hu/)  runs Dark Omen with lots of troubles.

One might need a newer version of d3drm.dll than the one that comes with the game.

Kinda runs here in Win8 in 3d low detail mode.
requires the windowed mode (hex-edit) to run in 3d high detail mode.

Something to keep an eye on.


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: olly on April 23, 2015, 09:48:08 PM
Nice find and will try it out. Hopefully the Linux community can benefit as well.

Thanks

:)


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: SparkTR on August 01, 2015, 10:03:49 AM
Great topic, but I have a few issues I want to get sorted. First one is with the fix files put together by Olly (namely this one (http://www.mediafire.com/download/17j7dcb1k4adi7z/DOGR3dArmyFix.zip)) the only .exe that works correctly for me is the normal EngRel.exe (not in any folders), the others load fine, but I'm unable to use my keyboard in-game (no rotating camera etc.)

First issue was fixed by turning compatibility mode to W98.

Second issue is that the tutorial doesn't recognize when I move the camera with my mouse, which makes it unfinishable. Is there a work-around? This issue does indeed occur when 3D mode is activated, not just CPU mode, unless I've been in CPU mode all along. Can anyone check this ingame image to confirm? http://imgur.com/1J2hcYE (http://imgur.com/1J2hcYE)

Second issue was also kind of fixed, just spend a couple of minutes in the tutorial section and the guy will move on from the camera. Not sure why it took so long.

Also coloured cursor crashed the game, is that a known issue?

Coloured Cursors work with this patch: www.blitz-art.neostrada.pl/ww/wdo_winxp_color_cursors.rar (http://www.blitz-art.neostrada.pl/ww/wdo_winxp_color_cursors.rar)

Thanks.
 
Edit: So the only issue is the tutorial takes longer to finish than usual. Pretty nice fix! Thanks guys


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: aqrit on August 01, 2015, 03:54:04 PM
dgvoodoo 2.45 is out and runs Dark Omen very well...
( with the windowed mode hack in OP )


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: olly on August 01, 2015, 09:43:45 PM
Cool, can't wait to try it out and just making a Dark Omen game install youtube video with Mods install for Win8.1. Then I can upgrade to Win10 and test 3d mode and create another install guide.

Thanks

:)


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: olly on August 02, 2015, 06:17:24 PM
dgvoodoo 2.45 is out and runs Dark Omen very well...
( with the windowed mode hack in OP )

Amazing! Full 3d mode now works on my bro's pc that could only play in CPU mode since it has a cheap NVidia GT 630 graphics card (not better GTX). However, xslots appears to not be picked up so my Skaven are invisible sprites with Morgan's banner. I even tried your theory of renaming your ddraw.dll to doMod.dll in the Skaven PRG_ENG folder so it wouldn't conflict with the Voodoo new ddraw.dll in the main PRG_ENG but no good. (and even then renamed the Voodoo ddraw.dll to doMod.dll in the main PRG_ENG folder as a further test, that does also do 3d water on trading post but doesn't load the new sprites unfortunately).

Trace no xslots being loaded
[17:07:21] Dark Patch 2013-12-08
[17:07:21] Modifying Main Menu
[17:07:21] Hooking Option Menu
[17:07:21] Hooking CreateFile
[17:07:21] Hooking FindFirstFile
[17:07:21] Hooking DeleteFile
[17:07:21] GetModuleFilename: C:\Program Files (x86)\Dark Omen\PRG_ENG\EngRel.exe
[17:07:21] Dark Omen path: C:\Program Files (x86)\Dark Omen
[17:07:21] Mod folder path: C:\Program Files (x86)\Dark Omen\Mods
[17:07:21] Mods folder found
[17:07:21] Initialization was successful
[17:07:21] No EngRel found at C:\Program Files (x86)\Dark Omen\Mods\Skaven\Prg\EngRel.exe. No patches applied.
[17:07:21] No whmtg.txt found at C:\Program Files (x86)\Dark Omen\Mods\Skaven\whmtg.txt. No script loaded.
[17:07:21] FindFirstFile: C:\program files (x86)\dark omen\prg_eng
[17:07:21] Redirected to: C:\Program Files (x86)\Dark Omen\Mods\Skaven\prg_eng
[17:07:21] FindFirstFile: C:\program files (x86)\dark omen\graphics\sprites
[17:07:21] Redirected to: C:\Program Files (x86)\Dark Omen\Mods\Skaven\graphics\sprites

Original plays great though as now in full 3d Mode. Many Thanks

:)

Copy and paste the Voodoo MS D3DImm.dll and DDraw.dll into your Dark Omen PRG_ENG folder (it will overwrite our ddraw.dll for xslots)
[attachment=1]



Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: aqrit on August 07, 2015, 03:55:45 AM
the conflict between my proxy dll and dgvoodoo2's replacement ddraw.dll was/is expected because...
my proxy dll explicitly loads the ddraw.dll from the system32 folder...
https://github.com/aqrit/Dark-Omen-Mod-Selector/blob/master/src/ddraw_proxy.cpp#L70
This can be solved with a quick hex-edit or a recompile.

Warning: Do NOT overwrite anything in the system32 folder...
 


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: olly on August 07, 2015, 06:02:09 PM
Sounds good thanks but could you upload the new darkpatch.dll or detail the quick Hex-edit please.  I tried to recompile (Visual Studio Ultimate 2010) but it complained about a missing import_script.cpp during the build so I copied it from a previous download of Ghabry's code and it compiled. However, it doesn't work on Win8 as I think it is missing Ghabry's updated Win 8 fix or I messed it up.

:)


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: aqrit on September 17, 2015, 05:56:29 AM
sorry, I missed or forgot this post.

one needs to NOP the strcat so
goto offset 0x4EC
and replace
4F 8A 47 01 47 84 C0 75 F8 BE 5C
with
90 90 90 90 90 90 90 90 90 BE 5D

*not tested
**this little edit will only work out if my dll is not named ddraw.dll

Now, GameRanger will probably have the exact same problem with dgvoodoo's ddraw.dll that it has with my ddraw.dll, and it could be solved the same way:
rename dgvoodoo's ddraw.dll then go into my dll and hex-edit my dll's "ddraw.dll" to w/e dgvoodoo's dlls is re-named to ( ddgv2.dll ? )
---
Quote
missing import_script.cpp
much sure you are doing a "release" build... IIRC, this file should not be compiled at all; it is included in Ghabry's dll.


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: olly on October 18, 2015, 09:31:54 PM
Hi Aqrit,

I also missed you reply until now so thanks for the suggestion which did fix the Voodoo ddraw.dll issue working with GameRanger (by renaming it to ddgv2.dll and altering your ddraw.dll to domod.dll & to call ddgv2.dll). It can also now play xslots Skaven Single player in 3D on cheap graphics card that were unable to play in 3d before, so many thanks for that but sadly it still doesn't allow xslots.txt/ddmod.dll/ddraw.dll to be picked up when playing via GameRanger so no Dark Elves v Skaven multiplayer yet.

http://forum.dark-omen.org/tools/xslots-ddrawdllddmoddll-not-working-on-gameranger-t1302.0.html (http://forum.dark-omen.org/tools/xslots-ddrawdllddmoddll-not-working-on-gameranger-t1302.0.html)

Full 3d using Vodoo and working in GameRanger with orginal game
[attachment=1]

Full 3d using Vodoo and xslots working in Skaven Single Player
[attachment=2]

Sadly no xslots Dark Elves v Skaven Mod using GameRanger (just shows undead banner and crashes as no visible sprite) but does still do 3d using Vodoo
[attachment=3]

Trace.txt shows xslots being loaded in Skaven Mod single player but still not with GameRanger
[attachment=4]


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: Leilond on April 04, 2017, 08:56:01 PM
I didn't have luck trying to make 3d work with "Intel(R) HD Graphics 520"
It seems to work only in windowed mode, but it's a very small window and I don't like it at all
Do I have any chance?


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: olly on April 04, 2017, 09:06:40 PM
Not until we fix our mod tool to work again with Voodoo ddraw.dll like it used to.


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: Leilond on April 04, 2017, 11:16:24 PM
Ok, thanks. It's not a big issue... the game rocks anyway  ;D


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: olly on April 30, 2017, 11:54:35 PM
Thanks to Ghabry combining Aqrit's ddraw.dll code into darkpatch.dll we can now try using dgvoodoo's ddraw.dll again, to play Dark Omen in full 3d mode using the emulated Direct X. (If you only have a low end graphics card that is unable to play 3d mode already).

I've quickly tested dgvoodoo's 2.54 and 2.45 with the usual settings and have it partially working, so will continue testing and post any successful Voodoo settings.

http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2.html (http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2.html)

Copy and paste the dgVoodooSetup.exe, MS D3DImm.dll and DDraw.dll into your Dark Omen PRG_ENG folder
[attachment=2]


Rob also found that Dark Omen works well in 3d mode in "pcem" a pc emulator
https://pcem-emulator.co.uk/downloads.html (https://pcem-emulator.co.uk/downloads.html)
[attachment=1]


Title: Re: 3D mode and Win8/7 [ Dark Omen ]
Post by: Ghabry on May 01, 2017, 11:10:02 AM
Never heard about pcem. Interesting tool for old games :)