Wednesday, November 23, 2016

Hitman 2016 (DX11)


LAST UPDATE BROKE THE GAME AGAIN
I WILL RE-FIX AGAIN IN THE FUTURE.


First, i want to thanks to ishiki for give me this game. THANKS!! really appreciate :).

I have to say this game is awesome...the stages/levels are huge and looks amazing in S3D. My personal opinion is it a better game than Hitman Absolution. If you love Hitman games, i recommend this one for sure.
Also the engine used in this game is an upgrade of the one used in Hitman Absolution (Glacier 2), now all shadows, lights and SSR are made in Compute shaders...in Fact, i have to fix the Sun position in a compute shader (first time!). All this effects looks better than Absolution, so is indeed an improvement.

Fix:
- Shadows
- Lights
- Screen Space Reflections
- Normal reflections
- Mirror reflections *new
- Water Shine Lights *new
- Sun/Sun glow
- Sky / Clouds
- Halos in effects (Fog, smoke, dust, fog, ice, water, others)
- HUD and Crosshair (best compromise)

Know issue:
- I 90% fix the Culling/clipping. Some spots and in certain angles the issue is still visible. You will look some black blocks. But overall the game looks amazing!


Presets:
- "O" key cycle Crosshair and Target icons depth
- "K" key cycle some HUD elements depth
- "L" key for navigate in menus (set separation = 0)
- Xbox Controller Back Button for navigate in menus (set separation = 0). Use to enter and exit.

TB and SBS Mode:
- The game support SBS/TB Mode using 3Dmigoto. Remove the ";" in the  ;run = CustomShader3DVision2SBS in the [Present] section of the d3dx.ini. Default TB Mode. F11 to cycle.

**IMPORTANT** Intallation Notes:
We need to install the game in the game folder without the little "TM" (trade mark).Windows/3Dmigoto take that character as "?" (ilegal character for files/folder names) so all shader fixed copied in the ShaderFixed folder are skipped (same as remove the effect). To do this edit the manifest appmanifest_236870.acf in steam for this game and change the "installdir" line from "Hitman TM" to "Hitman" (delete the little TM) and rename the game folder to "Hitman", you need a match between the manifest and the name folder. To do this you have to quit steam. Works for me!

Instructions:
- Extract .zip where the .EXE is located (not the launcher)
- Start the game, when "Rundll32" prompt appear, press "Yes". This is for the Profile Override needed for this game.
- Use "Exclusive Fullscreen"
- Disable Minimap in game option

Download

Screenshots

** Do you like the fix? **
If you like the fix, you can donate to this PAYPAL account: dhr.donation@gmail.com
Thanks!

57 comments:

  1. i had a situation with hitman fix please solve it
    hitman is not working in sbs and tb mode how to enable it i followed your procedure but it wont work please help me i am using 3dtv

    ReplyDelete
    Replies
    1. Sounds like you've purchased this fix... :| "Could you PLEASE look into it" would be much more appropriate, IMO.

      Delete
    2. My point is how to play hitman in top and bottom mode i tried all steps buy it wont change give me any tutorial to play it

      Delete
    3. I will assume that there is a language barrier...

      The tutorial is the instructions and installation notes, you have to follow... i'm playing TaB mode only by removing the ";". Extract the files where HITMAN.exe is located, not the launcher.exe.

      And also you need to rename the game name folder to "Hitman" and also in the manifest in steam. Otherwise 3Dmigoto won't work properly!

      Delete
  2. Thanks a lot, DHR! Maybe I finally will try new Hitman game (and the first Hitman ever) :)

    ReplyDelete
    Replies
    1. Go ahead! The game is really great and fun to play.....in my personal opinion is the best of the serie.

      Delete
    2. Thanks! Let's check if it is on Steam Autumn sale!.. :D

      Delete
    3. I afraid I need assistance with the fix as well :| Game won't render anything when fix is copied into EXE folder. It just shows few intro movies and when stays with black screen indefinitely (music is playing on background). I have tried the following:
      - DDU and install 375.95 drivers.
      - Disabling SLI.
      - Disabling background apps, like MSI Afterburner.
      - Tweaking game settings and running on default.
      I did enable StereoFlagDX10 flag for Hitman: Codename 47 profile.
      I did remove TM from game folder.
      Game starts normally if I disable 3D Vision in control panel.
      Any help is greatly appreciated :) Thanks!

      Delete
    4. Hi Serzhas!
      If you are using win10, try using this hooking method in the d3dx.ini:
      hook=recommended skip_dxgi_factory skip_dxgi_device

      The fix need to be copied where HITMAN.exe is located (retail folder).
      You need to enable the StereoFlag10 in this Hitman game, not Codename 47....this step is very important, without this change the game won't render in S3D.

      Delete
    5. Thanks, DHR! I will try it tomorrow. Could you please tell me EXACT name of Hitman profile to set StereoFlag10 to? Because Hitman: Codename 47 is the only profile for Hitman games with hitman.exe as target...

      Delete
    6. In Nvidia Inspector you have to tweak the "Hitman Pro" that also have the "hitman.exe"....very strange.
      For some reason when i execute the game and press CTRL+ALT+INS says "Hitman Pro" in my case.

      Just in case... add the flag in both profiles.

      Delete
    7. Also using Max Payne 3 profile should work..in case those profile cause some issues because they share the same EXE.

      Delete
    8. Ah, I see! I used a wrong profile :) Thanks a lot! I could see the proper profile in game, indeed... Stupid me! :)
      THANKS A LOT!!!

      Delete
    9. Da*m... No luck :| I have removed Hitman: Codename 47 and Hitman Pro (which is 2012 game) profiles completely and added hitman.exe to Max Payne 3 profile. Also I've added hook parameter you've specified to dx3d.ini since I'm on Win 10. Fix is extracted to proper location. Game starts in 3D, but fix seems to not "kick in" since neither of hotkeys are working (e.g. "L") and in the first Story mission I see broken reflections right away.
      Also, it is very interesting that game won't start with 3D Vision enabled unless I first disable 3D Vision in nVidia Control Panel, start the game, then exit and re-enable 3D Vision. After that game will start with 3D for the next launch. Strange...
      Probably I'm out of karma this week (been banned from PSN for no reason). :)

      Delete
    10. At least now the game start in 3D :)
      If the fix is not kicking in...the probably reason are:
      1) Be sure you extract the fix in the "Retail" folder, where HITMAN.exe is located.
      2) Remember to rename the game folder to "Hitman" and also the manifest, if not 3Dmigoto don't work properly.

      Also you can add this line to d3dx.ini (with the hook line also):
      automatic_mode=1

      If you still have issues i will recommend to use win7...dual boot. win10 is a pain in the ass for us 3D players.

      Delete
  3. Thanks for the fix! How do I download the XML file? it just opens in a webpage as code. Do I have to copy the code and use notepad to make XML file?
    thanks

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. This comment has been removed by the author.

      Delete
    3. When it opens right click anywhere and select Save As... :)

      Delete
  4. Thank you guy awesome job as usual.. I hope you work a Mod for Unravel I guess it will look amazing in 3D

    ReplyDelete
    Replies
    1. Actually, the other guy - 4everAwake - already did a fix for Unravel quite a white ago! It was never released on this blog, since 4everAwake considered it unfinished. But from my experience I'd say it's 90% 3D Vision Ready! :) I have played game in 3D and it was SUPERB!!! Give it a go:
      https://forums.geforce.com/default/topic/915877/3d-vision/unravel/3/

      Delete
  5. Thanks DHR for your time . I have a little problem that maybe you know , when I run Hitman first time 3D goes perfectly but when I run it second I can't see anything , screen goes black . I need run Hitman with 3D disabled , quit game , enable 3D again and then everything goes perfectly . I must repeat this process everytime I want to play Hitman in 3D , do you know any solution?

    Thanks in advance for all your great work

    ReplyDelete
    Replies
    1. This is the issue I'm having as well. Kender, was you able to make fix work? Because for me I can't make it "kick in". I've applied all the suggestions DHR made (thanks for that, DHR!!!) but still can't make it work. And going to dual boot with Win 7 (again) is too much of a hassle for one game.

      Delete
    2. @Kender/Serzhas
      I just upload a new version of the fix with "automatic_mode=1" in the d3dx.ini that should fix that issue.
      One user (Skawen) in the nvidia forum tested and works for him (with a similar issue).

      Delete
    3. Cool!!! Updated fix works just fine! Thanks A LOT DHR! :)

      Delete
  6. Thanks again for all your hard work
    One of my favourite series, still can`t believe that they are both possible in 3D Vision :)
    Keep up the great work!

    ReplyDelete
  7. HI! I dont understand...i changed the "installdir" line to "Hitman" and rename the folder to "Hitman" but the game no run anymore...Unable to start game (missing executable)

    ReplyDelete
    Replies
    1. Hi! you probably do those changes with steam loaded.
      You have to quit/close steam before doing it.

      Delete
    2. you dont change "installdir" , you go the line on the right "Hitman TM" and erase the TM, otherwise it wont work

      Delete
  8. How do you get SBS/TaB mode to work in 1080p? It gives the standard "can't support 1080p 3d" message that is specific to the limitations of frame packing over HDMI. My assumption is that this mode was added because frame packing is limited to 720p@60hz or 1080p@24hz, so SBS would allow 1080p@60 only halved horizontally and rescaled, which looks substantially better than 720p in 3d.

    ReplyDelete
    Replies
    1. Select "HDMI Checkerboard" in the Nvidia Control Panel. With that you will remove the limitation.

      Delete
    2. Perfect, thanks! One other issue I've noticed is the outlines around people's bodies (including mine)have a weird graphical glitch where the coloration is off in a strange blocky pattern (hard to describe, like a blocky halo around the bodies but it's mostly noticeable in front of reflective surfaces). I'm not sure if it's related to this mod since it happens with or without 3d turned on and I installed the mod immediately after installing the game for the first time. I've tried altering every graphic setting and the issue persists. Have you seen anything like this before?

      Delete
    3. I just realized you mention this issue in the "known issues" section. That's really unfortunate, as it makes several areas very difficult to look at. Do you know if this is something that could be fixed eventually? Also, I've noticed the "squares" get smaller as I increase supersampling.
      Thanks!

      Delete
  9. Followed all the steps correctly and while 3D is working in the menus, it is simply not working in the game itself, ugh...

    ReplyDelete
    Replies
    1. If you see the game completly broken, is because the last update (the one with the bonus mission) broke the entire fix, including the HUD :(

      Delete
    2. Well, that sucks, thanks for the reply! I got it to "work" by reinstalling the game altogether and re-introducing the 3D Fix as administrator (using the new 3D fix manager, which, may I mention, is amazingly useful and pretty damn well put together) but shadows are still broken.

      But anyways, thanks for keeping 3DV alive with so much work!

      Delete
  10. CRAP! I was just about to buy this game to play the 1st Season :((
    I also see is not on GoG but only on crappy Steam (with no support for previous versions.... :(( )

    ReplyDelete
    Replies
    1. Hi helifax! i already re-fix the game. *NEW: Now the clipping/cullling is fixed in a 90% (example, now Ep6: Hokkaido looks great), also i enabled and full fixed the mirror reflections, add some water shine lights fix and others minor stuff. I will update the .zip soon.

      Delete
  11. Just wanna say thanks for the hard work!
    Never could have dreamed that the Hitman series did get proper 3d :)

    ReplyDelete
  12. Thank you for this fix. However I can't get it to work properly. Shadows and Menu are broken. I followed your instructions (renaming folder and editing manifest file). Rundll32 installed the 3D profile and hotkeys (L, K, O...) are working. Is the game broken, again? Or did I miss something? I tried the first level where you are on a ship (1. Season). Is the TM fix still required for the re-fixed version?

    ReplyDelete
    Replies
    1. i have same problem, thank for this fix.

      Delete
    2. Just tested (game updated and last driver) and is working fine. Try disable HDR, i don't test if broke something, but i have it disabled.

      Yes, the TM fix is required.

      Delete
    3. thank for your reply, i have issue with some light when you have a long view forward (hard to explain with my english)also fog = tried Paris level top floor manor where the security installed her command center the fog double the character ect... perhaps it come from my computer/ configuration ...

      Delete
    4. HDR was already disabled. Maybe it's because of Windows 10 I'm using? Anyway I've included the steps for installing Hitman fix in 3D Fix Manager now (renaming game folder, editing steam app manifest) so installation is easier for the user. This feature will be available with the next update (1.09).

      Delete
  13. Hi! I have a lot of black squares at every distant area on every level... Menus also looks broken. When I start the game "Rundll32" prompt do not appear. (((

    ReplyDelete
    Replies
    1. The black squares are normal (mentioned in the "know issues" section), but i fix 90% of them....so if you see A LOT of them...something is not working properly (uninstall the fix using uninstall.bat an re-install the fix)

      For menus use the presets, read the "Preset" section.

      Delete
  14. This comment has been removed by the author.

    ReplyDelete
  15. Hello,

    A big thank you DHR. With the preset when i press the key L (with 100 separation in d3dx.ini) the Culling/clipping appears and broke my eyes and the fix :) But if I put less than 50 in separation the game is perfect for me.

    For information, I have win 10 update, I tested hook=recommended skip_dxgi_factory skip_dxgi_device to see if it s better or not but the fix does not work anymore with this line active

    ReplyDelete
    Replies

    1. Correction of the post: when i have 100 in separation the culling/clipping appears bigger and the black square appear from 50 in separation.

      Delete
    2. The problem mentionned above appears only in the tutorial. I started the contract in Paris and everything are perfect ... 50, less 50 or 100 in separation.


      That of mysteres in these programs of game or of windows.

      Delete
  16. Thank you very much for the fix :)

    Appmanifest for the new demo is appmanifest_649780.acf

    ReplyDelete
  17. sorry guys but i'm not able to run it in s3d.
    it has been patched yesterday maybe there's the need for a fix for newer version ?

    i'm on win 10 ver 1703 nvidia 384.94, never had this problem with other games since 2009

    did the stereoflag trick in nvidia inspector with custom xml file from dhr
    checked automatic mode and hook=recommended skip_dxgi_factory skip_dxgi_device

    no way s3d doesn't kick in at all, using dx11 with exclusive fullscreen as written in the guide tried also 1080p instead of 1440p.
    tried running everything as administrator (steam, launcher and exe)
    i'm out of ideas :(

    ReplyDelete
  18. i want to add that it doesn't ask me the rundll32 thing, i've unlocked also every dll from the fix (right click properties disable lock)

    ReplyDelete
  19. ok i've found the problem, is the DAMNED gamedvr from xbox, it WAS DISABLED ALREADY, but some options was still enabled, you have to disabled EVERYTHING, mouse capture, audio capture, and blablablabla, now it works!!!

    ReplyDelete
  20. hi again :) shadows light and reflections are wrong everywhere for me, maybe last patch from a few days ago screwed up the fix ? does anyone can confirm please ?

    ReplyDelete