forums.PPSSPP.org
ppsspp doesnt support this CWcheat ? 0x2 - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: General Discussion and Announcements (/forumdisplay.php?fid=2)
+--- Thread: ppsspp doesnt support this CWcheat ? 0x2 (/showthread.php?tid=13135)



ppsspp doesnt support this CWcheat ? 0x2 - XenoMonado - 09-09-2014 03:25 AM

i have this cwcheat




other cheat worked but only this one did not, it's a joker command start + triangle

is there a way to make this work ? because 0xD joker commands worked


RE: ppsspp doesnt support this CWcheat ? 0x2 - LunaMoo - 09-09-2014 06:21 AM

It's not a joker command, it's an assembly script sitting in a code cave and it will not even run if not hooked to somewhere in actual game code. This cheat is either not complete or at least you show only part of it which by itself actually does nothing so it not working has nothing to do with code type used which is very simple 32 bit write and works fine.


RE: ppsspp doesnt support this CWcheat ? 0x2 - XenoMonado - 09-09-2014 07:23 AM

i see, here is where i find them


RE: ppsspp doesnt support this CWcheat ? 0x2 - LunaMoo - 09-09-2014 07:54 AM

So this basically is part of the large asm script which is changed by joker code.
To be fast as it is PPSSPP uses JIT = Just-In-Time compilation and the game code is not recompiled when CW cheats change something except when leaving cheat menu. So basically as it is, the cheat does work, but game has no chance to see changes made by it.

There are 3 solutions for that from quick to slow as follows:
- disable JIT(it's the first option under system settings->developer tools),
- modify the cheat to do different things through cheat menu instead of key presses which basically means removing joker code and setting lines under it as separate cheat,
- ask the person that made the code to modify it in a way for asm script to be always same and do different things based on variables changed by joker code instead of changing asm by joker code.

Well, good luck.


RE: ppsspp doesnt support this CWcheat ? 0x2 - XenoMonado - 09-09-2014 08:45 AM

thanks for explanation LunaMoo i love you Big Grin


RE: ppsspp doesnt support this CWcheat ? 0x2 - Henrik - 09-09-2014 09:11 AM

There's another option: In the cheatcw simulation code in PPSSPP, when the cheat is applied and it changes the target memory location (compare with the original value), call MIPSComp::jit->InvalidateCacheAt(addr, 0x40); with some appropriate address. This should make sure that the JIT recompiles that block.


RE: ppsspp doesnt support this CWcheat ? 0x2 - XenoMonado - 09-10-2014 12:10 AM

can you tell me what the differences between these

0x004767A8
0x08E69D74

are they the same ?