Hitman: Contracts
NVIDIA GPU Framerate Fix
Hello all, I've managed to get the game running, stable in 1920x1080 using a GTX 1080 using the following .ini and d3d patch.


My .ini file is as follows;

DefaultScene=AllLevels\Logos.gms
SoundDll SoundEngine.dll
ScriptDll sdl_engine.dll
scriptifdll scriptinterfaces.dll
DrawDll RenderD3D.dll
SoundRender Direct Sound (SW)

ColorDepth 32
Antialias 0

StartUpperPos 2,2

InvertMouse 0

SpeechVolume 100
MusicVolume 100
SoundEffectsVolume 100

AutoDumpName dump0000.jpg
TextureResolution 0
NumSoundBuffers 64
UseEAX 0
DrawDistance 1.000000
Subtitles 1
WeatherEffects 1

DisablePolyLimit
DisableBump 0
GammaValue 1.000000
LevelOfDetail 2
ShadowDetail 2

VibrationMode 0
PostFilterLOD 2
WeatherMultiplier 1.000000
Resolution 1920x1080
DisableTrilinearFiltering 1
Anisotropy 1
MouseSpeedX 2.025480
MouseSpeedY 2.025480
EnableCheats 1

I then downloaded the d3d patch available here;
https://github.com/crosire/d3d8to9/releases

This fixes the games inability to recognize your NVIDIA GPUwhen using D3D (Stopping you from limiting frames via Nvidia Control Panel and in some cases other 3rd party frame limiters.)

Copy & Paste that file into the game files, in the same location as the .ini file. You can then use Nvidia Control Panel to frame limit the game.

60fps still seems unstable to me, characters will shoot across the room when killed at times, this is normal but the speed in which the bodies fall and fly is still too fast for an enjoyable experience in my opinion, it also causes some issues with kill animations using fibre wire, the animations will cut short and end and the body will drop very quickly.

I have found 45fps to be a happy medium in that animations are not affected and the bodies seem to fly less distance, and also drop at a more realistic pace.

I hope this helps anyone else struggling using NVIDIA GPU's - I don't know how well this works with AMD or other GPU's as I haven't got the capacity to test that, but I can confirm this works perfectly on i7-6600K processor and an NVIDIA 1080 GPU.
Последно редактиран от Keltrain; 9 ноем. 2021 в 6:48
< >
Показване на 1-15 от 22 коментара
Hi there!

I know you posted this a while ago, but I just wanted to say thanks. This game was driving me crazy. All I needed to do is to add the d3d8.dll into the game directory. :steamfacepalm:

For me, I wanted to keep the 4:3 aspect ratio, so I created a custom resolution for my display device. Running the game at 1440x1080 does make the game looks nice, however the framerate was way too high.

No matter what I tried to fix the FPS, it didn't work (I tried NVidia Panel and also the NVidia Profile Inspector). The only way I managed to fix the FPS was to play in Windowed mode.

This seemed fine at first, but I wanted to find a way to hide my deskop. So I decided to give the Fullscreenizer app a shot (this tool help to make a Windowed game go into Borderless Fullscreen). But the issue with this tool, is it does not have the 4:3 aspect ratio in mind.

After some research, I have found the source code of the tool, but it was written in Pascal (an old programming language). So I decided to recreated the tool in C# instead and added the 4:3 Borderless Fullscreen feature (Which basically set the game at the center of the monitor and also add a dark background to hide the desktop).

All good, right? Wrong! didn't notice that Hitman Contracts will still stretch everything again if I play 1440x1080 in Windowed mode (but 1440x1080 is fine when the game run Fullscreen !?). Its like the game detects that my aspect ratio is 16:9 when I play Windowed, so the game didn't look good again.

Anyway, all that work and troubleshooting for nothing. Your message provided me a working solution. I never worked this hard to play a video game before. Thank you again lol.
Първоначално публикувано от Keltrain:
Hello all, I've managed to get the game running, stable in 1920x1080 using a GTX 1080 using the following .ini and d3d patch.


My .ini file is as follows;

DefaultScene=AllLevels\Logos.gms
SoundDll SoundEngine.dll
ScriptDll sdl_engine.dll
scriptifdll scriptinterfaces.dll
DrawDll RenderD3D.dll
SoundRender Direct Sound (SW)

ColorDepth 32
Antialias 0

StartUpperPos 2,2

InvertMouse 0

SpeechVolume 100
MusicVolume 100
SoundEffectsVolume 100

AutoDumpName dump0000.jpg
TextureResolution 0
NumSoundBuffers 64
UseEAX 0
DrawDistance 1.000000
Subtitles 1
WeatherEffects 1

DisablePolyLimit
DisableBump 0
GammaValue 1.000000
LevelOfDetail 2
ShadowDetail 2

VibrationMode 0
PostFilterLOD 2
WeatherMultiplier 1.000000
Resolution 1920x1080
DisableTrilinearFiltering 1
Anisotropy 1
MouseSpeedX 2.025480
MouseSpeedY 2.025480
EnableCheats 1

I then downloaded the d3d patch available here;
https://github.com/crosire/d3d8to9/releases

This fixes the games inability to recognize your NVIDIA GPUwhen using D3D (Stopping you from limiting frames via Nvidia Control Panel and in some cases other 3rd party frame limiters.)

Copy & Paste that file into the game files, in the same location as the .ini file. You can then use Nvidia Control Panel to frame limit the game.

60fps still seems unstable to me, characters will shoot across the room when killed at times, this is normal but the speed in which the bodies fall and fly is still too fast for an enjoyable experience in my opinion, it also causes some issues with kill animations using fibre wire, the animations will cut short and end and the body will drop very quickly.

I have found 45fps to be a happy medium in that animations are not affected and the bodies seem to fly less distance, and also drop at a more realistic pace.

I hope this helps anyone else struggling using NVIDIA GPU's - I don't know how well this works with AMD or other GPU's as I haven't got the capacity to test that, but I can confirm this works perfectly on i7-6600K processor and an NVIDIA 1080 GPU.

OK. SO I did exactly what you said here. I tweaked the ini file the way you said and I downloaded that D3D patch and pasted it in the game directory. Nothing. The game still runs at over 600 FPS. It seems like no matter what I do I cannot set a lower limit to the game's FPS. Do you or ANYBODY have any idea why? Thanks.
Well, in my case, I didn't modify the ini file at all in order to make the game runs at 60 FPS. HOWEVER, I believe my forced 60 FPS setting I made with the NVidia Profile Inspector was now taking effect once the DLL was added into the game directory.

With the d3d8.dll now in your game directory, I would give the NVidia Profile Inspector a try to force a limited 60 FPS.

Note: The NVidia Profile Inspector is not an official NVidia software, I believe you can find the app on GitHub
Първоначално публикувано от PM:
Well, in my case, I didn't modify the ini file at all in order to make the game runs at 60 FPS. HOWEVER, I believe my forced 60 FPS setting I made with the NVidia Profile Inspector was now taking effect once the DLL was added into the game directory.

With the d3d8.dll now in your game directory, I would give the NVidia Profile Inspector a try to force a limited 60 FPS.

Note: The NVidia Profile Inspector is not an official NVidia software, I believe you can find the app on GitHub

OK, then maybe you can tell me which values (or whatever you call them) to modify in nvidia profile inspector. Because the value on Frame Rate Limiter (for this application only of course) and Maximum Frames allowed is 0x00000001. Maximum pre-rendered frames is 1. So what exactly am I doing wrong? What values should I put there in order to reduce the game's FPS? Because as it is, the game, when I start it still runs at over 600 FPS, when I am in that white room where 47 kills Ortmeyer. When I get out of that room the FPS drops at over 300 FPS but that's still too much obviously. So what exactly am I doing wrong? How should I tweak those values in order to get the frames rate to where it needs to be? Thanks.
Първоначално публикувано от JacobDannAlexx.:
Първоначално публикувано от PM:
Well, in my case, I didn't modify the ini file at all in order to make the game runs at 60 FPS. HOWEVER, I believe my forced 60 FPS setting I made with the NVidia Profile Inspector was now taking effect once the DLL was added into the game directory.

With the d3d8.dll now in your game directory, I would give the NVidia Profile Inspector a try to force a limited 60 FPS.

Note: The NVidia Profile Inspector is not an official NVidia software, I believe you can find the app on GitHub


OK, I just checked the Nvidia Profile Inspector again. The problem is that the Frame Rate Limiter is off. And when I try to set a value, a box is opened with this message: "Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately". So what do I have to do now? Thanks :)
Hi Jacob,

I had an similar issue with the NVidia Profile Inspector. There was some changes of how certain settings works with NVidia (mostly related to FPS limiters). I wasn't able to apply the FPS setting until I decided to update the software to version 2.3.0.13.

Once the software was updated, this is what I have changed for Hitman Contracts:
  • Frame Rate Limiter V3 = 60 FPS
  • Vertical Sync = Force On

I hope this message will help you and you won't get any more errors. :steamsad:
Първоначално публикувано от PM:
Hi Jacob,

I had an similar issue with the NVidia Profile Inspector. There was some changes of how certain settings works with NVidia (mostly related to FPS limiters). I wasn't able to apply the FPS setting until I decided to update the software to version 2.3.0.13.

Once the software was updated, this is what I have changed for Hitman Contracts:
  • Frame Rate Limiter V3 = 60 FPS
  • Vertical Sync = Force On

I hope this message will help you and you won't get any more errors. :steamsad:

Alright. But where do I get that version of the software from? And I'm guessing that by "software" you mean Nvidia? Or is it Nvidia Profile Inspector? I'm asking because I just upgraded my Nvidia drivers to the latest version and while it does work right after I download the drivers once shut the PC down or restart it it doesn't work anymore. So which software exactly do you speak of? Nvidia or Nvidia Profile Inspector? And could you please tell me where I can download it from? Thanks.
I just used the NVIDIA control panel to force the frame limit on the hitman contracts exe. I didn’t have any further issues once the DLL was in the folder.

It seems there are issues with Hitman recognising modern NVIDIA GPU’s - the DLL fixed that. So then launching the game using D3D it will recognise the GPU. And you can frame limit using Nvidia control panel.

If you’re still having issues copying my exact instructions above, I’m at a loss.
Hi Jacob,

I am mostly referencing the Nvidia Profile Inspector made by Orbmu2k:
Първоначално публикувано от PM:
Hi Jacob,

I am mostly referencing the Nvidia Profile Inspector made by Orbmu2k:

Yeah, I did all this and it still doesn't work. One question though? After I set the values you gave for Frame Rate Limiter V3 and Vertical Sync, do I have to click "Apply changes"?
Първоначално публикувано от Keltrain:
I just used the NVIDIA control panel to force the frame limit on the hitman contracts exe. I didn’t have any further issues once the DLL was in the folder.

It seems there are issues with Hitman recognising modern NVIDIA GPU’s - the DLL fixed that. So then launching the game using D3D it will recognise the GPU. And you can frame limit using Nvidia control panel.

If you’re still having issues copying my exact instructions above, I’m at a loss.

Yes, actually I have done all these and it still doesn't work. That D3D patch is in the game directory, I went to Nvidia control panel, reduced the FPS to 20 actually, its minimum, and still nothing. I also reduced the FPS to 60, the value others gave and still nothing. The only time lowering the FPS does work is right after I download the latest Nvidia driver. But after I restart my computer or turn it off and then turn it on again, it stops working again. The problem can only be that the game doesn't recognize my PC's GPU's. Any idea how I can fix that? This happens even though I do have that D3D patch in the game directory so this solution doesn't work in my case. Any other ideas? Thanks.
Yeah, I did all this and it still doesn't work. One question though? After I set the values you gave for Frame Rate Limiter V3 and Vertical Sync, do I have to click "Apply changes"?

Yes, you need to:
  • Select "Hitman Contracts" in the "Profiles" dropdown
  • Set "Frame Rate Limiter V3" to "60 FPS"
  • Set "Vertical Sync" to "Force On"
  • Click on the "Apply changes" button on the top right afterward

I really hope that will do the trick for you, so you can finally enjoy playing the game.
Първоначално публикувано от PM:
Yeah, I did all this and it still doesn't work. One question though? After I set the values you gave for Frame Rate Limiter V3 and Vertical Sync, do I have to click "Apply changes"?

Yes, you need to:
  • Select "Hitman Contracts" in the "Profiles" dropdown
  • Set "Frame Rate Limiter V3" to "60 FPS"
  • Set "Vertical Sync" to "Force On"
  • Click on the "Apply changes" button on the top right afterward

I really hope that will do the trick for you, so you can finally enjoy playing the game.

I did man, I did all this. That's why I asked for other solutions or ideas on what the problem might be. The fact is that up until I took DSR-Factor from "off" in Nvidia control panel I couldn't even get the settings in Nividia Inspector to remain the way I was setting them. After I put the DSR-Factor on 2:00 they do remain the way I set them however the game still doesn't work, the FPS still doesn't drop below 600 :)))). So what other issue could cause this problem? Maybe I should set the DSR-Factors on a higher value? What's weird is that right after I downloaded and installed the latest Nvidia driver version and set up the value for Max Frame Rate at 20, not 60 (and even then the game sometimes jumped over 100 FPS but IT WAS WORKING) the game worked. However, after I restarted by PC, it stopped working again. So any other clues or ideas on what the problem might be? Thanks.
Well, that sucks. I'm afraid I can't help you at this point. :steamsad:
Maybe NVIDIA Inspector and NVIDIA Control Panel are conflicting with one another.

Please try disabling NVIDIA inspector in it's entirety, and following my guide again from step 1

The only difference between us that I can see besides our rigs, is that I don't use NVIDIA inspector whatsoever.
< >
Показване на 1-15 от 22 коментара
На страница: 1530 50

Дата на публикуване: 9 ноем. 2021 в 6:45
Публикации: 22