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

Difference between revisions of "Mafia"

From PCGamingWiki, the wiki about fixing PC games
 
(95 intermediate revisions by 35 users not shown)
Line 7: Line 7:
 
{{Infobox game/row/publisher|Gathering of Developers|North America}}
 
{{Infobox game/row/publisher|Gathering of Developers|North America}}
 
{{Infobox game/row/publisher|Take-Two Interactive|Europe, Australia, New Zealand}}
 
{{Infobox game/row/publisher|Take-Two Interactive|Europe, Australia, New Zealand}}
 +
{{Infobox game/row/publisher|GreenLeaf|Brazil}}
 
{{Infobox game/row/publisher|Tech Dealer|Brazil}}
 
{{Infobox game/row/publisher|Tech Dealer|Brazil}}
 
{{Infobox game/row/publisher|Cenega|Poland}}
 
{{Infobox game/row/publisher|Cenega|Poland}}
 
{{Infobox game/row/publisher|SunTendy Interactive|China}}
 
{{Infobox game/row/publisher|SunTendy Interactive|China}}
 
{{Infobox game/row/publisher|1C Company|Russia, CIS, Baltics}}
 
{{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|2K Games|Digital}}
 +
{{Infobox game/row/publisher|Atari|Taiwan}}
 
|engines      =  
 
|engines      =  
 
{{Infobox game/row/engine|LS3D}}
 
{{Infobox game/row/engine|LS3D}}
 
|release dates=  
 
|release dates=  
{{Infobox game/row/date|Windows|August 28, 2002}}
+
{{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    =  
 
|reception    =  
 
{{Infobox game/row/reception|Metacritic|mafia|88}}
 
{{Infobox game/row/reception|Metacritic|mafia|88}}
 
{{Infobox game/row/reception|IGDB|mafia|63}}
 
{{Infobox game/row/reception|IGDB|mafia|63}}
 
|taxonomy    =
 
|taxonomy    =
{{Infobox game/row/taxonomy/monetization      | }}
+
{{Infobox game/row/taxonomy/monetization      | One-time game purchase }}
 
{{Infobox game/row/taxonomy/microtransactions | }}
 
{{Infobox game/row/taxonomy/microtransactions | }}
 
{{Infobox game/row/taxonomy/modes            | Singleplayer }}
 
{{Infobox game/row/taxonomy/modes            | Singleplayer }}
Line 26: Line 29:
 
{{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 }}
 
{{Infobox game/row/taxonomy/art styles        | Realistic }}
 
{{Infobox game/row/taxonomy/art styles        | Realistic }}
{{Infobox game/row/taxonomy/themes            | Contemporary, Interwar, North America }}
+
{{Infobox game/row/taxonomy/themes            | Interwar, North America }}
 
{{Infobox game/row/taxonomy/series            | Mafia }}
 
{{Infobox game/row/taxonomy/series            | Mafia }}
 
|steam appid  = 40990
 
|steam appid  = 40990
 +
|steam appid side =
 
|gogcom id    = 1595659240
 
|gogcom id    = 1595659240
|strategywiki = Mafia: The City of Lost Heaven
+
|gogcom id side =
|mobygames    = mafia
+
|official site= https://web.archive.org/web/20061115203918/http://www.mafia-game.com/indexnews.htm
|wikipedia    = Mafia: The City of Lost Heaven
+
|hltb        = 5517
 +
|lutris      = mafia
 +
|mobygames    = 7190
 +
|strategywiki = Mafia
 +
|wikipedia    = Mafia (video game)
 
|winehq      = 1693
 
|winehq      = 1693
 
|license      = commercial
 
|license      = commercial
 
}}
 
}}
  
'''Key points'''
+
{{Introduction
{{ii}} The game may fail to start or load settings correctly on modern systems; use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix] as a workaround.
+
|introduction      =  
{{--}} Licensed music tracks have been removed from the digital versions.<ref name="release">[https://www.gog.com/news/release_mafia Release: Mafia - GOG.com]</ref> See [[#Restore original music (digital versions)|Restore original music (digital versions)]].
+
 
 +
|release history  =
 +
 
 +
|current state    =
 +
 
 +
}}
  
 
'''General information'''
 
'''General information'''
{{mm}} [http://mafiagame.wikia.com/wiki/Mafia_Wiki Mafia Wiki] for the series
 
{{mm}} [http://mafiascene.com/ MafiaScene.com] - Game fan site
 
 
{{GOG.com links|1595659240|mafia|for game series}}
 
{{GOG.com links|1595659240|mafia|for game series}}
 
{{mm}} [https://steamcommunity.com/app/40990/discussions/ Steam Community Discussions]
 
{{mm}} [https://steamcommunity.com/app/40990/discussions/ Steam Community Discussions]
Line 54: Line 65:
 
{{Availability|
 
{{Availability|
 
{{Availability/row| Retail | | disc check | {{DRM|SafeDisc|v2}}. Released on 3 CDs. |  | Windows }}
 
{{Availability/row| Retail | | disc check | {{DRM|SafeDisc|v2}}. Released on 3 CDs. |  | Windows }}
{{Availability/row| GamersGate | DD-MAFIA-ROW | Steam | | | Windows }}
 
{{Availability/row| Gamesplanet | 3470-1 | Steam |  |  | Windows }}
 
 
{{Availability/row| GOG.com | mafia | DRM-free |  |  | Windows }}
 
{{Availability/row| GOG.com | mafia | DRM-free |  |  | Windows }}
{{Availability/row| GMG | mafia-pc | Steam |  |  | Windows }}
+
{{Availability/row| Steam | 40990 | DRM-free | [[Digital rights management (DRM)#DRM-free|DRM-free]] when launched directly from the executable. |  | Windows }}
{{Availability/row| Humble | mafia | Steam |  |  | Windows }}
+
{{Availability/row| GamersGate | mafia | Steam | | | Windows | unavailable}}
{{Availability/row| Steam | 40990 | Steam |  |  | Windows }}
+
{{Availability/row| Gamesplanet | 3470-1 | Steam |  |  | Windows | unavailable }}
 +
{{Availability/row| GMG | mafia-pc | Steam |  |  | Windows | unavailable }}
 +
{{Availability/row| Humble | mafia | Steam |  |  | Windows | unavailable }}
 
}}
 
}}
{{ii}} A [http://www.moddb.com/games/mafia/downloads/mafia-1-demo demo version] is available.
+
{{ii}} A [https://community.pcgamingwiki.com/files/file/2801-mafia-demo/ demo] is available.
  
 
==Essential improvements==
 
==Essential improvements==
 
===Patches===
 
===Patches===
{{ii}} [http://www.patches-scrolls.de/patch/2557/7/27361 Patch 1.3] updates the game to the latest version. Some sources list this patch as version 1.2.
+
{{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]].
 +
{{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.
  
 
===Skip intro videos===
 
===Skip intro videos===
{{Fixbox|description=Delete logos|ref={{cn|date=December 2016}}|fix=
+
{{Fixbox|description=Delete or rename video files|ref=<ref name="Orzelek303">{{Refcheck|user=Orzelek303|date=2021-06-07}}</ref>|fix=
# Go to {{p|game}}
+
# Go to {{folder|{{p|game}}}}.
# Delete all files starting with {{code|logo}}
+
# Delete or rename all files starting with {{code|logo}}.
}}
 
 
 
===Increase draw distance===
 
{{Fixbox|description=Increase the draw distance via the widescreen patch|ref={{cn|date=October 2017}}|fix=
 
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
 
# Open <code>Mafia.WidescreenFix.ini</code>.
 
# Set <code>New Distance</code> to a high value (e.g. 1000).
 
 
}}
 
}}
  
Line 83: Line 88:
 
===Configuration file(s) location===
 
===Configuration file(s) location===
 
{{Game data|
 
{{Game data|
{{Game data/config|Windows|{{p|hklm}}\Software\{{P|wow64}}\Illusion Softworks\Mafia\}}
+
{{Game data/config|Windows|{{p|hkcu}}\Software\Illusion Softworks\Mafia}}
 
}}
 
}}
 
{{ii}} Stored as binary
 
{{ii}} Stored as binary
Line 89: Line 94:
 
===Save game data location===
 
===Save game data location===
 
{{Game data|
 
{{Game data|
{{Game data/saves|Windows|{{p|game}}\savegame\}}
+
{{Game data/saves|Windows|{{p|game}}\Mafia\savegame\|{{p|game}}\savegame\}}
 
}}
 
}}
  
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
{{Save game cloud syncing
 
{{Save game cloud syncing
|discord               = true
+
|discord                   = true
|discord notes         =  
+
|discord notes             =  
|epic games store       =  
+
|epic games launcher       =  
|epic games store notes =  
+
|epic games launcher notes =  
|gog galaxy             = true
+
|gog galaxy               = true
|gog galaxy notes       =  
+
|gog galaxy notes         =  
|origin                 =  
+
|origin                   =  
|origin notes           =  
+
|origin notes             =  
|steam cloud           = false
+
|steam cloud               = false
|steam cloud notes     =  
+
|steam cloud notes         =  
|uplay                  =  
+
|ubisoft connect          =  
|uplay notes           =  
+
|ubisoft connect notes     =  
|xbox cloud             =  
+
|xbox cloud               =  
|xbox cloud notes       =  
+
|xbox cloud notes         =  
 
}}
 
}}
  
 
==Video==
 
==Video==
{{Image|Mafia External Options.png|External options menu.}}
+
{{Image|Mafia External Options.png|External options menu.<br />{{code|{{p|game}}\setup.exe}}}}
{{Image|MafiaInGameSettings.jpg|In-game audio/video settings.}}
+
{{Image|MafiaInGameSettings.jpg|In-game video/audio settings.}}
 
{{Video
 
{{Video
 
|wsgf link                  = https://www.wsgf.org/dr/mafia-city-lost-heaven
 
|wsgf link                  = https://www.wsgf.org/dr/mafia-city-lost-heaven
Line 120: Line 125:
 
|4k ultra hd wsgf award    = incomplete
 
|4k ultra hd wsgf award    = incomplete
 
|widescreen resolution      = limited
 
|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].
+
|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              = hackable
|multimonitor notes        = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
+
|multimonitor notes        = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
 
|ultrawidescreen            = true
 
|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.
+
|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                = limited
|4k ultra hd notes          = {{term|Vert-}} on digital distribution version. HUD is stretched. Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
+
|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                        = hackable
 
|fov notes                  = See the [https://www.wsgf.org/dr/mafia-city-lost-heaven WSGF entry].
 
|fov notes                  = See the [https://www.wsgf.org/dr/mafia-city-lost-heaven WSGF entry].
Line 132: Line 137:
 
|windowed notes            =  
 
|windowed notes            =  
 
|borderless windowed        = hackable
 
|borderless windowed        = hackable
|borderless windowed notes  = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
+
|borderless windowed notes  = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
 
|anisotropic                = false
 
|anisotropic                = false
 
|anisotropic notes          =  
 
|anisotropic notes          =  
 
|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                  = false
 +
|upscaling tech            =
 +
|upscaling notes            =
 
|vsync                      = true
 
|vsync                      = true
|vsync notes                = On/Off; Triple Buffering On/Off (Use d38to9 to work on windows10)
+
|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                    = true
|60 fps notes              = Frame rate is capped at 63 FPS.
+
|60 fps notes              =  
 
|120 fps                    = hackable
 
|120 fps                    = hackable
|120 fps notes              = 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          =  
 
}}
 
}}
  
 
===[[Glossary:Frame rate (FPS)|High frame rate]]===
 
===[[Glossary:Frame rate (FPS)|High frame rate]]===
{{Fixbox|description=Mafia Widescreen fix|fix=
+
{{Fixbox|description=Use Mafia Widescreen Fix|fix=
# Download [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 {{file|Mafia.WidescreenFix.ini}}.
  
 
'''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 175: Line 183:
 
|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
|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.
+
|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          = false
 
|full controller notes    =  
 
|full controller notes    =  
Line 187: Line 195:
 
|invert controller y-axis  = false
 
|invert controller y-axis  = false
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
|xinput controllers        = unknown
+
|xinput controllers        = hackable
|xinput controllers notes  =  
+
|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 205: Line 213:
 
|tracked motion prompts    = unknown
 
|tracked motion prompts    = unknown
 
|tracked motion prompts notes =  
 
|tracked motion prompts notes =  
|other controllers        = unknown
+
|other controllers        = true
 
|other controllers notes  =  
 
|other controllers notes  =  
|other button prompts      = unknown
+
|other button prompts      = false
 
|other button prompts notes=  
 
|other button prompts notes=  
|button prompts            = false
 
|button prompts notes      =
 
 
|controller hotplug        = false
 
|controller hotplug        = false
 
|controller hotplug notes  =  
 
|controller hotplug notes  =  
 
|haptic feedback          = true
 
|haptic feedback          = true
|haptic feedback notes    = For XInput controllers see [[Controller#Force feedback driver for XInput|XInput force feedback vibration in DirectInput games]].
+
|haptic feedback notes    = For XInput controllers use [[:Controller#XInput_Plus|XInput Plus]].
 
|simultaneous input        = unknown
 
|simultaneous input        = unknown
 
|simultaneous input notes  =  
 
|simultaneous input notes  =  
 
}}
 
}}
 
{{ii}} The game has refined Force Feedback support (options presented on screenshots).
 
{{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==
 
{{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 233: Line 247:
 
|mute on focus lost notes =  
 
|mute on focus lost notes =  
 
|eax support              = true
 
|eax support              = true
|eax support notes        = EAX 3.0<ref>[https://web.archive.org/web/20021107102408/http://www.eax.creative.com/gaming/mafia.asp EAX Featured Game: Mafia - EAX.CREATIVE.COM]</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 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 275: Line 291:
 
  |subtitles = true
 
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Japanese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = true
 +
|notes    = Retail release only.
 
  |fan      =  
 
  |fan      =  
 
}}
 
}}
Line 283: Line 307:
 
  |subtitles = true
 
  |subtitles = true
 
  |notes    =  
 
  |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
 
  |fan      = true
 
}}
 
}}
Line 302: Line 342:
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Brazilian Portuguese
+
  |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
 
  |interface = true
  |audio    = false
+
  |audio    = unknown
 
  |subtitles = true
 
  |subtitles = true
  |notes    = Retail release only, Official Translation by GreenLeaf. 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    = Retail release only.
  |fan      = false
+
  |fan      =  
 
}}
 
}}
 
}}
 
}}
Line 328: Line 376:
 
|vorpx                      = hackable
 
|vorpx                      = hackable
 
|vorpx modes                = G3D
 
|vorpx modes                = G3D
|vorpx notes                = User created profile, requires [[DgVoodoo 2|DGVoodoo2 v 2.55.4]], see [https://www.vorpx.com/forums/topic/mafia/ profile introdution]. <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].
+
|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                    =  
 
|htc vive notes              =  
 
|htc vive notes              =  
Line 357: Line 405:
 
==Issues fixed==
 
==Issues fixed==
 
===Game doesn't start/Settings aren't saved===
 
===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>[https://github.com/ThirteenAG/WidescreenFixesPack/commit/0a25bf9db5d02534e9767256e203c57a97a6bd80#commitcomment-31609155 mafia update · ThirteenAG/WidescreenFixesPack@0a25bf9]</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>
+
{{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}}.
 +
}}
  
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref={{cn|date=December 2018}}|fix=
+
===Game crashes on startup (GOG.com)===
{{ii}} All registry settings will be saved to <code>settings.bin</code> in savegame folder.
+
{{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===
 
===Flickering shadows===
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref>[https://www.gog.com/forum/mafia/shadow_flickering_problems/post3 Shadow Flickering Problems - Forum - GOG.com]</ref>|fix=
+
{{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 preconfigured to have d3d8to9 enabled.
+
{{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===
 
===Controller deadzone issues===
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref={{cn|date=December 2018}}|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={{cn|date=December 2018}}|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.
 
}}
 
}}
  
 
===Free Ride Extreme frame rate bugs===
 
===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 Exploding Celeste | Mafia Wiki | FANDOM powered by Wikia]</ref>
+
{{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) | Mafia Wiki | FANDOM powered by Wikia]</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>.
 
}}
 
}}
  
===Game crashes on startup (GOG.com)===
+
===Red blocks/black lines on screen===
{{Fixbox|description=Set Fullscene antialiasing to "OFF" in <code>setup.exe</code>|ref={{cn|date=October 2017}}|fix=
+
{{Image|Mafiavisualerror1.jpg|Example of the issue}}
{{ii}} MSAA can be forced in the graphics card control panel.
+
{{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...'''.
===Restore original music (digital versions)===
+
# Select '''Multipass rendering''' rather than '''Hardware Transform&Lighting'''.
{{--}} Licensed music tracks have been removed from the digital versions.<ref name="release"/>
 
{{ii}} All GOG copies are affected. Steam copies activated before November 2017 re-release keep licensed music [https://steamdb.info/app/746460/ as DLC].
 
 
 
{{Fixbox|description=Restore original music (simple install)|ref=<ref name="musicRestoration"/>|fix=
 
{{ii}} For those who don't have the original version installed
 
 
 
# Download the [https://archive.org/download/mafia-sounds/mafia-sounds.zip mafia-sounds.zip] archive.
 
# Extract the <code>sounds</code> directory to the installation directory.
 
}}
 
 
 
{{Fixbox|description=Restore original music (manual install)|ref=<ref name="musicRestoration">[https://www.gog.com/forum/mafia/tutorial_how_to_restore_the_original_music &#91;Tutorial&#93; How to restore the original music - Forum - GOG.com]</ref>|fix=
 
{{ii}} The following requires a copy of the original version
 
 
 
# Install the digital version and CD version of Mafia.
 
# Download [https://mafiamods.com/mods/mafia-data-xtractor-modding-tool/ MafiaDataXtractor].
 
# Copy <code>MafiaDataXtractor.exe</code> to the CD version's installation folder.
 
# Open <code>MafiaDataXtractor.exe</code> and select <code>ab.dta - Music</code> from the list. Wait for the program to extract .ogg files.
 
# When extracting is finished, copy the <code>sounds</code> folder to the GOG.com version's installation folder.
 
 
 
'''Notes'''
 
{{--}} Doesn't restore the scripted music played during specific missions. For example the band on the boat during the mission '''Happy Birthday!''' may appear to dance and sing but remain silent due to missing song file.
 
 
}}
 
}}
  
===Red blocks/black lines on screen===
+
===Sky is corrupted===
{{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 '''Hardware Transform&Lighting''' rather than '''Multipass rendering'''.
 
}}
 
}}
  
 
===Error 4205 Generic===
 
===Error 4205 Generic===
{{Fixbox|description=Download the freeware [http://www.free-codecs.com/indeo_codec_download.htm Indeo codec]|ref=<ref>[http://notebooky-forum.notebook.cz/viewtopic.php?t=21483 Mafia hlasi chybu - notebooky-forum.notebook.cz]</ref>}}
+
{{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>}}
  
 
{{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.
 +
}}
 +
 +
{{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===
 
===Error 4214 Unsupported===
{{Fixbox|description=[[Microsoft Windows#Older games refuse to start on Windows 8 and later|Install DirectPlay]]|ref=<ref>[https://www.gog.com/forum/mafia/error_4214 Error: #4214 - Forum - GOG.com]</ref>}}
+
{{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=Copy <code>{{p|syswow64}}\dpnhpast.dll</code> to <code>{{p|game}}\dpnhpast.dll</code>|ref={{cn|date=October 2017}}|fix=
+
{{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>}}
{{ii}} If you don't have such dll in your <code>{{p|syswow64}}</code>, install DirectX.
+
 
 +
{{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===
{{Fixbox|description=Input your actual screen resolution and refresh rate in the Setup launcher|ref=<ref>[http://forummafieuso.free.fr/forum/viewtopic.php?f=15&t=146 error : #8815 Generic - Forum Bar Mafieuso]</ref>}}
+
{{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>}}
 +
 
 +
===Low and unstable frame rate when sound is enabled===
 +
{{ii}} The issue may occur when the '''Sound''' checkbox in the Setup launcher is checked.
 +
{{Fixbox|description=Use IndirectSound|ref=<ref name="Orzelek303" />|fix=
 +
# Download and extract [https://www.indirectsound.com/ IndirectSound].
 +
# Move the {{file|dsound.dll}} file to {{folder|{{p|game}}}}.
 +
}}
  
 
==Other information==
 
==Other information==
 
===API===
 
===API===
 
{{API
 
{{API
|direct3d versions      = 8
+
|direct3d versions      = 8.1
 
|direct3d notes        =  
 
|direct3d notes        =  
 
|directdraw versions    =  
 
|directdraw versions    =  
Line 466: Line 518:
 
|windows 32-bit exe    = true
 
|windows 32-bit exe    = true
 
|windows 64-bit exe    = false
 
|windows 64-bit exe    = false
 +
|windows arm app        =
 
|windows exe notes      =  
 
|windows exe notes      =  
|macos 32-bit app       =  
+
|macos intel 32-bit app =  
|macos 64-bit app       =  
+
|macos intel 64-bit app =
 +
|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          =
 
|linux executable notes =  
 
|linux executable notes =  
 
}}
 
}}
Line 479: Line 534:
 
|physics          =  
 
|physics          =  
 
|physics notes    =  
 
|physics notes    =  
|audio            = DirectSound3D
+
|audio            =  
 
|audio notes      =  
 
|audio notes      =  
 
|interface        =  
 
|interface        =  
Line 489: Line 544:
 
|multiplayer      =  
 
|multiplayer      =  
 
|multiplayer notes=  
 
|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===
 
===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/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 SkyGFX.
+
{{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}} [http://www.moddb.com/mods/footpath-road-mod Footpath & Road Mod] - Changes roads, sidewalks and parking textures to be better and more realistic. Requires [http://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/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/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://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/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 HQ Characters] - 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/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/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.
+
{{mm}} [https://mafiatown.pl/updated-interface,plik,70.html Updated interface] - Interface textures created from scratch in high quality.
  
 
==System requirements==
 
==System requirements==
Line 506: Line 576:
 
|OSfamily = Windows
 
|OSfamily = Windows
  
|minOS    = 98
+
|minOS    = 98, 98 SE, ME, 2000, XP
 
|minCPU  = Intel Pentium III 500 MHz
 
|minCPU  = Intel Pentium III 500 MHz
 +
|minCPU2  = AMD Athlon 500 MHz
 
|minRAM  = 96 MB
 
|minRAM  = 96 MB
 
|minHD    = 1.8 GB
 
|minHD    = 1.8 GB
Line 513: Line 584:
 
|minVRAM  = 32 MB
 
|minVRAM  = 32 MB
 
|minDX    = 8.1
 
|minDX    = 8.1
 +
|minaudio = DirectX 8.1 compatible
 +
|minother = 16x CD-ROM/DVD drive
  
|recOS    = ME, XP
+
|recOS    =  
 
|recCPU  = Intel Pentium III 700 MHz
 
|recCPU  = Intel Pentium III 700 MHz
 +
|recCPU2  = AMD Athlon 700 MHz
 
|recRAM  = 128 MB
 
|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>
 
}}
 
}}
  
 
{{References}}
 
{{References}}
 +
{{GOG.com Enhancement Project}}

Latest 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) <Steam-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) <Steam-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 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/40990/ in addition to or instead of this directory. The app ID (40990) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.
  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