AppMemory#findAddress
method is currently broken, so you can only initialize
values with pointers right now.
1. Initialize the MemoryEditor which is required by the AppMemory.
MemoryEditor.init();2. Create a new AppMemory for your process. For example:
AppMemory appMemory = new AppMemory("Minecraft.Windows.exe");3. Use the AppMemory to modify values. The following example will modify the FOV in Minecraft Bedrock.
MemoryFloatValue fov = new MemoryFloatValue(Managers.PROCESS.getProcess(), "0585D498", "18", "1A0", "1A8", "10", "8", "968", "18", "28"); System.out.println(fov.readValue()); fov.writeValue(110f);- JNA
- commons-exec