
Once you have that pointer to that base address, you're halfway there.


In other words, pcsx2 should have a static pointer, that points to that address. However, since the emulator obviously needs to know where that base address is, that address works no differently than any other value you use Cheat Engine for. Even worse, since the base memory is stored in dynamic memory, even the game's static memory will change location, from Cheat Engine's perspective. Cheat Engine can easily attach to the emulator's process, but as it can't attach to the game itself, it doesn't know where that game's base memory is. However, when you're talking about an emulator - that emulator basically works as its own OS, with its own processes, that runs in its own memory. Since Cheat Engine attaches to the process, it always knows where that base address is. For most games an apps, Cheat Engine is pretty simple, because it's running in the exact same OS.Īfter all, what makes a value static, is that it always has the same offset to the process' base memory address. The main problem here, is that static pointers, and other static values, are dependent on games and applications that run in the OS. I've not actually worked with memory editing with emulators, so there may be some twists and caveats I'm unaware of.

This process is almost entirely based on both how emulators work, and how memory is used. I wonder if there is a way in a pnach file, making all the cheats that I make by cheat engine, and if yes, then how exactly?Įdit: Now that I've actually used reading comprehension. Pnach files are very comfortable, because they don't require you do anything, but just playing the game and enjoy everything they give you, like infinite health, ammo and etc.

I don't want every time to scan for the values I want to change and inject the same codes over and over again. This is very annoying! I want to save these cheats I make with cheat engine. I have read that it makes many shift operations to calculate the addresses (of memory and assembly). I also auto assemble and inject game's code to cheat, but whenever I load a state or restart pcsx2, all changes I made with my code injection are lost! Even pointer scan, level and reference of Cheat Engine don't work with pcsx2, because this is every complicated emulator. I also use Cheat Engine 6.5 to make even more cheats that do not exist in my pnach files, but this is very annoying to cheat with Cheat Engine, because the memory locations are always changing and moving to another locations every time either I continue playing the game or restart the game or the pcsx2. I am using many pnach files to cheat in many ps2 games and I can play them by using pcsx2 - The best playstation 2 emulator ever!
