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 II: Definitive Edition"

From PCGamingWiki, the wiki about fixing PC games
Line 430: Line 430:
 
{{Fixbox|description=Set Vsync to FAST or ADAPTIVE in NVidia control panel<ref>{{Refurl|url=https://steamah.com/mafia-ii-definitive-edition-how-to-fix-flickering-smoke-bug/|title=Mafia II: Definitive Edition How to Fix Flickering Smoke Bug|date=2020-07-30|}}</ref>|fix=
 
{{Fixbox|description=Set Vsync to FAST or ADAPTIVE in NVidia control panel<ref>{{Refurl|url=https://steamah.com/mafia-ii-definitive-edition-how-to-fix-flickering-smoke-bug/|title=Mafia II: Definitive Edition How to Fix Flickering Smoke Bug|date=2020-07-30|}}</ref>|fix=
 
{{--}} NVidia only.
 
{{--}} NVidia only.
}}
 
 
===Error: xinput1_4.dll missing===
 
{{ii}} 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.
 
{{Fixbox|description=Windows 7 workaround|ref=<ref>{{Refcheck|user=Suicide machine|date=2020-05-26}}</ref>|fix=
 
# Navigate to {{file|C:\Windows\System32}} and copy {{file|xinput1_3.dll}} to a different directory.
 
# Rename '''newly copied''' {{file|xinput1_3.dll}} to {{file|xinput1_4.dll}}.
 
# Move newly renamed {{file|xinput1_4.dll}} to {{file|{{p|game}}\pc}}.
 
 
}}
 
}}
  

Revision as of 23:58, 8 June 2021

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 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

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

Microtransactions

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

Skip intro videos

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

Launch the game with /nolauncher parameter.[4]

Game data

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

Configuration file(s) location

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

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 can not contain non-English characters. See Savegame issues.

Save game cloud syncing

System Native Notes
Epic Games Launcher
OneDrive
Requires enabling backup of the Documents folder in OneDrive on all computers.
Steam Cloud

Video

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

Field of view (FOV)

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

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
PlayStation controllers
PlayStation button prompts
Use this mod.
Light bar support
Adaptive trigger support
DualSense haptic feedback support
Connection modes
Generic/other controllers
Button prompts Input settings icon - Generic Controller.svg
Additional information
Controller hotplugging
Haptic feedback
Digital movement supported
Simultaneous controller+KB/M

Audio

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

Issues unresolved

Infinite loading screen in chapter 14

You may encounter an infinite loading screen in chapter 14 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 chapter 14 from the main menu and raise money by dropping off cars to Bruski.

Never fixed even with the definitive edition.

FOV changes after loading

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

Bugged cutscenes

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 more choppy, 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

Cloth APEX PhysX fix workaround

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

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

Set Vsync to FAST or ADAPTIVE in NVidia control panel[15]
NVidia only.

Savegame issues

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

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

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

Other information

API

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

Middleware

Middleware Notes
Physics PhysX
Audio FMOD
Cutscenes Bink Video

Mods

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

System requirements

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