Hitman: Codename 47

From PCGamingWiki, the wiki about fixing PC games
Revision as of 13:36, 5 September 2021 by (talk)
Hitman: Codename 47
Hitman: Codename 47 cover
IO Interactive
Eidos Interactive
Release dates
Windows November 19, 2000[1]
Metacritic 73
Modes Singleplayer
Pacing Real-time
Perspectives Third-person
Controls Direct control
Genres Stealth
Art styles Realistic
Themes Asia, Contemporary, Eastern Europe, Europe, South America
Series Hitman
Hitman: Codename 47 on HowLongToBeat
Hitman: Codename 47 on IGDB
Hitman: Codename 47 guide on StrategyWiki
Hitman: Codename 47 on MobyGames
Hitman: Codename 47 on Wikipedia
Hitman: Codename 47 2000
Hitman 2: Silent Assassin 2002
Hitman: Contracts 2004
Hitman: Blood Money 2006
Hitman: Sniper Challenge 2012
Hitman: Absolution 2012
Hitman GO 2015
Hitman 2016
Hitman 2 2018
Hitman 3 2021

General information

Developer website
GOG.com Community Discussions for game series
GOG.com Support Page
Steam Community Discussions


Source DRM Notes Keys OS
Disc check (requires the CD/DVD in the drive to play)
SafeDisc v2 DRM[Note 1].
The version included in the retail 'Hitman Collection' (Eidos, 2009) is entirely DRM-free.
Icon overlay.png
Gamesplanet logo.svg
Icon overlay.png
Green Man Gaming
Icon overlay.png
Humble Store
Icon overlay.png
Icon overlay.png
SafeDisc retail DRM does not work on Windows Vista and later (see above for affected versions).
The European release of the Hitman Collection is DRM-free, already patched to the latest version and has cheats enabled by default.

Essential improvements


Latest version is v1.92. Digital copies are patched to the latest version.

Peixoto's patch

Peixoto's patch Forced resolution allows high resolution without shrinking the HUD\menus on OpenGL and Direct3D modes. Super Sampling Anti Aliasing is also possible in OpenGL mode.

Increase draw distance

The draw distance on some levels is extremely short, making it difficult to see enemies.
Use nemesis2000's fix[citation needed]
  1. Install Widescreen fix by nemesis2000.
  2. Open h47.ini.
  3. Edit Draw_Distance value as desired.
Use draw distance unlocker[4]
  1. Download Hitman Unlocker and extract to <path-to-game>.
  2. Start the game, go to options and configure keys to increase and decrease draw distance.


Only works on the Steam version.
Can interfere with some DirectSound3D restoration methods due to using a dummy dsound.dll to patch the game.
On jungle levels it can tank your FPS considerably.

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\Hitman.cfg[Note 2]
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/6900/pfx/[Note 3]

Save game data location

System Location
Windows <path-to-game>\Hitman.sav[Note 2]
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/6900/pfx/[Note 3]
Hitman.sav contains all player profiles.

Save game cloud syncing

System Native Notes
GOG Galaxy
Steam Cloud
Added on September 11, 2020.[5]


External options menu.
External options menu.
In-game video settings.
In-game video settings.

Graphics feature State WSGF Notes
Widescreen resolution
See Widescreen resolution.
4K Ultra HD
See Widescreen resolution.
Field of view (FOV)
To manually adjust window position edit hitman.ini with text editor and add StartUpperPos 0,0 to the end of a file (first number is how many pixels from the left the window is displayed, second (separated by comma) is how many pixels from the top).
Borderless fullscreen windowed
See the glossary page for potential workarounds.
Anisotropic filtering (AF)
Anti-aliasing (AA)
The option may be grayed out or has no effect on modern systems.
Choose an OpenGL renderer and see Forcing anti-aliasing.[6]
Vertical sync (Vsync)
Enabled by default with no option to turn it off.
60 FPS and 120+ FPS
The game should capped at maximum of 283 fps (or preferably lower as FPS also affects camera sway).[7]

Widescreen resolution

Widescreen fix (Hor+ alternative)[8]
  1. Download this file and DgVoodoo.
  2. Extract both files to <path-to-game> (DgVoodoo only needs the files inside the ms folder and the config utility).
  3. Using DgVoodoo's config utility, set up the game the way you want (resolution, etc.)
  4. Edit hitman.ini to the following:
 Include Setup\Locale.zip
//DrawDll Render3DFX.dll
DrawDll RenderD3D.dll
//DrawDll RenderOpenGL.dll
SoundDll Sound.dll
ScriptDll GSC.dll
LocaleDLL Locale.dll
Resolution 1024x768
Anisotropy 2
ColorDepth 32
ShadowDetail 2
TextureResolution 0


Doesn't suffer from small HUD issues of the other fixes.
Incompatible with OpenGL.
HUD does not scale and may be too small to read at ultra-high resolutions.
Widescreen fix (Hor+)[citation needed]
  1. Download Widescreen fix by nemesis2000.
  2. Extract h47.7z files to <path-to-game> (password: h47).
  3. Edit h47.ini to set the resolution.


Draw distance is also adjustable.
For the widescreen patch to work with OpenGL, DxWnd is required.
Widescreen fix (Vert-)[9]
  1. Open <path-to-game>\hitman.ini.
  2. Locate line Resolution 800x600 and change it to desired resolution.
  3. Add a line Window
  4. Add a line StartUpperPos 0,0


Make sure to cap your frame rate to prevent extreme camera shake.
Lower vertical FOV in widescreen.[10]


In-game control settings.
In-game control settings.

Keyboard and mouse State Notes
Mouse buttons cannot be assigned to actions.
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller support
See the glossary page for potential workarounds.


In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Music, speech, SFX
Surround sound
Up to 7.0 output.[11]
Cutscene speech only. In-game speech not subtitled.
Closed captions
Mute on focus lost
EAX support


Language UI Audio Sub Notes
Fan translation
Local retail release, download
Retail only. Patch for digital release here.

VR support

Issues fixed

Game window displayed in-between screens

If running windowed mode, the game will place the window across screens (in some cases, half off-screen).
Set window position[citation needed]
  1. Open <path-to-game>\hitman.ini.
  2. Add StartUpperPos 0,0 to the file.

"Failed to find Steam" error

Launch the game from Steam[12]
Verify Your Game Cache[citation needed]
  1. In the Steam game library, right click the game.
  2. Select Properties.
  3. Select the Local Files tab.
  4. Click Verify integrity of game cache button.


Steam will consider your *.ini files "corrupt" if you've changed the resolution (presumably since doing so modifies the *.ini files). Accordingly, users who have managed to get Hitman working and changed the resolution will always get a single file reported as corrupt and about 250 bytes downloaded (i.e. this is to be expected).

Fix for numerous in-game crashes

Run game in Windows XP (Service Pack 2) Compatibility Mode[citation needed]
  1. Find<path-to-game>\Hitman.exe, right-click on the icon and choose the Properties option.
  2. Go to the Compatibility tab
  3. Tick the box that says "Run this program in compatibility mode for:"
  4. In the box underneath the tick, choose "Windows XP (Service Pack 2)"
  5. Click OK (if you get an administrator prompt after clicking OK, click the "Yes" button).


After performing this fix, launching the game may result in "Unable to find Steam" or "Unable to Verify Steam" errors. If encountered, quit Steam, then restart Steam as Administrator (right click the Steam icon or .exe and choose "Run as Administrator"). If the error is still encountered, or the game cannot be run as Administrator, the "Failed to find Steam" section may fix the error.

Black screen/crash on startup

Use OpenGL render instead of Direct3D[citation needed]
The default Direct3D render may have trouble launching on modern systems.

Game runs too fast

Keep CPU power usage settings stable[citation needed]
  1. Open Control Panel and then Power Options. Click on the "Change plan settings" of whatever plan is currently active. (By default this should be "Balanced.")
  2. On the next screen click "Change advanced power settings"; a window should open containing a list of the individual components affected by power management.
  3. Scroll down to "Processor power management" and expand everything so that both "Minimum processor state" and "Maximum processor state" are visible. By default under the "Balanced" plan these should be set at 5% and 100% respectively.
  4. In order to fix the speed problem in Codename 47 "Minimum processor state" should be changed to 100%. (Alternatively one may select the default "High Performance" plan a few screens back.)


This will prevent your computer from automatically slowing down your processor's clock-rate in times of low demand. Older software may be explicitly relying on the processor having a constant clock speed for in-game timing.

Low frame rate on Windows 8/8.1/10

Use DDRAW FPS Fix[citation needed]

High frame rate issues

High Frame rate will cause various issues such gravity stops working (guns start to float in air).High FPS also affects how much the camera sways and how far ragdolls fly
Framerate can be limited using Nvidia Inspector
Set refresh rate on 60hz

Other information


Technical specs Supported Notes
Direct3D 7
OpenGL 1.2 Buggy textures. Recommended output method for use with post processing injectors, such as ENB.
Glide 3.10
Executable 32-bit 64-bit Notes


a "Rebirth" mod is available here.

System requirements

Minimum Recommended
Operating system (OS) 95
Processor (CPU) Intel Pentium II 266 MHz
System memory (RAM) 64 MB
Hard disk drive (HDD) 400 MB
Video card (GPU) 3D accelerated card
12 MB of VRAM
DirectX 7.0a compatible
A hardware compatibility table for the game can be found at <path-to-game>.


  1. SafeDisc retail DRM does not work on Windows 10[2] or Windows 11 and is disabled by default on Windows Vista, Windows 7, Windows 8, and Windows 8.1 when the KB3086255 update is installed.[3]
  2. 2.0 2.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).
  3. 3.0 3.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/6900/ in addition to or instead of this directory. The app ID (6900) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.


  1. Hitman: Codename 47 - Io-Interactive
  2. Not Loading in Windows 10; this will break thousands of - Microsoft Community - last accessed on 2017-01-16
  3. Microsoft - MS15-097: Description of the security update for the graphics component in Windows: September 8, 2015 - last accessed on 2018-02-16
  4. Verified by User:Suicide_machine on 2016-09-07
  5. Hitman: Codename 47 - SteamDB Depot Changelog - last accessed on 2020-09-12
  6. Verified by User:Orzelek303 on 2019-02-08
  7. Verified by User:Suicide machine on 2020-09-07
    From our discussions on speedruning Discord: at 284 fps gravity stops working (guns start to float in air). FPS also affects how much the camera sways and how far ragdolls fly, but 283 fps seems like the maximum limit after which the game utterly breaks.
  8. http://helixmod.blogspot.com/2017/11/hitman-codename-47.html
  9. http://www.pcgamer.com/pixel-boost-hitman-codename-47-at-4k
  10. 1920x1080 - Hitman: Codename 47 widescreen - Gallery - PCGamingWiki Community
  11. PC Gaming Surround Sound Round-up
  12. Verified by User:Vetle on 2017-05-17