CwCheat Support
|
09-18-2013, 10:45 AM
(This post was last modified: 09-18-2013 10:50 AM by dlanor.)
Post: #427
|
|||
|
|||
RE: CwCheat Support
(09-17-2013 02:08 PM)dista_bagus Wrote: Thanks for your reply, dlanor. Question again.That's the generic form of individual cheats you add into the ini file. Each cheat MUST have a "_C0 " or "_C1 " header, as that is how PPSSPP enables or disables individual cheats. But each such cheat header may have any number of cheat opcode lines to be part of that cheat, not just a single opcode line as in your example. However, if you make a cheat ini file which has only such cheats, but no game ID, then you are breaking away from the standard format, so there is no guarantee that the emulator will accept the file. If I were coding it (which I'm not), then I would make it reject files that don't follow correct syntax. Quote:or just codes onlyNo, that will never work. Then there's no way for PPSSPP to keep track of whether or not that code is currently enabled or disabled. Quote:or 4 lines which you replyNot necessarily 4 lines. That was just the result of your example containing only a single cheat header, which only 'contained' a single cheat opcode line. Every cheat ini file should have one game ID line at the top ("_S "), followed by the game's human-readable title ("_G "). Beneath those game header lines there may be any number of individual cheats, each starting with a cheat header line ("_C1 " or "_C0 ") which allows enabling/disabling of the individual cheats while also defining the cheat's title for use in the in-game cheat menu of PPSSPP. And Beneath each cheat header line there may be any number of cheat opcode lines, all of which then 'belong' to the cheat of the preceding header, so that all are enabled/disabled by the third character of that cheat header line. (Normally manipulated through PPSSPP's in-game cheat menu.) Quote:_S ULJS-00379This four line structure is just the simplest possible case of a valid cheat definition. Usually the ini file used for a game has lots of individual cheats, some of which have lots of opcode lines each. Quote:thus ppsspp accept which codes between three above?Possibly the first even though it's WRONG. (But if PPSSPP skips in-file game ID verification it could work anyway.) Never the second. Always the third. (Since it follows proper syntax completely.) Quote:and must enable/change C0=>C1 in order to work.That's not something you're supposed to do by text editor, though you can. PPSSPP will accept the C0/C1 flags you put in the file, but it would get very tedious having to edit that text file every time you want to enable or disable some of the cheats in it. So that's not how we normally do it. Text editing is only required when creating a brand new file for a game from scratch, when adding in new cheats manually, or when experimenting with cheat code modifications. Normally the 'backup' state of cheat ini files should use "_C0 " for all cheat headers, so that none of the cheats are active when you use the cheat file for the first time. Then as you use the in-game cheat menu of PPSSPP to enable (or later disable) individual cheats, PPSSPP will make the corresponding changes to the ini file, so that its cheat header lines reflect the current enabling state of all the cheats. This also means that after exiting PPSSPP and then restarting it again later, the reloaded game will restart with all the same cheats enabled/disabled as in the end of the previous session of that game. If a well-stocked cheat.db file is available in the cheats folder then you may not even have to create the cheat ini files yourself, as PPSSPP has a command to extract cheats for a game from such a cheat.db file (if it covers that game at all). PPSSPP will then create a cheat ini file for the game by extracting contents from the cheat.db file, using the syntax I've described. But I recommend checking such extracted ini files in a text editor anyway, as cheat.db files sometimes contain errors, and may also have features not supported by PPSSPP cheats as yet. Quote:later i'll try again the codes see if it will work or not.Again, I have no idea if that cheat is well made for that game, but it should have a chance to work if you use the full correct syntax. Best regards: dlanor |
|||
« Next Oldest | Next Newest »
|