Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cheat Engine and PCSX2 feature request
#1
First of all pcsx2 is a great emulator. Recently I started playing Xenosaga. I wanted to create a script via cheat engine to double my tech points gained. On a PC game it is pretty simple. You just simply find the function and write a new script to replace it. You can't do that with the emulator though because it uses JIT or so I have read. The code just appears as mov ....,edx. I know pcsx2dis exists but it doesn't have the various injection methods that cheat engine uses. I don't see a good way to write a script using it. 

My request is to somehow implement the features from cheat engine into pcsx2. It would scan the code that would be assembled before it actually is instead of after. This would allow script writing I am pretty sure. 

The scan module would not be an issue. It doesn't interrupt the JIT, I think. Script writing might be an issue. If I remember correctly emulator JIT's are optimized so creating a weird jump in the non-JITed code might cause issues or slowdowns.  

 I am pretty sure that you would need permission from the people over at cheat engine but that shouldn't be an issue.

These are running on my assumptions so feel free to correct them.
Reply

Sponsored links

#2
Why are you using cheat engine instead of gameshark codes?
Reply
#3
(04-04-2017, 09:31 PM)Ulblast Wrote: Why are you using cheat engine instead of gameshark codes?
I don't know how to do ASM to gameshark. With scripts, you can edit more values beyond current hp, etc. You can do things like breaking the damage limit in final fantasy. That game has a check that if the damage goes over 9999 it will cap it there. However, if you can find this part of the code with a dissembler, you can change it or remove it if you wish. Another thing you can do is make a general health multiplier. Every time a boss or enemy loads, you can set it to a multiple of what it would normally be. 

In other words, scripts allow a much greater control over what you are doing vs simple hex codes.

Besides, finding functions isn't the same as finding simple values.
Reply
#4
Is your problem that cheat engine is injecting without checking your syntax?
Also I recommend Memory Hacking Software over Cheat Engine (Memory hacking software has a RAM searching feature with a hex editor, and it also has an injection feature but I haven't tried it.) The download comes with a manual if you have any questions about code injection. Also it has a disassembler.
Reply
#5
(04-07-2017, 06:51 AM)DarkZeruda Wrote: Is your problem that cheat engine is injecting without checking your syntax?
Also I recommend Memory Hacking Software over Cheat Engine (Memory hacking software has a RAM searching feature with a hex editor, and it also has an injection feature but I haven't tried it.) The download comes with a manual if you have any questions about code injection. Also it has a disassembler.

CE has all the things you mentioned, and then some.
Intel Core i5-4670K @ 3.40GHz | 16GB (2x8GB) DDR3-1866 G.SKILL Sniper Series
AMD Radeon R9 280 @ 3 GB | 120GB SSD | Windows 7 Ultimate x64 (SP1)
Reply
#6
(04-07-2017, 06:51 AM)DarkZeruda Wrote: Is your problem that cheat engine is injecting without checking your syntax?
Also I recommend Memory Hacking Software over Cheat Engine (Memory hacking software has a RAM searching feature with a hex editor, and it also has an injection feature but I haven't tried it.) The download comes with a manual if you have any questions about code injection. Also it has a disassembler.

I haven't checked this forum for a while. 

That isn't the problem. I figured out part of it. If you scroll up a bit in certain games you can find the function that controls addition, etc. However, the functions that will cap damage, hp, etc elude me.

it usually presents a mov[register],eax or that backwards. You can't shl the eax or the pointer because it will produce a weird result. There are workarounds but it would be a lot easier if it had native support.
Reply




Users browsing this thread: 1 Guest(s)