November 07, 2024, 07:42:45 AM

Username
Password

Pages: 1 2 [3]   Go Down
Print
Author Topic: 3D mode and Win8/7 [ Dark Omen ]  (Read 86409 times)
0 Members and 2 Guests are viewing this topic.
olly
Global Spokesperson
*
Offline Offline

Posts: 2296



View Profile
« Reply #30 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

Smiley
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
olly
Global Spokesperson
*
Offline Offline

Posts: 2296



View Profile
« Reply #31 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

Smiley

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)

* dgVoodooDx&3d16bitColour.jpg (79.61 KB. 398x456 - viewed 1883 times.)




* VoodooSkaven.jpg (191.62 KB, 640x480 - viewed 1843 times.)
« Last Edit: August 02, 2015, 10:30:48 PM by olly » Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
aqrit
Developer
*
Offline Offline

Posts: 85



View Profile WWW
« Reply #32 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...
 
Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2296



View Profile
« Reply #33 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.

Smiley
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
aqrit
Developer
*
Offline Offline

Posts: 85



View Profile WWW
« Reply #34 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.
Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2296



View Profile
« Reply #35 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

Full 3d using Vodoo and working in GameRanger with orginal game

* DO3DGRVoodoo.jpg (108.72 KB. 639x400 - viewed 1657 times.)


Full 3d using Vodoo and xslots working in Skaven Single Player

* DO3DVoodooSkavenCampaign.jpg (137.34 KB. 637x408 - viewed 1640 times.)


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

* DO3DGRVoodooNoXSlots.jpg (135.29 KB. 638x410 - viewed 1595 times.)


Trace.txt shows xslots being loaded in Skaven Mod single player but still not with GameRanger

* DOGRTrace.jpg (169.33 KB. 998x270 - viewed 1559 times.)

« Last Edit: October 18, 2015, 11:43:07 PM by olly » Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Leilond
Ghoul
*
Offline Offline

Posts: 52


View Profile
« Reply #36 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?
Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2296



View Profile
« Reply #37 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.
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Leilond
Ghoul
*
Offline Offline

Posts: 52


View Profile
« Reply #38 on: April 04, 2017, 11:16:24 PM »

Ok, thanks. It's not a big issue... the game rocks anyway  Grin
Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2296



View Profile
« Reply #39 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

Copy and paste the dgVoodooSetup.exe, MS D3DImm.dll and DDraw.dll into your Dark Omen PRG_ENG folder

* dgVoodooDx&3d16bitColour.jpg (79.61 KB. 398x456 - viewed 2060 times.)



Rob also found that Dark Omen works well in 3d mode in "pcem" a pc emulator
https://pcem-emulator.co.uk/downloads.html

* 3dmode_720.png (315.14 KB. 400x329 - viewed 2170 times.)

« Last Edit: May 01, 2017, 01:27:07 PM by olly » Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Ghabry
Developer
*
Offline Offline

Posts: 1020



View Profile
« Reply #40 on: May 01, 2017, 11:10:02 AM »

Never heard about pcem. Interesting tool for old games Smiley
Logged

Pages: 1 2 [3]   Go Up
Print
Jump to: