Hacking TempAR

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
<div align="right"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b><!--coloro:#00AA00--><span style="color:#00AA00"><!--/coloro-->Introduction<!--colorc--></span><!--/colorc--></b><!--sizec--></span><!--/sizec--></div>
The reason for this NitePR/MKULTRA mod is because I wanted a way to test PSPAR codes on CFW, for me it was easier just to implement the PSPAR code types into an existing cheat device rather then try and patch the PSPAR EBOOT to run on CFW so that is exactly what I have done.

Unlike the official PSPAR cheat device a more simple code file format is utilized for loading codes, the format is much like the CWCheat cheat database format but instead of code lines being preceeded with "_L " they are preceeded with "_M ".

I also got bored and decided to implement the CWCheat code types so hopefully most CWCheat codes should work with this cheat device.

<div align="center"><a href="http://img178.imageshack.us/img178/9030/tempar.png" target="_blank"><img src="http://img178.imageshack.us/img178/9030/tempar.th.png" border="0" class="linked-image" /></a> <a href="http://img814.imageshack.us/img814/5619/tempar2.png" target="_blank"><img src="http://img814.imageshack.us/img814/5619/tempar2.th.png" border="0" class="linked-image" /></a> <a href="http://img828.imageshack.us/img828/5619/tempar2.png" target="_blank"><img src="http://img828.imageshack.us/img828/5619/tempar2.th.png" border="0" class="linked-image" /></a> <a href="http://img836.imageshack.us/img836/3379/tempar3.png" target="_blank"><img src="http://img836.imageshack.us/img836/3379/tempar3.th.png" border="0" class="linked-image" /></a></div>

<hr /><div align="right"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b><!--coloro:#993399--><span style="color:#993399"><!--/coloro-->Usage<!--colorc--></span><!--/colorc--></b><!--sizec--></span><!--/sizec--></div>
<b>Installation Instructions</b><ol type='1'><li>Copy the seplugins folder to your Memory Stick (if not copying over game.txt and pops.txt be sure to manually add those lines to the files on the MS).</li></ol>
<b>In-Game Controls</b><ol type='1'><li>Show cheat menu: Press home twice followed by VOLUP+VOLDOWN).</li><li>Enable Cheat Engine: Press Note.</li><li>Screenshot: Press SELECT+VOLDOWN.</li></ol>
<hr /><div align="right"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b><!--coloro:#CC9900--><span style="color:#CC9900"><!--/coloro-->Changes<!--colorc--></span><!--/colorc--></b><!--sizec--></span><!--/sizec--></div>

<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:Pre;overflow:auto'>Changes in v1.5 (September 25, 2010)
[+] 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.
[!] 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.

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

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

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

Changes in v1.1 (July 29, 2010)
[+] 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 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.
[?] 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).

Changes in v1 (July 24, 2010)
[+] 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 the 0x0E PSPAR code type.
[!] Various bug fixes.

Changes in Beta 2.1 (July 22, 2010)
[!] Fixed issue loading codes when end of read buffer is reached.
[+] Added support for single pointer CWCheat code type.

Changes in Beta 2 (July 21, 2010)
[+] 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.
[!] Problem loading and storing 8/16-bit values.

Changes in Beta 1 (July 18, 2010)
[+] Added PSPAR Code Type Support (note: May Have Some Buggy Code Types).
[-] Removed NitePR Code Type Support.
[-] Removed the SOCOM stuff.
[-] Removed the off value function.
[?] 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.

Key
[+] New/Improved Feature
[-] Removed Feature
[!] Fixed Bug
[?] Other Stuff</div>

<hr /><div align="right"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b><!--coloro:#0097FF--><span style="color:#0097FF"><!--/coloro-->What will be in the next version?<!--colorc--></span><!--/colorc--></b><!--sizec--></span><!--/sizec--></div>

<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:Pre;overflow:auto'>Nothing</div>

<b>Important:</b> Please report any problems or non-working codes so I can look at them and try and figure out why they aren't working (please test the codes on another cheat device first however to ensure it is not the code that is actually broken). Also keep in mind that patches like the m33_620, Prometheus CFW and patched games cause shit with memory shifting around so that could also be the problem.

<div align="right"><a href="http://www.mediafire.com/?pagdw03n8tu31wd" target="_blank">Download</a>
<a href="http://cheats.gbatemp.net/forum/index.php?topic=4870.0" target="_blank">Original Post</a></div>
 

xist

ΚΑΤΑ ΤΟΝ ΔΑΙΜΟΝΑ ΕΑΥΤΟΥ
Member
Joined
Jul 14, 2008
Messages
5,859
Trophies
0
XP
984
Country
So just don't use the Prometheus firmware? It's not that hard a workaround...
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
QUOTE said:
Also keep in mind that patches like the m33_620, Prometheus CFW and patched games cause shit with memory shifting around so that could also be the problem.

@MLRX & Arwing789:

That note simply refers to that Prometheus and m33_620 or patched ROMs can cause cheats to not work correctly.
tongue.gif


I've tested on the 5.50 Prometheus CFW thingo and with the m33_620 plugin active as well as on 5.00 M33-4 and haven't had any problems with it loading.
 

Lily

One Scary Lady
Former Staff
Joined
Jun 18, 2004
Messages
5,727
Trophies
0
Age
43
Location
British Columbia
XP
778
Country
Canada
Could you make the method to access the cheat menu any more complicated? I'm having trouble bringing it up, my home button wants to do the normal function. Is it a lot of trouble to make it like CWCheat, where you just hold down select?
tongue.gif
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Actually I have tried removing the step of pressing the Home button twice but unfortunately my attempts have failed.
frown.gif


All NitePR mods are the same.

Reason being is the function call which gets the VRAM address (I think that is what it is) doesn't return an appropriate value until the home button is pressed. If I just accept any return value or try to specify an address myself then it just crashes when pressing Vol+&Vol-.

The closest I got was a whole lot of flickering and stretching of the cheat engine window which was beyond unusable.
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Well so far I am considering either CWARpr or NiteAR as the cheat device name, NiteAR sounds to close to NitePR which may also cause confusion so CWARpr will probably be what I go with.

I'm not going to go with PSPoker because it sounds like a poker game for the PSP.
tongue.gif


Also POPs and homebrew (kinda) are working in the next version (codes must be in the PSPAR/CWCheat PSP code types, not gameshark but a converter will probably be released).
biggrin.gif


Also for anyone who wants it I made a batch NitePR > PSPAR converter. You can get it from http://www.mediafire.com/?pd5ji2wdx56m3an. Written in VB .NET (shudder) so it requires .NET framework (version 2.0 or higher). It will also be included in the next update.
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
@nickxab: Yes it has a menu, to show the menu press Home twice followed by VOLUP+VOLDOWN. The Home button only needs to be pressed twice once per each game boot.

@xist: Yeah you are right about CW standing for consoleworld. I never knew about the whole peek and poke thing but TempAR sounds like a nice name. If I don't have any suggestions I like better then that I will call it that in the next update. Thanks for the suggestion.
smile.gif
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
Use the L and R trigger buttons to navigate through the various tab. The [PRX] tab contains most of the options but there aren't very many.

EDIT: Also settings are not saved to a configuration file so they must be changed on every load. If I get enough time I'll change that before I update.
 

raing3

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

CODEChanges in v1.1 (July 29, 2010)
[+] 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 need 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 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.
[?] 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).

Download
 

raing3

CNET_Richard
OP
Member
Joined
Apr 2, 2009
Messages
529
Trophies
1
Age
33
Location
Australia
XP
801
Country
I would greatly appreciate it if someone who has a legitimate copy of Kahoots [EU] or [US] as well as a pandora battery and pandora battery compatible PSP could help me out with some testing.

If you can help please send me a PM or come on the #PSPcheats channel (on GBAtemp IRC server).

The process will involve:

1. Updating to 6.20 OFW.
2. Installing the official battery PSPAR files (I will provide them to you if you don't have them).
3. Loading a custom PSPAR code file.
4. Testing the codes and reporting back if they work on Kahoots correctly.
5. Downgrading back to whatever CFW you were on.

I need to test a few of the code types with the official PSPAR to make sure I have implemented them correctly and this is the easiest way for me to do it.

The person who can do this for me will get access to the VIP functions of my PSP cheat utilities script (http://cheats.gbatemp.net/PSP/psp-utilities/) which allows them to convert more complex codes, convert codes to PSPAR format and generate a pspar_codes1.bin file compatible with the battery PSPAR. (if you want it that is)
 

Site & Scene News

Popular threads in this forum

Recent Content

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night