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.

Join the Conversation

Hot Right Now

Game Critics Awards 2016 Nominees List

Game Critics Awards 2016 Nominees List: Battlefield 1 Gets Five, Zelda…

Like every year before it, the Game Critics Awards 2016 nominees list has also been revealed by the...

by   /   4 hours ago
Female Video Game Players

Report: Study Finds Female Video Game Players Are As Badass as Males

Despite not being as many as the males, female video game players exist in large numbers, but there...

by   /   7 hours ago
God of War Graphics

God of War Graphics Compared With GOW3 Remastered; Shows How Far We Ha…

We will start talking about the God of War graphics comparison in a while, but first, did you know...

by   /   9 hours ago
For Honor Single Player Gameplay

Could For Honor be the Next Big IP For Ubisoft?

Announced back at E3 2015, For Honor claims to have finally cracked the art of swordfighting in...

by   /   1 week ago
Titanfall 2 Titans Ion Scorch Ronin

Prepare Yourself for Titanfall 2 Titans Ronin, Scorch and Ion; All Det…

We are waiting eagerly to get inside the Titanfall 2 Titans ever since Respawn Entertainment has...

by   /   1 week ago
Load More