Mafia Definitive Edition [Steam]

Upload your cheat tables here (No requests)
Post Reply
User avatar
sub1to
Cheater
Cheater
Posts: 47
Joined: Sat Aug 01, 2020 9:37 pm
Reputation: 87

Mafia Definitive Edition [Steam]

Post by sub1to »

I quickly threw this together yesterday, haven't organized the scripts etc. I might do so if nobody else releases a table (or updates this one)
Inf ammo in clip applies to all weapons, so also the weapons of your enemies. I don't know if this is also the case for regular inf ammo. Inf health seems to work fine.
I would recommend you only use inf ammo and inf health.
mafiadefinitiveedition.CT
(11.55 KiB) Downloaded 1408 times


How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1

User avatar
kay0
Fearless Donors
Fearless Donors
Posts: 65
Joined: Sat Apr 20, 2019 11:33 pm
Reputation: 25

Re: Mafia Definitive Edition [Steam]

Post by kay0 »

Thank you for sharing!

User avatar
l0wb1t
Table Makers
Table Makers
Posts: 395
Joined: Mon May 29, 2017 4:16 pm
Reputation: 282

Re: Mafia Definitive Edition [Steam]

Post by l0wb1t »

Seems to be there is also a hidden Cheat Menu like in the Other Titles

Code: Select all

mafiadefinitiveedition.exe+2FCA7EC - 48 8D 15 3DACEF01     - lea rdx,[mafiadefinitiveedition.exe+4EC5430] { ("GetCheatList") }

chrisreddot3
Expert Cheater
Expert Cheater
Posts: 461
Joined: Sun Mar 24, 2019 1:38 am
Reputation: 82

Re: Mafia Definitive Edition [Steam]

Post by chrisreddot3 »

No car damage and easy race win pls

User avatar
SunBeam
Administration
Administration
Posts: 4932
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4630

Re: Mafia Definitive Edition [Steam]

Post by SunBeam »

l0wb1t wrote:
Sun Sep 27, 2020 11:52 pm
Seems to be there is also a hidden Cheat Menu like in the Other Titles
Yup, been looking at that in my analysis :)

Scaredcat
Expert Cheater
Expert Cheater
Posts: 56
Joined: Fri Jul 24, 2020 5:02 am
Reputation: 32

Re: Mafia Definitive Edition [Steam]

Post by Scaredcat »

sub1to wrote:
Sun Sep 27, 2020 1:18 pm
Inf ammo in clip applies to all weapons, so also the weapons of your enemies. I don't know if this is also the case for regular inf ammo.

mafiadefinitiveedition.CT
yup, it was like that when I was hacking GTA games like vice city, gta 3 too. the ammo is a shared instruction for player and enemies and you would probably need to do a compare to make it proper. but i mean not that it matters anyway right. nobody just stands and waits for and lets enemies empty their entire gun ammunition on you. they're dead before you know it xD

User avatar
l0wb1t
Table Makers
Table Makers
Posts: 395
Joined: Mon May 29, 2017 4:16 pm
Reputation: 282

Re: Mafia Definitive Edition [Steam]

Post by l0wb1t »

SunBeam wrote:
Mon Sep 28, 2020 11:22 am
Yup, been looking at that in my analysis :)
Already tried to force enable the menu, by patching some checks , since the code at this point never gets executed. This is not where i am that good. haha but im sure you get that to work :D
Still working on a Proper No Reload atm

Possible more Proper No Reload Way

Code: Select all

aobscanmodule(_GetPlayerAmmoBase,mafiadefinitiveedition.exe,41 8B 40 04 41 3B C2)
The Instruction there accesses to your Total Ammo you can rerload into your gun. If you check what Values go thru you will notice only your Players Weapon Ammo. So far so good. if you set a BP and it breaks, check the registers. and compare them against your Ammo in Clip (set a bp on that aswell and save the result)
i came up with comparing RCX and RSI against RDI, RPB and RCX
which gives me, AFTER I RELOAD my gun No Reload.
Image

Code: Select all

aobscanmodule(_NoReload2,mafiadefinitiveedition.exe,41 8B 40 18 48 8B 5C 24 30)
Usage GetPlayerAmmoBase

Code: Select all

...
  mov [_pPlayerAmmo],rsi
    mov [_pPlayerAmmo2],rcx
  mov eax,[r8+04]
  cmp eax,r10d
....

Usage inside No Reload Script
Note: Somehow the game exchanges the Register Values sometimes, to circumvict that i added a Loop that is checking through the affected registers..

Code: Select all

....
NoReload2Mem:
cmp rbp,[_pPlayerAmmo]
jne Check1
mov [_pAmmoBase],r8
cmp [_enableNoReload],1
jne codeNoReload2
mov [r8+18],#999
Check1:
cmp rbp,[_pPlayerAmmo2]
jne Check2
mov [_pAmmoBase],r8
cmp [_enableNoReload],1
jne codeNoReload2
mov [r8+18],#999
Check2:
cmp rcx,[_pPlayerAmmo]
jne Check3
mov [_pAmmoBase],r8
cmp [_enableNoReload],1
jne codeNoReload2
mov [r8+18],#999
Check3:
cmp rcx,[_pPlayerAmmo2]
jne Check5
mov [_pAmmoBase],r8
cmp [_enableNoReload],1
jne codeNoReload2
mov [r8+18],#999
Check5:
cmp rdi,[_pPlayerAmmo]
jne Check6
mov [_pAmmoBase],r8
cmp [_enableNoReload],1
jne codeNoReload2
mov [r8+18],#999
Check6:
cmp rdi,[_pPlayerAmmo2]
jne codeNoReload2
mov [_pAmmoBase],r8
cmp [_enableNoReload],1
jne codeNoReload2
mov [r8+18],#999
codeNoReload2:
  mov eax,[r8+18]
  mov rbx,[rsp+30]
  jmp returnNoReload2
....

Post Reply

Who is online

Users browsing this forum: Google Adsense [Bot], kisskhan, Lep, smjm75, streifer, wahyu888