Difference between revisions of "Mafia"
From PCGamingWiki, the wiki about fixing PC games
(added alternative method) |
|||
Line 20: | Line 20: | ||
'''Key points''' | '''Key points''' | ||
− | {{--}} | + | {{--}} 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)]]. |
'''General information''' | '''General information''' | ||
Line 35: | Line 35: | ||
==Essential improvements== | ==Essential improvements== | ||
===Patches=== | ===Patches=== | ||
− | {{ii}} | + | {{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. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ===Increase draw distance=== | ||
{{Fixbox|1= | {{Fixbox|1= | ||
− | {{Fixbox/fix| | + | {{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|1= | ||
Line 111: | Line 102: | ||
|windowed notes = | |windowed notes = | ||
|borderless windowed = hackable | |borderless windowed = hackable | ||
− | |borderless windowed notes = | + | |borderless windowed notes = See [[#Borderless fullscreen windowed|Borderless fullscreen windowed]]. |
|anisotropic = hackable | |anisotropic = hackable | ||
|anisotropic notes = Force in the [[Glossary:Anisotropic filtering (AF)#Force anisotropic filtering|graphics card control panel]]. | |anisotropic notes = Force in the [[Glossary:Anisotropic filtering (AF)#Force anisotropic filtering|graphics card control panel]]. | ||
|antialiasing = true | |antialiasing = true | ||
− | |antialiasing notes = 2x or 4x [[FSAA]] | + | |antialiasing notes = 2x or 4x [[FSAA]]. MSAA can be forced in the graphics card control panel. |
|vsync = true | |vsync = true | ||
|vsync notes = On/Off, Triple Buffering supported - On/Off | |vsync notes = On/Off, Triple Buffering supported - On/Off | ||
Line 128: | Line 119: | ||
===[[Glossary:Widescreen resolution|Widescreen resolution]]=== | ===[[Glossary:Widescreen resolution|Widescreen resolution]]=== | ||
{{ii}} The game supports multiple aspect ratios and arbitrary resolutions, but has stretched HUD elements outside 4:3. | {{ii}} The game supports multiple aspect ratios and arbitrary resolutions, but has stretched HUD elements outside 4:3. | ||
− | {{ii}} | + | {{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> |
{{Fixbox|1= | {{Fixbox|1= | ||
− | {{Fixbox/fix|Use [https://thirteenag.github.io/wfp#mafia | + | {{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 | {{++}} 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 [GTA|NFS|MP|OTHER] Widescreen Fixes Pack - GTAForums]</ref> | {{--}} Not compatible with Steam version<ref>[http://gtaforums.com/topic/547841-gtanfsmpother-widescreen-fixes-pack/page-58#entry1067871699 [GTA|NFS|MP|OTHER] Widescreen Fixes Pack - GTAForums]</ref> | ||
Line 149: | Line 140: | ||
{{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. | {{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. | ||
{{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}} Pre-edited <code>scene2.bin</code> files with different values are available from [http://www.wsgf.org/dr/mafia-city-lost-heaven WSGF entry]. | ||
+ | }} | ||
+ | |||
+ | ===[[Glossary:Borderless fullscreen windowed|Borderless fullscreen windowed]]=== | ||
+ | {{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>. | ||
}} | }} | ||
Line 154: | Line 152: | ||
{{Fixbox|1= | {{Fixbox|1= | ||
{{Fixbox/fix|Remove 63 FPS cap|ref={{cn|date=April 2017}}}} | {{Fixbox/fix|Remove 63 FPS cap|ref={{cn|date=April 2017}}}} | ||
− | # Install [https://thirteenag.github.io/wfp#mafia | + | # Install [https://thirteenag.github.io/wfp#mafia Mafia Widescreen Fix]. |
# Open <code>Mafia.WidescreenFix.ini</code>. | # Open <code>Mafia.WidescreenFix.ini</code>. | ||
# Change <code>FPS Limit = 0</code> to the desired frame rate (e.g. <code>FPS Limit = 120</code>). | # Change <code>FPS Limit = 0</code> to the desired frame rate (e.g. <code>FPS Limit = 120</code>). | ||
Line 196: | Line 194: | ||
===[[Controller|Controller support]]=== | ===[[Controller|Controller support]]=== | ||
− | 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 [ | + | 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. |
==Audio settings== | ==Audio settings== | ||
Line 281: | Line 279: | ||
==Issues fixed== | ==Issues fixed== | ||
− | ===Restore original music | + | ===Restore original music (GOG.com)=== |
− | {{--}} | + | {{--}} Licensed music tracks have been removed from the GOG.com version.<ref name="release"/> |
{{Fixbox|1= | {{Fixbox|1= | ||
Line 301: | Line 299: | ||
# Open <code>MafiaDataXtractor.exe</code> and select <code>ab.dta - Music</code> from the list. Wait for the program to extract .ogg files. | # 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. | # 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|1= | ||
+ | {{Fixbox/fix|Set Fullscene antialiasing to "OFF" in <code>setup.exe</code>|ref={{cn|date=October 2017}}}} | ||
+ | {{ii}} MSAA can be forced in the graphics card control panel. | ||
}} | }} | ||
Line 318: | Line 322: | ||
}} | }} | ||
− | ===Red | + | ===Red blocks/black lines on screen=== |
{{Image|Mafiavisualerror1.jpg|Example of the issue}} | {{Image|Mafiavisualerror1.jpg|Example of the issue}} | ||
{{Fixbox|1= | {{Fixbox|1= | ||
{{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>}} | {{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 <code>{{p|game}}\Setup.exe</code> | # 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'. | ||
}} | }} | ||
− | === | + | ===Game always runs with default settings (Steam)=== |
− | {{ii}} Non-English versions of the game have a bugged | + | {{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|1= | {{Fixbox|1= | ||
Line 349: | Line 354: | ||
}} | }} | ||
{{Fixbox|1= | {{Fixbox|1= | ||
− | {{Fixbox/fix|Set | + | {{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. | ||
}} | }} | ||
===Error 4214 Unsupported=== | ===Error 4214 Unsupported=== | ||
{{Fixbox|1= | {{Fixbox|1= | ||
− | {{Fixbox/fix|Copy <code>{{p|syswow64}}\dpnhpast.dll</code> to <code>{{p|game}}\dpnhpast.dll</code> | + | {{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>}} |
+ | }} | ||
+ | {{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 8815 Generic=== | ||
{{Fixbox|1= | {{Fixbox|1= | ||
− | {{Fixbox/fix|Input your actual screen resolution and refresh rate in the Setup | + | {{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=== | ===Exploding Celeste frame rate bug=== | ||
− | {{ii}} The Free Ride Extreme mission '''Exploding Celeste''' is | + | {{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|1= | ||
− | {{Fixbox/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}} This will allow the explosions to go off at a normal rate. | |
}} | }} | ||
===No fullscreen mode on Windows 10=== | ===No fullscreen mode on Windows 10=== | ||
{{Fixbox|1= | {{Fixbox|1= | ||
− | {{Fixbox/fix| | + | {{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=== | + | ===Game doesn't launch, only opens setup (Steam)=== |
{{ii}} On 64-bit systems, the game writes the configuration in the wrong path of the registry | {{ii}} On 64-bit systems, the game writes the configuration in the wrong path of the registry | ||
Line 433: | Line 438: | ||
|multiplayer notes= | |multiplayer notes= | ||
}} | }} | ||
+ | |||
+ | ===Modifications=== | ||
+ | ====[http://www.moddb.com/mods/footpath-road-mod Footpath & Road Mod]==== | ||
+ | {{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. | ||
==System requirements== | ==System requirements== |
Revision as of 01:55, 20 October 2017
This page may require cleanup to meet basic quality standards. You can help by modifying
the article. The discussion page may contain useful suggestions.
Cover image missing, please upload it | |
Developers | |
---|---|
Illusion Softworks | |
Publishers | |
Gathering of Developers | |
2K Games | |
Engines | |
LS3D | |
Release dates | |
Windows | August 28, 2002 |
Mafia | |
---|---|
Mafia | 2002 |
Mafia II | 2010 |
Mafia III | 2016 |
Mafia II: Definitive Edition | 2020 |
Mafia: Definitive Edition | 2020 |
Key points
- Licensed music tracks have been removed from the GOG.com version.[1] See Restore original music (GOG.com).
General information
- MafiaScene.com - Game fan site
- GOG.com Community Discussions
- GOG.com Support Page
- Steam Community Discussions
Availability
Source | DRM | Notes | Keys | OS |
---|---|---|---|---|
Retail | ||||
GOG.com |
Essential improvements
Patches
- Patch 1.3 updates the game to the latest version. Some sources list this patch as version 1.2.
Increase draw distance
Instructions |
---|
Instructions |
---|
Skip intro videos
Instructions |
---|
Game data
Configuration file(s) location
Template:Game data/row
System | Location |
---|---|
Steam Play (Linux) | <SteamLibrary-folder>/steamapps/compatdata/40990/pfx/[Note 1] |
- Stored as a hexadecimal value
Save game data location
Template:Game data/row
System | Location |
---|---|
Steam Play (Linux) | <SteamLibrary-folder>/steamapps/compatdata/40990/pfx/[Note 1] |
Save game cloud syncing
System | Native | Notes |
---|---|---|
GOG Galaxy | ||
Steam Cloud |
Video settings
Widescreen resolution
- The game supports multiple aspect ratios and arbitrary resolutions, but has stretched HUD elements outside 4:3.
- Ultra-widescreen resolutions have HUD issues, misplaced subtitles and left aligned cutscenes by default.[2]
Instructions |
---|
Field of view (FOV)
Instructions |
---|
Borderless fullscreen windowed
Instructions |
---|
High frame rate
Instructions |
---|
Input settings
Controller support
Some users have reported success with using an Xbox 360 Controller but there are often issues with the use of the thumb-sticks.[3] This can be fixed by using a program such as antimicro to rebind controls, using the D-Pad to steer, and disabling the thumb-sticks.
Audio settings
Localizations
Language | UI | Audio | Sub | Notes |
---|---|---|---|---|
English | ||||
Czech | Only retail version | |||
French | ||||
German | ||||
Italian | ||||
Russian | Only available in Russian retail copy | |||
Spanish |
Issues fixed
Restore original music (GOG.com)
- Licensed music tracks have been removed from the GOG.com version.[1]
Instructions |
---|
Instructions |
---|
Game crashes on startup (GOG.com)
Instructions |
---|
In-game settings are not saved correctly in Windows 10
- In Windows 10 settings are loaded from
HKEY_CURRENT_USER\SOFTWARE\Illusion Softworks\Mafia
The config launcher correctly saves in this location but the in-game settings are stored in:HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Illusion Softworks\Mafia
Instructions |
---|
Red blocks/black lines on screen
Instructions |
---|
Game always runs with default settings (Steam)
- 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.
Instructions |
---|
Error 4205 Generic
Instructions |
---|
Instructions |
---|
Instructions |
---|
Error 4214 Unsupported
Instructions |
---|
Instructions |
---|
Error 8815 Generic
Instructions |
---|
Exploding Celeste frame rate bug
- The Free Ride Extreme mission Exploding Celeste is bugged at higher frame rates, causing the bombs to explode earlier than usual.
Instructions |
---|
No fullscreen mode on Windows 10
Instructions |
---|
Game doesn't launch, only opens setup (Steam)
- On 64-bit systems, the game writes the configuration in the wrong path of the registry
Instructions |
---|
Other information
API
Technical specs | Supported | Notes |
---|---|---|
Direct3D | 8 |
Executable | 32-bit | 64-bit | Notes |
---|---|---|---|
Windows |
Middleware
Middleware | Notes | |
---|---|---|
Cutscenes | Bink Video | 1.5p |
Modifications
Footpath & Road Mod
- Changes roads, sidewalks and parking textures to be better and more realistic. Requires MafiaDataXtractor to extract
maps
folder to Mafia directory.
System requirements
Windows | ||
---|---|---|
Minimum | Recommended | |
Operating system (OS) | 98, ME, XP | |
Processor (CPU) | Intel Pentium III 500 MHz | Intel Pentium III 700 MHz |
System memory (RAM) | 96 MB | 128 MB |
Hard disk drive (HDD) | 1.8 GB | |
Video card (GPU) | 32 MB of VRAM DirectX 8.1 compatible |
Notes
- ↑ 1.0 1.1 Notes regarding Steam Play (Linux) data:
- File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data.
- Use Wine's registry editor to access any Windows registry paths.
- The app ID (40990) may differ in some cases.
- Treat backslashes as forward slashes.
- See the glossary page for details on Windows data paths.
References
- ↑ 1.0 1.1 Release: Mafia - GOG.com
- ↑ Mafia 21:9 (Vanilla) - last accessed on 2016-6-29
- ↑ Mafia 1 Xbox 360 controller issues? - Steam Users' Forums (retrieved)
Categories:
- Pages needing cleanup
- Pages needing cover images
- Windows
- Invalid template usage (Infobox game)
- Games
- Invalid template usage (Series)
- Invalid template usage (Availability)
- Invalid template usage (Fixbox)
- Invalid template usage (Save game cloud syncing)
- Invalid section order
- Invalid template usage (API)
- Missing section (Video)
- Missing section (Input)
- Missing section (Audio)