This page is for the remake of Mafia. For the original game, see Mafia.
Mafia: Definitive Edition is a singleplayer third-person action game in the Mafia series. The game is a full remake of the 2002 Mafia game that contains new gameplay, script, cutscenes and features,[2] and is remade by Hangar 13 and published by 2K Games.
The release date of the game was first set to August 28, 2020, later moved to September 25.[3] Pre-ordering Mafia: Definitive Edition granted an exclusive gun, skin and a car for the game, as well as skins for Mafia II: Definitive Edition and Mafia III: Definitive Edition.
Owning either Mafia II: Definitive Edition or Mafia III: Definitive Edition unlocks an outfit and a car inspired by the protagonists of the games.
General information
- GOG.com Community Discussions for game series
- GOG.com Support Page
- Steam Community Discussions
Availability
- Denuvo Anti-Tamper DRM was removed on September 23, 2021.[4]
Microtransactions
Essential improvements
Skip intro videos
Use a modified _logo_2k_h13_bullet.bik file[citation needed]
|
- Download this file.
- Paste
sds_retail from the downloaded file into <path-to-game> , replacing the file when prompted.
Notes
- The audio from the intro will still play.
|
Patch the game with hex edit[7]
|
- Open
mafiadefinitiveedition.exe with a hex editor such as HxD.
- Press Ctrl+F and set Datatype to Hex-values.
- Search for
43 5F 53 70 6C 61 73 68 53 63 72 65 65 6E 73 53 74 61 74 65 00 00 00 00 2F 76 69 64 65 6F 2F 5F 6C 6F 67 6F 5F 32 6B 5F 68 31 33 5F 62 75 6C 6C 65 74 2E 62 69 6B 00 00 49 6E 74 72 6F 5F 4C 6F 67 6F
- Replace the value above with 0's, like this:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
- (Optional) Delete
<path-to-game>\sds_retail\video\_logo_2k_h13_bullet.bik .
Notes
- With this method, the audio from the intro won't play.
|
Skip launcher
Linux (Proton): Use the eval $(echo "%command%" | sed "s/2KLauncher\/LauncherPatcher.exe'.*/mafiadefinitiveedition.exe'/") command line argument on Steam[citation needed]
|
Game data
Configuration file(s) location
Save game data location
Video
Default FOV of 65 at 16:9
Default FOV of 65 at 21:9
Default FOV of 65 at 48:9
Film grain
Remove files that are responsible for film grain effect
|
- Go to
<path-to-game>\edit\maps\engine\ .
- Delete or move
bluenoise and color_grain.dds .
|
Input
Map Extended Mouse Buttons
- The game UI does not allow a user to map any controls to Mouse 4 (Back Button) and Mouse 5 (Forward Button).
- This fix can be used to map other keys if the
m_ControlElement
, m_DeviceType
pair for the key is discovered.
Manually edit game input files
|
- Open
%USERPROFILE%\Documents\My Games\Mafia Definitive Edition\Data\<user-id>\profiles\temporaryprofile\gameinputmodule.pf in a text editor, such as Notepad++.
- Navigate to the desired controls by finding the desired
m_Control tag and locating its sibling m_Primary 's a few lines above.
- Modify the
m_Primary 's m_ControlElement value to 403 for Mouse 4 or 404 for Mouse 5.
- Modify the
m_Primary 's m_DeviceType value to 1 .
- Save and close
gameinputmodule.pf and re-open the file in HxD or another hex editor.
- Scroll to the bottom of the file in HxD and delete the last 4 bytes of the file. (Accept the warning about resizing the file from HxD).
- Calculate the CRC-32 checksum of the resulting file. In HxD, navigate to
Analysis > Checksums.. and select CRC-32 as the algorithm and press OK.
- Insert the CRC-32 checksum from the results pane into the file by manually typing the bytes in reverse order. Example: If the CRC-32 result is
B05A4BA1 , then type in A1 4B 5A B0 . Save the file.
Notes
- The Controls UI in-game changes multiple
m_Control 's for certain listed actions suche as "Use". A quick method to determine which m_Control 's map to the UI's action: Backup the gameinputmodule.pf file to and rename to gameinputmodule.pf.old . In-game, remap the action to a spare key and quit the game. Compare gameinputmodule.pf.old and gameinputmodule.pf files using a differencing tool such as the Compare plugin in Notepad++.
- Mapping controls to Mouse 4 or Mouse 5 will cause the UI no longer display the hovering suggestion for that action as the game does not have an icon to represent that button.
- You can also use this Python script to update the CRC-32 checksum.
|
Audio
Audio feature |
State |
Notes |
Separate volume controls |
|
Master, Music, Dialogue, SFX, and Cinematics. |
Surround sound |
|
[13] |
Subtitles |
|
|
Closed captions |
|
|
Mute on focus lost |
|
|
Royalty free audio |
|
Cutscenes are interlaced with licensed music. |
Localizations
Language |
UI |
Audio |
Sub |
Notes |
English |
|
|
|
|
Simplified Chinese |
|
|
|
|
Traditional Chinese |
|
|
|
|
Czech |
|
|
|
|
French |
|
|
|
|
German |
|
|
|
|
Hungarian |
|
|
|
Fan translation, download. |
Italian |
|
|
|
|
Japanese |
|
|
|
|
Korean |
|
|
|
|
Polish |
|
|
|
|
Brazilian Portuguese |
|
|
|
|
Russian |
|
|
|
|
Spanish |
|
|
|
|
Latin American Spanish |
|
|
|
|
Arabic |
|
|
|
Fan translation, Arabic Subtitles. |
Issues fixed
Run the game at screen refresh rate in fullscreen
- The game ignores Windows settings and forces 60 Hz while in fullscreen as long as it's supported by the monitor.
Run at default monitor refresh rate with this Mafia: Definitive Edition ReShade custom build
|
- Download ReShade Mafia fullscreen fix (dxgi.dll).
- Copy the file to
<path-to-game> .
Notes
- When going fullscreen, the game will run at the currently set default refresh rate.
- Supports every other ReShade feature.
|
Run at default monitor refresh rate using W4RH4WK's Sekiro Refresh Rate Fix
|
- Download Sekiro Refresh Rate Fix DLLs.
- Unpack the files to
<path-to-game> .
Notes
- When going fullscreen, the game will run at the currently set default refresh rate.
|
Add Windows 7 Support (Error: xinput1_4.dll missing)
- The game was compiled to use most modern xinput1_4.dll, which is not available for Windows 7. However, it's still possible to use earlier version of XInput library as a workaround.
Windows 7 workaround[14]
|
- Navigate to
C:\Windows\System32 and copy xinput1_3.dll to a different directory.
- Rename newly copied
xinput1_3.dll to xinput1_4.dll .
- Move newly renamed
xinput1_4.dll to <path-to-game>\pc .
|
Broken cloth physics when limiting frame rate with external tools
- Capping the frame rate externally breaks cloth physics.
Manually edit video profile files
|
- Open the
%USERPROFILE%\Documents\My Games\Mafia Definitive Edition\Data\<user-id>\profiles\temporaryprofile\profile_videosettings.pf in a text editor, such as Notepad++.
- Modify the
<m_FPS>2</m_FPS> value to <m_FPS>0</m_FPS> for a 30 FPS lock.
- Save and close
profile_videosettings.pf and re-open the file in HxD or another hex editor.
- Scroll to the bottom of the file in HxD and delete the last 4 bytes of the file. (Accept the warning about resizing the file from HxD).
- Calculate the CRC-32 checksum of the resulting file. In HxD, navigate to
Analysis > Checksums.. and select CRC-32 as the algorithm and press OK.
- Insert the CRC-32 checksum from the results pane into the file by manually typing the bytes in reverse order. Example: If the CRC-32 result is
B05A4BA1 , then type in A1 4B 5A B0 . Save the file.
Notes
- Altering video settings from the in-game menu will reset the default value. Set the file to read only (right click, Properties, Read-only, under attributes) to prevent this.
|
Other information
API
Technical specs |
Supported |
Notes |
Direct3D |
11 |
|
Executable |
32-bit |
64-bit |
Notes |
Windows |
|
|
|
Middleware
Mods
System requirements
Windows |
|
Minimum |
Recommended |
Operating system (OS) |
10 | |
Processor (CPU) |
Intel Core i5-2550K 3.4 GHz AMD FX-8120 3.1 GHz |
Intel Core i7-3770 3.4 GHz AMD FX-8350 4.0 GHz |
System memory (RAM) |
6 GB |
16 GB |
Hard disk drive (HDD) |
50 GB | |
Video card (GPU) |
Nvidia GeForce GTX 660 AMD Radeon HD 7870 DirectX 11 compatible
| Nvidia GeForce GTX 1080 AMD Radeon RX 5700 |
- A 64-bit operating system is required.
Notes
- ↑ 1.0 1.1 Notes regarding Steam Play (Linux) data:
References