Page 1 of 1

Doom 2016 Armor pointers?

Posted: Sun Mar 22, 2020 7:24 am
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....

Re: Doom 2016 Armor pointers?

Posted: Tue Mar 24, 2020 5:09 pm
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

Re: Doom 2016 Armor pointers?

Posted: Tue Mar 24, 2020 9:57 pm
by krul
Vampty, do you know how to get quad damage and speedboost pickup spawn in Doom 2016?