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
(387 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{infobox
+
{{disambig|the original 2002 game|the remake|[[Mafia: Definitive Edition]]}}
|cover         = Mafiacoverart.jpg
+
{{Infobox game
|developer     = [[Wikipedia:2K Czech|Illusion Softworks]]
+
|cover       = Mafia cover.jpg
|publisher     = [[Wikipedia:Gathering of Developers|Gathering of Developers]]<br>[[Wikipedia:Take 2 Interactive|Take 2 Interactive]]
+
|developers  =
|engine        = [[Wikipedia:LS3D engine|LS3D]]
+
{{Infobox game/row/developer|Illusion Softworks}}
|release dates =  
+
|publishers  =
<sup>NA</sup> August 28, 2002<br/>
+
{{Infobox game/row/publisher|Gathering of Developers|North America}}
<sup>EU</sup> September 6, 2002
+
{{Infobox game/row/publisher|Take-Two Interactive|Europe, Australia, New Zealand}}
|steam         = 40990
+
{{Infobox game/row/publisher|GreenLeaf|Brazil}}
 +
{{Infobox game/row/publisher|Tech Dealer|Brazil}}
 +
{{Infobox game/row/publisher|Cenega|Poland}}
 +
{{Infobox game/row/publisher|SunTendy Interactive|China}}
 +
{{Infobox game/row/publisher|1C Company|Russia, CIS, Baltics}}
 +
{{Infobox game/row/publisher|Sold Out Software|Retail re-release}}
 +
{{Infobox game/row/publisher|2K Games|Digital}}
 +
{{Infobox game/row/publisher|Atari|Taiwan}}
 +
|engines      =  
 +
{{Infobox game/row/engine|LS3D}}
 +
|release dates=  
 +
{{Infobox game/row/date|Windows|August 29, 2002|ref=<ref>{{Refurl|url=https://web.archive.org/web/20071015160613/http://ir.take2games.com/releasedetail.cfm?releaseid=131861|title=Take-Two Interactive Software, Inc. Ships Mafia For The PC (retrieved)|date=2023-06-04}}</ref>}}
 +
|reception    =
 +
{{Infobox game/row/reception|Metacritic|mafia|88}}
 +
{{Infobox game/row/reception|IGDB|mafia|63}}
 +
|taxonomy    =
 +
{{Infobox game/row/taxonomy/monetization      | One-time game purchase }}
 +
{{Infobox game/row/taxonomy/microtransactions | }}
 +
{{Infobox game/row/taxonomy/modes            | Singleplayer }}
 +
{{Infobox game/row/taxonomy/pacing            | Real-time }}
 +
{{Infobox game/row/taxonomy/perspectives      | Third-person }}
 +
{{Infobox game/row/taxonomy/controls          | Direct control }}
 +
{{Infobox game/row/taxonomy/genres            | Action, Adventure, Open world, Shooter, TPS }}
 +
{{Infobox game/row/taxonomy/sports            | }}
 +
{{Infobox game/row/taxonomy/vehicles          | Automobile }}
 +
{{Infobox game/row/taxonomy/art styles        | Realistic }}
 +
{{Infobox game/row/taxonomy/themes            | Interwar, North America }}
 +
{{Infobox game/row/taxonomy/series            | Mafia }}
 +
|steam appid  = 40990
 +
|steam appid side =
 +
|gogcom id    = 1595659240
 +
|gogcom id side =
 +
|official site= https://web.archive.org/web/20061115203918/http://www.mafia-game.com/indexnews.htm
 +
|hltb        = 5517
 +
|lutris      = mafia
 +
|mobygames    = 7190
 +
|strategywiki = Mafia
 +
|wikipedia    = Mafia (video game)
 +
|winehq      = 1693
 +
|license      = commercial
 
}}
 
}}
  
'''Mafia: The City of Lost Heaven''' (often shortened to '''Mafia''') is a 2002 game developed by [[Wikipedia:2K Czech|Illusion Softworks]] for [[Wikipedia:Microsoft Windows|Microsoft Windows]]. Most users report no issue with running the game on modern versions of Windows (once [[Compatibility Mode]] is enabled), however, a small number of people experience issues that can be resolved in a number of ways.
+
{{Introduction
 +
|introduction      =
 +
 
 +
|release history  =
 +
 
 +
|current state    =
 +
 
 +
}}
 +
 
 +
'''General information'''
 +
{{GOG.com links|1595659240|mafia|for game series}}
 +
{{mm}} [https://steamcommunity.com/app/40990/discussions/ Steam Community Discussions]
  
=Windows=
 
 
==Availability==
 
==Availability==
===[[Digital Rights Management (DRM)]]===
+
{{Availability|
*All boxed versions of Mafia include a CD check
+
{{Availability/row| Retail | | disc check | {{DRM|SafeDisc|v2}}. Released on 3 CDs. |  | Windows }}
*The game is purchasable through Steam
+
{{Availability/row| GOG.com | mafia | DRM-free |  |  | Windows }}
==Issues And Fixes==
+
{{Availability/row| Steam | 40990 | DRM-free | [[Digital rights management (DRM)#DRM-free|DRM-free]] when launched directly from the executable. |  | Windows }}
===Running On Vista/7 (Boxed Version)===
+
{{Availability/row| GamersGate | mafia | Steam | | | Windows | unavailable}}
Some users may experience issues with running the game on Windows Vista or 7. The following solution offers the best experience for users of these operating systems.
+
{{Availability/row| Gamesplanet | 3470-1 | Steam |  |  | Windows | unavailable }}
#First install the game. If you run into issues at this stage, set <code>MafiaLauncher.exe</code> and <code>MafiaSetup.exe</code> on the first CD to Windows XP SP2 Compatibility Mode. If the issue still occurs, execute both as administrators.
+
{{Availability/row| GMG | mafia-pc | Steam |  |  | Windows | unavailable }}
#Once installed,  go to <code>C:\Program Files\Mafia</code> and set the executable <code>Game.exe</code> to Windows XP SP2 Compatibility Mode.
+
{{Availability/row| Humble | mafia | Steam |  |  | Windows | unavailable }}
#Download Mafia [http://www.ausgamers.com/files/details/html/9266 patch v1.2] (users should note there is no difference between patch 1.3 and 1.2)
+
}}
#Go to <code>C:\Program Files\Mafia</code> and execute <code>Setup.exe</code>. Ensure it is configured as follows[[File:Mafiasetupimage.jpg|center|thumb|500px|''Users should note 'Display' refers to their installed graphics card, and will vary from that shown'']]
+
{{ii}} A [https://community.pcgamingwiki.com/files/file/2801-mafia-demo/ demo] is available.
#At this stage the user may be able to run the game. You can test this by running <code>intro.avi</code> in <code>C:\Program Files\Mafia</code>. If the video runs, the game is now ready. If not, follow the remaining steps.
+
 
#Intro movies in Mafia run using an Indeo codec, which is unsupported by Windows since XP SP1, so the user will need to download a freeware Indeo codec such as [http://www.free-codecs.com/indeo_codec_download.htm this]. Since version 5.2 the software has become a paid product, so it is important to find a version before this.
+
==Essential improvements==
#Open a command prompt with elevated right (press the Start button, type 'CMD', right click on it and choose 'Run as administrator'). In the console, type <code>regsvr32 ir50_32.dll</code>
+
===Patches===
#Attempt to run the game.
+
{{ii}} Version 1.0 contains eye animations and car scratches that were later patched out for unknown reasons.<ref>{{Refurl|url=https://www.moddb.com/mods/b0ys-essential-fixes|title=b0ys Essential Fixes mod for Mafia: The City of Lost Heaven - Mod DB|date=2023-07-07}}</ref><ref>{{Refurl|url=https://youtu.be/7ifAxAwso7I?t=112|title=5 Tips for Mafia 1 players - YouTube|date=2023-07-07}}</ref> 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 [[Glossary:Sound card#DirectSound hardware path|DirectSound3D restoration software]].
===Red Blocks/Black Lines On Screen===
+
{{ii}} The latest version is [https://community.pcgamingwiki.com/files/file/2796-mafia-v12-patch/ v1.2].{{Note|The patch installation program lists the version number as '''1.3'''.<ref>{{Refcheck|user=Mystyle48|date=2023-10-29}}</ref>}} Digital distributions are up-to-date.
Some users have reported seeing red blocks of colour, or black lines run across the screen during play, similar to the following<ref>http://forums.steampowered.com/forums/showthread.php?t=2595659</ref>:
+
 
[[File:Mafiavisualerror1.jpg|thumb|center|600px]]
+
===Skip intro videos===
This error can often be resolved by opening <code>Setup.exe</code> in <code>C:\Program Files\Mafia</code>, and clicking on 'Open expert settings...', then selecting 'Multipass rendering' rather than 'Hardware Transform&Lighting'.
+
{{Fixbox|description=Delete or rename video files|ref=<ref name="Orzelek303">{{Refcheck|user=Orzelek303|date=2021-06-07}}</ref>|fix=
===Settings Bug (Non-English Steam Versions)===
+
# Go to {{folder|{{p|game}}}}.
Some users of non-English versions of the game have reported an issue whereby changing the settings of the game in the Settings launcher has no effect, with Mafia always running with default values. In some cases, this has also led to Mafia not running. This issue can be resolved as follows<ref>http://forums.steampowered.com/forums/showthread.php?t=1375770</ref>:
+
# Delete or rename all files starting with {{code|logo}}.
#Set Mafia's language in Steam to English
+
}}
#Wait until download is complete
+
 
#Start Settings launcher
+
==Game data==
#Select desired settings
+
===Configuration file(s) location===
#Save and exit launcher
+
{{Game data|
#Set Mafia's language in Steam to your desired option
+
{{Game data/config|Windows|{{p|hkcu}}\Software\Illusion Softworks\Mafia}}
#Wait until download is complete
+
}}
#Start the game - it should run in your desired language with your desired settings
+
{{ii}} Stored as binary
 +
 
 +
===Save game data location===
 +
{{Game data|
 +
{{Game data/saves|Windows|{{p|game}}\Mafia\savegame\|{{p|game}}\savegame\}}
 +
}}
 +
 
 +
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 +
{{Save game cloud syncing
 +
|discord                  = true
 +
|discord notes            =
 +
|epic games launcher      =
 +
|epic games launcher notes =
 +
|gog galaxy                = true
 +
|gog galaxy notes          =
 +
|origin                    =
 +
|origin notes              =
 +
|steam cloud              = false
 +
|steam cloud notes        =
 +
|ubisoft connect          =
 +
|ubisoft connect notes    =
 +
|xbox cloud                =
 +
|xbox cloud notes          =
 +
}}
 +
 
 +
==Video==
 +
{{Image|Mafia External Options.png|External options menu.<br />{{code|{{p|game}}\setup.exe}}}}
 +
{{Image|MafiaInGameSettings.jpg|In-game video/audio settings.}}
 +
{{Video
 +
|wsgf link                  = https://www.wsgf.org/dr/mafia-city-lost-heaven
 +
|widescreen wsgf award      = limited
 +
|multimonitor wsgf award    = limited
 +
|ultrawidescreen wsgf award = incomplete
 +
|4k ultra hd wsgf award    = incomplete
 +
|widescreen resolution      = limited
 +
|widescreen resolution notes= {{term|Vert-}} on digital distribution version. HUD is stretched. Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
 +
|multimonitor              = hackable
 +
|multimonitor notes        = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
 +
|ultrawidescreen            = true
 +
|ultrawidescreen notes      = Native {{term|Hor+}} support on digital distribution version (strange because 16:9 is {{term|Vert-}}). HUD is correct but FMVs are 4:3 and aligned on left of screen. Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix] to correct.<ref name="Mafia Widescreen Fix" />
 +
|4k ultra hd                = limited
 +
|4k ultra hd notes          = {{term|Vert-}} on digital distribution version. HUD is stretched. Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
 +
|fov                        = hackable
 +
|fov notes                  = See the [https://www.wsgf.org/dr/mafia-city-lost-heaven WSGF entry].
 +
|windowed                  = true
 +
|windowed notes            =
 +
|borderless windowed        = hackable
 +
|borderless windowed notes  = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
 +
|anisotropic                = false
 +
|anisotropic notes          =
 +
|antialiasing              = true
 +
|antialiasing notes        = 2x or 4x [[FSAA]]. [[MSAA]] can be forced in the graphics card control panel.
 +
|upscaling                  = false
 +
|upscaling tech            =
 +
|upscaling notes            =
 +
|vsync                      = true
 +
|vsync notes                = Vsync and triple buffering are available. Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix] or [https://github.com/crosire/d3d8to9/releases D3D8to9] to work on Windows 10.<ref name="Orzelek303" />
 +
|60 fps                    = true
 +
|60 fps notes              =
 +
|120 fps                    = hackable
 +
|120 fps notes              = Frame rate is capped at 63 FPS. See [[#High frame rate|High frame rate]].
 +
|hdr                        = false
 +
|hdr notes                  =
 +
|color blind                = false
 +
|color blind notes          =
 +
}}
 +
 
 +
===[[Glossary:Frame rate (FPS)|High frame rate]]===
 +
{{Fixbox|description=Use Mafia Widescreen Fix|fix=
 +
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
 +
# Set desired <code>FPS Limit</code> in {{file|Mafia.WidescreenFix.ini}}.
 +
 
 +
'''Notes'''
 +
{{--}} High FPS causes several issues.
 +
{{ii}} Cars have unusually good traction, this results in much relaxed steering than intended.
 +
{{ii}} It can be almost impossible to fully park car at mission marker without turning its engine off (game still thinks it's moving).
 +
{{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.
 +
}}
 +
 
 +
==Input==
 +
{{Image|Mafia Controls.png|In-game control settings.}}
 +
{{Image|Mafia Remapping.png|In-game key map settings.}}
 +
{{Input
 +
|key remap                = true
 +
|key remap notes          =
 +
|acceleration option      = false
 +
|acceleration option notes =
 +
|mouse sensitivity        = true
 +
|mouse sensitivity notes  =
 +
|mouse menu                = true
 +
|mouse menu notes          =
 +
|invert mouse y-axis      = true
 +
|invert mouse y-axis notes =
 +
|touchscreen              = false
 +
|touchscreen notes        =
 +
|controller support        = true
 +
|controller support notes  = Deadzone issues on XInput controllers;<ref>[https://web.archive.org/web/20161019010348/http://forums.steampowered.com/forums/showthread.php?t=2595124 Mafia 1 Xbox 360 controller issues? - Steam Users' Forums] (retrieved)</ref> use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix] to fix deadzones.<ref name="Mafia Widescreen Fix" /> Use [[#Analog_control_when_using_SteamInput|Xidi]] for analog control with SteamInput.
 +
|full controller          = false
 +
|full controller notes    =
 +
|controller remap          = true
 +
|controller remap notes    =
 +
|controller sensitivity    = true
 +
|controller sensitivity notes=
 +
|invert controller y-axis  = false
 +
|invert controller y-axis notes=
 +
|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>
 +
|xbox prompts              = unknown
 +
|xbox prompts notes        =
 +
|impulse triggers          = unknown
 +
|impulse triggers notes    =
 +
|dualshock 4              = unknown
 +
|dualshock 4 notes        =
 +
|dualshock prompts        = unknown
 +
|dualshock prompts notes  =
 +
|light bar support        = unknown
 +
|light bar support notes  =
 +
|dualshock 4 modes        = unknown
 +
|dualshock 4 modes notes  =
 +
|tracked motion controllers= unknown
 +
|tracked motion controllers notes =
 +
|tracked motion prompts    = unknown
 +
|tracked motion prompts notes =
 +
|other controllers        = true
 +
|other controllers notes  =
 +
|other button prompts      = false
 +
|other button prompts notes=
 +
|controller hotplug        = false
 +
|controller hotplug notes  =
 +
|haptic feedback          = true
 +
|haptic feedback notes    = For XInput controllers use [[:Controller#XInput_Plus|XInput Plus]].
 +
|simultaneous input        = unknown
 +
|simultaneous input notes  =
 +
}}
 +
{{ii}} The game has refined Force Feedback support (options presented on screenshots).
 +
 
 +
===Analog control when using SteamInput===
 +
{{ii}} By default, using SteamInput disables the game's native analog controller support by mapping joysticks using XInput.{{cn|date=2022-11-25|reason=}}
 +
{{ii}} Xidi translates XInput calls back to DirectInput, restoring analog functionality.
 +
{{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).
 +
# Extract {{file|Win32\dinput.dll}} into {{folder|{{p|game}}}}.
 +
}}
 +
 
 +
==Audio==
 +
{{Audio
 +
|separate volume          = true
 +
|separate volume notes    = Sound effects, Music, Vehicles, Voiceover.
 +
|surround sound          = true
 +
|surround sound notes    = 5.1
 +
|subtitles                = true
 +
|subtitles notes          = Option to turn it on/off its located in "control" settings in "other" menu.
 +
|closed captions          = true
 +
|closed captions notes    =
 +
|mute on focus lost      = true
 +
|mute on focus lost notes =
 +
|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>
 +
|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)]].
 +
}}
 +
 
 +
{{L10n|content=
 +
{{L10n/switch
 +
|language  = English
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Czech
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = French
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = German
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Italian
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Japanese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = true
 +
|notes    = Retail release only.
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Polish
 +
|interface = true
 +
|audio    = false
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = true
 +
|audio    = false
 +
|subtitles = true
 +
|notes    = Retail release only, official translation by GreenLeaf.<ref>[https://archive.ph/G9Z5R Novo Milênio, 24/12/2002 (archived)]</ref><ref>{{Refurl|url=https://big-box-pc-games-brasil.fandom.com/pt-br/wiki/Mafia|title=Big Box PC Games Brasil Wiki|date=2023-06-12}}</ref>
 +
|fan      = false
 +
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = hackable
 +
|audio    = false
 +
|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].
 +
|fan      = true
 +
}}
 +
{{L10n/switch
 +
|language  = Russian
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Spanish
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Ukrainian
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = hackable
 +
|notes    = Translated by Ukrainian enthusiasts (Andrulko, InKviZ), [https://toloka.to/t113587 download]. Registration on the site is required.
 +
|fan      = true
 +
}}
 +
{{L10n/switch
 +
|language  = Traditional Chinese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = true
 +
|notes    = Retail release only.
 +
|fan      =
 +
}}
 +
}}
 +
 
 +
==VR support==
 +
{{VR support
 +
|gg3d name                  =
 +
|native 3d gg3d award        =
 +
|nvidia 3d vision gg3d award =
 +
|tridef 3d gg3d award        =
 +
|iz3d gg3d award            =
 +
|native 3d                  =
 +
|native 3d notes            =
 +
|nvidia 3d vision            =
 +
|nvidia 3d vision notes      =
 +
|tridef 3d                  =
 +
|tridef 3d notes            =
 +
|iz3d                        =
 +
|iz3d notes                  =
 +
|vorpx                      = hackable
 +
|vorpx modes                = G3D
 +
|vorpx notes                = User created profile, requires [[dgVoodoo 2]], see [https://www.vorpx.com/forums/topic/mafia/ profile introduction]. <br><code>Note:</code> Profile may not work with the latest wrapper, in case of issues please report to the [https://www.vorpx.com/forums/topic/mafia/ vorpx forum].
 +
|htc vive                    =
 +
|htc vive notes              =
 +
|oculus rift                =
 +
|oculus rift notes          =
 +
|osvr                        =
 +
|osvr notes                  =
 +
|windows mixed reality      =
 +
|windows mixed reality notes =
 +
|keyboard-mouse              =
 +
|keyboard-mouse notes        =
 +
|3rd space gaming vest      =
 +
|3rd space gaming vest notes =
 +
|novint falcon              =
 +
|novint falcon notes        =
 +
|trackir                    =
 +
|trackir notes              =
 +
|tobii eye tracking          =
 +
|tobii eye tracking notes    =
 +
|play area seated            =
 +
|play area seated notes      =
 +
|play area standing          =
 +
|play area standing notes    =
 +
|play area room-scale        =
 +
|play area room-scale notes  =
 +
}}
 +
 
 +
==Issues fixed==
 +
===Game doesn't start/Settings aren't saved===
 +
{{ii}} On 64-bit systems, the game may write the configuration to the wrong path of the registry.<ref>{{Refurl|url=https://github.com/ThirteenAG/WidescreenFixesPack/commit/0a25bf9db5d02534e9767256e203c57a97a6bd80#commitcomment-31609155|title=mafia update · ThirteenAG/WidescreenFixesPack@0a25bf9|date=9 June 2023}}</ref><ref>[https://web.archive.org/web/20170516181802/http://forums.steampowered.com/forums/showthread.php?t=1376561&page=2#post20031219 can't start game - gfx settings menu keeps coming up for non-English versions - Steam Users' Forums] (retrieved)</ref>
 +
 
 +
{{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 {{file|{{p|game}}/savegame/settings.bin}}.
 +
}}
 +
 
 +
===Game crashes on startup (GOG.com)===
 +
{{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.
 +
}}
 +
 
 +
===Flickering shadows===
 +
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|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=
 +
{{ii}} The fix is pre-configured to have D3D8to9 enabled.<ref>{{Refurl|url=https://github.com/ThirteenAG/XboxRainDroplets/releases/tag/mafia|title=Release Xbox Rain Droplets for Mafia · ThirteenAG/XboxRainDroplets · GitHub|date=2021-06-07}}</ref> May not help in all cases though.<ref>{{Refurl|url=https://github.com/ThirteenAG/WidescreenFixesPack/issues/1073|title=|date=2022-09-02}}</ref>
 +
}}
 +
 
 +
{{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].
 +
# Place {{file|d3d8.dll}} into {{folder|{{p|game}}}}.
 +
}}
 +
 
 +
{{Fixbox|description=Use [[dgVoodoo 2]]}}
 +
 
 +
===Controller deadzone issues===
 +
{{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 {{file|Mafia.GenericFix.ini}}.
 +
}}
 +
 
 +
===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=
 +
{{ii}} If windowed mode is selected in {{file|setup.exe}}, the game will launch borderless.
 +
}}
 +
 
 +
===Free Ride Extreme frame rate bugs===
 +
{{ii}} 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.<ref>[https://mafiagame.fandom.com/wiki/Exploding_Celeste_(Mafia) Exploding Celeste (Mafia) | Mafia Wiki | Fandom]</ref>
 +
 
 +
{{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].
 +
# Open {{file|Mafia.WidescreenFix.ini}}.
 +
# Change <code>FPS Limit = 0</code> to <code>FPS Limit = 15</code>.
 +
}}
 +
 
 +
===Red blocks/black lines on screen===
 +
{{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=
 +
# Open {{file|{{p|game}}\Setup.exe}}.
 +
# Click on '''Open expert settings...'''.
 +
# Select '''Multipass rendering''' rather than '''Hardware Transform&Lighting'''.
 +
}}
 +
 
 +
===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=
 +
# Open {{file|{{p|game}}\Setup.exe}}.
 +
# Click on '''Open expert settings...'''.
 +
# Select '''Hardware Transform&Lighting''' rather than '''Multipass rendering'''.
 +
}}
 +
 
 
===Error 4205 Generic===
 
===Error 4205 Generic===
Some users experience an 'Init error error: #4205 Generic' error message upon startup. There are a variety of possible fixes for this issue - below is a checklist of things to try to resolve the issue:
+
{{Fixbox|description=Register the Indeo codec; see [[Troubleshooting guide/Startup and launching problems#Video not available. Cannot find 'vids:IV50' decompressor|Troubleshooting guide]].|ref=<ref>{{Refurl|url=https://notebooky-forum.notebook.cz/viewtopic.php?t=21483|title=Mafia hlasi chybu - notebooky-forum.notebook.cz|date=May 2023}}</ref>}}
#Download the freeware [http://www.free-codecs.com/indeo_codec_download.htm Indeo codec] outlined above<ref>http://notebooky-forum.notebook.cz/viewtopic.php?t=21483&sid=e65775e083125372a8c03299ad33b1b9</ref>
+
 
#Input your screen resolution (rather than the default one) in the <code>Setup</code> launcher in <code>C:\Program Files\Mafia</code><ref>http://www.gamevicio.com/i/topicos/59/59919-error-4205-generic/index.html</ref>, and change your refresh rate to your screen's actual refresh rate<ref>http://forums.gamespy.com/technical_issues/b48748/4585346/p1/</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>}}
#Update your appropriate video card drivers and version of [[Wikipedia:DirectX|DirectX]]
+
 
 +
{{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.
 +
}}
 +
 
 +
{{Fixbox|description=Use DirectX 8 to DirectX 9 translation layer|fix=
 +
# Download [https://github.com/crosire/d3d8to9/releases d3d8to9].
 +
# Place {{file|d3d8.dll}} into {{folder|{{p|game}}}}.
 +
}}
 +
 
 +
===Error 4214 Unsupported===
 +
{{ii}} Fixed in the GOG.com version.<ref>{{Refurl|url=https://www.gog.com/forum/general/mafia_error_4214_unsupported/post12|title=Mafia Error #4214 Unsupported, page 1 - Forum - GOG.com|date=2021-06-07}}</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 {{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 {{folder|{{p|syswow64}}}}, install DirectX.
 +
}}
 +
 
 
===Error 8815 Generic===
 
===Error 8815 Generic===
Many users have reported the game crashing upon start to a white screen with the message 'error 8815 generic'<ref>http://forums.steampowered.com/forums/showthread.php?t=2620915</ref>. Again, there are a number of claimed fixes for this issue, but the error can have different causes on a case by case basis. Some common causes and fixes are outlined below:
+
{{Fixbox|description=Input your actual screen resolution and refresh rate in the Setup launcher|ref=<ref>{{Refurl|url=http://forummafieuso.free.fr/forum/viewtopic.php?f=15&t=146|title=error : #8815 Generic - Forum Bar Mafieuso|date=9 June 2023}}</ref>}}
#One reason why is error may be caused is out of date graphics or sound card drivers. Users should check on the relevant card manufacturer's website for new drivers, then download and install them
 
#Sometimes sound card drivers may need to be re-installed<ref>http://forums.gamespy.com/tech_support_forum/b48291/4654393/p1/</ref>
 
#In some cases changing the user's screen resolution in the <code>Setup</code> launcher located in <code>C:\Program Files\Mafia</code>) may solve the issue<ref>http://forummafieuso.free.fr/forum/viewtopic.php?f=15&t=146</ref>
 
===Widescreen===
 
Mafia offers a number of widescreen resolutions accessible through <code>C:\Program Files\Mafia\Setup.exe</code>, however some users may be unable to obtain these. In order to solve this issue, you need:
 
*Mafia Widescreen Fix v1.2 ([http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_16-9.rar 16:9]/[http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_16-10.rar 16:10])
 
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 
Now follow these steps<ref>http://www.wsgf.org/dr/mafia-city-lost-heaven</ref>:
 
# Extract MISSION data with MafiaData Xtractor (place in game folder)
 
# Copy <code>missions</code> folder from archive to your Mafia directory
 
  
==Graphical Tweaks==
+
===Low and unstable frame rate when sound is enabled===
===Custom [[Field Of View (FOV)]]===
+
{{ii}} The issue may occur when the '''Sound''' checkbox in the Setup launcher is checked.
You can customise the FOV by using the following:
+
{{Fixbox|description=Use IndirectSound|ref=<ref name="Orzelek303" />|fix=
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
+
# Download and extract [https://www.indirectsound.com/ IndirectSound].
*[http://www.moddb.com/games/mafia/downloads/bscriptview-60 BScriptView 6.0]
+
# Move the {{file|dsound.dll}} file to {{folder|{{p|game}}}}.
Now follow these steps<ref>http://www.wsgf.org/dr/mafia-city-lost-heaven</ref>:
 
#Extract MISSION data with MafiaDataXTractor (place in game folder)
 
# Edit each <code>scene2.bin</code> file in '''all''' folders in <code>C:\Program Files\Mafia\Missions</code> with BSV6.0 - add the following to the <code>GameInitEnd</code> script: <pre>camera_setfov xx</pre> (Replace xx with your chosen value). '''Take care''' - 70 files need to be edited, and not all of them are named <code>GameInitEnd</code>. Some files are named <code>GameInitStart</code> etc.)
 
# Save Results
 
===[[Multi-monitor]]===
 
The game can be adjusted to an extent to support Multi-monitor setups such as nVidia's Eyefinity. To do this the user requires the following:
 
*Mafia Widescreen Fix v1.2 ([http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_48-9.rar 48:9]/[http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_48-10.rar 48:10])
 
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 
Now follow these steps<ref>http://www.wsgf.org/dr/mafia-city-lost-heaven</ref>:
 
#Extract MISSION data with MafiaData Xtractor (place in game folder)
 
#Copy <code>missions</code> folder from archive to your Mafia directory
 
==Mods And Utilities==
 
===Custom Cars===
 
User created vehicles are a popular addition to Mafia. [http://www.moddb.com/games/mafia/downloads ModDB] is a popular host for these creations.
 
===[http://www.moddb.com/mods/footpath-road-mod Footpath & Road Mod]===
 
The Footpath & Road Mod is a popular mod created by ModDB user [http://www.moddb.com/members/don-mafioso Don Mafioso]], designed to produce higher resolution roads and footpaths. The mod can be installed using:
 
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 
The user must then extract the <code>maps</code> folder to <code>C:\Program Files\Mafia</code>.
 
===[http://mafia.hodnoceniher.cz/mafia1/mody/UDD_all.rar Unlimited Draw Distance Mod]===
 
It is possible to enable unlimited draw distance (farther than that of the 'cumdal' cheat outlined in [http://www.pcgamingwiki.com/wiki/Mafia#Cheats Cheats]) for a vastly improved atmosphere. To do this, you need:
 
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 
Now follow these steps<ref>http://forums.steampowered.com/forums/showthread.php?t=1831977</ref>:
 
#Extract MISSION data with MafiaData Xtractor (place in game folder)
 
#Copy <code>missions</code> folder from archive to your Mafia directory
 
==Video Settings==
 
{{Video Settings
 
|widescreen_resolution=true
 
|widescreen_resolution_notes=Resolutions above 1280x720, not available for all users - see [http://pcgamingwiki.com/wiki/Mafia#Issues_And_Fixes Issues And Fixes]
 
|multimonitor=hackable
 
|multimonitor_notes=Limited support - see [http://pcgamingwiki.com/wiki/Mafia#Graphical_Tweaks Graphical Tweaks]
 
|fov=hackable
 
|fov_notes=See [[#Graphical_Tweaks Graphical Tweaks]]
 
|windowed=true
 
|windowed_notes=See [[#Windowed]].
 
|fullscreen=true
 
|fullscreen_notes=See [[#Borderless Fullscreen Windowed]].
 
|anisotropic=hackable
 
|anisotropic_notes=Through GPU settings.
 
|antialiasing=true
 
|antialiasing_notes=x2 or x4.
 
|vsync=true
 
|vsync_notes=On/Off, Triple Buffering supported - On/Off
 
 
}}
 
}}
  
==Controller Support==
+
==Other information==
Mafia has limited controller support built in to the game. Some users have reported success with using an Xbox 360 Controller For Windows with the game, however, there are often issues with the use of the thumb-sticks<ref>http://forums.steampowered.com/forums/showthread.php?t=2595124</ref>. This can be fixed by using a program such as [http://xpadder.com/ XPadder] to rebind controls, using the D-Pad to steer, and disabling the thumb-sticks.
+
===API===
==Cheats==
+
{{API
===Cheat Codes===
+
|direct3d versions      = 8.1
Press [Shift] + ~ during game play, then type one of the following codes:
+
|direct3d notes        =  
{| class="wikitable" style="text-align: left; width: 300px;"
+
|directdraw versions    =
|-
+
|directdraw notes      =  
! scope="col" | Code
+
|opengl versions        =
! scope="col" | Effect
+
|opengl notes          =
|-
+
|glide versions        =
|badgangsters
+
|glide notes            =
|Invulnerability
+
|software mode          =
|-
+
|software mode notes    =
|boxer
+
|mantle support        =
|Enlarged hands
+
|mantle support notes  =
|-
+
|vulkan versions        =
|cornufse
+
|vulkan notes          =
|Unlock all cars
+
|dos modes              =
|-
+
|dos modes notes        =
|cumdal
+
|shader model versions  =
|Maximum draw distance
+
|shader model notes    =
|-
+
|windows 32-bit exe    = true
|deadguns
+
|windows 64-bit exe    = false
|Guns and ammo
+
|windows arm app        =
|-
+
|windows exe notes      =
|jizda
+
|macos intel 32-bit app =
|Folds roof on convertible cars
+
|macos intel 64-bit app =
|-
+
|macos arm app          =
|krefjezivot
+
|macos app notes        =
|Refill health
+
|linux 32-bit executable=
|-
+
|linux 64-bit executable=
|municak
+
|linux arm app          =
|Infinite ammo
+
|linux executable notes =
|-
+
}}
|parnik
 
|Spawns the Titanic under nearest bridge
 
|}
 
  
==System Requirements==
+
===Middleware===
{{SysReq
+
{{Middleware
 +
|physics          =
 +
|physics notes    =
 +
|audio            =
 +
|audio notes      =
 +
|interface        =
 +
|interface notes  =
 +
|input            =
 +
|input notes      =
 +
|cutscenes        = Bink Video
 +
|cutscenes notes  = 1.5p
 +
|multiplayer      =
 +
|multiplayer notes=
 +
}}
 +
 
 +
===Increase draw distance===
 +
{{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].
 +
# Open {{file|Mafia.WidescreenFix.ini}}.
 +
# Set <code>New Distance</code> to a high value (e.g. 1000).
 +
}}
 +
 
 +
===Restore original music (digital versions)===
 +
{{--}} Licensed music tracks have been removed from the digital versions.<ref name="release"/>
 +
{{ii}} All GOG.com copies are affected. Steam copies activated before November 2017 re-release keep licensed music as [https://steamdb.info/app/746460/ DLC].
 +
{{Fixbox|description=Download audio files from the original game|ref=<ref>{{Refcheck|user=Jigen123|date=2023-05-10|comment=}}</ref>|fix=
 +
# Download the files from [https://archive.org/details/mafia-sounds Archive.org].
 +
# Unpack the files to {{folder|{{p|game}}}} and overwrite when prompted.
 +
}}
 +
 
 +
===Modifications===
 +
{{mm}} [https://github.com/ThirteenAG/MafiaWaterShaderMod Mafia Water Shader Mod] (updated) - Makes water reflect and refract on the city; there is also a simplified Fresnel effect.
 +
{{mm}} [https://github.com/ThirteenAG/XboxRainDroplets#mafia-the-city-of-lost-heaven Xbox Rain Droplets] - Basic implementation of Xbox rain droplets from [https://github.com/aap/skygfx SkyGFX] for other games.
 +
{{mm}} [https://www.moddb.com/mods/footpath-road-mod Footpath & Road Mod] - Changes roads, sidewalks and parking textures to be better and more realistic. Requires [https://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 MafiaDataXtractor] to extract {{code|maps}} folder to Mafia folder.
 +
{{mm}} [https://www.moddb.com/mods/community-modpack/downloads/mafia-community-modpack Mafia Community Modpack] - Collection of carefully chosen graphic mods improving the game visuals, maintaining the game atmosphere.
 +
{{mm}} [https://www.moddb.com/mods/mafia-retextured Mafia Retextured] - Changes textures to the higher quality counterparts, remade from the scratch, but retain the atmosphere of the original ones.
 +
{{mm}} [https://mafiatown.pl/busy-mod,plik,99.html Busy Mod] - More traffic, more pedestrians and therefore a more crowded city. Vehicles can now have passengers inside.
 +
{{mm}} [https://mafiatown.pl/high-quality-characters-mod,plik,23.html 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.
 +
{{mm}} [https://mafiatown.pl/interface-renovation,plik,7.html 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
 +
{{mm}} [https://mafiatown.pl/updated-interface,plik,70.html Updated interface] - Interface textures created from scratch in high quality.
 +
 
 +
==System requirements==
 +
{{System requirements
 
|OSfamily = Windows
 
|OSfamily = Windows
|minOS = Windows 98, Windows ME, Windows XP
+
 
|recOS = Windows 98, Windows ME, Windows XP
+
|minOS   = 98, 98 SE, ME, 2000, XP
|minproc = Pentium III 500 MHz or equivalent
+
|minCPU  = Intel Pentium III 500 MHz
|recproc = Pentium III 700 MHz or equivalent
+
|minCPU2  = AMD Athlon 500 MHz
|minmem = 96 MB
+
|minRAM  = 96 MB
|recmem = 128 MB
+
|minHD   = 1.8 GB
|minHD = 1.8 GB free
+
|minGPU  =
|minGPU1 = 32 MB (DirectX 8.1 or higher)
+
|minVRAM  = 32 MB
|recGPU1 = 32 MB (DirectX 8.1 or higher)
+
|minDX    = 8.1
 +
|minaudio = DirectX 8.1 compatible
 +
|minother = 16x CD-ROM/DVD drive
 +
 
 +
|recOS    =
 +
|recCPU  = Intel Pentium III 700 MHz
 +
|recCPU2  = AMD Athlon 700 MHz
 +
|recRAM  = 128 MB
 +
|recHD    =
 +
|recGPU  =
 +
|recVRAM  = 64 MB
 +
|recother = 32x CD-ROM/DVD drive
 +
|notes    = {{ii}} Windows 8 and above require DirectPlay. Windows XP 64-bit is not supported.
 +
|ref      = <ref>{{Refurl|url=https://cdn.akamai.steamstatic.com/steam/apps/40990/manuals/Mafia_-_Manual.pdf?t=1661895807#page=3|title=Mafia manual|date=2023-06-05}}</ref>
 
}}
 
}}
==Notes==
+
 
<references/>
+
{{References}}
[[Category:Game]] [[Category:Windows]]
+
{{GOG.com Enhancement Project}}

Revision as of 07:43, 24 March 2024

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
Taiwan Atari
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
DRM-free after installation through Steam client (notes may include more details)
DRM-free when launched directly from the executable.
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.
Traditional Chinese
Retail release only.

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 the files from Archive.org.
  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