This should work ![]()
You need to put this in the folder where the .exe is located: d3d8to9. It is incompatible with the widescreen patch. I don’t have the Steam version, but it natively supports widescreen, so it may retain the widescreen feature, but for the retail version and the GOG version it’s either your game runs in widescreen or it runs off of the Nvidia card.
Yeah I bumped into this fix back in January, but as you say, it’s not compatible with the widescreen patch, replacing its file… Shit… Was hoping there’s a compatible version of it. I’ve got the Steam versions of the games as well, so I’ll give it a go next week when I (hopefully) finally have internet in my new place.
Somebody in the community could write a new widescreen fix. Or maybe contact ThirteenAG. He made Widescreen Fixes for GTA, Splinter Cell, Silent Hill and tons of other games. And he includes the option in his fixes to use d3d8to9. Of course that’s kind of a stretch but maybe. On the other hand, how many people are there really that have the same issue we’re having? Probably not that many.
Contacting ThirteenAG actually crossed my mind… He would probably know of a way to make it work. Might give it go, even if there’s just a handful of us…
Edit: Though the Hitman fixes were made by nemesis2000, so I wonder if he could implement it…
What you can do to make that work is get rid of the d3d8.dll that came with widescreen fix and instead use ultimate asi loader. Rename h3w.dll to h3w.asi. And if you want, you can use d3d8to9 that comes with ultimate asi loader. Create a global.ini in a folder called scripts and put the following in it:
[GlobalSets]
LoadPlugins=1
LoadFromScriptsOnly=1
DontLoadFromDllMain=1
FindModule=0
UseD3D8to9=1
DisableCrashDumps=0
Direct3D8DisableMaximizedWindowedModeShim=0
You also need to put h3w.asi and h3.ini in the scripts folder. Thanks a lot, @ZT1 !!
@Rimland, it works!
Awesome!
I’m still internet-less, so it will take me until the weekend or next week to try it out, but this is great news. So the Nvidia issue gets fixed plus it’s possible to use the widescreen fix?
Also, @ZT1 , is this fix applicable for C47 and H2SA as well? Cause I have the same issue with those games as well…
Yes, the graphics card picks the game up and the widescreen fix works.
It definitely would work for both H2 and HC47 because those use the widescreen fixes from the same creator.
EDIT: H2SA works, but the game itself is more prone to crashing
I don’t know if was already asked but:
On “Codename 47” with a widescreen mod, it’s possibile to have a good HUD? Because the HUD and subtitles are very tiny on a 1080p resolution (4K probably goes totally worse), which are barely readable. Would be perfect if both where a little bit more big. Any suggestions?
Ok thanks for the info:)
Ok, I wanna try the Contracts fix today, so just to sum up if I got this right:
- apply widescreen fix, but delete the d3d8.dll file that comes with it
- replace that with the Ultimate ASI loader’s dinput8.dll file (without renaming it?)
- create a Scripts folder (in the game’s folder)
- in the scripts folder, create a global.ini with the specified lines
- rename h3w.dll to h3w.asi and move it - along with h3.ini - to the scripts folder
Also, stupid question, how exactly do I create the (global).ini file? I think I only did such thing once and maybe incorrectly back then…
Also, regarding H2SA crashing, I remember there being a factor of whether you set it to render in OpenGL or… D3D was the other one? Maybe try switching that, see if it makes a difference?
Rename it to d3d8.dll, otherwise won’t work.
To create global.ini, you can just create a text document (.txt), then paste the needed lines in it, save it, and change its name to global.ini. There will be a prompt, because you’re changing the file extension, just click yes.
H2 crashed on me a lot because i was trying to enable the antialiasing in the game, because unlike Contracts, it has AA in the options. But it seems to break the game and crash it a lot, so I just forced AA through the Nvidia Inspector.
I had to change it via the “save as” option, otherwise it wouldn´t register the file extension and remain treated as a .txt file, but it indeed works! The damn thing now runs on the Nvidia, and uses the widescreen fix, hallelujah!
The only thing not working is AA, so I´ll have to double-check whether I overlooked or messed up something there…
And does it run ok afterwards?
Yes
Ok, so the AA (and other) Nvidia Profile Inspector settings for Contracts got reverted to global for some reason (probably cause I recently changed some global settings in the NV control panel?), but after changing them per instructions, the game now FINALLY looks (and plays) the way it´s supposed to
Now just to get C47, SA, and BM (and Freedom Fighters) up and running.
Btw, @EvilGeniusRo , why is Anisotropic Filtering supposed to be turned/forced off in the Nvidia profile inspector for Contracts and H2SA?
Because both games already have a working Anisotropic Filtering option in-game. If you enable it both in-game and in the Nvidia inspector, it might crash the game, graphics driver or the PC 
Same goes for the Antialiasing, H2SA (and HC47) has the option in-game but it doesn’t work and it’s missing from the options list in Contracts so there in no conflict with the Nvidia inspector when it comes to that 
Happy to hear you’re able to play the game! If you managed to get Contracts to work then you’ll be able to get the other ones too 
Ah, I see… Reason I´m asking is cause I recently watched a video with some recommendations on Nvidia Control Panel settings to improve game performance/visuals, and one of them was setting global AF to 16x. Though the video warned that it may cause conflicts/crashes with games that have AF setting options, and thus recommended turning those off in game. However, a lot of my games don´t allow for turning it off (minimum option being 1x-2x), so I guess I´ll just turn back the global setting to application-determined, just so I don´t have to meddle with individual game settings in the control panel… ![]()
Oh man, am I glad that this got finally resolved (especially in a way that didn´t require meddling with the GPUs)! Now to just get the other ones up and running and I can finally do a mega-playthrough of the whole series ![]()
Massive thanks once again to @ZT1 for providing the fix, and @vrubayka for testing it and providing the extra necessary steps
Might be worth updating the manual with it in case there are some other unfortunate sods like us in the future?
On a side note, the global.ini file also solves the same issue (not registering Nvidia GPU) for Hidden and Dangerous 2, though it shows an incorrect VRAM (128 MB) in the settings panel… (but works flawlessly)
Ok, a little update on my side, since I´m not entirely out of the loop yet…
Firstly, I managed to get H2SA working using the same ASI loader procedure as Contracts (using the standard. non-enb version of the widescreen fix, which I assume was the correct one). The game crashes when starting/loading a mission if I go into the ingame graphics settings before that (which I wanted to check to see if they match your screenshot @EvilGeniusRo ). Upon crash, I get the following errors:
However, if I don´t go into the (graphics) settings, then the game seems to work just fine, running on Nvidia with widescreen and AA and everything. So that should be settled.
Secondly, Blood Money works fine on its own (no GPU issues there) and has high resolution options, but if I apply the widescreen fix, it crashes upon start during the Nvidia logo loading, with no error/crash report. Applying the same ASI loader method fix as for SA and Contracts fixed this, with the widescreen fix properly functioning and the game runs just dandy, but I´m wondering whether there was/is another method to make the fix work here without the ASI loader…
On a side note for SA and BM - and this is based purely on a few minutes of test gameplay - occassionally some sound effects (pigeon wings in SA, light rig crash in BM) sound… weird? And gunshots in BM a tad bit muted? I don´t know if it has something to do with EAX or my sound (card) settings, or if it´s just bad memory and it always sounded like that tbh
(especially after years of playing WoA lol)
Third and most importantly, the only game I haven´t been able to get running properly yet is C47. When I apply the ASI loader fix (renaming the .dll file to ddraw.dll, just as in the widescreen fix), the game fails to boot entirely. If I rename the ddraw.dll file to something else (dinput8 or d3d8), it crashes with the following report:
@vrubayka Have you by any chance tried running C47? Could you have a look at it if/when you have the time?
@ZT1 Is there anything I need to change for this particular game, like something in the global.ini file?
(Also, @EvilGeniusRo , in the graphics settings, I have the “full-scene antialiasing” option greyed out unlike you, but I assume that´s because of the GPU thing)
On a side note, I can´t seem to cap the framerate using profile inspector for either of the first three games (haven´t tried for BM). Every time I do so and click “apply changes”, I get some kind of error regarding an “untreated exception”, or something along those lines (not sure how exactly to translate this). I haven´t experienced any framerate issues with either of the games so far, so I probably won´t be needing the cap, but am still curious what the issue is (and how to solve it, or should I just try capping it using Rivatuner). My FPS limit optios are a bit different than what you have in the screenshot, so not sure if I need to click anything additional?



