Code:
#include <string.au3>
$file = "func.au3"
$tabelka = ClipGet()
$x = 0
If StringInStr($tabelka, "<CheatTable>") Then
$baseaddress = _StringBetween($tabelka, "<Address>", "</Address>")
$baseaddress = $baseaddress[1]
$desc = _StringBetween($tabelka, "<Description>", "</Description>")
$offset = _StringBetween($tabelka, "<Offset>", "</Offset>")
FileDelete($file)
FileWriteLine($file, "Func Read_"&$desc[0]&"($pid)")
FileWriteLine($file, " Global $Offset1["&UBound($offset) + 1&"]")
FileWriteLine($file, " $Offset1[0] = 0")
For $s=UBound($offset) - 1 to 0 Step -1
$x += 1
FileWriteLine($file, " $Offset1["&$x&"] = Dec('"&$offset[$s]&"')")
Next
FileWriteLine($file, " $openmem = _MemoryOpen($pid)")
FileWriteLine($file, " $Value = _MemoryPointerRead("&"0x"&$baseaddress&", $openmem, $Offset1)")
FileWriteLine($file, " _MemoryClose($openmem)")
FileWriteLine($file, " Return $Value[1]")
FileWriteLine($file, "EndFunc")
Else
MsgBox(0, "Błąd!", "W schowku nie ma tabeli cheatengine!")
EndIf
I make this script.
This convert cheattable to nomadmemory script