Mafia

From PCGamingWiki, the wiki about fixing PC games
Mafia
Mafia cover
Developers
Illusion Softworks
Publishers
Retail Gathering of Developers
Digital 2K Games
Engines
LS3D
Release dates
Windows August 28, 2002
Mafia guide at StrategyWiki
Mafia at Wikipedia
Mafia
Mafia 2002
Mafia II 2010
Mafia III 2016

Key points

The game may fail to start or load settings correctly on modern systems; use Mafia Widescreen Fix as a workaround.
Licensed music tracks have been removed from the digital versions.[1] See Restore original music (digital versions).

General information

Mafia Wiki for the series
MafiaScene.com - Game fan site
GOG.com Community Discussions for game series
GOG.com Support Page
Steam Community Discussions

Availability[edit]

A demo version is available.

Essential improvements[edit]

Patches[edit]

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

Skip intro videos[edit]

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

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

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows HKEY_LOCAL_MACHINE\Software\Wow6432Node\Illusion Softworks\Mafia\
Linux (Proton) <Steam-folder>/steamapps/compatdata/40990/pfx/[Note 2]
Stored as binary

Save game data location[edit]

System Location
Windows <path-to-game>\savegame\
Linux (Proton) <Steam-folder>/steamapps/compatdata/40990/pfx/[Note 2]

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
Vert- on digital distribution version. Scaling issues with HUD, FOV, and FMVs. Use Mafia Widescreen Fix.
Multi-monitor
Use Mafia Widescreen Fix.
Ultra-widescreen
Native Hor+ support on digital distribution version (strange because 16:9 is Vert-). HUD is correct but FMVs are 4:3 and aligned on left of screen. Use Mafia Widescreen Fix to correct.
4K Ultra HD
Use Mafia Widescreen Fix.
Field of view (FOV)
See the WSGF entry.
Windowed
Borderless fullscreen windowed
Use Mafia Widescreen Fix.
Anisotropic filtering (AF)
See the glossary page for potential workarounds.
Anti-aliasing (AA)
2x or 4x FSAA. MSAA can be forced in the graphics card control panel.
Vertical sync (Vsync)
On/Off; Triple Buffering On/Off
60 FPS
Frame rate is capped at 63 FPS.
120+ FPS
Use Mafia Widescreen Fix and set desired FPS Limit in Mafia.WidescreenFix.ini.

Input settings[edit]

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

Audio settings[edit]

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

Localizations

Language UI Audio Sub Notes
English
Czech
French
German
Italian
Polish
Fan translation, download.
Russian
Spanish

Issues fixed[edit]

Game doesn't start/Settings aren't saved[edit]

On 64-bit systems, the game may write the configuration to the wrong path of the registry.[6][7]
Use Mafia Widescreen Fix[citation needed]
All registry settings will be saved to settings.bin in savegame folder.

Flickering shadows[edit]

The fix is preconfigured to have d3d8to9 enabled.

Controller deadzone issues[edit]

Use Mafia Widescreen Fix[citation needed]
Deadzone for sticks can be adjusted in Mafia.GenericFix.ini.

No fullscreen mode on Windows 10[edit]

Use Mafia Widescreen Fix[citation needed]
If windowed mode is selected in setup.exe, the game will launch borderless.

Free Ride Extreme frame rate bugs[edit]

The Exploding Celeste and Bridge Bombing Zeppelin missions have a bug that makes completion difficult when playing at a frame rate above 15-20 FPS.[9]
Limit frame rate to 15-20 FPS[10]
  1. Install Mafia Widescreen Fix.
  2. Open Mafia.WidescreenFix.ini.
  3. Change FPS Limit = 0 to FPS Limit = 15.

Game crashes on startup (GOG.com)[edit]

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

Restore original music (digital versions)[edit]

Licensed music tracks have been removed from the digital versions.[1]
Restore original music (simple install)[11]
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)[11]
The following requires a copy of the original version
  1. Install the digital version and CD version 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 GOG.com version's installation folder.

Notes

Doesn't restore the scripted music played during specific missions. For example the band on the boat during the mission Happy Birthday! may appear to dance and sing but remain silent due to missing song file.

Red blocks/black lines on screen[edit]

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

Error 4205 Generic[edit]

Download the freeware Indeo codec[13]
Input your actual screen resolution and refresh rate in the Setup launcher[14]
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[16]

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 8
64-bit executable

Middleware[edit]

Middleware Notes
Cutscenes Bink Video 1.5p

Modifications[edit]

Xbox Rain Droplets - Basic implementation of Xbox rain droplets from SkyGFX. Requires Mafia Widescreen Fix.
Footpath & Road Mod - Changes roads, sidewalks and parking textures to be better and more realistic. Requires MafiaDataXtractor to extract maps folder to Mafia folder.

System requirements[edit]

Windows
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

Notes

  1. SafeDisc retail DRM does not work on Windows 10[2] 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 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>/40990/ in addition to or instead of this directory. The app ID (40990) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References