Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Mafia"

From PCGamingWiki, the wiki about fixing PC games
(→‎Input: Given the instructions for how to use XInput controllers, controller support is hackable.)
Line 28: Line 28:
 
{{Infobox game/row/taxonomy/perspectives      | Third-person }}
 
{{Infobox game/row/taxonomy/perspectives      | Third-person }}
 
{{Infobox game/row/taxonomy/controls          | Direct control }}
 
{{Infobox game/row/taxonomy/controls          | Direct control }}
{{Infobox game/row/taxonomy/genres            | Action, Open world, Shooter }}
+
{{Infobox game/row/taxonomy/genres            | Action, Adventure, Open world, Shooter, TPS }}
 
{{Infobox game/row/taxonomy/sports            | }}
 
{{Infobox game/row/taxonomy/sports            | }}
 
{{Infobox game/row/taxonomy/vehicles          | Automobile }}
 
{{Infobox game/row/taxonomy/vehicles          | Automobile }}
Line 80: Line 80:
 
===Skip intro videos===
 
===Skip intro videos===
 
{{Fixbox|description=Delete or rename video files|ref=<ref name="Orzelek303">{{Refcheck|user=Orzelek303|date=2021-06-07}}</ref>|fix=
 
{{Fixbox|description=Delete or rename video files|ref=<ref name="Orzelek303">{{Refcheck|user=Orzelek303|date=2021-06-07}}</ref>|fix=
# Go to {{Folder|{{p|game}}}}.
+
# Go to {{folder|{{p|game}}}}.
 
# Delete or rename all files starting with {{code|logo}}.
 
# Delete or rename all files starting with {{code|logo}}.
 
}}
 
}}
Line 141: Line 141:
 
|antialiasing              = true
 
|antialiasing              = true
 
|antialiasing notes        = 2x or 4x [[FSAA]]. [[MSAA]] can be forced in the graphics card control panel.
 
|antialiasing notes        = 2x or 4x [[FSAA]]. [[MSAA]] can be forced in the graphics card control panel.
|upscaling                  = unknown
+
|upscaling                  = false
 
|upscaling tech            =  
 
|upscaling tech            =  
 
|upscaling notes            =  
 
|upscaling notes            =  
Line 150: Line 150:
 
|120 fps                    = hackable
 
|120 fps                    = hackable
 
|120 fps notes              = Frame rate is capped at 63 FPS. See [[#High frame rate|High frame rate]].
 
|120 fps notes              = Frame rate is capped at 63 FPS. See [[#High frame rate|High frame rate]].
|hdr                        = unknown
+
|hdr                        = false
 
|hdr notes                  =  
 
|hdr notes                  =  
|color blind                = unknown
+
|color blind                = false
 
|color blind notes          =  
 
|color blind notes          =  
 
}}
 
}}
Line 158: Line 158:
 
===[[Glossary:Frame rate (FPS)|High frame rate]]===
 
===[[Glossary:Frame rate (FPS)|High frame rate]]===
 
{{Fixbox|description=Use Mafia Widescreen Fix|fix=
 
{{Fixbox|description=Use Mafia Widescreen Fix|fix=
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]
+
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
 
# Set desired <code>FPS Limit</code> in <code>Mafia.WidescreenFix.ini</code>.
 
# Set desired <code>FPS Limit</code> in <code>Mafia.WidescreenFix.ini</code>.
  
 
'''Notes'''
 
'''Notes'''
 
{{--}} High FPS causes several issues.
 
{{--}} High FPS causes several issues.
* Cars have unusually good traction, this results in much relaxed steering than intended.
+
{{ii}} Cars have unusually good traction, this results in much relaxed steering than intended.
* It can be almost impossible to fully park car at mission marker without turning its engine off (game still thinks it's moving).
+
{{ii}} It can be almost impossible to fully park car at mission marker without turning its engine off (game still thinks it's moving).
* NPCs can get stuck on any elevated surfaces e.g. sidewalks, stairs, this can break any mission with NPC companions and cause Trams to stay in one place waiting for passenger indefinitely.
+
{{ii}} NPCs can get stuck on any elevated surfaces e.g. sidewalks, stairs, this can break any mission with NPC companions and cause Trams to stay in one place waiting for passenger indefinitely.
 
}}
 
}}
  
Line 182: Line 182:
 
|invert mouse y-axis      = true
 
|invert mouse y-axis      = true
 
|invert mouse y-axis notes =  
 
|invert mouse y-axis notes =  
|touchscreen              = unknown
+
|touchscreen              = false
 
|touchscreen notes        =  
 
|touchscreen notes        =  
 
|controller support        = true
 
|controller support        = true
Line 195: Line 195:
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
 
|xinput controllers        = hackable
 
|xinput controllers        = hackable
|xinput controllers notes  = [https://steamcommunity.com/app/40990/discussions/0/1693785035825888934/#c1744480967019042402 Follow this guide (Steam forums).] <ref>{{Refcheck|user=Genesisbr|date=2023-12-17|comment=Xbox Series X/S controller, wired.}}</ref>
+
|xinput controllers notes  = [https://steamcommunity.com/app/40990/discussions/0/1693785035825888934/#c1744480967019042402 Follow this guide (Steam forums)].<ref>{{Refcheck|user=Genesisbr|date=2023-12-17|comment=Xbox Series X/S controller, wired.}}</ref>
 
|xbox prompts              = unknown
 
|xbox prompts              = unknown
 
|xbox prompts notes        =  
 
|xbox prompts notes        =  
Line 230: Line 230:
 
{{Fixbox|description=Use Xidi|ref={{cn|date=2022-11-25|reason=}}|fix=
 
{{Fixbox|description=Use Xidi|ref={{cn|date=2022-11-25|reason=}}|fix=
 
# Download the latest release of [https://github.com/samuelgr/Xidi/releases Xidi] (check [https://github.com/samuelgr/Xidi#getting-started getting started] for prerequisites).
 
# Download the latest release of [https://github.com/samuelgr/Xidi/releases Xidi] (check [https://github.com/samuelgr/Xidi#getting-started getting started] for prerequisites).
# Extract <code>Win32\dinput.dll</code> into <code>{{p|game}}</code>.
+
# Extract {{file|Win32\dinput.dll}} into {{folder|{{p|game}}}}.
 
}}
 
}}
  
Line 236: Line 236:
 
{{Audio
 
{{Audio
 
|separate volume          = true
 
|separate volume          = true
|separate volume notes    = Sound effects, Music, Vehicles, Voiceover
+
|separate volume notes    = Sound effects, Music, Vehicles, Voiceover.
 
|surround sound          = true
 
|surround sound          = true
 
|surround sound notes    = 5.1
 
|surround sound notes    = 5.1
Line 246: Line 246:
 
|mute on focus lost notes =  
 
|mute on focus lost notes =  
 
|eax support              = true
 
|eax support              = true
|eax support notes        = EAX 3.0<ref>{{Refurl|url=https://web.archive.org/web/20021107102408/http://www.eax.creative.com/gaming/mafia.asp|title=EAX Featured Game: Mafia - EAX.CREATIVE.COM|date=May 2023}}</ref>
+
|eax support notes        = EAX 3.0.<ref>{{Refurl|url=https://web.archive.org/web/20021107102408/http://www.eax.creative.com/gaming/mafia.asp|title=EAX Featured Game: Mafia - EAX.CREATIVE.COM|date=May 2023}}</ref>
 
|royalty free audio      = false
 
|royalty free audio      = false
 
|royalty free audio notes = Retail copies contain non-royalty free audio; digital copies only contain royalty-free audio.<ref name="release">{{Refurl|url=https://web.archive.org/web/20201112042902/https://www.gog.com/news/release_mafia|title=Release: Mafia - GOG.com (retrieved)|date=2023-10-30}}</ref> See [[#Restore original music (digital versions)|Restore original music (digital versions)]].
 
|royalty free audio notes = Retail copies contain non-royalty free audio; digital copies only contain royalty-free audio.<ref name="release">{{Refurl|url=https://web.archive.org/web/20201112042902/https://www.gog.com/news/release_mafia|title=Release: Mafia - GOG.com (retrieved)|date=2023-10-30}}</ref> See [[#Restore original music (digital versions)|Restore original music (digital versions)]].
Line 321: Line 321:
 
  |audio    = false
 
  |audio    = false
 
  |subtitles = hackable
 
  |subtitles = hackable
  |notes    = Fan translation for retail English version by GameVicio (was made before GreenLeaf distribution), [https://www.gamevicio.com/traducao/traducao-de-mafia-para-portugues-brasil/ download.]
+
  |notes    = Fan translation for retail English version by GameVicio (was made before GreenLeaf distribution), [https://www.gamevicio.com/traducao/traducao-de-mafia-para-portugues-brasil/ download].
 
  |fan      = true
 
  |fan      = true
 
}}
 
}}
Line 345: Line 345:
 
  |audio    = false
 
  |audio    = false
 
  |subtitles = hackable
 
  |subtitles = hackable
  |notes    = Translated by Ukrainian enthusiasts (Andrulko, InKviZ), [https://toloka.to/t113587 download.] Registration on the site is required.
+
  |notes    = Translated by Ukrainian enthusiasts (Andrulko, InKviZ), [https://toloka.to/t113587 download]. Registration on the site is required.
 
  |fan      = true
 
  |fan      = true
 
}}
 
}}
Line 399: Line 399:
  
 
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
 
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
{{ii}} All registry settings will be saved to <code>settings.bin</code> in savegame folder.
+
{{ii}} All registry settings will be saved to {{file|{{p|game}}/savegame/settings.bin}}.
 
}}
 
}}
  
 
===Game crashes on startup (GOG.com)===
 
===Game crashes on startup (GOG.com)===
{{Fixbox|description=Set Fullscene antialiasing to "OFF" in <code>setup.exe</code>|ref={{cn|date=October 2017}}|fix=
+
{{Fixbox|description=Set Fullscene antialiasing to "OFF" in {{file|setup.exe}}|ref={{cn|date=October 2017}}|fix=
 
{{ii}} MSAA can be forced in the graphics card control panel.
 
{{ii}} MSAA can be forced in the graphics card control panel.
 
}}
 
}}
Line 414: Line 414:
 
{{Fixbox|description=Use DirectX 8 to DirectX 9 translation layer|ref=<ref>{{Refurl|url=https://www.gog.com/forum/mafia/shadow_flickering_problems/post3|title=Shadow Flickering Problems - Forum - GOG.com|date=May 2023}}</ref>|fix=
 
{{Fixbox|description=Use DirectX 8 to DirectX 9 translation layer|ref=<ref>{{Refurl|url=https://www.gog.com/forum/mafia/shadow_flickering_problems/post3|title=Shadow Flickering Problems - Forum - GOG.com|date=May 2023}}</ref>|fix=
 
# Download [https://github.com/crosire/d3d8to9/releases/latest d3d8to9].
 
# Download [https://github.com/crosire/d3d8to9/releases/latest d3d8to9].
# Place <code>d3d8.dll</code> into <code>{{p|game}}</code>
+
# Place {{file|d3d8.dll}} into {{folder|{{p|game}}}}.
 
}}
 
}}
  
{{Fixbox|description=Use dgVoodoo 2 wrapper|fix=
+
{{Fixbox|description=Use [[dgVoodoo 2]]}}
# Download newest [[dgVoodoo 2]].
 
# Extract <code>dgVoodooCpl.exe</code>, <code>dgVoodoo.conf</code>, <code>MS\x86\d3d8.dll</code> into <code>{{p|game}}</code> (extract <code>d3d9.dll</code> instead of <code>d3d8.dll</code> if using the Widescreen Fix)
 
# Start '''dgVoodooCpl.exe''' and set '''Output API''' to '''Direct3D 12''' (usually the highest feature level, unless you're experiencing issues) in the '''General''' tab, under '''Rendering'''.
 
# Uncheck '''dgVoodoo Watermark''' in the '''DirectX''' tab, under '''Miscellaneous'''.
 
}}
 
  
 
===Controller deadzone issues===
 
===Controller deadzone issues===
 
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
 
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
{{ii}} Deadzone for sticks can be adjusted in <code>Mafia.GenericFix.ini</code>.
+
{{ii}} Deadzone for sticks can be adjusted in {{file|Mafia.GenericFix.ini}}.
 
}}
 
}}
  
 
===No fullscreen mode on Windows 10===
 
===No fullscreen mode on Windows 10===
 
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
 
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
{{ii}} If windowed mode is selected in <code>setup.exe</code>, the game will launch borderless.
+
{{ii}} If windowed mode is selected in {{file|setup.exe}}, the game will launch borderless.
 
}}
 
}}
  
Line 439: Line 434:
 
{{Fixbox|description=Limit frame rate to 15-20 FPS|ref=<ref>[https://mafiagame.fandom.com/wiki/Talk:Exploding_Celeste_(Mafia) Talk:Exploding Celeste (Mafia) | Mafia Wiki | Fandom]</ref>|fix=
 
{{Fixbox|description=Limit frame rate to 15-20 FPS|ref=<ref>[https://mafiagame.fandom.com/wiki/Talk:Exploding_Celeste_(Mafia) Talk:Exploding Celeste (Mafia) | Mafia Wiki | Fandom]</ref>|fix=
 
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
 
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
# Open <code>Mafia.WidescreenFix.ini</code>.
+
# Open {{file|Mafia.WidescreenFix.ini}}.
 
# Change <code>FPS Limit = 0</code> to <code>FPS Limit = 15</code>.
 
# Change <code>FPS Limit = 0</code> to <code>FPS Limit = 15</code>.
 
}}
 
}}
Line 446: Line 441:
 
{{Image|Mafiavisualerror1.jpg|Example of the issue}}
 
{{Image|Mafiavisualerror1.jpg|Example of the issue}}
 
{{Fixbox|description=Change rendering method|ref=<ref>[https://web.archive.org/web/20150619081014/http://forums.steampowered.com/forums/showthread.php?t=2595659 Weird lines/colors - Steam Users' Forums] (retrieved)</ref>|fix=
 
{{Fixbox|description=Change rendering method|ref=<ref>[https://web.archive.org/web/20150619081014/http://forums.steampowered.com/forums/showthread.php?t=2595659 Weird lines/colors - Steam Users' Forums] (retrieved)</ref>|fix=
# Open <code>{{p|game}}\Setup.exe</code>
+
# Open {{file|{{p|game}}\Setup.exe}}.
# Click on '''Open expert settings...'''
+
# Click on '''Open expert settings...'''.
 
# Select '''Multipass rendering''' rather than '''Hardware Transform&Lighting'''.
 
# Select '''Multipass rendering''' rather than '''Hardware Transform&Lighting'''.
 
}}
 
}}
Line 453: Line 448:
 
===Sky is corrupted===
 
===Sky is corrupted===
 
{{Fixbox|description=Change rendering method|ref=<ref>[https://web.archive.org/web/20150619081014/http://forums.steampowered.com/forums/showthread.php?t=2595659 Weird lines/colors - Steam Users' Forums] (retrieved)</ref>|fix=
 
{{Fixbox|description=Change rendering method|ref=<ref>[https://web.archive.org/web/20150619081014/http://forums.steampowered.com/forums/showthread.php?t=2595659 Weird lines/colors - Steam Users' Forums] (retrieved)</ref>|fix=
# Open <code>{{p|game}}\Setup.exe</code>
+
# Open {{file|{{p|game}}\Setup.exe}}.
# Click on '''Open expert settings...'''
+
# Click on '''Open expert settings...'''.
 
# Select '''Hardware Transform&Lighting''' rather than '''Multipass rendering'''.
 
# Select '''Hardware Transform&Lighting''' rather than '''Multipass rendering'''.
 
}}
 
}}
Line 463: Line 458:
 
{{Fixbox|description=Input your actual screen resolution and refresh rate in the Setup launcher|ref=<ref name="web.archive.org">[https://web.archive.org/web/20120210183318/http://forums.gamespy.com/technical_issues/b48748/4585346/p1 Mafia Error: Init error error: #4205 Generic... - ForumPlanet (retrieved)]</ref>}}
 
{{Fixbox|description=Input your actual screen resolution and refresh rate in the Setup launcher|ref=<ref name="web.archive.org">[https://web.archive.org/web/20120210183318/http://forums.gamespy.com/technical_issues/b48748/4585346/p1 Mafia Error: Init error error: #4205 Generic... - ForumPlanet (retrieved)]</ref>}}
  
{{Fixbox|description=Set Fullscene antialiasing to "OFF" in <code>setup.exe</code>|ref={{cn|date=September 2016}}|fix=
+
{{Fixbox|description=Set Fullscene antialiasing to "OFF" in {{file|setup.exe}}|ref={{cn|date=September 2016}}|fix=
 
{{ii}} MSAA can be forced in the graphics card control panel.
 
{{ii}} MSAA can be forced in the graphics card control panel.
 
}}
 
}}
Line 469: Line 464:
 
{{Fixbox|description=Use DirectX 8 to DirectX 9 translation layer|fix=
 
{{Fixbox|description=Use DirectX 8 to DirectX 9 translation layer|fix=
 
# Download [https://github.com/crosire/d3d8to9/releases d3d8to9].
 
# Download [https://github.com/crosire/d3d8to9/releases d3d8to9].
# Place <code>d3d8.dll</code> into <code>{{p|game}}</code>
+
# Place {{file|d3d8.dll}} into {{folder|{{p|game}}}}.
 
}}
 
}}
  
Line 477: Line 472:
 
{{Fixbox|description=Install [[DirectPlay]]|ref=<ref>{{Refurl|url=https://www.gog.com/forum/mafia/error_4214|title=Error: #4214 - Forum - GOG.com|date=9 June 2023}}</ref>}}
 
{{Fixbox|description=Install [[DirectPlay]]|ref=<ref>{{Refurl|url=https://www.gog.com/forum/mafia/error_4214|title=Error: #4214 - Forum - GOG.com|date=9 June 2023}}</ref>}}
  
{{Fixbox|description=Copy <code>{{p|syswow64}}\dpnhpast.dll</code> to <code>{{p|game}}\dpnhpast.dll</code>|ref={{cn|date=October 2017}}|fix=
+
{{Fixbox|description=Copy {{file|{{p|syswow64}}\dpnhpast.dll}} to {{folder|{{p|game}}}}|ref={{cn|date=October 2017}}|fix=
{{ii}} If you don't have such dll in your <code>{{p|syswow64}}</code>, install DirectX.
+
{{ii}} If you don't have such dll in your {{folder|{{p|syswow64}}}}, install DirectX.
 
}}
 
}}
  
Line 488: Line 483:
 
{{Fixbox|description=Use IndirectSound|ref=<ref name="Orzelek303" />|fix=
 
{{Fixbox|description=Use IndirectSound|ref=<ref name="Orzelek303" />|fix=
 
# Download and extract [https://www.indirectsound.com/ IndirectSound].
 
# Download and extract [https://www.indirectsound.com/ IndirectSound].
# Move the {{code|dsound.dll}} file to {{code|{{p|game}}}}.
+
# Move the {{file|dsound.dll}} file to {{folder|{{p|game}}}}.
 
}}
 
}}
  
Line 514: Line 509:
 
|windows 32-bit exe    = true
 
|windows 32-bit exe    = true
 
|windows 64-bit exe    = false
 
|windows 64-bit exe    = false
|windows arm app        = unknown
+
|windows arm app        =  
 
|windows exe notes      =  
 
|windows exe notes      =  
 
|macos intel 32-bit app =  
 
|macos intel 32-bit app =  
 
|macos intel 64-bit app =  
 
|macos intel 64-bit app =  
|macos arm app          = unknown
+
|macos arm app          =  
 
|macos app notes        =  
 
|macos app notes        =  
 
|linux 32-bit executable=  
 
|linux 32-bit executable=  
 
|linux 64-bit executable=  
 
|linux 64-bit executable=  
|linux arm app          = unknown
+
|linux arm app          =  
 
|linux executable notes =  
 
|linux executable notes =  
 
}}
 
}}
Line 545: Line 540:
 
{{Fixbox|description=Use Mafia Widescreen Fix|ref=<ref name="Mafia Widescreen Fix">{{Refurl|url=https://github.com/ThirteenAG/WidescreenFixesPack#mafia-the-city-of-lost-heaven-widescreen-fix|title=GitHub - ThirteenAG/WidescreenFixesPack: Widescreen fixes for old games|date=2021-06-07}}</ref>|fix=
 
{{Fixbox|description=Use Mafia Widescreen Fix|ref=<ref name="Mafia Widescreen Fix">{{Refurl|url=https://github.com/ThirteenAG/WidescreenFixesPack#mafia-the-city-of-lost-heaven-widescreen-fix|title=GitHub - ThirteenAG/WidescreenFixesPack: Widescreen fixes for old games|date=2021-06-07}}</ref>|fix=
 
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
 
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
# Open <code>Mafia.WidescreenFix.ini</code>.
+
# Open {{file|Mafia.WidescreenFix.ini}}.
 
# Set <code>New Distance</code> to a high value (e.g. 1000).
 
# Set <code>New Distance</code> to a high value (e.g. 1000).
 
}}
 
}}
Line 554: Line 549:
 
{{Fixbox|description=Download audio files from the original game|ref=<ref>{{Refcheck|user=Jigen123|date=2023-05-10|comment=}}</ref>|fix=
 
{{Fixbox|description=Download audio files from the original game|ref=<ref>{{Refcheck|user=Jigen123|date=2023-05-10|comment=}}</ref>|fix=
 
# Download [https://www.nexusmods.com/mafia/mods/11 Mafia Restore Original Music].
 
# Download [https://www.nexusmods.com/mafia/mods/11 Mafia Restore Original Music].
# Unpack the files to {{file|{{code|{{P|game}}\Mafia\}}|folder}} and overwrite when prompted.
+
# Unpack the files to {{folder|{{p|game}}}} and overwrite when prompted.
 
}}
 
}}
  

Revision as of 18:01, 18 December 2023

This page is for the original 2002 game. For the remake, see Mafia: Definitive Edition.

Mafia
Mafia cover
Developers
Illusion Softworks
Publishers
North America Gathering of Developers
Europe, Australia, New Zealand Take-Two Interactive
Brazil GreenLeaf
Brazil Tech Dealer
Poland Cenega
China SunTendy Interactive
Russia, CIS, Baltics 1C Company
Retail re-release Sold Out Software
Digital 2K Games
Engines
LS3D
Release dates
Windows August 29, 2002[1]
Reception
Metacritic 88
IGDB 63
Taxonomy
Monetization One-time game purchase
Modes Singleplayer
Pacing Real-time
Perspectives Third-person
Controls Direct control
Genres Action, Adventure, Open world, Shooter, TPS
Vehicles Automobile
Art styles Realistic
Themes Interwar, North America
Series Mafia
Mafia on HowLongToBeat
Mafia on IGDB
Mafia guide on StrategyWiki
Mafia on MobyGames
Mafia on Wikipedia
Mafia
Mafia 2002
Mafia II 2010
Mafia III 2016
Mafia II: Definitive Edition 2020
Mafia: Definitive Edition 2020

Mafia is a singleplayer third-person action, adventure, open world, shooter and TPS game in the Mafia series.

General information

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

Availability

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
SafeDisc v2 DRM[Note 1]. Released on 3 CDs.
Windows
GOG.com
DRM-free
Windows
Steam
Icon overlay.png
Windows
GamersGate (unavailable)
Icon overlay.png
Windows
Gamesplanet logo.svg (unavailable)
Icon overlay.png
Windows
Green Man Gaming (unavailable)
Icon overlay.png
Windows
Humble Store (unavailable)
Icon overlay.png
Windows
SafeDisc retail DRM does not work on Windows Vista and later (see above for affected versions).
A demo is available.

Essential improvements

Patches

Version 1.0 contains eye animations and car scratches that were later patched out for unknown reasons.[4][5] It also contains a sound bug (always set to surround sound regardless of your speaker settings), although it might be possible to fix it by using DirectSound3D restoration software.
The latest version is v1.2.[Note 2] Digital distributions are up-to-date.

Skip intro videos

Delete or rename video files[7]
  1. Go to <path-to-game>.
  2. Delete or rename all files starting with logo.

Game data

Configuration file(s) location

System Location
Windows HKEY_CURRENT_USER\Software\Illusion Softworks\Mafia
Steam Play (Linux) <SteamLibrary-folder>/steamapps/compatdata/40990/pfx/[Note 3]
Stored as binary

Save game data location

System Location
Windows <path-to-game>\Mafia\savegame\[Note 4]
<path-to-game>\savegame\[Note 4]
Steam Play (Linux) <SteamLibrary-folder>/steamapps/compatdata/40990/pfx/[Note 3]

Save game cloud syncing

System Native Notes
GOG Galaxy
Steam Cloud

Video

External options menu. <path-to-game>\setup.exe
External options menu.
<path-to-game>\setup.exe
In-game video/audio settings.
In-game video/audio settings.

Graphics feature State WSGF Notes
Widescreen resolution
Vert- on digital distribution version. HUD is stretched. Use Mafia Widescreen Fix.[8]
Multi-monitor
Use Mafia Widescreen Fix.[8]
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.[8]
4K Ultra HD
Vert- on digital distribution version. HUD is stretched. Use Mafia Widescreen Fix.[8]
Field of view (FOV)
See the WSGF entry.
Windowed
Borderless fullscreen windowed
Use Mafia Widescreen Fix.[8]
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.
High-fidelity upscaling
See the glossary page for potential workarounds.
Vertical sync (Vsync)
Vsync and triple buffering are available. Use Mafia Widescreen Fix or D3D8to9 to work on Windows 10.[7]
60 FPS
120+ FPS
Frame rate is capped at 63 FPS. See High frame rate.
High dynamic range display (HDR)

High frame rate

Use Mafia Widescreen Fix
  1. Install Mafia Widescreen Fix.
  2. Set desired FPS Limit in Mafia.WidescreenFix.ini.

Notes

High FPS causes several issues.
Cars have unusually good traction, this results in much relaxed steering than intended.
It can be almost impossible to fully park car at mission marker without turning its engine off (game still thinks it's moving).
NPCs can get stuck on any elevated surfaces e.g. sidewalks, stairs, this can break any mission with NPC companions and cause Trams to stay in one place waiting for passenger indefinitely.

Input

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

The game has refined Force Feedback support (options presented on screenshots).

Analog control when using SteamInput

By default, using SteamInput disables the game's native analog controller support by mapping joysticks using XInput.[citation needed]
Xidi translates XInput calls back to DirectInput, restoring analog functionality.
Use Xidi[citation needed]
  1. Download the latest release of Xidi (check getting started for prerequisites).
  2. Extract Win32\dinput.dll into <path-to-game>.

Audio

Audio feature State Notes
Separate volume controls
Sound effects, Music, Vehicles, Voiceover.
Surround sound
5.1
Subtitles
Option to turn it on/off its located in "control" settings in "other" menu.
Closed captions
Mute on focus lost
EAX support
EAX 3.0.[11]
Royalty free audio
Retail copies contain non-royalty free audio; digital copies only contain royalty-free audio.[12] See Restore original music (digital versions).

Localizations

Language UI Audio Sub Notes
English
Czech
French
German
Italian
Japanese
Retail release only.
Polish
Brazilian Portuguese
Retail release only, official translation by GreenLeaf.[13][14]
Brazilian Portuguese
Fan translation for retail English version by GameVicio (was made before GreenLeaf distribution), download.
Russian
Spanish
Ukrainian
Translated by Ukrainian enthusiasts (Andrulko, InKviZ), download. Registration on the site is required.

VR support

3D modes State Notes
vorpX
G3D
User created profile, requires dgVoodoo 2, see profile introduction.
Note: Profile may not work with the latest wrapper, in case of issues please report to the vorpx forum.

Issues fixed

Game doesn't start/Settings aren't saved

On 64-bit systems, the game may write the configuration to the wrong path of the registry.[15][16]
Use Mafia Widescreen Fix[8]
All registry settings will be saved to <path-to-game>/savegame/settings.bin.

Game crashes on startup (GOG.com)

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

Flickering shadows

Use Mafia Widescreen Fix[17]
The fix is pre-configured to have D3D8to9 enabled.[18] May not help in all cases though.[19]
Use DirectX 8 to DirectX 9 translation layer[20]
  1. Download d3d8to9.
  2. Place d3d8.dll into <path-to-game>.
Use dgVoodoo 2

Controller deadzone issues

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

No fullscreen mode on Windows 10

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

Free Ride Extreme frame rate bugs

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.[21]
Limit frame rate to 15-20 FPS[22]
  1. Install Mafia Widescreen Fix.
  2. Open Mafia.WidescreenFix.ini.
  3. Change FPS Limit = 0 to FPS Limit = 15.

Red blocks/black lines on screen

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

Sky is corrupted

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

Error 4205 Generic

Register the Indeo codec; see Troubleshooting guide.[25]
Input your actual screen resolution and refresh rate in the Setup launcher[26]
Set Fullscene antialiasing to "OFF" in setup.exe[citation needed]
MSAA can be forced in the graphics card control panel.
Use DirectX 8 to DirectX 9 translation layer
  1. Download d3d8to9.
  2. Place d3d8.dll into <path-to-game>.

Error 4214 Unsupported

Fixed in the GOG.com version.[27]
Install DirectPlay[28]
Copy SysWOW64\dpnhpast.dll to <path-to-game>[citation needed]
If you don't have such dll in your SysWOW64, install DirectX.

Error 8815 Generic

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

Low and unstable frame rate when sound is enabled

The issue may occur when the Sound checkbox in the Setup launcher is checked.
Use IndirectSound[7]
  1. Download and extract IndirectSound.
  2. Move the dsound.dll file to <path-to-game>.

Other information

API

Technical specs Supported Notes
Direct3D 8.1
Executable 32-bit 64-bit Notes
Windows

Middleware

Middleware Notes
Cutscenes Bink Video 1.5p

Increase draw distance

Use Mafia Widescreen Fix[8]
  1. Install Mafia Widescreen Fix.
  2. Open Mafia.WidescreenFix.ini.
  3. Set New Distance to a high value (e.g. 1000).

Restore original music (digital versions)

Licensed music tracks have been removed from the digital versions.[12]
All GOG.com copies are affected. Steam copies activated before November 2017 re-release keep licensed music as DLC.
Download audio files from the original game[30]
  1. Download Mafia Restore Original Music.
  2. Unpack the files to <path-to-game> and overwrite when prompted.

Modifications

Mafia Water Shader Mod (updated) - Makes water reflect and refract on the city; there is also a simplified Fresnel effect.
Xbox Rain Droplets - Basic implementation of Xbox rain droplets from SkyGFX for other games.
Footpath & Road Mod - Changes roads, sidewalks and parking textures to be better and more realistic. Requires MafiaDataXtractor to extract maps folder to Mafia folder.
Mafia Community Modpack - Collection of carefully chosen graphic mods improving the game visuals, maintaining the game atmosphere.
Mafia Retextured - Changes textures to the higher quality counterparts, remade from the scratch, but retain the atmosphere of the original ones.
Busy Mod - More traffic, more pedestrians and therefore a more crowded city. Vehicles can now have passengers inside.
High quality characters mod - There are two types of character models in the game. Detailed, which we see in all cutscenes and the ordinary ones that we have the opportunity to admire during normal gameplay. The modification replaces those visible during the game with those visible in cutscenes.
Interface renovation - The modification improves the quality of fonts and the arrangement of some menu items. Polish language version of the game required (although it is possible that it also works with English) and patch 1.2
Updated interface - Interface textures created from scratch in high quality.

System requirements

Windows[31]
Minimum Recommended
Operating system (OS) 98, 98 SE, ME, 2000, XP
Processor (CPU) Intel Pentium III 500 MHz
AMD Athlon 500 MHz
System memory (RAM) 96 MB
Hard disk drive (HDD) 1.8 GB
Video card (GPU) 32 MB of VRAM
DirectX 8.1 compatible
Sound (audio device) DirectX 8.1 compatible
Other 16x CD-ROM/DVD drive
Windows 8 and above require DirectPlay. Windows XP 64-bit is not supported.


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. The patch installation program lists the version number as 1.3.[6]
  3. 3.0 3.1 Notes regarding Steam Play (Linux) data:
  4. 4.0 4.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).

References

  1. Take-Two Interactive Software, Inc. Ships Mafia For The PC (retrieved) - last accessed on 2023-06-04
  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. b0ys Essential Fixes mod for Mafia: The City of Lost Heaven - Mod DB - last accessed on 2023-07-07
  5. 5 Tips for Mafia 1 players - YouTube - last accessed on 2023-07-07
  6. Verified by User:Mystyle48 on 2023-10-29
  7. 7.0 7.1 7.2 Verified by User:Orzelek303 on 2021-06-07
  8. 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 8.9 GitHub - ThirteenAG/WidescreenFixesPack: Widescreen fixes for old games - last accessed on 2021-06-07
  9. Mafia 1 Xbox 360 controller issues? - Steam Users' Forums (retrieved)
  10. Verified by User:Genesisbr on 2023-12-17
    Xbox Series X/S controller, wired.
  11. EAX Featured Game: Mafia - EAX.CREATIVE.COM - last accessed on May 2023
  12. 12.0 12.1 Release: Mafia - GOG.com (retrieved) - last accessed on 2023-10-30
  13. Novo Milênio, 24/12/2002 (archived)
  14. Big Box PC Games Brasil Wiki - last accessed on 2023-06-12
  15. mafia update · ThirteenAG/WidescreenFixesPack@0a25bf9 - last accessed on 9 June 2023
  16. can't start game - gfx settings menu keeps coming up for non-English versions - Steam Users' Forums (retrieved)
  17. Shadow Flickering Problems - Forum - GOG.com - last accessed on May 2023
  18. Release Xbox Rain Droplets for Mafia · ThirteenAG/XboxRainDroplets · GitHub - last accessed on 2021-06-07
  19. [1] - last accessed on 2022-09-02
  20. Shadow Flickering Problems - Forum - GOG.com - last accessed on May 2023
  21. Exploding Celeste (Mafia) | Mafia Wiki | Fandom
  22. Talk:Exploding Celeste (Mafia) | Mafia Wiki | Fandom
  23. Weird lines/colors - Steam Users' Forums (retrieved)
  24. Weird lines/colors - Steam Users' Forums (retrieved)
  25. Mafia hlasi chybu - notebooky-forum.notebook.cz - last accessed on May 2023
  26. Mafia Error: Init error error: #4205 Generic... - ForumPlanet (retrieved)
  27. Mafia Error #4214 Unsupported, page 1 - Forum - GOG.com - last accessed on 2021-06-07
  28. Error: #4214 - Forum - GOG.com - last accessed on 9 June 2023
  29. error : #8815 Generic - Forum Bar Mafieuso - last accessed on 9 June 2023
  30. Verified by User:Jigen123 on 2023-05-10
  31. Mafia manual - last accessed on 2023-06-05