TempAR PSP

From GameBrew
TempAR
Tempar.png
General
Authorraing3
TypePlugins
Version1.64
LicenseMixed
Last Updated2022/10/03
Links
Download
Website
Source

TempAR is a complete rewrite of the popular PSP cheat device NitePR/MKULTRA, with additional features and improvements created by raing3.

Features

  • Supports CWCheat and PSPAR code types, support for NitePR codes was removed though codes can be made compatible using the included converter.
  • Re-written search functionality which much faster known and unknown memory search speed and less wear on the Memory Stick (in some cases search speed is more than 100x faster).
  • Cheats load almost instantly, no need to wait for your cheats to load on boot. It only takes ~2 seconds to parse a 2MB file.
  • Works with homebrew (uses same Game ID as CWCheat) and PSX games.
  • Supports grouping of codes into 2 types of collapsible folders, single-select folders and multi-select folders. Comments can also be grouped into folders.
  • UMD dumper to create ISO images from UMDs and PSStore EBOOTs.
  • Text viewer to view guides during gameplay, place text files in ms0:/seplugins/TempAR/text/{gameid}.txt.
  • No need to press the HOME button each time you start a game unlike other NitePR mods.

Installation

Copy the TempAR folder to the seplugins folder in the root of your PSP.

Append the following line to game.txt file

ms0:/seplugins/TempAR/tempar.prx 1

Append the following line to pops.txt file

ms0:/seplugins/TempAR/tempar_lite.prx 1

Note: The PC folder contains a PC program that allows you to add Action Replay game cheats to the plugin, and you will need to install Java in order to use it.

User guide

This plugin is able to recognize cheat codes for other plugins, such as CwCheat, Action Replay, NitePR, etc.

It works on both ISO and PSX Games. Furthermore it comes with a PC program where you can automatically download and add new cheats for games, and convert the pspar_codes1.bin file from the PSP Action Replay page to a format compatible with this plugin.

Cheater menu

It contains information of the games (ID and name) and their available cheat codes:

  • Enable/disable the entire code (CHEATS ON/OFF).
  • Valid/invalid for each code (Y/N).
  • Address editing.
  • Numerical editing.
  • Codename change.
  • Code removal.
  • Code copy.

Searcher menu

You can use this function to look up values for cheats (by analyzing/comparing hexadecimal values from the game).

  • Fixed value search.
  • Variable search (10 types of comparison method).
  • Text search.
  • Search range setting.
  • Search reset.
  • Search undo (multi-stage).
  • Add search results to code (single/whole).
  • Search history display.

PRX menu

It consists of all general options settings of the plugin.

  • Pause the game completely while the TempAR menu is activated.
  • Add new code (Cross for AR format, Square for CWC format, 1 line/multiple lines).
  • Memory dump.
  • Address display criteria (False for CWC code, True for AR code or PS2dis).
  • Change the update rate of cheats in games.
  • Change the color scheme of the Menu.
  • Specify the maximum number of lines to be displayed in the Text reader.
  • Swapping the Cross and Circle buttons (Menu only).
  • USB connection.
  • Change Language (English or Japanese).
  • Key assignment.
  • Maximum number of cheats (1.63 or later).
  • Maximum number of cheat lines.
  • Code recovery function (1.63 or later).
  • Save cheat code to a file.
  • Load cheat code.
  • Restore to default settings.
  • Save settings.
  • Thread List, Module List display, and UMD Dumper can be used.
  • Terminate the TempAR process.

Browser menu

This is where you can directly browse and edit the memory.

  • Browsing memory.
  • Numerical change of memory.
  • Horizontal single row 8/16 byte switching.
  • ASCII display.

Decoder0 menu

It openes the disassembler screen that shows the Hexadecimal code of the ISO.

Game ID menu

It contains other information of the plugin (acknowledgments, useful links/websites, etc).

Adding cheat codes

You can add codes using any of the following methods:

  • Write the code in HBID.db.
  • Code registration using the attached psp-utilities.jar (PC program) .bin output with save.
  • Write the code to GameID.db.
  • Write the code to cheat.db.
  • New code added from the PRX on TempAR.
  • Added from the search results on TempAR.
  • Added the range selected by Note button from Decoder on TempAR as a new code.

About GameID.db

  • Designated path is /TempAR/cheats/.
  • File name can only be GameID.db.
  • Auto-load is at top priority.
  • Can overwrite from TempAR.
  • Game title is distingished by Filename+_S code.
  • Possible to use index specification.
  • Cannot mix code from multiple games.
  • CWC format cheat code can be converted to GameID.ds (by using text file).

About cheat.db

  • Designated path is /TempAR/.
  • File name can be cheat.db or cheat*.db (* is a number).
  • Will only load when GameID.db does not exist.
  • Cannot overwrite from TempAR.
  • Game title is distingished by _S code.
  • Possible to use index specification.
  • Can mixing code from multiple games.

Useful links

Controls

Note: Some of these hotkeys can be configured in the Cheat Menu under the "PRX" section.

Global:

R+Home - Show cheat menu

Note - Enable/disable Cheat Engine (the entire cheat code)

Select+Volume Down - Screenshot (saved to ms0:/PICTURE/*.bmp)

General:

Cross - Enable/disable cheats, Select Option, Enter edit mode

Circle - Cancel, Return to game

L/R - Menu tab switching

Memory browser:

D-Pad - Move item, Move cursor, Change numerical value after setting item to edit mode with Cross

Start - Toggle between disassembler and browser

Select - Toggle browser between 8 and 16 bytes per line

Square - Select cheat so that it is always activated

Triangle - Open copy menu, Submenu, Edit/delete selected code

Volume Down/Up - Previous/Next browser

Square+Up/Down - Scroll through memory without moving cursor position

Square+Analog - Scroll through memory quickly without moving cursor position

Memory disassembler (decoder):

D-Pad - Move cursor and edit value of selected address (in edit mode)

Start - Toggle between disassembler and browser

Select - Toggle decoder between value and opcode view

Cross - Toggle edit mode

Triangle - Show copier menu

Note - Toggle starting and ending addresses to use by the copier when copying to new cheat/text file

Volume Down/Up - Previous/Next disassembler

Square+Up/Down - Scroll through memory without moving cursor position

Square+Analog - Scroll through memory quickly without moving cursor position

Square+Right - Jump to address of the selected pointer

Square+Left - Return to pointer

Media

Psp TempAR how to add cheats (SoullessTech)

TempAR 1.63 PSP Plugin Demo (Kurtis Ward)

Compatibility

(1.6.3) Tested and works on the following Custom Firmwares:

4.01M33
5.00M33
5.50GEN
6.20TN
6.39TN
6.20PRO
6.39PRO
6.60PRO
6.39ME

Changelog

1.6.4 2022/10/03

Fixed:

  • Fixed issue with button presses not functioning on credits tab (thanks to mgood7123).

Changed:

  • Fixed compilation errors (and many warnings) with latest version of pspsdk.

1.63 (not officially released)

Added/Improved:

  • Added support for PSX GameShark codes.
  • Added support for loading codes from PSPAR .bin files (checksum not validated).
  • Added support for loading codes from NitePR .txt files (converted to PSPAR on load).
  • User can now change the maximum number of cheats/code lines which can be loaded.
  • Added new code types:
  • 0xC1 (PSPAR Extended): call function with arguments.
  • 0xC2 (PSPAR Extended): run code from cheat list.
  • 0xC4 (PSPAR Extended): safe data store.
  • 0xC5 (PSPAR Extended): counter.
  • Can add search results in CWCheat format by pressing SQUARE on the search result.
  • Added HB blacklist file to disable HB Game ID generation in certain games. This is useful for shells such as Xplora, Prometheus ISO Launcher, etc.
  • Added PSP Utilities application which contains various cheat helper functionality (requires Java).
  • Added option to swap functionality of CROSS and CIRCLE buttons in the TempAR menu.
  • Added multi-lingual support for the interface.
  • Japanese translation by HARO.
  • Portuguese-BR translation by Hiei-YYH.
  • French translation by Rahim-US.
  • Added support for sub-folders using 0xCF code type.
  • Added support for inserting cheats anywhere in the cheat list, using the L/R trigger it is also possible to change the amount of lines a cheat has.

Removed:

  • Removed thread list and module list from lite version to reduce size.
  • Removed copy to text file from disassembler.
  • Removed old PC tools since the functionality they offered is now integrated into TempAR.

Fixed:

  • Fixes to the conditional code types and 0xD0 code type. (thanks to HARO)

Changed:

  • Temporary data buffers are only allocated when needed to reduce memory usage.
  • Rewrote cheat.db file parser to make it ~1/3 faster.
  • Old Parser: 62 seconds (58.9MB)
  • New Parser: 42 seconds (58.9MB)
  • Removed auto-off version, auto-off functionality is merged with both tempar.prx and tempar_lite.prx. To enable auto-off change "Enable Autooff" from False to True in the [PRX] tab, save settings and reboot the game.
  • Pressing LTRIGGER in cheat menu now toggles cheat engine between active/deactive.
  • Rewrote function used to get home screen frame buffer. Should now work with homebrew which doesn't use the Sony exit screen and no longer has to allocate RAM for custom framebuffer in PSX games.

1.62 2011/04/28

Added/Improved:

  • Changed default menu key to HOME + RTRIGGER (the same as the official PSPAR).
  • No longer need to press HOME twice to start using TempAR. Home menu is also restored to its default appearance when the cheat menu is closed.

Fixed:

  • Fixed a off by one error with the toggling of cheats in a radio folder.
  • Fixed a bug with the CWCheat multi-write pointer code type.
  • Fixed some bugs where codes where not disabled correctly with tempar_autooff.prx.
  • Fixed single character Japanese text not being loaded correctly for text viewer/cheats.
  • Fixed blue screen on resume if menu was open when the PSP went into standby mode on 6.20+.
  • Other minor bug fixes and changes.

Changed:

  • tempar_autooff.prx is now based off of tempar_lite.prx which has some features removed to help reduce memory usage.

  1.61 2011/03/30

Added/Improved:

  • Fixed value search speed is almost twice as fast.
  • Added tempar_autooff.prx. This plugin will revert normal 8/16/32-bit constant write codes to their original values when the cheat is deactivated. This is so ASM codes don't require a separate off code. If the constant write codes are within a conditional or are influenced by another code type their values will not be restored.

Fixed:

  • Fixed some random bugs.

  1.6 2011/03/21

Added/Improved:

  • Added better support for homebrew, now uses unique Game IDs which are the same as those generated by CWCheat. Big thanks to HARO for the help.
  • Single select folders are now supported.
  • Rewrote search function, now it is much faster (average 100x faster) and has less wear on the memory stick.
  • Added option to change how many search results can be found before the search is terminated. Using the default will cause TempAR to find all results.
  • Can now save cheats. Cheats are saved to an individual file in ms0:/seplugins/TempAR/cheats/{game-id}.db. You can load these cheats by selecting the appropriate load cheat file options.
  • Added cheat delete function.
  • Pressing triangle on a cheat now shows a menu which allows the user to edit, rename, delete or copy the cheat.
  • All loaded search results can now be added with a single click.
  • Added support for custom 8x8 fonts. If you wish to use a custom font place it at ms0:/seplugins/TempAR/font.bin.
  • Added a text viewer. The text viewer can be triggered by going to the last tab. If a text file exists at ms0:/seplugins/TempAR/text/{game-id}.txt it will be loaded.
  • Added support for FreeCheat patch files. Only one patch file can be used per game and should be placed in ms0:/seplugins/TempAR/patch/{game-id}.pat. Then select "Load Memory Patch" from the PRX tab.

Fixed:

  • Menu display key no longer interferes with menu options.
  • Copy cheat now actually copies the code lines instead of just the code name.

Changed:

  • Due to internal changes the config.bin files must be deleted if they exist. If they are not deleted there may be issues using the disassembler and browser functions.
  • Renamed POPS version to lite as it now works in game mode as well, not just POPS. The only difference the lite version has to the normal version is lack of USB support.
  • Optimized the source, reduced uncompressed PRX size by ~25KB.

1.5 2010/09/25

Added/Improved:

  • PSPAR folders can now be collapsed and expanded, use the 0xCF code type to specify a folder or comment.
  • Folder and comment colors are now user customizable in the color files.

Fixed:

  • If the Game ID can't be retrieved normally TempAR will attempt to read the Game ID from disc0:/UMD_DATA.BIN (for PSP games), or a section of memory (for POPS games).
  • Minor bug fixes and changes.

1.4 2010/08/27

Added/Improved:

  • 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.

Fixed:

  • PSPAR Loop codes which don't have a terminator line at the end should now work correctly.

Other:

  • 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.

1.3 2010/08/08

Added/Improved:

  • 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.

Fixed:

  • 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.

Other:

  • Please refer to "docs\readme.html" for information relating to the newly added code types.

1.2 2010/08/03

Added/Improved:

  • 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:

  • 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.

1.1 2010/07/29

Added/Improved:

  • Added POPS and homebrew support, thanks to Davee for information on getting the Game ID without the need for the daunting task of parsing the PARAM.SFO. Please note that homebrew PARAM.SFO files need to be patched so the Game ID isn't the same for all homebrew. Also keep in mind that CWCheat POPS files are not compatible. The codes need to be in either PSPAR or CWCheat PSP format.
  • Settings can now be saved so there is no time to re-configure on each load!
  • Added support for loading from different cheat.db files.
  • Added PC NitePR to PSPAR code converter.
  • Added comment mode paramater to the PSPAR bin converter. Use 0 to prepend all comments with a # or 1 to prepend folders with _C1 and comments with _C2.
  • Codes which have no code lines are highlighted and have no Y/N before their name. This is to allow for in-game comments.

Fixed:

  • Fixed problem loading the colours from a file.
  • Fixed screenshot option, forgot to set the option in the makefile, whoops.
  • Fixed the 0xD1 PSPAR code type.

Other:

  • Offset is only added to PSPAR conditional codes if the address used is 0.
  • Added an aditional check to CWCheat pointer codes to help prevent a crash with bad codes and uninitialized pointers.
  • Cheat device is now known as "TempAR". "Temp" because GBAtemp is my online home and "AR" because it supports "AR" codes. To further expand on this the Temp is what CW is to CWCheat and AR I guess is what PR is to NitePR. Plus it can be pronounced temper woot! (thanks to xist for the suggestion).

1.0 2010/07/24

Added/Improved:

  • Added support for a _C2 code name line. _C2 codes are active irrespective of the cheat engine status.
  • Can now insert a new CWCheat code from menu under PRX by pressing SQUARE.
  • Added support for the remaining CWCheat pointer code types.

Fixed:

  • Fixed the 0x0E PSPAR code type.
  • Various bug fixes.

  Beta 2.1 2010/07/22

Added/Improved:

  • Added support for single pointer CWCheat code type.

Fixed:

  • Fixed issue loading codes when end of read buffer is reached.

Beta 2 2010/07/21

Added/Improved:

  • Added tool to convert the PSPAR.com pspar_codes1.bin file to a format compatible with this cheat device.
  • Implemented some CWCheat code types (very untested).
  • Codes are loaded from a single cheat.db file.

Fixed:

  • Problem loading and storing 8/16-bit values.

Beta 1 2010/07/18

Added/Improved:

  • Added PSPAR Code Type Support (note: May Have Some Buggy Code Types).

Remove:

  • Removed NitePR Code Type Support.
  • Removed the SOCOM stuff.
  • Removed the off value function.

Other:

  • Cheat Hz changed from 0 to 15 by default.
  • Real address mode active by default for browser and decoder.
  • Real addresses should be used for codes as PSPAR uses real addresses.

Credits

Special thanks go out to the following people, without them this would not have been possible:

  • Datel: Defining a very simple to implement code type specification which offers a very complex level of functionality.
  • Davee: Giving me a simple sce function call to get the Game ID, no PARAM.SFO parsing!
  • EnHacklopedia Contributors: The very extensive and well written code type information (available at Kodewerx).
  • Haro: Numerous bug reports, suggestions and some coding help.
  • NoEffex: The corrupt PSID function as well as possibly some other code.
  • Normmatt: His great code type analyzer tool.
  • RedHate: Improving upon the NitePR code base.
  • The original NitePR Coders: SANiK, imk and telazorn are probably the most to thank for this as a large amount of the original code and ideas were theres from NitePR.
  • weltall: The CWCheat cheat device and all the great code types which were implemented into it... even if the non-standard pointer codes were a bitch to implement.
  • xist: Giving me a great name for the cheat device.
  • Everyone else who helped along the way with testing, fixes and suggestions.

External links

Advertising: