DOA5LR ToolBox - trainers that write and read memory addresses

Post gaming related scripts
User avatar
WAZAAAAA
Posts: 75
Joined: 13 Jan 2015, 19:48

DOA5LR ToolBox - trainers that write and read memory addresses

22 Oct 2016, 19:47

DeadOrAutohotkey + Frame counter + Character unlocker tools for Dead or Alive 5 Last Round PC Steam version.

These 3 tools can be used as examples by those who want to create basic game hacking trainer tools with graphical interfaces using AHK. I used classMemory.ahk to achieve it, a fabulous memory reading/writing wrapper (or library/class) written by fabulous RHCP, which is basically AutoHotkey's (better) response to AutoIt's NomadMemory.au3. The game in question has also recently turned free-to-play, so they can actually be tested by anyone.

DeadOrAutohotkey is a fighting game bot created to beat opponents in DOA5LR with no user interaction. It reads the memory of the game process every 2 milliseconds in order to understand what's happening, and then reacts by inputting the proper keyboard response according to what the opponent is doing. You can think of it like playing against a rock-paper-scissors robot which instantly recognizes what you do, and beats it.
Frame Counter is a tool used to display accurate frame counters. It retrieves various hidden internal game memory addresses not displayed within the regular in-game Move Details option.
Character Unlocker allows you to manipulate character selection through memory writing (like a CE trainer) and temporarily unlock any non-playable or locked character.

Other functions and approaches employed that some people may find useful:
- attempts to launch as admin (this check supports every OS, both compiled and non-compiled scripts) and throws an informative MsgBox in case of failure. It's contained at the top of the 3 main scripts
- contains various speed optimizations (settings.ahk) aimed to make the script's timing faster and more precise, the methods are explained in this other thread: https://autohotkey.com/boards/viewtopic.php?f=6&t=6413
- almost every Send command uses scan codes instead of "regular" keys (combos.ahk). This ensures universal compatibility with all keyboard language layouts, pretty important if you're going to distribute your tools globally. Just one example: a French keyboard has AZERTY, English has QWERTY, but the scan codes for A/Q are the same for both (Send {SC010}), here's a simple script made by SKAN to check them: http://www.autohotkey.com/board/topic/2 ... -of-a-key/
- ternary simultaneous SetTimer loops on a GUI that don't waste CPU cycles while OFF, used to simulate the "freeze value" function of Cheat Engine

PREVIEWS:
ImageImageImage

VIDEOS:
DeadOrAutohotkey > https://www.youtube.com/watch?v=_QypmRf5Yzo
Character unlocker > https://www.youtube.com/watch?v=gYgg6FHCek4

DOWNLOAD:
http://www.mediafire.com/file/t5nmmfzsi1x51x1
additional information: http://www.freestepdodge.com/threads/do ... lbox.6559/
Last edited by WAZAAAAA on 15 Nov 2016, 14:07, edited 2 times in total.
YOU'RE NOT ALEXANDER
User avatar
SnowFlake
Posts: 368
Joined: 28 Apr 2015, 05:41
Google: floowsnaake
GitHub: floowsnaake
Contact:

Re: DOA5LR ToolBox - trainers that write and read memory addresses

28 Oct 2016, 14:20

very nice work!
:yawn:
User avatar
WAZAAAAA
Posts: 75
Joined: 13 Jan 2015, 19:48

Re: DOA5LR ToolBox - trainers that write and read memory addresses

15 Nov 2016, 14:06

15/November/2016 - version 1.1
- (ALL TOOLS) added compatibility with the Ver.1.09 update
- (ALL TOOLS) code fixes: process priority reduced from High to AboveNormal, modified the admin rights checker code to be more automated, moved the game process variable to addresses.ahk and renamed it from "doa5lr" to the more generic "TargetProcess"
- (CHARACTER UNLOCKER) fixed the checkboxes to work properly

More details about the recent admin checker code written by lexikos can be found here https://autohotkey.com/boards/viewtopic ... &start=180
YOU'RE NOT ALEXANDER

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 10 guests