I recently started playing Mafia II on Steam. When the game was released for PC in 2010, it supported using an XBOX 360 or Playstation controller. That’s good, but the game features a ridiculous in-game system for controller button prompts.
When the game wants the player to press a given button, it uses generic B1, B2, etc. labels for the buttons rather than the actual controller-specific button labels. I’m not aware of any other game that uses such a screwed up system.
Over the years, different people have apparently created mods for the game that replace these generic prompts with the correct prompts for PS3 and XBOX controllers. Since the game is so old, however, none of those have been updated in years and every single one I tried failed to work with the current version of the game on Steam.
A little Googling led me to this thread, however, which included a post from earlier this month where a user tracked down a mod that still works for the PS3 controller. The user then helpfully modified that mod to also work for the XBOX 360 controller.
That mod worked perfectly for me, and can be downloaded here (I’ve also mirrored the file here just in case). After you download that file and unzip it, you want to find this original file in the Mafia II directory
and replace it with the modded version (backup the original by renaming it to old-gui.sds or something similar).
Then just restart the game, and enjoy the correct button prompts.