How were PSP cheat codes created before PPSSPP existed?

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
Without emulators there are three general approaches for any given system

1) Hardware debugging.
The PSP in this case allowing a measure of debugging via USB cable. Home consoles as they are known today tend to sit a bit aside from old "home computer" type things that might well have hard exposed hardware -- see something like the multiface series of devices.

2) Software debugging.
Make something that injects its own code into the game (or a higher level) and allows you to stop, compare memory regions for before and after, search for things and whatever else.


Arguably good for 1) and 2) but I will leave it for this one. The principle is generally the same though and you have breakpoints, memory dumps and comparisons as per cheat finding for any given system ( https://web.archive.org/web/20080309104350/http://etk.scener.org/?op=tutorial https://doc.kodewerx.org/ https://fceux.com/web/help/Debug.html https://www.romhacking.net/documents/361/ ).

3) Code disassembly.
Arguably the backwards way of going about it (normally you find the cheat code and use that to inform a disassembly effort) but if you can get a binary suitable for disassembly (decompilation might also be an option for some devices) and indeed run an altered binary you can spend a long time pondering things that you have there (maybe also with a normal save dump for reference) to in turn create a cheat. A workflow might look like make some kind of on screen memory viewer (fairly basic homebrew, presumably you can run custom code in this scenario), maybe make a memory viewer respond to a button press, and from there you can figure what touches different parts of memory and ultimately end up at a cheat.
 

Gamerboi28

Active Member
OP
Newcomer
Joined
Dec 13, 2016
Messages
40
Trophies
0
Age
39
XP
158
Country
Without emulators there are three general approaches for any given system

1) Hardware debugging.
The PSP in this case allowing a measure of debugging via USB cable. Home consoles as they are known today tend to sit a bit aside from old "home computer" type things that might well have hard exposed hardware -- see something like the multiface series of devices.

2) Software debugging.
Make something that injects its own code into the game (or a higher level) and allows you to stop, compare memory regions for before and after, search for things and whatever else.


Arguably good for 1) and 2) but I will leave it for this one. The principle is generally the same though and you have breakpoints, memory dumps and comparisons as per cheat finding for any given system ( https://web.archive.org/web/20080309104350/http://etk.scener.org/?op=tutorial https://doc.kodewerx.org/ https://fceux.com/web/help/Debug.html https://www.romhacking.net/documents/361/ ).

3) Code disassembly.
Arguably the backwards way of going about it (normally you find the cheat code and use that to inform a disassembly effort) but if you can get a binary suitable for disassembly (decompilation might also be an option for some devices) and indeed run an altered binary you can spend a long time pondering things that you have there (maybe also with a normal save dump for reference) to in turn create a cheat.


Awesome! Thanks for the insight and the comprehensive response!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1