From PCGamingWiki, the wiki about fixing PC games
This page may require cleanup to meet basic quality standards. You can help by modifying the article. The discussion page may contain useful suggestions.
Mafia cover
Illusion Softworks
Gathering of Developers
2K Games
Release dates
Windows August 28, 2002
Mafia guide at StrategyWiki
Mafia at Wikipedia
Mafia 2002
Mafia II 2010
Mafia III 2016

Key points

Licensed music tracks have been removed from the version.[1] See Restore original music (

General information - Game fan site Community Discussions Support Page
Steam Community Discussions


Source DRM Notes Keys OS
Disc check (requires the CD/DVD in the drive to play)
A demo version is available.

Essential improvements[edit]


Patch 1.3 updates the game to the latest version. Some sources list this patch as version 1.2.

Increase draw distance[edit]

Increase the draw distance via the widescreen patch[citation needed]
  1. Install Mafia Widescreen Fix.
  2. Open Mafia.WidescreenFix.ini.
  3. Set New Distance to a high value (e.g. 1000).

Skip intro videos[edit]

Delete logos[citation needed]
  1. Go to <path-to-game>
  2. Delete all files starting with logo

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows HKEY_LOCAL_MACHINE\Software\Wow6432Node\Illusion Softworks\Mafia\
Stored as a hexadecimal value

Save game data location[edit]

System Location
Windows <path-to-game>\savegame\

Save game cloud syncing[edit]

System Native Notes
GOG Galaxy
Steam Cloud

Video settings[edit]

External options menu.
External options menu.
In-game audio/video settings.
In-game audio/video settings.
Graphics option Option WSGF Notes
Widescreen resolution
See Widescreen resolution.
See Widescreen resolution.
See Widescreen resolution.
4K Ultra HD
Field of view (FOV)
See Field of view (FOV).
Borderless fullscreen windowed
See Borderless fullscreen windowed.
Anisotropic filtering (AF)
Force in the graphics card control panel.
Anti-aliasing (AA)
2x or 4x FSAA. MSAA can be forced in the graphics card control panel.
Vertical sync (Vsync)
On/Off, Triple Buffering supported - On/Off
60 FPS
120+ FPS
Frame rate is capped at 63 FPS. See High frame rate.

Widescreen resolution[edit]

The game supports multiple aspect ratios and arbitrary resolutions, but has stretched HUD elements outside 4:3.
Ultra-widescreen resolutions have HUD issues, misplaced subtitles and left aligned cutscenes by default.[2]
Use Mafia Widescreen Fix[citation needed]
Contains additional options such as draw distance tweaking and FPS limiter
Not compatible with Steam version[3]

Field of view (FOV)[edit]

Changing FOV[4]
  1. Download MafiaDataXtractor.
  2. Extract MISSIONS data with MafiaDataXTractor (place in the installation folder).
  3. Download BScriptView and download MSVBVM50.DLL from this page.
  4. Put MSVBVM50.DLL and the included .OCX files in same folder as BSV6.exe.
  5. Load each scene2.bin file in all folders in <path-to-game>\MISSIONS with BScriptView.
  6. Add camera_setfov XX to the GameInitEnd script (replace XX with your chosen value).


70 files need to be edited, and not all of them are named GameInitEnd. Some files are named GameInitStart etc.
Pre-edited scene2.bin files with different values are available from WSGF entry.

Borderless fullscreen windowed[edit]

Run in borderless fullscreen[citation needed]
  1. Install Mafia Widescreen Fix.
  2. Create blank wndmode.ini in <path-to-game>.

High frame rate[edit]

Remove 63 FPS cap[citation needed]
  1. Install Mafia Widescreen Fix.
  2. Open Mafia.WidescreenFix.ini.
  3. Change FPS Limit = 0 to the desired frame rate (e.g. FPS Limit = 120).

Input settings[edit]

In-game control settings.
In-game control settings.
In-game key map settings.
In-game key map settings.

Controller support[edit]

Some users have reported success with using an Xbox 360 Controller but there are often issues with the use of the thumb-sticks.[5] This can be fixed by using a program such as antimicro to rebind controls, using the D-Pad to steer, and disabling the thumb-sticks.

Audio settings[edit]

Audio options Native Notes
Separate volume controls
Sound effects, Music, Vehicles, Voiceover
Surround sound
Closed captions
Mute on focus lost
EAX support
EAX 3.0[6]


Language UI Audio Sub Notes

Issues fixed[edit]

Shadow flickering[edit]

Use the ENBSeries DX8 to DX9 converter[7]
  1. Download ENBSeries DX8 to DX9 converter v0.036.
  2. Extract the downloaded package to the installation folder.
Set ingame shadows to Very Low[citation needed]

Restore original music ([edit]

Licensed music tracks have been removed from the version.[1]
Restore original music (simple install)[8]
For those who don't have the original version installed
  1. Download this package.
  2. Extract the SOUNDS folder to the installation folder.
Restore original music (manual install)[8]
The following requires a copy of the original version
  1. Install the and CD versions of Mafia.
  2. Download MafiaDataXtractor.
  3. Copy MafiaDataXtractor.exe to the CD version's installation folder.
  4. Open MafiaDataXtractor.exe and select ab.dta - Music from the list. Wait for the program to extract .ogg files.
  5. When extracting is finished, copy the SOUNDS folder to the version's installation folder.

Game crashes on startup ([edit]

Set Fullscene antialiasing to "OFF" in setup.exe[citation needed]
MSAA can be forced in the graphics card control panel.

In-game settings are not saved correctly in Windows 10[edit]

In Windows 10 settings are loaded from HKEY_CURRENT_USER\SOFTWARE\Illusion Softworks\Mafia
The config launcher correctly saves in this location but the in-game settings are stored in: HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Illusion Softworks\Mafia
Copy over registry value[citation needed]
  1. Make your desired changes via the config launcher and save
  2. Start the game and make your desired changes in the in-game settings and save and exit
  3. From the start menu, run the Command Prompt as administrator
  4. For Windows 10 x64 with no compatibility options enabled; paste the following and click enter:
    REG COPY "HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Illusion Softworks\Mafia" "HKEY_CURRENT_USER\SOFTWARE\Illusion Softworks\Mafia" /s /f
  5. Start the game normally. Repeat the steps again after changing any in-game settings

  • *UPDATE* Topic needs updating detailing the different registry paths for x86 Windows 10 and the different paths used by running mafia in compatibility mode (Windows XP, Windows 7, etc). For Windows 10 x64 with Windows XP SP2 compatibility mode? (Please verify the compatbilty mode used for this) try entering the following :
    REG COPY "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Illusion Softworks\Mafia" "HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Illusion Softworks\Mafia" /s /f

Red blocks/black lines on screen[edit]

Example of the issue
Example of the issue
Change rendering method[9]
  1. Open <path-to-game>\Setup.exe
  2. Click on 'Open expert settings...'.
  3. Select 'Multipass rendering' rather than 'Hardware Transform&Lighting'.

Game always runs with default settings (Steam)[edit]

Non-English Steam versions of the game have a bugged settings launcher whereby adjusting options has no effect, with Mafia always running with default values. In some cases, this has also led to Mafia not running.
Swap game language[10]
  1. Set Mafia's language in Steam to English
  2. Wait until download is complete
  3. Start Settings launcher
  4. Select desired settings
  5. Save and exit launcher
  6. Set Mafia's language in Steam to your desired option
  7. Wait until download is complete
  8. Start the game - it should run in your desired language with your desired settings

Error 4205 Generic[edit]

Download the freeware Indeo codec[11]
Input your actual screen resolution and refresh rate in the Setup launcher[12]
Set Fullscene antialiasing to "OFF" in setup.exe[citation needed]
MSAA can be forced in the graphics card control panel.

Error 4214 Unsupported[edit]

Copy SysWOW64\dpnhpast.dll to <path-to-game>\dpnhpast.dll[citation needed]
If you don't have such dll in your SysWOW64, install DirectX.

Error 8815 Generic[edit]

Input your actual screen resolution and refresh rate in the Setup launcher[14]

Exploding Celeste frame rate bug[edit]

The Free Ride Extreme mission Exploding Celeste is bugged at higher frame rates, causing the bombs to explode earlier than usual.
This will allow the explosions to go off at a normal rate.

No fullscreen mode on Windows 10[edit]

Run in borderless fullscreen[citation needed]

See Borderless fullscreen windowed.

Game doesn't launch, only opens setup (Steam)[edit]

On 64-bit systems, the game writes the configuration in the wrong path of the registry
Copy over registry value[16]
  1. Make your desired changes via setup and save
  2. Copy the following:
    REG COPY "HKEY_CURRENT_USER\SOFTWARE\Illusion Softworks\Mafia" "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Illusion Softworks\Mafia" /s /f
  3. From the start menu, run the Command Prompt as administrator
  4. Right-click in the Command Prompt window, choose paste, then press Enter
  5. Start the game normally. Repeat the steps again after changing anything via setup or game

Other information[edit]


Technical specs Supported Notes
Direct3D 8
64-bit executable


Middleware Notes
Cutscenes Bink Video 1.5p


Footpath & Road Mod[edit]

Changes roads, sidewalks and parking textures to be better and more realistic. Requires MafiaDataXtractor to extract maps folder to Mafia folder.

System requirements[edit]

Minimum Recommended
Operating system (OS) 98, ME, XP
Processor (CPU) Intel Pentium III 500 MHz Intel Pentium III 700 MHz
System memory (RAM) 96 MB 128 MB
Hard disk drive (HDD) 1.8 GB
Video card (GPU) 32 MB of VRAM
DirectX 8.1 compatible


  1. 1.0 1.1 Release: Mafia -
  2. Mafia 21:9 (Vanilla) - last accessed on 2016-6-29
  3. [GTA|NFS|MP|OTHER] Widescreen Fixes Pack - GTAForums
  4. Mafia: The City of Lost Heaven | WSGF
  5. Mafia 1 Xbox 360 controller issues? - Steam Users' Forums (retrieved)
  6. EAX Featured Game: Mafia - EAX.CREATIVE.COM
  7. Shadow Flickering Problems - GOG Forum (retrieved)
  8. 8.0 8.1 [Tutorial] How to restore the original music - Forum -
  9. Weird lines/colors - Steam Users' Forums (retrieved)
  10. Mafia 1 Settings Bug - Steam Users' Forums (retrieved)
  11. Mafia hlasi chybu -
  12. Mafia Error: Init error error: #4205 Generic... - ForumPlanet (retrieved)
  13. Error: #4214 - Forum -
  14. error : #8815 Generic - Forum Bar Mafieuso
  15. Freeride Extreme - Exploding Celeste problems :: Mafia General Discussions
  16. can't start game - gfx settings menu keeps coming up for non-English versions - Steam Users' Forums (retrieved)