Integrate dominion wars fixes? #294
Replies: 9 comments 5 replies
|
Have you tried with the latest download build from the Actions tab? Please upload the log file. |
|
Tried again with only dd7to9 enabled, and DdrawOverrideBitMode = 16 Normal: (with only jiridvorak's wrapper) . |
|
Crashed to desktop after game start if using DDrawCompat. Tried all 3 versions (2.0 2.1 3.2) |
|
Ok, try this one. I implemented all the missing functions in Here is the testing build: dxwrapper.zip |
|
Great improvement! |
|
I will need to look into this more. I noticed this log: It is possible that the 3D aspects are being rendered, but with no lighting so they show up as black. |
|
I added support for lighting. I have no way to test it, but hopefully this will work. Try this one: dxwrapper.zip |
|
Graphically it looks same as previous version. |
|
I wanted to share a working modern-Windows result that may help close the loop on this investigation. I have now validated the North American 1.04 release of Star Trek: Deep Space Nine – Dominion Wars on Windows 11 with an AMD Radeon RX 6800 XT. Intro videos, menus, mouse input, sound, and 3D gameplay all work, and I successfully played Federation missions 1–2 and Dominion mission 1. The decisive issue was not missing D3D operations in the rendering backend. The recovered MIT-licensed source for Jiri Dvorak’s original Dominion Wars wrapper shows that the game has a broken non-power-of-two texture path. On modern hardware, the game sees NPOT support, takes that path, and submits effectively uninitialized texture dimensions. In my crash dump, this produced dimensions of roughly 13.8 million × 13.9 million pixels, followed by E_INVALIDARG, a NULL object, and an access violation at ds9dw.exe+0x8A08. The working DDrawCompat 0.7.1 profile is: PalettizedTextures = on The important setting is the POW2 capability patch. It re-advertises D3DPTEXTURECAPS_POW2, which makes Dominion Wars avoid its defective NPOT path and use the valid texture-creation path instead. The remaining mouse issue is separate: Dominion Wars misbehaves when the real primary desktop width is 1600 pixels or greater. I currently work around that with a launcher that temporarily switches the desktop to 1280×960, starts the game, and restores the original resolution on exit. I have published the installer, launcher, findings, and source here: https://github.com/AsusFarstrider/dominion-wars-modern This is still an early alpha and has limited hardware coverage, so I am not claiming universal compatibility yet. I would be very interested to know whether this capability-patching approach is useful for dxwrapper as well, or whether the recovered root-cause information helps explain the missing 3D scene observed in this thread. |



Uh oh!
There was an error while loading. Please reload this page.
Hello,
Thank you for your efforts developing the wrapper to fix many old games!
I wonder if it's possible to integrate Star Trek: Deep Space 9 - Dominion Wars fixes here?
http://jiridvorak.webpark.cz/dw/
The source code is available on the page.
Thank you!
All reactions