Doom 2016 Armor pointers?

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
Icirian
Cheater
Cheater
Posts: 35
Joined: Thu Dec 14, 2017 2:06 am
Reputation: 3

Doom 2016 Armor pointers?

Post by Icirian »

Hello guys,
I'm quite new to hacking usually I just find tables and use those directly.
since there isn't one that would fit my needs, i figure i'll make one.
I tried to look at the address in disassembler and it has a format of

Code: Select all

Movss [rsi+rbx+1c],xmm0 
I've tried searching for rbx, but nothing comes back...
Image
Then I've tried every other variable that looks like a potential address... nothing,
I've tried adding rsi and rbx together then search, still nothing...
I'm really confused as to why that is, and what to do if there are 2 variables in an instruction.
Thanks a bunch!

*I know there are godmod trainers out there, but i need to still be able to pick up items, hence why i want to set it to a value less than full, then freeze it.
so far i've only found out that ammo are 4bytes, hp and armor are float... this is discouraging....

User avatar
VampTY
Table Makers
Table Makers
Posts: 855
Joined: Tue Mar 05, 2019 10:52 am
Reputation: 1171

Re: Doom 2016 Armor pointers?

Post by VampTY »

Regarding movss [rsi+rbx+1c],xmm0 :
- you can try adding // in front, meaning

Code: Select all

// movss [rsi+rbx+1c],xmm0
- you can try to make it like this:

Code: Select all

alloc(armor,4) or alloc(armor,8)
newmem:
movss [armor],xmm0 
jmp return
code:
movss [rsi+rbx+1c],xmm0 
jmp return
- this is a float, then you might try:

Code: Select all

movss [rsi+rbx+1c],xmm0 
mov [rsi+rbx+1c],(float)999
Also you can replace it with db, depending on how many of those 90's you have, nops..example with some AOB

Code: Select all

[ENABLE]
aobscanmodule(armor,GAME.exe,...)
armor:
  db ...
registersymbol(armor)
[DISABLE]
armor:
  db ...
unregistersymbol(armor)
Details:
- first ... is represented by your game's name and the rest
- second ... is calculated with how many of those 90's you have, if you have let's say 7, then you'll add, one nop is 90
db 90 90 90 90 90 90 90
Now to find these 90's click in Memory Viewer on your code and then right click and replace with code that does nothing nothing, then count how many you have and use my example and add them, it's easy.
- third ... is in your code

There's multiple ways to do this, even with cmp or dissect or backtracking and whatnot, i'm not good at explaining, i never played DOOM, well i hope it helps you baby, all the best! :P

krul
Expert Cheater
Expert Cheater
Posts: 104
Joined: Tue Jan 30, 2018 7:11 pm
Reputation: 7

Re: Doom 2016 Armor pointers?

Post by krul »

Vampty, do you know how to get quad damage and speedboost pickup spawn in Doom 2016?

Post Reply

Who is online

Users browsing this forum: No registered users