#HITMAN: Codename 47 (GLDirect)

21 messages · Page 1 of 1 (latest)

limber aspen
#

This isn't a full project and I probably won't put too much time into this, but seeing as there's improved compatibility and GL wrapping is less commonly used so far here are some steps to get started.

This game showed potential with issues on the original night of testing, then fell victim to a DXSO related crash. Thanks to a Bridge-Remix commit this project can now be properly started.

Current Status: Partially Playable
Version: GOG
Runtime: RTX-Remix Release 0.2.0
Bridge: NvidiaGameWorks:main a06bdc0 https://github.com/NVIDIAGameWorks/bridge-remix/actions/runs/5559868342
DXVK: anchorlightforge:PathologicClassicRTX 2e618be
https://github.com/anchorlightforge/dxvk-remix/actions/runs/5559913446
Wrapper: OpenGL via GLDirect5

Concessions:

  • OpenGL Renderer

Current issues:

  • Lightmap rendering causes issues
  • Aggressive frustrum culling
  • Game's existing issues: framerate dependent physics and camera sway
  • Vulkan Device Lost error when using Remix menu during Io Interactive logo or during loading screens

To start:
1: Download SciTech GLDirect 5 and extract the contents of bin/release (opengl32.dll) to the game folder.
2: Install the bridge-remix linked above to the base game directory
3: Install the dxvk-remix linked above to the .trex folder
4: Install the .trex\usd folder from Remix 0.2.0 into <game-dir>\.trex to enable USD captures
5: Download dxvk.conf from the DXVK-Remix repo. Place in the game directory and edit so that deviceShaderModel is set to 3.0.
6: Open the configuration app and set the driver to OpenGL, then disable Texture Compression. Config will be included soon.
7: After saving the settings, run the game.

GitHub

Contribute to NVIDIAGameWorks/dxvk-remix development by creating an account on GitHub.

limber aspen
#

<Reserved>
Instructions are up, but they're not working for me anymore. Will update if a fix is found.

limber aspen
#

HITMAN: Codename 47 (GLDirect)

limber aspen
#

So testing this with the GOG version, I was able to find that dxvk-remix/dxso/dxso_code.cpp returns null at line 21, resulting in a game crash. This is with a custom DLL running the latest commits as of the time of posting. I probably won't have a chance to more thoroughly debug this just yet.

limber aspen
#

As of July 14 Hitman: Codename 47 is Partially Playable.

#

Instructions updated to reflect current project status

limber aspen
#

Huh. We've hit a new bug and one that didn't exist the first time I was testing this game. Either during load or soon after loading into the game successfully,


DxvkGraphicsPipeline: Finished in 0 ms

The thread 0xb034 has exited with code 0 (0x0).
The thread 0x2a0c has exited with code 0 (0x0).
err:   DxvkSubmissionQueue: Command submission failed: VK_ERROR_DEVICE_LOST
DxvkSubmissionQueue: Command submission failed: VK_ERROR_DEVICE_LOST
#

This can be reproduced on the intro screen by allowing the Io Interactive logo splash to play out with the Remix menu open, beyond that I'll have to check for other ways to reproduce the bug. Strangely enough it's not triggering a breakpoint in VS.

#

There's a new issue that warrants an investigation with this game. I haven't successfully found a breakpoint for it, but I appear to be triggering a device lost error by having the Remix menu open while the game is loading or while the Io Interactive logo is displaying. With all hope this will lead back to a similar issue I was facing in Sword and Fairy 4, but I'll need to investigate further to figure out why no breakpoint is occurring.

limber aspen
#

Add this to hitman.ini to slightly improve compatibility by removing lightmaps.

DisableLight
DisableMultiTexture
#

Also worth using:

EnableConsole
EnableDebugOptions
torn pendant
#

works in dx7 render too!

limber aspen
#

Nice, was not the case a while back. DxWrapper has come a long way.

#

I wonder if it would actually be better to use dx7 from this point onwards.

halcyon forum
#

How'd you get that to work? I tried enabling Dx7to9 in the dxwrapper.ini file and make sure the NvBridge exe was in place, but it's not worked for me yet 😕

sullen iris
#

Yall paste these and it should work

  • textures aren't white
  • added some lights
  • distant buildings mostly fixed
#

Using version 1.0.0

sullen iris
sinful girder
#

thank you so much