Hacking TempAR

retKHAAAN

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
3,840
Trophies
1
XP
1,597
Country
United States
TempAR is working great on my PSP games. I notice in the pspar.txt file in the PC folder of the download cwcheatpops.exe is listed. are you working on a converter for those files? that option would definitely seal my switch from cwcheat to TempAR.

thanks again for this great app!
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Yeah, it was meant to be in that update but I cracked the shits with it and just left it out... guess I forgot to remove it from the txt file.
tongue.gif


It has a few problems at the moment:

(a) Too slow @ ~5 minutes to convert a 2.5MB file.
(b) I was having problems fixing up the 8-bit conditional code types.
(c) It didn't handle errors very well and some formatting errors would cause it to crash or other problems.

Hopefully I will have it in better shape by the end of the weekend or early next week and then I'll post it up.
smile.gif
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Well I have uploaded what is done of the cheatpops converter so far if you really want to use it.
tongue.gif


Some notes:
  • Only try to convert cheatpops.db files which are small!!! If you have formatting errors it will just crash and you will have to start over because it doesn't write anything until it has converted it all at the moment.
  • Doesn't work (either partially or at all) with the following code types: 0xE0, 0xE1, 0xE2, 0xE3, 0xD4, 0xC0, 0xC1, 0xD5).
http://www.mediafire.com/?ehaxdo8rd7r2xdj

If you are talking about testing beta versions of TempAR then there isn't really any need at the moment as I don't plan on making any big changes for a while until I have checked a larger set of codes so just reporting any codes which don't work correctly would be very helpful.

Please not however I just found a bug with the 8/16-bit CWCheat multi-write/increment code type (code type 0x08) so any codes that have "_L 0x8" in them won't work there may also be other problems with the CWCheat code types. Most of the PSPAR code types however should be working fairly well (except some button press codes).
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
I uploaded a better cwcheatpops converter, download from http://www.mediafire.com/?55v8k7zo4wpc277.

Changes:
- Takes only ~5 seconds to parse a 2.5MB cheatpops.db file instead of ~5 minutes.
- Writes the output line per line instead of all at once.
- Converts 8-bit conditional codes correctly (hopefully).
- Converts decrement codes correctly.
- Better error handling.

Could I please ask people to test codes which they know work with cwcheatpops and report back any problems. The main things I am interested in are serial codes (multi address write), button press codes, 8-bit conditional codes and copy byte codes... I think the serial codes aren't converted correctly.
 

Sundaerae

New Member
Newbie
Joined
Jul 31, 2010
Messages
1
Trophies
0
XP
53
Country
Indonesia
Just tried tempAR a moment ago

The PSPAR codes are working, but none of the cwcheat codes are working (which are a lot more codes than the PSPAR one)
I've tried it on several games like monster hunter freedom unite, riviera, mimana iyar chronicles

and my CFW is 5.03 gen-C
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Could you please specify exactly which cheats do not work. There is a problem with the current released version that will prevent the following codes from working:

Riviera: The Promised Land
- Have Infinite Items
- Have All Items

Monster Hunter Freedom Unite
- All Items
- All Inventory Items
- 3 Slots on Every Armor
- Raise Every Armor to Level 99

... those should be working in the next update.

Anyway many of the CWCheat codes should be working correctly so knowing specifically which codes don't work would be very helpful so I can more quickly locate where the problem is.
 

retKHAAAN

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
3,840
Trophies
1
XP
1,597
Country
United States
raing3 said:
I uploaded a better cwcheatpops converter, download from http://www.mediafire.com/?55v8k7zo4wpc277.

Changes:
- Takes only ~5 seconds to parse a 2.5MB cheatpops.db file instead of ~5 minutes.
- Writes the output line per line instead of all at once.
- Converts 8-bit conditional codes correctly (hopefully).
- Converts decrement codes correctly.
- Better error handling.

Could I please ask people to test codes which they know work with cwcheatpops and report back any problems. The main things I am interested in are serial codes (multi address write), button press codes, 8-bit conditional codes and copy byte codes... I think the serial codes aren't converted correctly.

just saw this posted here and tried it out. it seems to parse my 2.50MB cheatpops.db just fine but I'm not finding an output file anywhere.
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
The output file gets saved to cheat.db in the executable directory.

I just updated it so it will now be saved to the same directory as the original .db file but will have _converted appended to the filename. eg. cheatpops.db will be output to cheatpops_converted.db.

Download
 

retKHAAAN

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
3,840
Trophies
1
XP
1,597
Country
United States
This one produced a converted file.

Castlevania:SotN health, level, and stat cheats are working.

Metal Gear Solid press R1, R2, L2 for different PAL Key status' is working.

Deleted CWCheat from my memstick
wink.gif



BTW...the "instructional" text at the top of the screen when you load a game probably isn't necessary.
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Thanks for testing some codes, hopefully I can convert some more users to this cheat device. If you do have any problems with the converted codes please don't hesitate to mention it so I can try to fix it.

Also I assume you will eventually get annoyed with having to change the database which is loaded for POPS and UMD games so in the next version they will both have different config files and there will be no need to select the DB file to load each time.

Also the instructional text was just removed a few hours ago because it was causing some problems with PSP Filer and because I made the hotkeys user configurable.
tongue.gif
 

overslept

WALLY WALLY WALLY WALLY WALLY WALLY WALLY WORLD
Member
Joined
Mar 22, 2009
Messages
706
Trophies
0
Age
28
Location
California
XP
230
Country
United States
I haven't used a cheat device with my PSP yet, but this one looks the easiest to install by far. And it's new, too!

I just have one question: does this already come with some cheats built-in? Or will I have to get my own cheats?

If your answer is the latter, where can I find the latest cheats? And where is the file that I edit when I get new codes? Thanks!
 

retKHAAAN

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
3,840
Trophies
1
XP
1,597
Country
United States
raing3 said:
Thanks for testing some codes, hopefully I can convert some more users to this cheat device. If you do have any problems with the converted codes please don't hesitate to mention it so I can try to fix it.

Also I assume you will eventually get annoyed with having to change the database which is loaded for POPS and UMD games so in the next version they will both have different config files and there will be no need to select the DB file to load each time.

Also the instructional text was just removed a few hours ago because it was causing some problems with PSP Filer and because I made the hotkeys user configurable.
tongue.gif

no problem with the code testing. took me a while to find a game in my library that had a "press X for X" type code as i figured you'd be interested in that. if you have any other code types you'd like tested let me know.

as far as switching between databases, no complaints from me
wink.gif
i've got an 8GB memstick for psp games and another 8GB memstick for PSone games. so no switching needed.

can't wait for the next update
smile.gif
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Arwing789 said:
I haven't used a cheat device with my PSP yet, but this one looks the easiest to install by far. And it's new, too!

I just have one question: does this already come with some cheats built-in? Or will I have to get my own cheats?

If your answer is the latter, where can I find the latest cheats? And where is the file that I edit when I get new codes? Thanks!

It already comes with cheats. You can get the latest cheats from http://cheats.gbatemp.net/PSP/ (use either cheat.db or cheat1.db). You can use the included pspar.exe in the PC folder to convert codes from http://www.pspar.com/, you can also use the nitepr.exe to convert a NitePR folder to a format compatible with this cheat device.

You can use either a text editor or the tool available at http://www.consoleworld.org/cwcheat-offici...ase-editor.html to modify codes in the cheat.db files.
 

overslept

WALLY WALLY WALLY WALLY WALLY WALLY WALLY WORLD
Member
Joined
Mar 22, 2009
Messages
706
Trophies
0
Age
28
Location
California
XP
230
Country
United States
Thanks!! I look forward to using the EXTREME BLOOD cheat in MHFU!
yaypsp.gif


EDIT: The x99 items in bag code doesn't work. Neither does the x99 inventory. Has anybody actually tried these codes (the latest cheats.gbatemp cheatdb) and can confirm that they do in fact work?

And the EXTREME BLOOD is not as extreme as I wanted it to be
dry.gif
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
@Arwing789: The item/inventory codes most probably did not work due to a bug with the 0x8 CWCheat code type. If you update they should work.

Updated to v1.2...

CODEChanges in v1.2 (August 3, 2010)
[+] Upper bits of fake addresses can now be retrieved. eg. Use 0x0A000002 to
read the kernel mode buttons using the 16-bit PSPAR code types.
[+] Added an option to hijack the PSPAR button codes. This option if enabled
Will change PSPAR codes with code types 0x09 and 0x0A and an address of
0x09F00000 or higher to be treated as a button joker code. This makes
codes such as the GTA: VCS moonjump code work without altering the code.
[+] Menu key, trigger key and screenshot key can now be configured under PRX.
[+] The POPs version now uses a different config file to the PSP version.
[+] Added PC CWCheatPOPS to PSPAR code converter.
[!] Fixed problem copying address from codelist to the Browser/Decoder.
[!] Button press prompt is no longer displayed on load. This should fix
display problems with PSP Filer and probably some other homebrew/games.
[!] Fixed the 0x08 CWCheat code type.
[!] Codes which attempt to write a 16-bit value to 8-bit address or a 32-bit
value to 8/16-bit address will no longer crash the PSP.
[!] MAC address patch is off by default to fix networking problems while plugin
is enabled. User must remove config.bin for this change to take effect.

Download
 

overslept

WALLY WALLY WALLY WALLY WALLY WALLY WALLY WORLD
Member
Joined
Mar 22, 2009
Messages
706
Trophies
0
Age
28
Location
California
XP
230
Country
United States
Thanks for the update!! Right on time
laugh.gif


I also noticed in the changelog: "[!] Button press prompt is no longer displayed on load. This should fix
display problems with PSP Filer and probably some other homebrew/games."


What a coincidence, I was playing cps2psp yesterday and was noticing how annoying the "PRESS HOME TWICE FOR CODES!!" notice was at the top.
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Updated to v1.3...

CODEChanges in v1.3 (August 8, 2010)
[+] Added support for the 0xC6 PSPAR code type. This will fix problems with the
"generic" codes in the official PSPAR cheat database not working.
[+] Added support for the 0x0C CWCheat code type. This should make the Yu-Gi-Oh
CWCheat codes work in the same way as they do with CWCheat.
[+] Added support for loading the same codes for multiple Game IDs to reduce the
database size where different regions can use the same codes. To do this simply
place all "_S" lines after each other with no codes in-between.
[+] Added support for Japanese characters to the font so now the cheats in the
official PSPAR cheat DB should be shown correctly for Japanese games.
[+] Added new line type "_N". These lines are executed with an enhanced version
of the PSPAR cheat engine. The reason for not merging the enhanced PSPAR
engine with the main PSPAR engine is to maintain the best possible
compatibility with the official PSPAR for testing purposes, whilst also
offering additional functionality.
[+] Added support for extra data register operations using the 0xD4 code type
to the enhanced PSPAR engine.
[+] Added support for address+offset if conditionals to the enhanced PSPAR
engine. If the lowest bit of the address is set the value at address+offset
is used in the conditional.
[!] The PSPAR cheat engine execution status is now cleared at the end of each loop.
[!] Fixed a bug in the CWCheat cheat engine where the second character in the
address part of the code was accidentally removed when it was applied by
the cheat engine.
[!] Fixed bugs with the 0x06 multi-write code type.
[!] Hopefully fixed the unknown search bug which was in the original source. It was
partially fixed in 1.2 but it is so long and complex I couldn't work out how to
fix it properly. Hopefully it should be working properly now.
[?] Please refer to "docs\readme.html" for information relating to the newly added
code types.

Download

EDIT: Uploaded some updated test codes to http://www.mediafire.com/?h2drdf2ce72fqik. These codes don't do anything useful but has some examples of how helpful the PSPAR and CWCheat code types can be.

Also uploaded Kodinator to http://www.mediafire.com/?p1lz26po19vvkb0. Kodinator is a software by Normmatt which analyzes the ARDS code types. The same code types are used by PSPAR so this tool is very helpful for understanding what the code types do. You must remove comments after the code lines for the tool to analyze the code correctly.
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Updated the code converter...

PSX codes which need to be tested (at least 1 of each of the following):

- Codes which contain "_M 0x1"
- Codes which contain "_M 0x2"
- Codes which contain "_M 0x7"
- Codes which contain "_M 0x8"
- Codes which contain "_M 0x9"
- Codes which contain "_M 0xA"
- Codes which contain "_M 0xC"
- Codes which contain "_M 0xD3"
- Codes which contain "_M 0xD5"
- Codes which contain "_M 0xDA"
- Codes which contain "_M 0xDB"
- Codes which contain "_M 0xDC"
- Codes which contain "_M 0xF"
- Codes which contain "_M 0xF"

Changes:

- Recoded in C#.
- Added GUI.
- Merged NitePR and CWCheat POPS converter together.
- Added option to convert codes from a text box instead of file.
- Conditional code types are now optimized during conversion to use less code lines.
- Fixed problem with the conditional code types.
- Added R4CCE > TempAR format converter. The format used for PSPAR codes on the GBAtemp cheat forum is the same as R4CCE.
- POPS conversion is 3x slower. From 5 seconds for a 2.6MB file to 15 seconds.
frown.gif

- Hopefully a bit more reliable for converting badly formatted code files.

Code types which aren't supported:

- 0xD4 -- universal joker code (if anyone thinks they can help with this code type it would be greatly appreciated).
- 0xC0 -- code stopper (master code)
- 0xC1 -- code delay
- 0xD5 -- all codes on
- 0xD5 -- all codes off

Download
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Updated to v1.4...

CODEChanges in v1.4 (August 27, 2010)
[+] Added support for the qqq part of CWCheat pointer codes for multi-write and
copy byte pointer codes, thanks to HARO for the information.
[+] If cheats are available for the loaded game the game name can be shown by
pressing VOLDOWN at the cheat selection screen.
[!] PSPAR Loop codes which don't have a terminator line at the end should now work
correctly.
[?] Rewrote the cheat database loading code. Now cheat files are loaded 2-3 times
faster then before.
[?] Rewrote the PC converter tool.
[?] Other minor additions, changes and fixed.

Download
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Black_Manta_8bit @ Black_Manta_8bit: hey