CheatMaker 论坛

注册

 

发新话题 回复该主题

[LUA]Dosbox base finder [复制链接]

1#
CE作者的脚本.此脚本会注册 dosbox 模拟内存的基址,支持 Windows 和 Linux
https://forum.cheatengine.org/viewtopic.php?t=624001

This script will register the base address of the emulated memory in dosbox. Version independent. Works on windows and linux

Code:

local ms=createMemScan()

ms.ScanValue='IBM COMPATIBLE'
ms.VarType=vtString

ms.ScanWritable='scanInclude'
ms.ScanExecutable='scanExclude'
ms.ScanCopyOnWrite='scanExclude'
ms.scan()

local r=ms.Results

ms.destroy()


if #r==1 then
  registerSymbol('base',r[1]-0xfe00e)
else
  --needs more refining
    print("needs more refining")
end
--scan for "IBM COMPATIBLE"
分享 转发
我来人间一趟 奔着自由与光
TOP
发新话题 回复该主题