Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Only the topmost cheat works
04-06-2016, 04:43 PM
Post: #1
Only the topmost cheat works
Hello guys, I've been having this issue with self-made cheats. They used to work fine on my PSP before, but not anymore - neither on the PSP nor in PPSSPP. I suspect it's something of a formatting problem, since only the first cheat works.

Here's a screen:
drive.google.com/file/d/0B9bZSECJYaH2QXpvNFpseVdXaVk/view?usp=sharing.

Also, the problem is not the blank lines between every cheat, I tested with and without them.
Find all posts by this user
Quote this message in a reply
04-06-2016, 07:16 PM
Post: #2
RE: Only the topmost cheat works
As for formatting, you're skipping/allowing 0x1D lines by first two checks in each cheat, this is incorrect since your cheats are much shorter, through both PPSSPP and PSP plugins would recognize that mistake and it wouldn't really break anything.

Problem is not with any of the cheats, but with your thinking. You're writing to the same addresses in every single of those "cheats" which naturally means only one of them will work when you have them all turned on. Normally that would mean only last could work, however in each of those cheats you also check same addresses for different values before writing anything which means only the cheat that matches the check could ever work doesn't matter if it's last, first or any of the middle ones, that's normal and means it's working as it should when first of the cheats matches the condition.
So yeah the only problem in all of that is that you somehow made those cheats without understanding what you're doing and expect something impossible to happen.

For cheats like that to ever work all at the same time it could only be possible if you're patching addresses that constantly change and that's really just a very poor cheat design. In such case you would have to check and write faster than the game can, you can do that by setting refresh rate to a very small value in ppsspp cheat menu(psp plugins should have similar option as well). Note however that if that works for your case or any of cheats you find on the net, that such solution is not a "fix" - refreshing cheats very fast might cause performance problems, freezes and other issues, both on real hardware and emulator. Cheats requiring that should never really be created in the first place, patching temporary variables is really worst mistake people do when starting to create cheats and never really required for anything.

http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
Find all posts by this user
Quote this message in a reply
04-07-2016, 09:14 AM
Post: #3
RE: Only the topmost cheat works
Thank you for the comprehensive answer. Maybe I can try and recreate them - I have a different Tekken 6 version for the PPSSPP than for the PSP.

However, may I ask, how do I watch for hex variables on the PPSSPP during gameplay?
Find all posts by this user
Quote this message in a reply
04-07-2016, 10:37 PM
Post: #4
RE: Only the topmost cheat works
PPSSPP on windows have a debug menu with different features can be very useful for creating all kinds of hacks including cheats, most notably disassembly.
It was not made with creating cheats in mind, so while for everything else it's very powerful tool, if you would just need to find any values to start with, external tool like Cheat Engine(again only for windows) is best for that.

Notes about using CE with PPSSPP:
- you have to select "MEM_MAPPED" in edit->settings->scan settings otherwise you will only find mirrors, not psp memory itself,
- PPSSPP allocates PSP memory at the time you run first game(first for each run of emulator), rarely re-allocating it after changing games, either way this means it will be at different place most of the time, PPSSPP log console will show very early when running the first game where exactly PSP memory was allocated, you need to add 8mb to that address to get user memory start which will be address 0x0 for CWcheat or 0x08800000 in disassembly,
- after finding where PSP memory is allocated you should also limit your scan search in CE, normally it's as mentioned earlier 8mb to the address found in log console to get scan start and additional 24mb to that to get scan stop, that will make the searches much quicker and avoid scanning memory mirrors and other stuff which you don't want to mess with,
- don't use CE freeze on ppsspp, it's known to be buggy and show start showing "??" or some random values,
- CE debugging features only supports x86/x86_64 and can't be used for emulated games at all(that's why ppsspp debuging features are soo important).


All platforms ppsspp runs on can use cwcheats, but since pretty much everything to make them is only on windows, I wouldn't recommend making cheats using ppsspp without having a pc with that OS.

http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: