How to Customize Mafia 2 Controls Using AutoHotKey

By   /   6 years ago

Let’s consider an age old situation, that you are an old hardcore FPS fan from the days of Wolfenstein and Doom, using ASD and RMB for movement.
You still use the same configuration and are pretty disappointed with Mafia 2, not offering any option to map keys of your choice.
What can be done to have you playing with your native FPS controls ? AutoHotKey has the answer.

You can pretty much map any key for the game using application by following the guide below.

Step 1
Create a text file and name it ‘Mafia 2.ahk’.

Step 2

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#InstallMouseHook
#InstallKeybdHook

#IfWinActive ahk_class Mafia II
RButton::Up

Paste the above code in this text file and save the file.

Step 3
Install AutoHotKey application and double click this script file you just created.

RMB has been mapped to forward in Mafia II.

You can read the AutoHotKey Quick Start Tutorial to work out all the possibilities.

Featured Videos

Join the Conversation

Hot Right Now

Video Game Remasters

Untold Stories of Video Game Remasters – the Good, Bad, and Ugly

In today’s video, we discuss something subjective – are video game remasters good or bad? And...

by   /   2 weeks ago
Video Game Villains

Top 10 Invincible Video Game Villains Who Just Won’t Die, No Matter …

We all are accustomed with video game villains and the story usually concludes with the fall of...

by   /   1 month ago
Panasonic 3DO

Top-10 Retro Consoles You Never Knew Existed

Video gaming has come a long way! While we are well-acquainted with the likes of Xbox Scorpio and...

by   /   1 month ago
Insanely Priced Retro-Games

Top-10 Insanely Priced Retro Games

It goes without saying that video gaming is a luxury and an expensive hobby. While most of the...

by   /   1 month ago
Video Games Past

Why Some Video Games Should Let Go of Their Past

We all have favorite video games franchises that we so dearly love the way they are and yet we also...

by   /   2 months ago
Load More