Hitman: Codename 47

From PCGamingWiki, the wiki about fixing PC games
Hitman: Codename 47
Hitman: Codename 47 cover
Developers
IO Interactive
Publishers
Eidos Interactive
Engines
Glacier
Release dates
Windows November 19, 2000[1]
Reception
Metacritic 73
Taxonomy
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
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

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

Availability[edit]

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
SafeDisc v2 DRM[Note 1].
Windows
Retail
DRM-free
The version included in the retail 'Hitman Collection' (Eidos, 2009) is entirely DRM-free.
Windows
Amazon.com
Icon overlay.png
Windows
GamersGate
Icon overlay.png
Windows
Gamesplanet logo.svg
Icon overlay.png
Windows
GOG.com
DRM-free
Windows
Humble Store
Icon overlay.png
Windows
Steam
Icon overlay.png
Windows
Amazon.com (unavailable)
DRM-free
Windows
Green Man Gaming (unavailable)
Icon overlay.png
Windows
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[edit]

Patches[edit]

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

Increase draw distance[edit]

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.

Notes

Only works on the Steam version.
Can interfere with some DirectSound3D restoration methods due to using a dummy dsound.dll to patch the game.
In the jungle levels or in Rotterdam, both locations with large open spaces, it can tank your FPS considerably if you don't have a high-end computer.

Modern (WASD) controls[edit]

Vanilla Codename 47 has some bizarre controls using the Numpad that most people might not like.
Use Carl's Remapped Hitman: Codename 47 Controls[5]
  1. Download the fix here and extract it to <path-to-game>

Game data[edit]

Configuration file(s) location[edit]

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[edit]

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[edit]

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

Video[edit]

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

Graphics feature State WSGF Notes
Widescreen resolution
See Widescreen resolution
Multi-monitor
Ultra-widescreen
See Widescreen resolution
4K Ultra HD
See Widescreen resolution.
Field of view (FOV)
Windowed
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.[7]
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).[8]
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Widescreen resolution[edit]

Widescreen fix (Hor+ alternative)[9]
  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
AntiAlias
DisableLight
ColorDepth 32
ShadowDetail 2
TextureResolution 0

Notes

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.

Notes

Draw distance is also adjustable.
For the widescreen patch to work with OpenGL, DxWnd is required.
Make both dgVoodoo2 wrapper and nemesis2000's widescreen fix work together
  1. Download Widescreen fix by nemesis2000.
  2. Create a scripts folder inside <path-to-game> and extract only h1w.dll and h47.ini files to that folder.
  3. Download the 32-bit version of Ultimate ASI Loader by ThirteenAG.
  4. Extract dinput8.dll inside <path-to-game> and rename it to dsound.dll.
  5. Change the .dll extension of the h1w.dll file to .asi by renaming it to h1w.asi
  6. Inside the scripts folder create a file called global.ini, open it and put the following:
[GlobalSets]
FindModule=1
  1. Download DgVoodoo.
  2. Extract dgVoodooCpl.exe, dgVoodoo.conf, MS\x86\DDraw.dll and MS\x86\D3DImm.dll inside <path-to-game>.
  3. Open dgVoodooCpl.exe, go to the DirectX tab and uncheck the "dgVoodoo Watermark" option.
  4. Open h47.ini and change your desired resolution.
  5. Play the game.
Can interfere with some DirectSound3D restoration methods due to using a dummy dsound.dll to patch the game.
Widescreen fix (Vert-)[10]
  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

Notes

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

Input[edit]

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

Keyboard and mouse State Notes
Remapping
Mouse buttons cannot be assigned to actions.
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support

Audio[edit]

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.[12]
Subtitles
Cutscene speech only. In-game speech not subtitled.
Closed captions
Mute on focus lost
EAX support
2.0
May require DirectSound3D restoration software to restore proper sound functionality on Windows Vista and later.

Localizations

Language UI Audio Sub Notes
English
French
German
Hungarian
Fan translation
Italian
Japanese
Local retail release.
Polish
Local retail only. Patch for digital release here.
Brazilian Portuguese
Retail only (CD Expert). Translation (ModDB).
Russian
Retail only. Patch for digital release here.
Spanish

VR support[edit]

3D modes Native Notes
Nvidia 3D Vision
See Helix Mod: Hitman: Codename 47.
vorpX
G3D
User created profile, requires DGVoodoo2 v 2.55, see profile introdution.
Note: Profile will not work with the latest wrapper, in case of issues please report to the profile introdution vorpx forum.

Issues fixed[edit]

Game window displayed in-between screens[edit]

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[edit]

Launch the game from Steam[13]
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.

Notes

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[edit]

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).

Notes

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[edit]

Use OpenGL render instead of Direct3D[citation needed]
The default Direct3D render may have trouble launching on modern systems.
Use Nemesis 2000's fix.[14]

Game runs too fast[edit]

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.)

Notes

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[edit]

Use DDRAW FPS Fix[citation needed]

High frame rate issues[edit]

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
Limit the Framerate to 60FPS[citation needed]
Set refresh rate on 60hz

Other information[edit]

API[edit]

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
Windows

System requirements[edit]

Windows
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>.

Notes

  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.

References

  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. [1] - last accessed on 2021-12-21
  6. Hitman: Codename 47 - SteamDB Depot Changelog - last accessed on 2020-09-12
  7. Verified by User:Orzelek303 on 2019-02-08
  8. 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.
  9. https://helixmod.blogspot.com/2017/11/hitman-codename-47.html
  10. https://www.pcgamer.com/pixel-boost-hitman-codename-47-at-4k
  11. 1920x1080 - Hitman: Codename 47 widescreen - Gallery - PCGamingWiki Community
  12. PC Gaming Surround Sound Round-up
  13. Verified by User:Vetle on 2017-05-17
  14. Verified by User:Averygoodperson on 2021-12-28
    The game didn' crash with the widescreen fix by nemesis2000, but it did when using nemesis2000's fix and DgVoodoo. It seems to have something to do with the ddraw.dll file.