HBAO+ Compatibility Flags Thread

Discussion in 'Videocards - NVIDIA GeForce Drivers Section' started by MrBonk, Mar 3, 2014.

  1. pedigrew

    pedigrew Master Guru

    Messages:
    203
    Likes Received:
    1
    GPU:
    EVGA GTX770 SC ACX 2GB
    - Deus EX: Invisible War -

    Flag: 0x00000003

    1st Comparison
    No AO
    HBAO+

    2nd Comparison
    No AO
    HBAO+

    Notes: In order to use the flag, first add "dx2main.exe" to your inspector profile, then navigate to root directory "\Deus Ex Invisible War\System" and open "Default.ini", once inside move to "[Flesh]" section and change the values of both variables "DynVPScale" and "DynVPMinRotationRate" to "100", save, and make it read-only just to make sure, this tweak will remove flickering/angling issues present on the flag. No bleeding issues. Tested with 4:3 and 16:9 resolutions.
     
    Last edited: Sep 26, 2015
  2. lowenz

    lowenz Master Guru

    Messages:
    304
    Likes Received:
    1
    GPU:
    GeForce GTX 750Ti
    pedigrew, how do you show in the OSD the D3D version? And which OSD/server setup do you use?
     
  3. lowenz

    lowenz Master Guru

    Messages:
    304
    Likes Received:
    1
    GPU:
    GeForce GTX 750Ti
    About DXIW and TDS, "3000" isn't really necessary for dynvpscale :D

    StaticVPScale=100
    DynVPScale=100


    "100" is "full resolution" :p

    IT seems DynVPMinRotationRate do not matter if scale is set to 100.

    Really a brilliant solution for a 2003 engine.....dear Unreal Warfare for XBOX :D
     
  4. ElectronSpider

    ElectronSpider Master Guru

    Messages:
    210
    Likes Received:
    0
    GPU:
    MSI GTX 660 OC 2GB
    Nice find pedigrew for Deus Ex: Invisible War! :banana: Do you know if the HBAO+ flag is compatible with Deus Ex: Game of the Year Edition?

    idk what OSD pedigrew uses, but almost all of them (Afterburner, PrecisionX, etc.) are based on RivaTuner Statistics Server. The D3D version is shown automatically when you check the box to show the framerate/frametime in the OSD. You can even change the info label groups so that RAM and pagefile have separate labels instead of both being grouped into the RAM info label group.
     
    Last edited: Sep 24, 2015

  5. lowenz

    lowenz Master Guru

    Messages:
    304
    Likes Received:
    1
    GPU:
    GeForce GTX 750Ti
    For Deus Ex, wait for Revision!
     
  6. pedigrew

    pedigrew Master Guru

    Messages:
    203
    Likes Received:
    1
    GPU:
    EVGA GTX770 SC ACX 2GB
    I haven't tested it yet so can't say.

    This! I'm using MSI Afterburner which comes with RT Statistic Server.
     
  7. Grimbarian

    Grimbarian Ancient Guru

    Messages:
    1,590
    Likes Received:
    240
    GPU:
    AMD RX5700 8gb
    I spoke to soon, when I run the game at 1080p (for stable fps with Reshade) I get flicker, when I run at higher resolutions with DSR I don't.
     
  8. GuruKnight

    GuruKnight Master Guru

    Messages:
    861
    Likes Received:
    12
    GPU:
    2 x 980 Ti AMP! Ex
    Try disabling Reshade then.
    When doing this type of testing it is important to compare apples-to-apples, so to speak.
     
  9. skacikpl

    skacikpl Member Guru

    Messages:
    129
    Likes Received:
    12
    GPU:
    MSI GTX 1070 8G
    Anyone was successful in using TPP HBAO+ flag in Ground Zeroes?
    People report it works, but i can't really see any difference.

    Also MFAA doesn't seem to do anything, i assume that there's no MSAA in GZ so MFAA has nothing to work on.
     
  10. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,977
    Likes Received:
    72
    GPU:
    MSI RTX 2080
    It might just be subtle. And it will be hard to tell if you don't disable the built in SSAO. It might depend on resolution/aspect ratio too.

    MFAA won't do anything without MSAA. In game, forced or otherwise. And it only works at a minimum of 40fps
     

  11. skacikpl

    skacikpl Member Guru

    Messages:
    129
    Likes Received:
    12
    GPU:
    MSI GTX 1070 8G
    Yeah, AO seems to be working in both but it's WAY more subtle than native implementation.
    Though it has a bug where closing the camera up on certain objects makes your FPS tank to like 15. Had it happen few times during cutscenes.

    TPP doesn't seem to be very challenging to a 970, i guess i may ultimately run SSAA or just use DSR to reduce jagging.

    Though i swear to god, native FXAA seems to be doing nothing in this game.
     
  12. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,977
    Likes Received:
    72
    GPU:
    MSI RTX 2080
    That's because the built in SSAO is a terrible, low quality overtly strong piece of crap. /shrug. Like almost straight out of Crysis bad. I wish they had just implemented HBAO+ Natively with options for being strong or subtle (As FFXIV does) so people who like it strong can have it.

    FXAA also does stuff. The problem is MGSV has ridiculously aliased output from every possible source. With all the ugly low precision dithering for hair, foliage adding on top of it.
     
  13. skacikpl

    skacikpl Member Guru

    Messages:
    129
    Likes Received:
    12
    GPU:
    MSI GTX 1070 8G
    Yeah, i've noticed transparency dithering few days ago. Seems a thing for Japanese developers, FF XIV uses it too.
     
  14. Guzz

    Guzz Member Guru

    Messages:
    139
    Likes Received:
    26
    GPU:
    GTX 970
  15. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,977
    Likes Received:
    72
    GPU:
    MSI RTX 2080
    WHAT IS THIS WIZARDRY GOOD SIR?
    [​IMG]
    Are you Hexediting to achieve this?

    Which .dll specifically?

    I would very much like to look into this!
     
    Last edited: Oct 18, 2015

  16. lowenz

    lowenz Master Guru

    Messages:
    304
    Likes Received:
    1
    GPU:
    GeForce GTX 750Ti
    Wizardry :D
     
  17. Guzz

    Guzz Member Guru

    Messages:
    139
    Likes Received:
    26
    GPU:
    GTX 970
    For DX9
    C:\Windows\SysWOW64\nvd3dum.dll

    HEX-values table:
    0x00000001
    4E 91 20 18 00 00 28 18 A5 60 68 0A 00 00 00 00

    0x00000002
    A2 90 00 18 00 00 14 18 90 40 BF 0A 00 00 00 00

    0x00000003
    5E D0 00 18 00 00 16 18 75 A0 6F 07 00 00 00 00

    0x00000004
    26 B2 80 18 00 00 B0 18 A5 60 6E 03 00 00 00 00

    0x00000005
    26 B2 80 18 00 00 B0 18 A5 60 6E 03 00 00 00 00

    0x00000006
    16 30 00 00 00 00 00 00 A5 A0 6F 05 00 00 00 00

    0x00000007
    16 B0 03 18 00 00 02 1C A5 A0 6F 05 00 00 00 00

    0x00000008
    16 B0 03 18 00 00 02 1C A5 A0 6F 07 00 00 00 00

    0x00000009
    16 30 00 00 00 00 00 00 A5 A0 6F 05 00 00 00 00

    0x0000000A
    16 90 01 58 00 00 00 5C A5 A0 6F 07 00 00 00 00

    0x0000000B
    16 B0 03 18 00 00 02 1C A5 A0 6F 05 00 00 00 00

    0x0000000C
    13 90 00 18 00 00 16 18 A5 A0 6F 05 00 00 00 00

    0x0000000D
    53 30 00 00 00 00 00 00 A3 A0 BD 08 00 00 00 00

    0x0000000E
    DE 80 80 18 00 00 96 18 95 A0 7F 0B 00 00 00 00

    0x0000000F
    DA 90 80 18 00 00 96 18 B5 A0 68 08 00 00 00 00

    0x00000010
    AE 98 02 18 00 00 02 1C 83 A0 4F 0A 00 00 00 00

    0x00000011
    56 98 00 18 00 00 00 1A 75 A0 BF 05 00 00 00 00

    0x00000012
    16 B0 03 18 00 00 02 1C A5 A0 6F 05 00 00 00 00

    0x00000013
    AE 38 00 00 00 00 00 00 B3 A0 6F 0A 00 00 00 00

    0x00000014
    16 30 00 00 00 00 00 00 A5 20 6F 05 00 00 00 00

    0x00000015
    26 B2 80 18 00 00 B0 18 65 30 4F 03 00 00 00 00

    0x00000016
    AE 90 02 18 00 00 02 1C B3 A0 6F 05 00 00 00 00

    0x00000017
    2E 93 00 18 00 00 14 18 93 90 BF 0A 00 00 00 00

    0x00000018
    2E 93 20 18 00 00 20 18 85 90 B8 0B 00 00 00 00

    0x00060019
    16 B0 80 18 00 00 82 18 A5 A0 6F 0A 00 00 00 00

    0x0000001A
    16 90 80 18 00 00 B0 18 A5 70 BE 05 00 00 00 00

    0x0000001B
    2E 93 00 18 00 00 00 1C 85 60 BF 05 00 00 00 00

    0x0000001C
    9E 98 00 18 00 00 08 18 75 A0 BA 0A 00 00 00 00

    0x0000001D
    16 90 00 18 00 00 36 19 B1 A0 BF 08 00 00 01 00

    0x0000001E
    1E 40 00 00 00 00 00 00 95 A0 68 09 00 00 00 00

    0x0000001F
    16 30 00 00 00 00 00 00 A5 50 96 0C 00 00 00 00

    0x00000020
    EB 93 00 18 00 00 16 18 A3 90 9F 0B 00 00 00 00

    0x00000021
    EB 93 00 18 00 00 00 18 A4 80 AF 0B 00 00 00 00

    0x00000022
    13 50 00 00 00 00 00 00 84 90 76 0C 00 00 00 00

    0x00000023
    22 90 00 18 00 00 02 18 A3 A0 BE 0B 00 00 00 00

    0x00000024
    AA 90 02 18 00 00 02 1C A4 A0 BF 0B 00 00 00 00

    0x00000025
    EF 93 02 18 00 00 02 18 A5 A0 9E 0B 00 00 00 00

    0x00000026
    A6 90 40 18 00 00 40 18 A3 A0 6F 09 00 00 00 00

    0x00000027
    DA 80 00 20 00 00 00 28 95 A0 A8 08 01 00 00 00

    0x00000028
    22 B2 80 18 00 00 B0 18 95 30 AE 0B 00 00 00 00

    0x00000029
    26 B2 80 19 00 00 B0 19 A5 60 4E 05 00 00 00 00

    0x0000002A
    16 B0 03 18 00 00 02 1C A5 40 6E 09 00 00 00 00

    0x0000002B
    5E 83 00 18 00 00 00 1C 23 80 7D 0B 02 00 00 00

    0x0000002C
    16 B0 03 18 00 00 02 1C 85 A0 6F 05 00 00 00 00

    0x0000002D
    2E 93 00 18 00 00 16 18 A3 90 78 0B 00 00 00 00

    0x0000002E
    16 20 80 18 00 00 80 18 83 A0 2F 05 04 00 00 01

    0x0000002F
    AA 98 80 18 00 00 B4 18 A3 A0 6F 05 00 00 00 00

    0x00000030
    AE A8 00 18 00 00 00 1C A4 A0 7F 0B 00 00 00 00

    0x00000031
    2E 93 00 18 00 00 00 18 85 60 B8 09 00 00 00 00

    0x00000032
    16 A0 C8 04 00 00 FA 05 75 60 A8 01 03 00 00 00

    0x00000033
    12 80 03 10 00 00 20 10 A5 50 96 2F 00 00 02 00

    0x00000034
    AE 80 02 10 00 00 06 10 83 90 78 09 00 00 00 00

    0x00120035
    1E 80 80 18 00 00 B0 18 43 10 41 07 00 00 00 00

    0x00000036
    DA 80 00 20 00 00 00 28 95 A0 A8 08 01 00 00 00

    0x00000037
    26 82 80 00 00 00 80 00 73 30 6D 03 00 00 00 00

    0x00000038
    26 B2 80 18 00 00 B0 18 65 10 7E 05 00 00 00 00

    0x00000039
    1E 80 10 19 00 00 B0 1B 85 60 48 07 00 00 00 00
    For example, setting 0x00000028 contains
    22 B2 80 18 00 00 B0 18 95 30 AE 0B 00 00 00 00

    This is a group of four values:
    22 B2 80 18 - Insertion logic bits
    00 00 B0 18 - Insertion pattern match mask
    95 30 AE 0B - AO parameter bits
    00 00 00 00 - ??? (Debug bits?)

    AO parameter bits:
    9 - ? AO FadeOff or Depth
    5 - ???

    3 - ? Another FadeOff or Depth
    0 - ???

    A - ? Directions
    E - ? Samples

    0 - ? Sharpness
    B - Strength

    By manipulating AO parameter bits, we can achieve various AO results.

    0x00000028
    22 B2 80 18 00 00 B0 18 95 30 AE 0B 00 00 00 00

    0x00000028 mod 1
    22 B2 80 18 00 00 B0 18 95 30 1E 0B 00 00 00 00

    0x00000028 mod 2
    22 B2 80 18 00 00 B0 18 95 30 5E 59 00 00 00 00

    0x00000028 mod 3
    22 B2 80 18 00 00 B0 18 F5 A0 9E E5 00 00 00 00

    0x00000028 mod 4
    22 B2 80 18 00 00 B0 18 C5 40 BE 33 00 00 00 00

    0x00000028 mod 5
    22 B2 80 18 00 00 B0 18 FF FF 22 22 00 00 00 00
     
  18. lowenz

    lowenz Master Guru

    Messages:
    304
    Likes Received:
    1
    GPU:
    GeForce GTX 750Ti
    We got a Badass Reverse Engineer here :D
    Thanks man!
     
  19. KoKlusz

    KoKlusz Active Member

    Messages:
    92
    Likes Received:
    0
    GPU:
    GeForce GTX 970
    This is great for fine-tuning already working flags to iron out issues (like distance bleeding for 2F) but it probably won't do much for games with fundamental problems like flickering or extensive bleeding.

    Guzz, did you try to tinker with pattern match mask values?
     
  20. GuruKnight

    GuruKnight Master Guru

    Messages:
    861
    Likes Received:
    12
    GPU:
    2 x 980 Ti AMP! Ex
    Very interesting find, Guzz :)
    Did you try this with DX11 HBAO+ profiles?
    The official Crysis 3 flag "0x000E0000" bleeds through water and doesn't apply AO outdoors, perhaps something can be done about this?
    "0x00070000" solves this issue, but then again doesn't work indoors :wanker:
     

Share This Page