Mafia II: Definitive Edition

From PCGamingWiki, the wiki about fixing PC games

This page is for the remaster of Mafia II. For the original game, see Mafia II.

Mafia II: Definitive Edition
Mafia II: Definitive Edition cover
Developers
Original game 2K Czech
Definitive Edition Hangar 13
Definitive Edition D3T
Publishers
2K Games
Engines
Illusion Engine
Release dates
Windows May 19, 2020
Reception
Metacritic 72
OpenCritic 64
IGDB 61
Taxonomy
Microtransactions None
Modes Singleplayer
Pacing Real-time
Perspectives Third-person
Controls Direct control
Genres Action, Open world, Shooter
Vehicles Automobile
Art styles Realistic
Themes Contemporary, North America, World War II
Series Mafia
Mafia II: Definitive Edition on IGDB
Mafia II: Definitive Edition on Wikipedia
Mafia
Mafia 2002
Mafia II 2010
Mafia III 2016
Mafia II: Definitive Edition 2020
Mafia: Definitive Edition 2020

Mafia II: Definitive Edition is a singleplayer third-person action, shooter game in the Mafia series. The game is a remaster of Mafia II which contains some graphical upgrades, and is remastered by D3T and published by 2K Games.

Mafia II: Definitive Edition was released May 19, 2020 on Steam and later on Epic Games Store on September 25, containing all the DLC from Mafia II. Previous owners of Mafia II on Steam were automatically given this version for free, and the original Mafia II was renamed to Mafia II (Classic) in the Steam Library.

Compared to the original, the game lacks support for Windows 7[1] and Windows XP, although a workaround exists for Windows 7.

General information

Steam Community Discussions

Availability[edit]

Steam purchases grant Mafia II, also known as Mafia II (Classic), for free.

Microtransactions[edit]

Type Notes
Cosmetic Chicago Outfit Pack is offered as a pre-order bonus fo Mafia II: Definitive Edition and Mafia III: Definitive Edition when pre-ordering Mafia: Definitive Edition.
Lincoln's Outfit and Car is offered for owners of Mafia III: Definitive Edition.[2]
Time-limited Chicago Outfit Pack can only be unlocked by pre-ordering Mafia: Definitive Edition.

Essential improvements[edit]

Skip intro videos[edit]

Remove intro files[3]
  1. Go to <path-to-game>\pc\sds\video\.
  2. Remove or rename files d3t.bik and Logos.bik.

Skip launcher[edit]

Launch the game with /nolauncher parameter.[4]

Game data[edit]

Launcher general settings.
Launcher general settings.
In-game general settings.
In-game general settings.

Configuration file(s) location[edit]

System Location
Windows %USERPROFILE%\Documents\My Games\Mafia II Definitive Edition\Data\profiles\<user-id>\settings.xml
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/1030830/pfx/[Note 1]

Save game data location[edit]

System Location
Windows %USERPROFILE%\Documents\My Games\Mafia II Definitive Edition\Saves\<user-id>\
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/1030830/pfx/[Note 1]
Saves from the original game are supported and their migration was fixed in June 18, 2020 patch.[5]
The path for saves cannot contain non-English characters. See Savegame issues.

Save game cloud syncing[edit]

System Native Notes
Epic Games Launcher
Steam Cloud

Video[edit]

Launcher video settings.
Launcher video settings.
In-game video settings.
In-game video settings.

Field of view (FOV)[edit]

Change FOV with Gibbed Tools[10]
  1. Download Illusion Engine Gibbed Tools and extract it somewhere.
  2. Run Gibbed.Illusion.ExploreSDS.exe and click Open SDS.
  3. Go to <path-to-game>\pc\sds\tables\
  4. Open tables.sds.
  5. Click the + beside XML, scroll down to /config/gameCamera/playerCamera and double-click on it.
  6. It contains various camera views (<Stay>, <Sprint>, <Climb>, etc.), each having their own <Fov value="XX" /> parameter listed under their name.
  7. Change the values of those parameters (most are set at 65 or 75) to your desired FOV for that camera. Don't miss the ones under the <Interier> section also.
  8. Click Save, and switch back to the archive via the Windows menu at the top.
  9. The FOV for the various driving views can be changed in the carCameraBumper, carCameraGamepad (chase cam), carCameraHood, and carCameraWheel files, by editing the same <Fov value="XX" /> parameters. Other cameras (cover system, melee, etc.) have their own file as well.
  10. When all files are saved, switch back to the archive and click Save Archive.
  11. Double-click tables.sds and replace it (or make a backup first before replacing).

Input[edit]

In-game control settings.
In-game control settings.
In-game keyboard bindings.
In-game keyboard bindings.

Keyboard and mouse State Notes
Remapping
Home cannot be bound to commands.
Mouse acceleration
Positive acceleration. Can't be turned off.[citation needed]
Mouse sensitivity
Preset based. Very Low/Low/Medium/High/Very High.
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Full controller support
Controller remapping
2 presets available.
Controller sensitivity
Shares the same setting with mouse sensitivity.
Controller Y-axis inversion
Tied to Mouse Look settings.
Controller types
XInput-compatible controllers
Xbox button prompts
Impulse Trigger vibration
DualShock 4 controllers
DualShock button prompts
Use this mod.
Light bar support
Connection modes unknown
Generic/other controllers
Button prompts Input settings icon - Generic Controller.svg
Additional information
Controller hotplugging
Haptic feedback
Simultaneous controller+KB/M

Audio[edit]

Launcher audio settings.
Launcher audio settings.
In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Sound effects, Voices, Music and Radio. Music volume also affects pre-rendered cutscenes.
Surround sound
Stereo, 5.1, 7.1
Subtitles
Closed captions
Mute on focus lost
Depends on Video - Focus Loss Options.

Localizations

Language UI Audio Sub Notes
English
Simplified Chinese
Traditional Chinese
Czech
French
German
Hungarian
Fan translation
Italian
Japanese
Polish
Brazilian Portuguese
Russian
Spanish
Latin American Spanish

Two different languages for Audio and Subtitles[edit]

Game doesn't offer the option to have audio and subtitles in two different languages. Useful if you don't like the dubbing in your language.
Copy text files from your text language to your chosen audio language
  1. In the 2K game launcher, select the language you want as audio language for voice dubbing, then enable subtitles and close the launcher.
  2. Go into the folder "steamapps\common\Mafia II Definitive Edition\pc" and open the "SDS" folder of the language in which you want text and subtitles. For example, "sds_fr" if you want subtitles in french, "sds_it", if you want them in italian, and so on.
  3. After you open the sds folder, open the "text" folder you'll find inside, copy both files (text_credits and text_default) and paste them in "steamapps\common\Mafia II Definitive Edition\pc\sds\text" in the case you set audio language in English, or choose the appropriate folder for audio language you set before.

Issues unresolved[edit]

Infinite loading screen in Stairway to Heaven[edit]

You may encounter an infinite loading screen in the chapter Stairway to Heaven after the cutscene where you pay back Bruno if you raised money by holding up stores.
Restart chapter[11]

Some players have been able to start the following chapter from the main menu but otherwise you must restart the chapter from the main menu and raise money by dropping off cars to Bruski.

This bug is also present in the original version.

FOV changes after loading[edit]

Gameplay FOV may change after loading from a checkpoint or restarting the game and loading into a mission.[12]

Bugged cutscenes[edit]

Characters close their eyes in cutscenes when their eyes are normally suppose to move with some not even moving or blinking at all. Movements are choppier, more robotic and awkward and limbs can clip into the torso of the characters and twist around unnaturally. Cutscenes can even be black with only audio or repeat indefinitely.[citation needed]

Issues fixed[edit]

Cloth APEX PhysX fix workaround[edit]

APEX PhysX effects work properly except the cloth physics in the main game. APEX PhysX works well in the DLCs and with DLC clothing.
Delete CLOTH folder[13]
APEX PhysX particles + standard cloth physics
  1. Go to the in-game video settings.
  2. Set global settings to "high".
  3. Close the game.
  4. Go to <path-to-game>\EDIT\APEX folder.
  5. Back up the CLOTH folder.
  6. Delete the CLOTH folder.
You can now change other video settings to your liking. This will change the preset to "custom". If you change the preset to "low", it will disable APEX PhysX.
You should add it back when you want to play the DLCs.

APEX PhysX debris doesn't last as long as in Mafia II: Classic[edit]

Copy Effects folder from Classic[14]
  1. Download the Effect folder here.
  2. Extrect the .zip file.
  3. Replace the Effect folder in <path-to-game>\EDIT\APEX.
Makes PhysX more demanding.

Flickering fog[edit]

Set Vsync to FAST or ADAPTIVE in Nvidia Control Panel[15]
Nvidia only.

Savegame issues[edit]

The path for saves cannot contain non-English characters.
Use SilentPatch to resolve the issue[16]

Resolution list locked to single monitor (Unable to select certain resolutions)[edit]

In multiple monitor setups, it's possible that game won't let user to select certain resolutions, because one of devices has lower resolution in comparison to others.
For example, with two monitors: 1st - 5:4(1280x1024) and 2nd one 16:9(1920x1080) <- set as main one, user will not be able to render game above 1280x1024. If resolution is set in config file, and it exceeds 1280x1024 game will render game in 640x480.
Disconnect lowest resolution display

Add Windows 7 Support (Error: xinput1_4.dll missing)[edit]

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[17]
  1. Navigate to C:\Windows\System32 and copy xinput1_3.dll to a different directory.
  2. Rename newly copied xinput1_3.dll to xinput1_4.dll.
  3. Move newly renamed xinput1_4.dll to <path-to-game>\pc.

Other information[edit]

API[edit]

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

Middleware[edit]

Middleware Notes
Physics PhysX
Audio FMOD
Cutscenes Bink Video

Mods[edit]

MAFIA II UNCUT RADIO - Restores car radio tracks cut from final game.
REAL CAR NAMES & Chevrolet Bel Air - Adds authenticity.

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) 8.1
Processor (CPU) Intel i5-2500K
AMD FX-8120
System memory (RAM) 6 GB
Hard disk drive (HDD) 50 GB
Video card (GPU) Nvidia GeForce GTX 660
AMD Radeon HD7870
2 GB of VRAM
A 64-bit operating system is required.

Notes

  1. 1.0 1.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>/1030830/ in addition to or instead of this directory. The app ID (1030830) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.
  2. While the release announcement states HDR is supported on PC,[8] no option to enable HDR exists in the game nor does it get enabled automatically when HDR is enabled in Windows.[9]

References

  1. xinput1_4.dll missing - last accessed on 2020-05-20
    "So a 20 year old game does not run with Windows 7?"
  2. Mafia III: Definitive Edition Steam Store page - last accessed on 2020-05-21
    "Own Mafia III: Definitive Edition to unlock Lincoln’s Army Jacket and Car in both Mafia and Mafia II Definitive Editions"
  3. Verified by User:Mastan on 2020-05-20
  4. Verified by User:Suicide machine on 2020-05-20
  5. Mafia Patches: June 18, 2020- Mafia Game - last accessed on 2020-06-21
    "[PC] Addressed a reported concern that legacy saves were sometimes not working on Steam"
  6. Verified by User:Rose on 2020-05-20
    Screenshots taken by switching between 1920x1080, 2560x1080 (native) and 3840x1080, then compared. Additionally compared the first frame of Joe's Adventures to a 16:9 screenshot shared by mastan on Discord.
  7. Verified by User:Rose on 2020-05-20
    Screenshots taken at 2560x1080 and compared to 16:9 images and videos of Definitive Edition found online. Additionally compared to frames of an ultrawide video for further confirmation.
  8. MAFIA II: DEFINITIVE EDITION OUT NOW - last accessed on 2020-08-02
  9. Verified by User:Aemony on 2020-10-11
    Confirmed by using Special K to monitor the swapchain details of the game when launching it on a HDR enabled monitor. The swapchain of the game remains purely in SDR, and so HDR is never engaged by the game.
  10. Mafia II - Modifikationen (Mods): Rick´s ToolSet
  11. https://forums.2k.com/showthread.php?82280-Chapter-14-Pay-Bruno-Back"
  12. Verified by User:Rose on 2020-05-20
    Started Joe's Adventures and took a screenshot of the first scene past the cutscene, clicked on Load last checkpoint from the menu, which resulted in a significant FOV decrease, persisting even after using the wardrobe, until leaving the building. Restarting the game and clicking Continue resulted in increased FOV at the same starting point. Additionally confirmed by mastan on Discord.
  13. Definitive Edition Cloth Physics FIX - last accessed on 2020-05-21
  14. Mafia II Definitive Edition - FIX Physics Clothing, Effects, Flickering Steam/Smoke ❙ Before & After - last accessed on 2020-07-30
  15. Mafia II: Definitive Edition How to Fix Flickering Smoke Bug - last accessed on 2020-07-30
  16. Verified by User:Silent on 2020-06-03
  17. Verified by User:Suicide machine on 2020-05-26