CwCheat Support
|
09-30-2013, 07:11 PM
![]() |
|||
|
|||
RE: CwCheat Support
(09-30-2013 05:24 PM)nadia Wrote: Hii dlanorThat's understandable as most of us are not involved with the coding of the project, but that shouldn't stop us from making a few practical tests to determine the limits of a problem like yours. Code: and i just tried make it little short, what i think the code is much ----- code list not requoted ----- It's interesting to note that as usual this cheat list shows signs of having been collected by someone who doesn't really know what he's doing (possibly even a 'bot program), as it contains tons of duplicate codes. Quite early in that list you have three "VIT" or "Vitality" codes with identical patch lines, and two of them even have identical cheat titles. And if you look further on in the file you will find even more repetitions of the very same or very similar codes (some maximize a stat to 250 while others use 255). I mention this mainly as it offers a simple way to cut down significantly on the size without losing anything, just by removing all duplicates. I made a number of tests with "FF7: Crisis Core" to check your problem, though I guess similar results would apply to any game. Test 1: Using your cheat list as-is of appx 12K ==> Locks up PPSSPP Test 2: Using a cheat list I extracted from a cheat.db to appx 15K ==> Locks up PPSSPP Test 3: Using first half of your cheat list, so appx 6K ==> Works fine Test 4: Using second half of your cheat list, so appx 6K ==> Works fine The last two tests prove that there is no syntax error causing the problem, so it appears to be just a size limitation. I've not yet determined the precise limit, but I have successfully used some cheat files a bit larger than 6K too. ----- Some tests later ----- I've now tested the same things on a somewhat newer beta version (v0.9.1-1375), and the problem still remains although the emulator no longer crashes. Instead it displays an error message when trying to launch a game with such a cheat file present (if cheats are enabled in the global flag). This message simply states: "Error loading file: error reading file", so it's rather misleading. There's no read error involved but simply a size issue. I then made a few tests to attempt determining the precise limit, only to find a surprising result. With your cheat file (both halves of which work), the emulator refuses game load with that error message even when I've cut down the total file size to less than that which works fine for some of my other cheat files. This leads me to believe that the size problem is not just a problem of the size of the file, but rather a problem of the number of cheats in it. Apparently many small cheats cause the problem even with a smaller file size than that which works for another cheat collection, using fewer cheats of more code lines each. Since your cheat file contains a huge amount of small duplicate cheats, removing the unneeded ones could very well bring you down to (or at least close to) the significant limit. Since I don't really play Crisis Core, you'll have to experiment with this on your own too, to find an ideal compromise for the file size and cheat count that works with the emulator. And in any case you should update to a version of the emulator that detects the problem before crashing. This is also likely to bring other benefits due to recent emulation improvements. And with this I wish you the best of luck Nadia. Best regards: dlanor |
|||
« Next Oldest | Next Newest »
|