forums.PPSSPP.org
CwCheat Support - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Commercial Games - Compatibility and Results (/forumdisplay.php?fid=5)
+---- Forum: CWCheat codes (/forumdisplay.php?fid=31)
+---- Thread: CwCheat Support (/showthread.php?tid=3590)



RE: CwCheat Support - dista_bagus - 09-16-2013 07:44 AM

with latest version v0.9.1-961/962 can't use cwcheat. don't have menu like in the 1st page also can't use cheat.db

try manual by editing .ini still not work.


RE: CwCheat Support - mupralsh - 09-16-2013 12:08 PM

(09-16-2013 07:44 AM)dista_bagus Wrote:  with latest version v0.9.1-961/962 can't use cwcheat. don't have menu like in the 1st page also can't use cheat.db

try manual by editing .ini still not work.
Isn't the latest build actually more convenient? Big Grin


RE: CwCheat Support - dista_bagus - 09-16-2013 12:55 PM

(09-16-2013 12:08 PM)mupralsh Wrote:  
(09-16-2013 07:44 AM)dista_bagus Wrote:  with latest version v0.9.1-961/962 can't use cwcheat. don't have menu like in the 1st page also can't use cheat.db

try manual by editing .ini still not work.
Isn't the latest build actually more convenient? Big Grin

yes, more convenient but try some codes also cheat.db
doesn't work. could you give the example how to insert codes in .ini (format).


RE: CwCheat Support - dista_bagus - 09-17-2013 08:40 AM

example try cheat:

_C0 SP Not Dec.
_L 0x20174240 0x00A02021 ===> not work

_C1 SP Not Dec.
_L 0x20174240 0x00A02021 ===> not work

question in latest version 0.9.1, what format of cheat codes so that could work.

_C0 SP Not Dec.
_L 0x20174240 0x00A02021

or

_C1 SP Not Dec.
_L 0x20174240 0x00A02021

or

//SP Not Dec.
0x20174240 0x00A02021

or must use title

_S ULJS-00379
_G Dai-2-Ji Super Robot Taisen Z Hakai-hen
_C0 SP Not Dec.
_L 0x20174240 0x00A02021

or still use title but change C0 to C1 ?

anyone know? Thanks.


RE: CwCheat Support - dlanor - 09-17-2013 12:28 PM

(09-17-2013 08:40 AM)dista_bagus Wrote:  _S ULJS-00379
_G Dai-2-Ji Super Robot Taisen Z Hakai-hen
_C0 SP Not Dec.
_L 0x20174240 0x00A02021

or still use title but change C0 to C1 ?

It seems valid as is, and an ini file containing this cheat should have the filename "ULJS00379.ini"

NB: As filename there is no hyphen in the game code, but in the "_S" entry inside the file the game code must have the hyphen between letter and number parts.

Now to deal with those four example text lines in turn

_S ULJS-00379
This confirms the game ID. I'm not sure if it's really needed, as PPSSPP uses ini files with game IDs in the filenames, but having this line is part of the standard format used in the "cheat.db" files, and it is extracted this way from such files by PPSSPP.

_G Dai-2-Ji Super Robot Taisen Z Hakai-hen
This confirms the game title for a human reader. I think the content after "_G " is arbitrary, but it's very useful to have since the filename isn't very helpful in confirming what game it is (with a large number of games I don't memorize all the ID codes). This too is part of the standard format as used in cheat.db files and as extracted from such into '.ini' files by PPSSPP.

_C0 SP Not Dec.
or
_C1 SP Not Dec.
This defines the title of an individual cheat and may be followed by multiple cheat opcode lines. The third character defines whether this cheat is currently enabled (1) or disabled (0). PPSSPP alters this character in the file each time you enable or disable a cheat in the ingame menu.

_L 0x20174240 0x00A02021
This is a cheat opcode line, which for this case specifies a 32-bit write of the data 0x00A02021 to PSP address 0x00174240.

NB: I assume you knew some of this already, but thought it best to be as explicit as possible in the explanations, not just for your benefit but for others who may read this as well.

In the form you wrote those four lines they should be accepted by PPSSPP as a valid "ULJS00379.ini" file containing a single cheat currently disabled.

Btw:
I have absolutely no idea if the cheat in your example really works as intended for your game. In the above I'm just speaking of valid cheat file usage.

Best regards: dlanor


RE: CwCheat Support - dista_bagus - 09-17-2013 02:08 PM

(09-17-2013 12:28 PM)dlanor Wrote:  
(09-17-2013 08:40 AM)dista_bagus Wrote:  _S ULJS-00379
_G Dai-2-Ji Super Robot Taisen Z Hakai-hen
_C0 SP Not Dec.
_L 0x20174240 0x00A02021

or still use title but change C0 to C1 ?

It seems valid as is, and an ini file containing this cheat should have the filename "ULJS00379.ini"

NB: As filename there is no hyphen in the game code, but in the "_S" entry inside the file the game code must have the hyphen between letter and number parts.

Now to deal with those four example text lines in turn

_S ULJS-00379
This confirms the game ID. I'm not sure if it's really needed, as PPSSPP uses ini files with game IDs in the filenames, but having this line is part of the standard format used in the "cheat.db" files, and it is extracted this way from such files by PPSSPP.

_G Dai-2-Ji Super Robot Taisen Z Hakai-hen
This confirms the game title for a human reader. I think the content after "_G " is arbitrary, but it's very useful to have since the filename isn't very helpful in confirming what game it is (with a large number of games I don't memorize all the ID codes). This too is part of the standard format as used in cheat.db files and as extracted from such into '.ini' files by PPSSPP.

_C0 SP Not Dec.
or
_C1 SP Not Dec.
This defines the title of an individual cheat and may be followed by multiple cheat opcode lines. The third character defines whether this cheat is currently enabled (1) or disabled (0). PPSSPP alters this character in the file each time you enable or disable a cheat in the ingame menu.

_L 0x20174240 0x00A02021
This is a cheat opcode line, which for this case specifies a 32-bit write of the data 0x00A02021 to PSP address 0x00174240.

NB: I assume you knew some of this already, but thought it best to be as explicit as possible in the explanations, not just for your benefit but for others who may read this as well.

In the form you wrote those four lines they should be accepted by PPSSPP as a valid "ULJS00379.ini" file containing a single cheat currently disabled.

Btw:
I have absolutely no idea if the cheat in your example really works as intended for your game. In the above I'm just speaking of valid cheat file usage.

Best regards: dlanor

Thanks for your reply, dlanor. Question again.

So codes that must be put in ULJS00379.ini
codes name & codes like this
_C0 SP Not Dec.
_L 0x20174240 0x00A02021

or just codes only
_L 0x20174240 0x00A02021

or 4 lines which you reply
_S ULJS-00379
_G Dai-2-Ji Super Robot Taisen Z Hakai-hen
_C0 SP Not Dec.
_L 0x20174240 0x00A02021

thus ppsspp accept which codes between three above? and must enable/change C0=>C1 in order to work.
later i'll try again the codes see if it will work or not.


RE: CwCheat Support - dlanor - 09-18-2013 10:45 AM

(09-17-2013 02:08 PM)dista_bagus Wrote:  Thanks for your reply, dlanor. Question again.

So codes that must be put in ULJS00379.ini
codes name & codes like this
_C0 SP Not Dec.
_L 0x20174240 0x00A02021
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 only
_L 0x20174240 0x00A02021
No, 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 reply
Not 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-00379
_G Dai-2-Ji Super Robot Taisen Z Hakai-hen
_C0 SP Not Dec.
_L 0x20174240 0x00A02021
This 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


RE: CwCheat Support - dista_bagus - 09-18-2013 01:19 PM

tried with ppsspp-v0.9.1-1031-windows-amd64 work but must enable manually/edit .ini since from ppsspp itself doesn't turn on automatically. better if there's a display window to enable cheat.

try this code, change C0 to C1 manually

_S ULJS-00379
_G Dai-2-Ji Super Robot Taisen Z Hakai-hen [JP]
_C1 HERO EXP MAX
_L 0x106B563C 0x0000BF68
_C1 HERO SP MAX
_L 0x106B5638 0x000003E7
_C1 HERO SPIRIT MAX
_L 0x106B563A 0x000000FF
_C1 SP NOT DEC
_L 0x20174240 0x00A02021


RE: CwCheat Support - cyclonmaster - 09-20-2013 06:01 AM

(05-23-2013 05:48 PM)makotech222 Wrote:  [Android Guide]
Android is now supported on the latest builds. It functions very similarly to the Windows version. Place your cheat.db or cheat ini's in the cheats folder and play!(8/26/2013)

Note: If your game crashes after enabling cheats and loading the game, then you must manually create the "Cheats" folder in the /PSP/ Directory.

Edit: Updated to reflect the new format.

I did try on latest build for android, the cwcheat seem to not working. Test on God of War CoO, Hexyz Force, FF3 etc. Only working on windows.


RE: CwCheat Support - Difference - 09-20-2013 06:46 AM

Can anyone tell me if cwcheat works again or if it's still broken? My cheats (That I've been using since 8.1) haven't worked since 9.1 came out. Need to know if CwC was switched with a different version and my codes don't work or if the thing is just borked.
Windows 32 bit by the way, latest build as of today.

attachments related, here you see them enabled but not working (all items should have an amount of 99 and the money should be all 9s as well).


RE: CwCheat Support - cyclonmaster - 09-20-2013 09:11 AM

(09-20-2013 06:46 AM)Difference Wrote:  Can anyone tell me if cwcheat works again or if it's still broken? My cheats (That I've been using since 8.1) haven't worked since 9.1 came out. Need to know if CwC was switched with a different version and my codes don't work or if the thing is just borked.
Windows 32 bit by the way, latest build as of today.

attachments related, here you see them enabled but not working (all items should have an amount of 99 and the money should be all 9s as well).

You should change the cheat format. 0.8.1 use old format. 0.9.1 use cwcheat format which used in cheat.db for actual PSP.
Btw, I think the cheat function is broken atm.


RE: CwCheat Support - ralf12345 - 09-20-2013 10:03 AM

Some cheat works but some still don't work i think the problem is with your cheatcode try to chang _CO to _C1 this trick work for me sometime try and see best of luck


RE: CwCheat Support - Difference - 09-20-2013 11:08 AM

(09-20-2013 09:11 AM)cyclonmaster Wrote:  
(09-20-2013 06:46 AM)Difference Wrote:  Can anyone tell me if cwcheat works again or if it's still broken? My cheats (That I've been using since 8.1) haven't worked since 9.1 came out. Need to know if CwC was switched with a different version and my codes don't work or if the thing is just borked.
Windows 32 bit by the way, latest build as of today.

attachments related, here you see them enabled but not working (all items should have an amount of 99 and the money should be all 9s as well).

You should change the cheat format. 0.8.1 use old format. 0.9.1 use cwcheat format which used in cheat.db for actual PSP.
Btw, I think the cheat function is broken atm.

So the format like
Code:
_S ULUS-10563
_G God Eater Burst [USA]
_C1 Max Money
_L 0x20311330 0x05F5E100
_C1 All Hair Style
_L 0x8128E9A8 0x00300001
_L 0x10000000 0x00000000
_C1 Infinite Items in Storage [99]
_L 0x803226C4 0x0320004C
_L 0x00000063 0x00000000

Is no good or what?
Because that's what I use.


RE: CwCheat Support - dlanor - 09-21-2013 01:56 PM

(09-20-2013 11:08 AM)Difference Wrote:  So the format like
Code:
_S ULUS-10563
_G God Eater Burst [USA]
_C1 Max Money
_L 0x20311330 0x05F5E100
_C1 All Hair Style
_L 0x8128E9A8 0x00300001
_L 0x10000000 0x00000000
_C1 Infinite Items in Storage [99]
_L 0x803226C4 0x0320004C
_L 0x00000063 0x00000000

Is no good or what?
Because that's what I use.
That format looks fine to me, similar to what I use myself and similar to what I see when opening a cheat.db file in a text editor.

But since you say that cheats last worked for you in a rather old version of PPSSPP, perhaps you are now missing something that is required for cheat activation in the newer versions.

In order to get any cheat functionality you must have enabled the global cheats flag in the system settings. And with the new menu structure you find that setting as:
"Game Settings" >> "System" >> "Enable cheats"

NB: The above refers to the PPSSPP on-screen button menu, not a "Windows OS" menu bar

It's only when this setting is active that PPSSPP will load cheat ini files for the games and allow use of the in-game cheats menu to enable or disable individual cheats on-the-fly.

This works fine for me with all the latest beta versions I've tried (including one DL'ed last night). But since these are beta versions there is always the possibility that some things may not work as expected.

For one thing I've heard that not all cheat opcodes are implemented yet, such as 'Joker' codes, and it might also affect multi-poke instructions such as your cheat list seems to depend on.

Another thing to consider is that some program code manipulation cheats will only have proper effect if loaded before the JIT compilation of the affected program segment. So changing such cheats back and forth during a game session will not always work (depends on current JIT methods). But I don't think this will affect the cheat codes you listed, as they seem to be simple patches into data space, not program code space.

Best regards: dlanor


RE: CwCheat Support - LunaMoo - 09-21-2013 02:31 PM

(09-21-2013 01:56 PM)dlanor Wrote:  (...)
Another thing to consider is that some program code manipulation cheats will only have proper effect if loaded before the JIT compilation of the affected program segment. So changing such cheats back and forth during a game session will not always work (depends on current JIT methods).
(...)

Thanks for this info+1,
I had a stupid problem like that with Monster Hunter FU HP display cheat which does inject code and couldn't explain why it happens;p. Anyway I found out before seeing this that using "savestate" seems to reset something(JIT state?) and allow such codes to being enabled/disabled in-game anyway.Smile Wonder if same reset could be applied to switching cheats, but blah got used to workarounds with cheat enabling/disabling from pcsx2 anyway already.