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
 
(222 intermediate revisions by 73 users not shown)
Line 1: Line 1:
{{cleanup}}
+
{{disambig|the original 2002 game|the remake|[[Mafia: Definitive Edition]]}}
 
{{Infobox game
 
{{Infobox game
|cover        = Mafia The City of Lost Heaven cover.jpg
+
|cover        = Mafia cover.jpg
 
|developers  =  
 
|developers  =  
 
{{Infobox game/row/developer|Illusion Softworks}}
 
{{Infobox game/row/developer|Illusion Softworks}}
 
|publishers  =  
 
|publishers  =  
{{Infobox game/row/publisher|Gathering of Developers}}
+
{{Infobox game/row/publisher|Gathering of Developers|North America}}
{{Infobox game/row/publisher|2K Games}}
+
{{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|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      =  
 
|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    =
 +
{{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  = 40990
|gogcom page  = mafia
+
|steam appid side =
|strategywiki = Mafia: The City of Lost Heaven
+
|gogcom id    = 1595659240
|wikipedia    = Mafia: The City of Lost Heaven
+
|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
 
|winehq      = 1693
 +
|license      = commercial
 
}}
 
}}
{{Series|Mafia}}
 
  
'''Key points'''
+
{{Introduction
{{--}} Licensed music tracks have been removed from the GOG.com version.<ref name="release">[https://www.gog.com/news/release_mafia Release: Mafia - GOG.com]</ref> See [[#Restore original music (GOG.com)|Restore original music (GOG.com)]].
+
|introduction      =  
 +
 
 +
|release history  =
 +
 
 +
|current state    =
 +
 
 +
}}
  
 
'''General information'''
 
'''General information'''
{{mm}} [http://mafiascene.com/ MafiaScene.com] - Game fan site
+
{{GOG.com links|1595659240|mafia|for game series}}
{{GOG.com links|mafia|mafia}}
+
{{mm}} [https://steamcommunity.com/app/40990/discussions/ Steam Community Discussions]
{{mm}} [http://steamcommunity.com/app/40990/discussions/ Steam Community Discussions]
 
  
 
==Availability==
 
==Availability==
 
{{Availability|
 
{{Availability|
{{Availability/row| Retail | | disc check | |  | Windows }}
+
{{Availability/row| Retail | | disc check | {{DRM|SafeDisc|v2}}. Released on 3 CDs. |  | Windows }}
{{Availability/row| GOG | mafia | DRM-Free |  |  | Windows }}
+
{{Availability/row| GOG.com | mafia | DRM-free |  | Windows }}
 +
{{Availability/row| Steam | 40990 | DRM-free | [[Digital rights management (DRM)#DRM-free|DRM-free]] when launched directly from the executable. |  | Windows }}
 +
{{Availability/row| GamersGate | mafia | Steam | | | Windows | unavailable}}
 +
{{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 [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.
===Increase draw distance===
 
{{Fixbox|1=
 
{{Fixbox/fix|Increase the draw distance via the widescreen patch|ref={{cn|date=October 2017}}}}
 
# 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).
 
}}
 
{{Fixbox|1=
 
{{Fixbox/fix|Increase the draw distance via the widescreen patch}}
 
# Install [https://thirteenag.github.io/wfp#mafia behar's widescreen fix].
 
# Open <code>Mafia.WidescreenFix.ini</code>.
 
# Set <code>New Distance</code> to a high value (e.g. 1000).
 
}}
 
  
 
===Skip intro videos===
 
===Skip intro videos===
{{Fixbox|1=
+
{{Fixbox|description=Delete or rename video files|ref=<ref name="Orzelek303">{{Refcheck|user=Orzelek303|date=2021-06-07}}</ref>|fix=
{{Fixbox/fix|Delete logos|ref={{cn|date=December 2016}}}}
+
# Go to {{folder|{{p|game}}}}.
# Go to {{p|game}}
+
# Delete or rename all files starting with {{code|logo}}.
# Delete all files starting with {{code|logo}}
 
 
}}
 
}}
  
Line 61: Line 88:
 
===Configuration file(s) location===
 
===Configuration file(s) location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Windows|{{p|hklm}}\Software\{{P|wow64}}\Illusion Softworks\Mafia\}}
+
{{Game data/config|Windows|{{p|hkcu}}\Software\Illusion Softworks\Mafia}}
 
}}
 
}}
{{ii}} Stored as a hexadecimal value
+
{{ii}} Stored as binary
  
 
===Save game data location===
 
===Save game data location===
 
{{Game data|
 
{{Game data|
{{Game data/row|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
|origin               =  
+
|discord                  = true
|origin notes         =  
+
|discord notes            =
|steam cloud           = false
+
|epic games launcher      =
|steam cloud notes    =  
+
|epic games launcher notes =
|uplay                =  
+
|gog galaxy                = true
|uplay notes           =  
+
|gog galaxy notes          =
 +
|origin                   =  
 +
|origin notes             =  
 +
|steam cloud               = false
 +
|steam cloud notes        =
 +
|ubisoft connect          =
 +
|ubisoft connect notes    =  
 +
|xbox cloud                =  
 +
|xbox cloud notes         =  
 
}}
 
}}
  
==Video settings==
+
==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 settings
+
{{Video
|wsgf link                  = http://www.wsgf.org/dr/mafia-city-lost-heaven
+
|wsgf link                  = https://www.wsgf.org/dr/mafia-city-lost-heaven
 
|widescreen wsgf award      = limited
 
|widescreen wsgf award      = limited
 
|multimonitor wsgf award    = limited
 
|multimonitor wsgf award    = limited
 
|ultrawidescreen wsgf award = incomplete
 
|ultrawidescreen wsgf award = incomplete
 
|4k ultra hd wsgf award    = incomplete
 
|4k ultra hd wsgf award    = incomplete
|widescreen resolution      = true
+
|widescreen resolution      = limited
|widescreen resolution notes= See [[#Widescreen resolution|Widescreen resolution]].
+
|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        = See [[#Widescreen resolution|Widescreen resolution]].
+
|multimonitor notes        = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
 
|ultrawidescreen            = true
 
|ultrawidescreen            = true
|ultrawidescreen notes      = See [[#Widescreen resolution|Widescreen resolution]].
+
|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                = unknown
+
|4k ultra hd                = limited
|4k ultra hd notes          =  
+
|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 [[#Field of view (FOV)|Field of view (FOV)]].
+
|fov notes                  = See the [https://www.wsgf.org/dr/mafia-city-lost-heaven WSGF entry].
 
|windowed                  = true
 
|windowed                  = true
 
|windowed notes            =  
 
|windowed notes            =  
 
|borderless windowed        = hackable
 
|borderless windowed        = hackable
|borderless windowed notes  = See [[#Borderless fullscreen windowed|Borderless fullscreen windowed]].
+
|borderless windowed notes  = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
|anisotropic                = hackable
+
|anisotropic                = false
|anisotropic notes          = Force in the [[Glossary:Anisotropic filtering (AF)#Force anisotropic filtering|graphics card control panel]].
+
|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 supported - On/Off
+
|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              =  
 
|60 fps notes              =  
 
|120 fps                    = hackable
 
|120 fps                    = hackable
|120 fps notes              = Frame rate is capped at 63 FPS. See [[#High frame rate|High frame rate]].  
+
|120 fps notes              = Frame rate is capped at 63 FPS. See [[#High frame rate|High frame rate]].
|color blind                = unknown
+
|hdr                        = false
 +
|hdr notes                  =
 +
|color blind                = false
 
|color blind notes          =  
 
|color blind notes          =  
 
}}
 
}}
  
===[[Glossary:Widescreen resolution|Widescreen resolution]]===
+
===[[Glossary:Frame rate (FPS)|High frame rate]]===
{{ii}} The game supports multiple aspect ratios and arbitrary resolutions, but has stretched HUD elements outside 4:3.
+
{{Fixbox|description=Use Mafia Widescreen Fix|fix=
{{ii}} Ultra-widescreen resolutions have HUD issues, misplaced subtitles and left aligned cutscenes by default.<ref>{{Refurl|url=https://imgur.com/a/Jiaw8|title=Mafia 21:9 (Vanilla)|date=2016-6-29}}</ref>
+
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
 
+
# Set desired <code>FPS Limit</code> in {{file|Mafia.WidescreenFix.ini}}.
{{Fixbox|1=
 
{{Fixbox/fix|Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref={{cn|date=October 2017}}}}
 
{{++}} Contains additional options such as draw distance tweaking and FPS limiter
 
{{--}} Not compatible with Steam version<ref>[http://gtaforums.com/topic/547841-gtanfsmpother-widescreen-fixes-pack/page-58#entry1067871699 &#91;GTA|NFS|MP|OTHER&#93; Widescreen Fixes Pack - GTAForums]</ref>
 
}}
 
 
 
===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
 
{{Fixbox|1=
 
{{Fixbox/fix|Changing FOV|ref=<ref>[http://www.wsgf.org/dr/mafia-city-lost-heaven Mafia: The City of Lost Heaven | WSGF]</ref>}}
 
# Download [http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 MafiaDataXtractor].
 
# Extract MISSIONS data with MafiaDataXTractor (place in installation folder).
 
# Download [http://www.moddb.com/games/mafia/downloads/bscriptview-60 BScriptView] and download <code>MSVBVM50.DLL</code> from [http://forum.mafia-game.ru/showthread.php?p=169918 this page].
 
# Put <code>MSVBVM50.DLL</code> and the included <code>.OCX</code> files in same folder as <code>BSV6.exe</code>.
 
# Load each <code>scene2.bin</code> file in '''all''' folders in <code>{{p|game}}\MISSIONS</code> with BScriptView.
 
# Add <code>camera_setfov XX</code> to the <code>GameInitEnd</code> script (replace '''XX''' with your chosen value).
 
  
 
'''Notes'''
 
'''Notes'''
{{ii}} 70 files need to be edited, and not all of them are named <code>GameInitEnd</code>. Some files are named <code>GameInitStart</code> etc.
+
{{--}} High FPS causes several issues.
{{ii}} Pre-edited <code>scene2.bin</code> files with different values are available from [http://www.wsgf.org/dr/mafia-city-lost-heaven WSGF entry].
+
{{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.
 
}}
 
}}
  
===[[Glossary:Borderless fullscreen windowed|Borderless fullscreen windowed]]===
+
==Input==
{{Fixbox|1=
 
{{Fixbox/fix|Run in borderless fullscreen|ref={{cn|date=October 2017}}}}
 
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
 
# Create blank <code>wndmode.ini</code> in <code>{{P|game}}</code>.
 
}}
 
 
 
===[[Glossary:Frame rate (FPS)|High frame rate]]===
 
{{Fixbox|1=
 
{{Fixbox/fix|Remove 63 FPS cap|ref={{cn|date=April 2017}}}}
 
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
 
# Open <code>Mafia.WidescreenFix.ini</code>.
 
# Change <code>FPS Limit = 0</code> to the desired frame rate (e.g. <code>FPS Limit = 120</code>).
 
}}
 
 
 
==Input settings==
 
 
{{Image|Mafia Controls.png|In-game control settings.}}
 
{{Image|Mafia Controls.png|In-game control settings.}}
 
{{Image|Mafia Remapping.png|In-game key map settings.}}
 
{{Image|Mafia Remapping.png|In-game key map settings.}}
{{Input settings
+
{{Input
 
|key remap                = true
 
|key remap                = true
 
|key remap notes          =  
 
|key remap notes          =  
|acceleration option      = unknown
+
|acceleration option      = false
 
|acceleration option notes =  
 
|acceleration option notes =  
 
|mouse sensitivity        = true
 
|mouse sensitivity        = true
Line 171: Line 183:
 
|invert mouse y-axis      = true
 
|invert mouse y-axis      = true
 
|invert mouse y-axis notes =  
 
|invert mouse y-axis notes =  
 +
|touchscreen              = false
 +
|touchscreen notes        =
 
|controller support        = true
 
|controller support        = true
|controller support notes  = Limited native support; see [[#Controller support|Controller support]].
+
|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    =  
 
|controller remap          = true
 
|controller remap          = true
 
|controller remap notes    =  
 
|controller remap notes    =  
|controller sensitivity    = unknown
+
|controller sensitivity    = true
 
|controller sensitivity notes=  
 
|controller sensitivity notes=  
 
|invert controller y-axis  = false
 
|invert controller y-axis  = false
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
|touchscreen               = unknown
+
|xinput controllers        = hackable
|touchscreen 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>
|button prompts           = false
+
|xbox prompts              = unknown
|button prompts notes     =  
+
|xbox prompts notes        =
|controller hotplug        = unknown
+
|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  =  
 
|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]].
|light bar support        = unknown
+
|simultaneous input        = unknown
|light bar support notes   =  
+
|simultaneous input notes =  
 
}}
 
}}
 +
{{ii}} The game has refined Force Feedback support (options presented on screenshots).
  
===[[Controller|Controller support]]===
+
===Analog control when using SteamInput===
Some users have reported success with using an [[Controller:Xbox 360 Controller|Xbox 360 Controller]] but there are often issues with the use of the thumb-sticks.<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> This can be fixed by using a program such as [https://github.com/AntiMicro/antimicro/releases antimicro] to rebind controls, using the D-Pad to steer, and disabling the thumb-sticks.
+
{{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 settings==
+
==Audio==
{{Audio settings
+
{{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
 
|subtitles                = true
 
|subtitles                = true
|subtitles notes          =  
+
|subtitles notes          = Option to turn it on/off its located in "control" settings in "other" menu.
 
|closed captions          = true
 
|closed captions          = true
 
|closed captions notes    =  
 
|closed captions notes    =  
Line 209: 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 215: Line 255:
 
{{L10n/switch
 
{{L10n/switch
 
  |language  = English
 
  |language  = English
  |interface = yes
+
  |interface = true
  |audio    = yes
+
  |audio    = true
  |subtitles = unknown
+
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
 
  |language  = Czech
 
  |language  = Czech
  |interface = yes
+
  |interface = true
  |audio    = yes
+
  |audio    = true
  |subtitles = yes
+
  |subtitles = true
  |notes    = Only retail version
+
  |notes    =
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
 
  |language  = French
 
  |language  = French
  |interface = yes
+
  |interface = true
  |audio    = yes
+
  |audio    = true
  |subtitles = unknown
+
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
 
  |language  = German
 
  |language  = German
  |interface = yes
+
  |interface = true
  |audio    = yes
+
  |audio    = true
  |subtitles = unknown
+
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
 
  |language  = Italian
 
  |language  = Italian
  |interface = yes
+
  |interface = true
  |audio    = yes
+
  |audio    = true
  |subtitles = yes
+
  |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    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
  |fan notes =  
+
}}
 +
{{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
 
{{L10n/switch
 
  |language  = Russian
 
  |language  = Russian
  |interface = yes
+
  |interface = true
  |audio    = yes
+
  |audio    = true
  |subtitles = yes
+
  |subtitles = true
  |notes    = Only available in Russian retail copy
+
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
 
  |language  = Spanish
 
  |language  = Spanish
  |interface = yes
+
  |interface = true
  |audio    = yes
+
  |audio    = true
  |subtitles = yes
+
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
  |fan notes =  
+
}}
 +
{{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==
 
==Issues fixed==
===Restore original music (GOG.com)===
+
===Game doesn't start/Settings aren't saved===
{{--}} Licensed music tracks have been removed from the GOG.com version.<ref name="release"/>
+
{{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|1=
+
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
{{Fixbox/fix|Restore original music (simple install)|ref=<ref name="musicRestoration"/>}}
+
{{ii}} All registry settings will be saved to {{file|{{p|game}}/savegame/settings.bin}}.
{{ii}} For those who don't have the original version installed
+
}}
  
# Download [https://drive.google.com/file/d/0B31JvzIJcaxMRGFjWWxsQ0ZjTFU/view?usp=sharing this package].
+
===Game crashes on startup (GOG.com)===
# Extract the <code>SOUNDS</code> folder to the installation 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.
 
}}
 
}}
  
{{Fixbox|1=
+
===Flickering shadows===
{{Fixbox/fix|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>}}
+
{{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 following requires a copy of the original version
+
{{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>
 +
}}
  
# Install the GOG.com and CD versions of Mafia.
+
{{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://mafiamods.com/mods/mafia-data-xtractor-modding-tool/ MafiaDataXtractor].
+
# Download [https://github.com/crosire/d3d8to9/releases/latest d3d8to9].
# Copy <code>MafiaDataXtractor.exe</code> to the CD version's installation folder.
+
# Place {{file|d3d8.dll}} into {{folder|{{p|game}}}}.
# 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.
 
 
}}
 
}}
  
===Game crashes on startup (GOG.com)===
+
{{Fixbox|description=Use [[dgVoodoo 2]]}}
{{Fixbox|1=
+
 
{{Fixbox/fix|Set Fullscene antialiasing to "OFF" in <code>setup.exe</code>|ref={{cn|date=October 2017}}}}
+
===Controller deadzone issues===
{{ii}} MSAA can be forced in the graphics card control panel.
+
{{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}}.
 
}}
 
}}
  
===In-game settings are not saved correctly in Windows 10===
+
===No fullscreen mode on Windows 10===
{{ii}} In Windows 10 settings are loaded from <code>{{p|hkcu}}\SOFTWARE\Illusion Softworks\Mafia</code><br>The config launcher correctly saves in this location but the in-game settings are stored in: <code>{{p|hkcu}}\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Illusion Softworks\Mafia</code>
+
{{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.
 +
}}
  
{{Fixbox|1=
+
===Free Ride Extreme frame rate bugs===
{{Fixbox/fix|Copy over registry value|ref={{cn|date=December 2016}}}}
+
{{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>
# Make your desired changes via the config launcher and save
 
# Start the game and make your desired changes in the in-game settings and save and exit
 
# From the start menu, run the Command Prompt as administrator
 
# '''For Windows 10 x64 with no compatibility options enabled'''; paste the following and click enter: <pre>REG COPY "HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Illusion Softworks\Mafia" "HKEY_CURRENT_USER\SOFTWARE\Illusion Softworks\Mafia" /s /f</pre>
 
# Start the game normally. Repeat the steps again after changing any in-game settings
 
  
 
+
{{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=
* '''*UPDATE*''' Topic needs updating detailing the different registry paths for x86 Windows 10 and the different paths used by running mafia in compatibility mode (Windows XP, Windows 7, etc). '''For Windows 10 x64 with Windows XP SP2 compatibility mode'''? (Please verify the compatbilty mode used for this) try entering the following : <pre>REG COPY "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Illusion Softworks\Mafia" "HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Illusion Softworks\Mafia" /s /f</pre>
+
# 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===
 
===Red blocks/black lines on screen===
 
{{Image|Mafiavisualerror1.jpg|Example of the issue}}
 
{{Image|Mafiavisualerror1.jpg|Example of the issue}}
{{Fixbox|1=
+
{{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/fix|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>}}
+
# Open {{file|{{p|game}}\Setup.exe}}.
# Open <code>{{p|game}}\Setup.exe</code>
+
# Click on '''Open expert settings...'''.
# Click on 'Open expert settings...'.
+
# Select '''Multipass rendering''' rather than '''Hardware Transform&Lighting'''.
# Select 'Multipass rendering' rather than 'Hardware Transform&Lighting'.
 
 
}}
 
}}
  
===Game always runs with default settings (Steam)===
+
===Sky is corrupted===
{{ii}} Non-English Steam versions of the game have a bugged settings launcher whereby adjusting options has no effect, with Mafia always running with default values. In some cases, this has also led to Mafia not running.
+
{{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}}.
{{Fixbox|1=
+
# Click on '''Open expert settings...'''.
{{Fixbox/fix|Swap game language|ref=<ref>[https://web.archive.org/web/20151014201628/http://forums.steampowered.com/forums/showthread.php?t=1375770 Mafia 1 Settings Bug - Steam Users' Forums] (retrieved)</ref>}}
+
# Select '''Hardware Transform&Lighting''' rather than '''Multipass rendering'''.
# Set Mafia's language in Steam to English
 
# Wait until download is complete
 
# Start Settings launcher
 
# Select desired settings
 
# Save and exit launcher
 
# Set Mafia's language in Steam to your desired option
 
# Wait until download is complete
 
# Start the game - it should run in your desired language with your desired settings
 
 
}}
 
}}
  
 
===Error 4205 Generic===
 
===Error 4205 Generic===
{{Fixbox|1=
+
{{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/fix|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=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|1=
+
 
{{Fixbox/fix|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 {{file|setup.exe}}|ref={{cn|date=September 2016}}|fix=
}}
 
{{Fixbox|1=
 
{{Fixbox/fix|Set Fullscene antialiasing to "OFF" in <code>setup.exe</code>|ref={{cn|date=September 2016}}}}
 
 
{{ii}} MSAA can be forced in the graphics card control panel.
 
{{ii}} MSAA can be forced in the graphics card control panel.
 
}}
 
}}
  
===Error 4214 Unsupported===
+
{{Fixbox|description=Use DirectX 8 to DirectX 9 translation layer|fix=
{{Fixbox|1=
+
# Download [https://github.com/crosire/d3d8to9/releases d3d8to9].
{{Fixbox/fix|[[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>}}
+
# Place {{file|d3d8.dll}} into {{folder|{{p|game}}}}.
}}
 
{{Fixbox|1=
 
{{Fixbox/fix|Copy <code>{{p|syswow64}}\dpnhpast.dll</code> to <code>{{p|game}}\dpnhpast.dll</code>|ref={{cn|date=October 2017}}}}
 
{{ii}} If you don't have such dll in your <code>{{p|syswow64}}</code>, install DirectX.
 
 
}}
 
}}
  
===Error 8815 Generic===
+
===Error 4214 Unsupported===
{{Fixbox|1=
+
{{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/fix|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>}}
 
}}
 
  
===Exploding Celeste frame rate bug===
+
{{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}} The Free Ride Extreme mission '''Exploding Celeste''' is bugged at higher frame rates, causing the bombs to explode earlier than usual.
 
  
{{Fixbox|1=
+
{{Fixbox|description=Copy {{file|{{p|syswow64}}\dpnhpast.dll}} to {{folder|{{p|game}}}}|ref={{cn|date=October 2017}}|fix=
{{Fixbox/fix|[[Glossary:Frame rate (FPS)#Frame rate capping|Limit the frame rate to 10-15 FPS]]|ref=<ref>[http://steamcommunity.com/app/40990/discussions/0/882957626113823188/ Freeride Extreme - Exploding Celeste problems :: Mafia General Discussions]</ref>}}
+
{{ii}} If you don't have such dll in your {{folder|{{p|syswow64}}}}, install DirectX.
{{ii}} This will allow the explosions to go off at a normal rate.
 
 
}}
 
}}
  
===No fullscreen mode on Windows 10===
+
===Error 8815 Generic===
{{Fixbox|1=
+
{{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>}}
{{Fixbox/fix|Run in borderless fullscreen|ref={{cn|date=July 2016}}}}
 
See [[#Borderless fullscreen windowed|Borderless fullscreen windowed]].
 
}}
 
  
===Game doesn't launch, only opens setup (Steam)===
+
===Low and unstable frame rate when sound is enabled===
{{ii}} On 64-bit systems, the game writes the configuration in the wrong path of the registry
+
{{ii}} The issue may occur when the '''Sound''' checkbox in the Setup launcher is checked.
 
+
{{Fixbox|description=Use IndirectSound|ref=<ref name="Orzelek303" />|fix=
{{Fixbox|1=
+
# Download and extract [https://www.indirectsound.com/ IndirectSound].
{{Fixbox/fix|Copy over registry value|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>}}
+
# Move the {{file|dsound.dll}} file to {{folder|{{p|game}}}}.
# Make your desired changes via setup and save
 
# Copy the following: <pre>REG COPY "HKEY_CURRENT_USER\SOFTWARE\Illusion Softworks\Mafia" "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Illusion Softworks\Mafia" /s /f</pre>
 
# From the start menu, run the Command Prompt as administrator
 
# Right-click in the Command Prompt window, choose paste, then press {{key|Enter}}
 
# Start the game normally. Repeat the steps again after changing anything via setup or game
 
 
}}
 
}}
  
Line 401: Line 498:
 
===API===
 
===API===
 
{{API
 
{{API
|direct3d versions      = 8
+
|direct3d versions      = 8.1
 
|direct3d notes        =  
 
|direct3d notes        =  
 
|directdraw versions    =  
 
|directdraw versions    =  
Line 413: Line 510:
 
|mantle support        =  
 
|mantle support        =  
 
|mantle support notes  =  
 
|mantle support notes  =  
|vulkan support        =  
+
|vulkan versions        =  
|vulkan support notes   =  
+
|vulkan notes           =  
 
|dos modes              =  
 
|dos modes              =  
 
|dos modes notes        =  
 
|dos modes notes        =  
 
|shader model versions  =  
 
|shader model versions  =  
 
|shader model notes    =  
 
|shader model notes    =  
|64-bit executable     = false
+
|windows 32-bit exe    = true
|64-bit executable notes=  
+
|windows 64-bit exe    = false
 +
|windows arm app        =
 +
|windows exe notes      =
 +
|macos intel 32-bit app =
 +
|macos intel 64-bit app =
 +
|macos arm app          =
 +
|macos app notes        =
 +
|linux 32-bit executable=  
 +
|linux 64-bit executable=
 +
|linux arm app          =
 +
|linux executable notes =  
 
}}
 
}}
  
Line 437: 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===
====[http://www.moddb.com/mods/footpath-road-mod Footpath & Road Mod]====
+
{{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.
{{ii}} 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 directory.
+
{{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==
Line 447: Line 576:
 
|OSfamily = Windows
 
|OSfamily = Windows
  
|minOS    = 98, ME, XP
+
|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 454: 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    =
 
|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