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


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

Difference between revisions of "Mafia"

From PCGamingWiki, the wiki about fixing PC games
(329 intermediate revisions by 92 users not shown)
Line 1: Line 1:
{{cleanup}}
+
{{disambig|the original 2002 game|the remake|[[Mafia: Definitive Edition]]}}
 
{{Infobox game
 
{{Infobox game
|cover        = Mafiacoverart.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|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  =
+
|steam appid side =
|wikipedia    = Mafia: The City of Lost Heaven
+
|gogcom id    = 1595659240
 +
|gogcom id side =
 +
|official site= https://web.archive.org/web/20061115203918/http://www.mafia-game.com/indexnews.htm
 +
|hltb        = 5517
 +
|lutris      = mafia
 +
|mobygames    = 7190
 +
|strategywiki = Mafia
 +
|wikipedia    = Mafia (video game)
 
|winehq      = 1693
 
|winehq      = 1693
 +
|license      = commercial
 
}}
 
}}
{{Series|Mafia}}
 
  
'''Key points'''
+
{{Introduction
{{++}} Most users report no issues on modern systems once [[Compatibility Mode]] is enabled.
+
|introduction      =
{{--}} No longer available in digital distribution.
+
 
 +
|release history  =
 +
 
 +
|current state    =
 +
 
 +
}}
  
 
'''General information'''
 
'''General information'''
{{mm}} [http://steamcommunity.com/app/40990/discussions/ Steam Community Discussions]
+
{{GOG.com links|1595659240|mafia|for game series}}
{{mm}} [http://forums.steampowered.com/forums/forumdisplay.php?f=938 Steam Users' Forums] for game series
+
{{mm}} [https://steamcommunity.com/app/40990/discussions/ Steam Community Discussions]
  
 
==Availability==
 
==Availability==
 
{{Availability|
 
{{Availability|
{{Availability/row| Retail | | disc | All boxed versions of Mafia include a CD check }}
+
{{Availability/row| Retail | | disc check | {{DRM|SafeDisc|v2}}. Released on 3 CDs. |  | 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.
  
{{--}} This game is no longer available in digital distribution. Due to licensing issues it's been removed from the steam store.<ref>http://forums.steampowered.com/forums/showthread.php?t=2960646</ref>
+
==Essential improvements==
 +
===Patches===
 +
{{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===
 +
{{Fixbox|description=Delete or rename video files|ref=<ref name="Orzelek303">{{Refcheck|user=Orzelek303|date=2021-06-07}}</ref>|fix=
 +
# Go to {{folder|{{p|game}}}}.
 +
# Delete or rename all files starting with {{code|logo}}.
 +
}}
  
 
==Game data==
 
==Game data==
 
===Configuration file(s) location===
 
===Configuration file(s) location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Windows|{{p|hklm}}\Software\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          =
|gamesave manager      = true
+
|origin                   =  
|gamesave manager notes=  
+
|origin notes             =  
 +
|steam cloud               = false
 +
|steam cloud notes         =  
 +
|ubisoft connect          =  
 +
|ubisoft connect notes     =  
 +
|xbox cloud                =  
 +
|xbox cloud notes         =  
 
}}
 
}}
  
==Essential improvements==
+
==Video==
===Patch===
+
{{Image|Mafia External Options.png|External options menu.<br />{{code|{{p|game}}\setup.exe}}}}
Latest version is '''1.2'''. All patch versions are available [http://www.fileplanet.com/93425/0/0/0/1/section/Patches here].
+
{{Image|MafiaInGameSettings.jpg|In-game video/audio settings.}}
 
+
{{Video
===Modifications===
+
|wsgf link                  = https://www.wsgf.org/dr/mafia-city-lost-heaven
====[http://www.moddb.com/mods/footpath-road-mod Footpath & Road Mod]====
 
The Footpath & Road Mod is a popular mod created by ModDB user [http://www.moddb.com/members/don-mafioso Don Mafioso], designed to produce higher resolution roads and footpaths. The mod can be installed using:
 
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 
The user must then extract the <code>maps</code> folder to <code>C:\Program Files\Mafia</code>
 
 
 
====[http://mafia.hodnoceniher.cz/mafia1/mody/UDD_all.rar Unlimited Draw Distance Mod]====
 
{{++}}Enable unlimited draw distance (farther than that of the 'cumdal' cheat), for a vastly improved atmosphere
 
{{Fixbox|1=
 
{{Fixbox/fix|Replace game missions files|ref=<ref>[http://forums.steampowered.com/forums/showthread.php?t=1831977 Mafia 1 essential Mod and settings - Steam Users' Forums]</ref>}}
 
# Download [http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 
# Extract it in {{p|game}}
 
# Use it to extract MISSION data
 
# Copy <code>missions</code> folder from archive to your Mafia folder
 
# Place the mod in that folder
 
}}
 
 
 
====Custom Cars====
 
User created vehicles are a popular addition to Mafia. [http://www.moddb.com/games/mafia/downloads ModDB] is a popular host for these creations.
 
 
 
==Video settings==
 
{{Video settings
 
|wsgf link                  = http://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= Resolutions above 1280x720, not available for all users.<br />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        = Limited support; see [[#Multi-monitor|Multi-monitor]].
+
|multimonitor notes        = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
|ultrawidescreen            = unknown
+
|ultrawidescreen            = true
|ultrawidescreen notes      =  
+
|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        = false
+
|borderless windowed        = hackable
|borderless windowed notes  =  
+
|borderless windowed notes  = Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].<ref name="Mafia Widescreen Fix" />
|anisotropic                = hackable
+
|anisotropic                = false
|anisotropic notes          = Can be forced through the [[NVIDIA Control Panel#Forcing Anti-Aliasing/Anisotropic Filtering|NVIDIA Control Panel]]/AMD Control Center.
+
|anisotropic notes          =  
 
|antialiasing              = true
 
|antialiasing              = true
|antialiasing notes        = 2x or 4x [[Glossary:Anti-aliasing (AA)#Supersampling (SSAA)|FSAA]]
+
|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" />
|high frame rate           = false
+
|60 fps                    = true
|high frame rate notes     = Hard cap at 63fps
+
|60 fps notes              =
|color blind                = unknown
+
|120 fps                    = hackable
 +
|120 fps notes              = Frame rate is capped at 63 FPS. See [[#High frame rate|High frame rate]].
 +
|hdr                        = false
 +
|hdr notes                 =  
 +
|color blind                = false
 
|color blind notes          =  
 
|color blind notes          =  
 
}}
 
}}
  
===[[Glossary:Widescreen resolution|Widescreen resolution]]===
+
===[[Glossary:Frame rate (FPS)|High frame rate]]===
Mafia offers a number of widescreen resolutions accessible through <code>Setup.exe</code> located in game's folder, however some users may be unable to obtain these.
+
{{Fixbox|description=Use Mafia Widescreen Fix|fix=
{{Fixbox|1=
+
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
{{Fixbox/fix|Widescreen fix|ref=<ref name=WSGF>[http://www.wsgf.org/dr/mafia-city-lost-heaven WSGF article]</ref>}}
+
# Set desired <code>FPS Limit</code> in {{file|Mafia.WidescreenFix.ini}}.
# Download widescreen fix - aspect ratio: [http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_16-9.rar 16:9]/[http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_16-10.rar 16:10].
 
# Download [http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 
# Extract MISSION data with MafiaData Xtractor (place it installation folder).
 
# Copy <code>missions</code> folder from archive to your Mafia folder.
 
}}
 
 
 
===[[Glossary:Multi-monitor|Multi-monitor]]===
 
The game can be adjusted to an extent to support Multi-monitor setups such as ATI/AMD Eyefinity.
 
{{Fixbox|1=
 
{{Fixbox/fix|Multi-monitor|ref=<ref name=WSGF/>}}
 
# Download widescreen fix - aspect ratio: [http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_48-9.rar 48:9]/[http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_48-10.rar 48:10].
 
# Download [http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1].
 
# Extract MISSION data with MafiaData Xtractor (place in installation folder).
 
# Copy <code>missions</code> folder from archive to your Mafia folder.
 
}}
 
 
 
===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
 
{{Fixbox|1=
 
{{Fixbox/fix|Changing FOV|ref=<ref name=WSGF/>}}
 
# Download [http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor].
 
# Download [http://www.moddb.com/games/mafia/downloads/bscriptview-60 BScriptView 6.0]
 
# Extract MISSION data with MafiaDataXTractor (place in installation folder)
 
# Edit each <code>scene2.bin</code> file in '''all''' folders in <code>C:\Program Files\Mafia\Missions</code> with BSV6.0 - add the following to the <code>GameInitEnd</code> script: <pre>camera_setfov XX</pre>
 
# Replace '''XX''' with your chosen value.
 
  
 
'''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}} Cars have unusually good traction, this results in much relaxed steering than intended.
 +
{{ii}} It can be almost impossible to fully park car at mission marker without turning its engine off (game still thinks it's moving).
 +
{{ii}} NPCs can get stuck on any elevated surfaces e.g. sidewalks, stairs, this can break any mission with NPC companions and cause Trams to stay in one place waiting for passenger indefinitely.
 
}}
 
}}
  
==Input settings==
+
==Input==
{{Input settings
+
{{Image|Mafia Controls.png|In-game control settings.}}
 +
{{Image|Mafia Remapping.png|In-game key map 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 notes  =
 
|mouse menu                = true
 
|mouse menu                = true
 
|mouse menu notes          =  
 
|mouse menu notes          =  
 
|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    =  
|invert controller y-axis  = unknown
+
|controller sensitivity    = true
 +
|controller sensitivity notes=
 +
|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>
 +
|xbox prompts              = unknown
 +
|xbox prompts notes        =
 +
|impulse triggers          = unknown
 +
|impulse triggers notes    =
 +
|dualshock 4               = unknown
 +
|dualshock 4 notes        =
 +
|dualshock prompts        = unknown
 +
|dualshock prompts notes  =
 +
|light bar support        = unknown
 +
|light bar support notes  =
 +
|dualshock 4 modes        = unknown
 +
|dualshock 4 modes notes  =
 +
|tracked motion controllers= unknown
 +
|tracked motion controllers notes =
 +
|tracked motion prompts    = unknown
 +
|tracked motion prompts notes =
 +
|other controllers         = true
 +
|other controllers notes  =
 +
|other button prompts      = false
 +
|other button prompts notes=
 +
|controller hotplug        = false
 +
|controller hotplug notes  =
 +
|haptic feedback          = true
 +
|haptic feedback notes    = For XInput controllers use [[:Controller#XInput_Plus|XInput Plus]].
 +
|simultaneous input        = unknown
 +
|simultaneous input notes  =  
 
}}
 
}}
 +
{{ii}} The game has refined Force Feedback support (options presented on screenshots).
  
===[[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>[http://forums.steampowered.com/forums/showthread.php?t=2595124 Mafia 1 Xbox 360 controller issues? - Steam Users' Forums]</ref> This can be fixed by using a program such as [http://xpadder.com/ XPadder] to rebind controls, using the D-Pad to steer, and disabling the thumb-sticks.
+
{{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 184: Line 247:
 
|mute on focus lost notes =  
 
|mute on focus lost notes =  
 
|eax support              = true
 
|eax support              = true
|eax support notes        = EAX 3 <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 190: 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
Line 202: Line 266:
 
  |audio    = true
 
  |audio    = true
 
  |subtitles = true
 
  |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    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Japanese
 +
|interface = true
 
  |audio    = unknown
 
  |audio    = unknown
  |subtitles = unknown
+
  |subtitles = true
 +
|notes    = Retail release only.
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Polish
 +
|interface = true
 +
|audio    = false
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = true
 +
|audio    = false
 +
|subtitles = true
 +
|notes    = Retail release only, official translation by GreenLeaf.<ref>[https://archive.ph/G9Z5R Novo Milênio, 24/12/2002 (archived)]</ref><ref>{{Refurl|url=https://big-box-pc-games-brasil.fandom.com/pt-br/wiki/Mafia|title=Big Box PC Games Brasil Wiki|date=2023-06-12}}</ref>
 +
|fan      = false
 +
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = hackable
 +
|notes    = Fan translation for retail English version by GameVicio (was made before GreenLeaf distribution), [https://www.gamevicio.com/traducao/traducao-de-mafia-para-portugues-brasil/ download].
 +
|fan      = true
 +
}}
 +
{{L10n/switch
 +
|language  = Russian
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 
  |notes    =  
 
  |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==
[[Image:Mafiasetupimage.jpg|right|thumb|290px|''Users should note 'Display' refers to their installed graphics card, and will vary from that shown'']]
+
===Game doesn't start/Settings aren't saved===
===Running On Vista, 7 (Boxed Version)===
+
{{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/fix|Some users could need this}}
+
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
# First install the game. If you run into issues at this stage, set <code>MafiaLauncher.exe</code> and <code>MafiaSetup.exe</code> on the first CD to Windows XP SP2 Compatibility Mode.  
+
{{ii}} All registry settings will be saved to {{file|{{p|game}}/savegame/settings.bin}}.
# Once installed, set <code>{{p|game}}\Game.exe</code> to Windows XP SP2 Compatibility Mode.
+
}}
# Download Mafia [http://www.ausgamers.com/files/details/html/9266 patch v1.2] (users should note there is no difference between patch 1.3 and 1.2)
+
 
# Execute <code>{{p|game}}\Setup.exe</code>. Ensure it is configured as the image alongside
+
===Game crashes on startup (GOG.com)===
# At this stage you can test if you can already run the game by opening <code>{{p|game}}\intro.avi</code>. If the video runs, the game is now ready. If not, follow the remaining steps.
+
{{Fixbox|description=Set Fullscene antialiasing to "OFF" in {{file|setup.exe}}|ref={{cn|date=October 2017}}|fix=
# Intro movies in Mafia run using an Indeo codec, which is unsupported by Windows since XP SP1, so the user will need to download a freeware Indeo codec such as [http://www.free-codecs.com/indeo_codec_download.htm this]. Since version 5.2 the software has become a paid product, so it is important to find a version before this.
+
{{ii}} MSAA can be forced in the graphics card control panel.
# Open a command prompt with elevated right (press the Start button, type 'CMD', right click on it and choose 'Run as administrator'). In the console, type <code>regsvr32 ir50_32.dll</code>
+
}}
# Attempt to run the game.
+
 
 +
===Flickering shadows===
 +
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref>{{Refurl|url=https://www.gog.com/forum/mafia/shadow_flickering_problems/post3|title=Shadow Flickering Problems - Forum - GOG.com|date=May 2023}}</ref>|fix=
 +
{{ii}} The fix is pre-configured to have D3D8to9 enabled.<ref>{{Refurl|url=https://github.com/ThirteenAG/XboxRainDroplets/releases/tag/mafia|title=Release Xbox Rain Droplets for Mafia · ThirteenAG/XboxRainDroplets · GitHub|date=2021-06-07}}</ref> May not help in all cases though.<ref>{{Refurl|url=https://github.com/ThirteenAG/WidescreenFixesPack/issues/1073|title=|date=2022-09-02}}</ref>
 +
}}
 +
 
 +
{{Fixbox|description=Use DirectX 8 to DirectX 9 translation layer|ref=<ref>{{Refurl|url=https://www.gog.com/forum/mafia/shadow_flickering_problems/post3|title=Shadow Flickering Problems - Forum - GOG.com|date=May 2023}}</ref>|fix=
 +
# Download [https://github.com/crosire/d3d8to9/releases/latest d3d8to9].
 +
# Place {{file|d3d8.dll}} into {{folder|{{p|game}}}}.
 
}}
 
}}
  
===Red Blocks/Black Lines On Screen===
+
{{Fixbox|description=Use [[dgVoodoo 2]]}}
[[Image:Mafiavisualerror1.jpg|thumb|right|290px|Example of the issue]]
+
 
{{Fixbox|1=
+
===Controller deadzone issues===
{{Fixbox/fix|Change rendering method|ref=<ref>[http://forums.steampowered.com/forums/showthread.php?t=2595659 Weird lines/colors - Steam Users' Forums]</ref>}}
+
{{Fixbox|description=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
# Open <code>{{p|game}}\Setup.exe</code>
+
{{ii}} Deadzone for sticks can be adjusted in {{file|Mafia.GenericFix.ini}}.
# Click on 'Open expert settings...', then select 'Multipass rendering' rather than 'Hardware Transform&Lighting'.
 
 
}}
 
}}
  
===Settings Bug (Non-English Steam Versions)===
+
===No fullscreen mode on Windows 10===
{{ii}} Non-English 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=Use [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]|ref=<ref name="Mafia Widescreen Fix" />|fix=
{{Fixbox|1=
+
{{ii}} If windowed mode is selected in {{file|setup.exe}}, the game will launch borderless.
{{Fixbox/fix|Swap game language|ref=<ref>[http://forums.steampowered.com/forums/showthread.php?t=1375770 Mafia 1 Settings Bug - Steam Users' Forums]</ref>}}
+
}}
# Set Mafia's language in Steam to English
+
 
# Wait until download is complete
+
===Free Ride Extreme frame rate bugs===
# Start Settings launcher
+
{{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>
# Select desired settings
+
 
# Save and exit launcher
+
{{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=
# Set Mafia's language in Steam to your desired option
+
# Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix].
# Wait until download is complete
+
# Open {{file|Mafia.WidescreenFix.ini}}.
# Start the game - it should run in your desired language with your desired settings
+
# Change <code>FPS Limit = 0</code> to <code>FPS Limit = 15</code>.
 +
}}
 +
 
 +
===Red blocks/black lines on screen===
 +
{{Image|Mafiavisualerror1.jpg|Example of the issue}}
 +
{{Fixbox|description=Change rendering method|ref=<ref>[https://web.archive.org/web/20150619081014/http://forums.steampowered.com/forums/showthread.php?t=2595659 Weird lines/colors - Steam Users' Forums] (retrieved)</ref>|fix=
 +
# Open {{file|{{p|game}}\Setup.exe}}.
 +
# Click on '''Open expert settings...'''.
 +
# Select '''Multipass rendering''' rather than '''Hardware Transform&Lighting'''.
 +
}}
 +
 
 +
===Sky is corrupted===
 +
{{Fixbox|description=Change rendering method|ref=<ref>[https://web.archive.org/web/20150619081014/http://forums.steampowered.com/forums/showthread.php?t=2595659 Weird lines/colors - Steam Users' Forums] (retrieved)</ref>|fix=
 +
# Open {{file|{{p|game}}\Setup.exe}}.
 +
# Click on '''Open expert settings...'''.
 +
# Select '''Hardware Transform&Lighting''' rather than '''Multipass rendering'''.
 
}}
 
}}
  
 
===Error 4205 Generic===
 
===Error 4205 Generic===
{{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|description=Set Fullscene antialiasing to "OFF" in {{file|setup.exe}}|ref={{cn|date=September 2016}}|fix=
 +
{{ii}} MSAA can be forced in the graphics card control panel.
 
}}
 
}}
{{Fixbox|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=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}}}}.
 
}}
 
}}
{{Fixbox|1=
+
 
{{Fixbox/fix|Update your appropriate video/sound card drivers and version of [[Wikipedia:DirectX|DirectX]]}}
+
===Error 4214 Unsupported===
 +
{{ii}} Fixed in the GOG.com version.<ref>{{Refurl|url=https://www.gog.com/forum/general/mafia_error_4214_unsupported/post12|title=Mafia Error #4214 Unsupported, page 1 - Forum - GOG.com|date=2021-06-07}}</ref>
 +
 
 +
{{Fixbox|description=Install [[DirectPlay]]|ref=<ref>{{Refurl|url=https://www.gog.com/forum/mafia/error_4214|title=Error: #4214 - Forum - GOG.com|date=9 June 2023}}</ref>}}
 +
 
 +
{{Fixbox|description=Copy {{file|{{p|syswow64}}\dpnhpast.dll}} to {{folder|{{p|game}}}}|ref={{cn|date=October 2017}}|fix=
 +
{{ii}} If you don't have such dll in your {{folder|{{p|syswow64}}}}, install DirectX.
 
}}
 
}}
  
 
===Error 8815 Generic===
 
===Error 8815 Generic===
{{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|Update your appropriate video/sound card drivers and version of [[Wikipedia:DirectX|DirectX]]|<ref>[https://web.archive.org/web/20100727162053/http://forums.gamespy.com/tech_support_forum/b48291/4654022/p1/ need serious help - ForumPlanet (retrieved)]</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==
 +
===API===
 +
{{API
 +
|direct3d versions      = 8.1
 +
|direct3d notes        =
 +
|directdraw versions    =
 +
|directdraw notes      =
 +
|opengl versions        =
 +
|opengl notes          =
 +
|glide versions        =
 +
|glide notes            =
 +
|software mode          =
 +
|software mode notes    =
 +
|mantle support        =
 +
|mantle support notes  =
 +
|vulkan versions        =
 +
|vulkan notes          =
 +
|dos modes              =
 +
|dos modes notes        =
 +
|shader model versions  =
 +
|shader model notes    =
 +
|windows 32-bit exe    = true
 +
|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 =
 +
}}
 +
 
 +
===Middleware===
 +
{{Middleware
 +
|physics          =
 +
|physics notes    =
 +
|audio            =
 +
|audio notes      =
 +
|interface        =
 +
|interface notes  =
 +
|input            =
 +
|input notes      =
 +
|cutscenes        = Bink Video
 +
|cutscenes notes  = 1.5p
 +
|multiplayer      =
 +
|multiplayer notes=
 
}}
 
}}
{{Fixbox|1=
+
 
{{Fixbox/fix|Input your actual screen resolution and refresh rate in the Setup launcher|ref=<ref name="web.archive.org"/>}}
+
===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).
 
}}
 
}}
{{Fixbox|1=
+
 
{{Fixbox/fix|Change screen resolution and/or refresh rate in the game launcher|ref=<ref>[http://forummafieuso.free.fr/forum/viewtopic.php?f=15&t=146 error : #8815 Generic - Forum Bar Mafieuso]</ref>}}
+
===Restore original music (digital versions)===
 +
{{--}} Licensed music tracks have been removed from the digital versions.<ref name="release"/>
 +
{{ii}} All GOG.com copies are affected. Steam copies activated before November 2017 re-release keep licensed music as [https://steamdb.info/app/746460/ DLC].
 +
{{Fixbox|description=Download audio files from the original game|ref=<ref>{{Refcheck|user=Jigen123|date=2023-05-10|comment=}}</ref>|fix=
 +
# Download the files from [https://archive.org/details/mafia-sounds Archive.org].
 +
# Unpack the files to {{folder|{{p|game}}}} and overwrite when prompted.
 
}}
 
}}
 +
 +
===Modifications===
 +
{{mm}} [https://github.com/ThirteenAG/MafiaWaterShaderMod Mafia Water Shader Mod] (updated) - Makes water reflect and refract on the city; there is also a simplified Fresnel effect.
 +
{{mm}} [https://github.com/ThirteenAG/XboxRainDroplets#mafia-the-city-of-lost-heaven Xbox Rain Droplets] - Basic implementation of Xbox rain droplets from [https://github.com/aap/skygfx SkyGFX] for other games.
 +
{{mm}} [https://www.moddb.com/mods/footpath-road-mod Footpath & Road Mod] - Changes roads, sidewalks and parking textures to be better and more realistic. Requires [https://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 MafiaDataXtractor] to extract {{code|maps}} folder to Mafia folder.
 +
{{mm}} [https://www.moddb.com/mods/community-modpack/downloads/mafia-community-modpack Mafia Community Modpack] - Collection of carefully chosen graphic mods improving the game visuals, maintaining the game atmosphere.
 +
{{mm}} [https://www.moddb.com/mods/mafia-retextured Mafia Retextured] - Changes textures to the higher quality counterparts, remade from the scratch, but retain the atmosphere of the original ones.
 +
{{mm}} [https://mafiatown.pl/busy-mod,plik,99.html Busy Mod] - More traffic, more pedestrians and therefore a more crowded city. Vehicles can now have passengers inside.
 +
{{mm}} [https://mafiatown.pl/high-quality-characters-mod,plik,23.html High quality characters mod] - There are two types of character models in the game. Detailed, which we see in all cutscenes and the ordinary ones that we have the opportunity to admire during normal gameplay. The modification replaces those visible during the game with those visible in cutscenes.
 +
{{mm}} [https://mafiatown.pl/interface-renovation,plik,7.html Interface renovation] - The modification improves the quality of fonts and the arrangement of some menu items. Polish language version of the game required (although it is possible that it also works with English) and patch 1.2
 +
{{mm}} [https://mafiatown.pl/updated-interface,plik,70.html Updated interface] - Interface textures created from scratch in high quality.
  
 
==System requirements==
 
==System requirements==
Line 307: Line 576:
 
|OSfamily = Windows
 
|OSfamily = Windows
  
|minOS    = 98, ME, XP
+
|minOS    = 98, 98 SE, ME, 2000, XP
|minCPU  = Pentium III 500 MHz or equivalent
+
|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
|minGPU  = 32 MB
+
|minGPU  =
 +
|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
 +
|recCPU2  = AMD Athlon 700 MHz
 
|recRAM  = 128 MB
 
|recRAM  = 128 MB
|recCPU   = Pentium III 700 MHz or equivalent
+
|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}}

Revision as of 07:43, 24 March 2024

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

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

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

General information

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

Availability

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

Essential improvements

Patches

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

Skip intro videos

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

Game data

Configuration file(s) location

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

Save game data location

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

Save game cloud syncing

System Native Notes
GOG Galaxy
Steam Cloud

Video

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

Graphics feature State WSGF Notes
Widescreen resolution
Vert- on digital distribution version. HUD is stretched. Use Mafia Widescreen Fix.[8]
Multi-monitor
Use Mafia Widescreen Fix.[8]
Ultra-widescreen
Native Hor+ support on digital distribution version (strange because 16:9 is Vert-). HUD is correct but FMVs are 4:3 and aligned on left of screen. Use Mafia Widescreen Fix to correct.[8]
4K Ultra HD
Vert- on digital distribution version. HUD is stretched. Use Mafia Widescreen Fix.[8]
Field of view (FOV)
See the WSGF entry.
Windowed
Borderless fullscreen windowed
Use Mafia Widescreen Fix.[8]
Anisotropic filtering (AF)
See the glossary page for potential workarounds.
Anti-aliasing (AA)
2x or 4x FSAA. MSAA can be forced in the graphics card control panel.
High-fidelity upscaling
See the glossary page for potential workarounds.
Vertical sync (Vsync)
Vsync and triple buffering are available. Use Mafia Widescreen Fix or D3D8to9 to work on Windows 10.[7]
60 FPS
120+ FPS
Frame rate is capped at 63 FPS. See High frame rate.
High dynamic range display (HDR)

High frame rate

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

Notes

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

Input

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

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

Analog control when using SteamInput

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

Audio

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

Localizations

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

VR support

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

Issues fixed

Game doesn't start/Settings aren't saved

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

Game crashes on startup (GOG.com)

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

Flickering shadows

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

Controller deadzone issues

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

No fullscreen mode on Windows 10

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

Free Ride Extreme frame rate bugs

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

Red blocks/black lines on screen

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

Sky is corrupted

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

Error 4205 Generic

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

Error 4214 Unsupported

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

Error 8815 Generic

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

Low and unstable frame rate when sound is enabled

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

Other information

API

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

Middleware

Middleware Notes
Cutscenes Bink Video 1.5p

Increase draw distance

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

Restore original music (digital versions)

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

Modifications

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

System requirements

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


Notes

  1. SafeDisc retail DRM does not work on Windows 10[2] or Windows 11 and is disabled by default on Windows Vista, Windows 7, Windows 8, and Windows 8.1 when the KB3086255 update is installed.[3]
  2. The patch installation program lists the version number as 1.3.[6]
  3. 3.0 3.1 Notes regarding Steam Play (Linux) data:
  4. 4.0 4.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References

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