-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atrox works incorrectly #164
Comments
The game doesn't use DirectDraw, it uses Direct3D and won't work with cnc-ddraw |
The ddraw.dll doesn't have to be in the "Import Directory" to load the ddraw.dll (The game uses ddraw.dll and Direct3D6 - tested) Direct3D8 (DirectX8) and higher uses own library |
Direct3D is not supported by cnc-ddraw. Usually you can tell by the look of the game if it's a 3D game or not, but you can also let cnc-ddraw generate a debug log and search for "IDirect3D" - Link: #44 |
Neither of these applies for Atrox. I'm still not convinced of the api it uses. How did you guys find it out in case of this weird game? |
I didn't actually test it, I don't know the game either. I trusted LuKe on this one, he's been around for quite some time and knows what he's doing. I can have a look into it though |
It's not using Direct3D... There's a invisible child window, cnc-ddraw detected it and disabled the upscaling. Seems to be working fine now, but I haven't done much testing. |
Sorry @FunkyFr3sh |
No problem! Normally you're always right! |
I've done some more testing today with a CD version of the game and it didn't work (it was looking for ddraw.ini on the CD drive...) Got that fixed now too: CD version exe is packed/protected (That means only the GDI renderer works fully) Solution: Remove protection or download the abandonware RIP version and take their .exe. Open ddraw.ini and remove "renderer=gdi" "hook=2" on the "[Atrox]" section RIP version doesn't seem to have any bugs It does query a Direct3D interface, so LuKe was actually right (It may be related to the movies). |
Should work now with the latest proxy-dlls.zip |
@pas-de-2 Not sure if you still got this game installed, but I may have it fixed now: |
Works great, thanks! ^_^ |
Hi,
I am trying to run Atrox with cnc-ddraw, mostly for shaders and windowed mode, (it runs under Win 11 fine otherwise) and it doesn't work properly. First of all, none of the render settings are applied, almost making me think that the dll is not hooked. But a bug appears - ingame map scrolling stops working, thus I am sure that cnc-ddraw does get hooked.
Now when I try to use the debug version to check the logs, the game just refuses to start at all, so I can't have the logs.
The text was updated successfully, but these errors were encountered: