Author Topic: (Request) How to Patch a Cheat into a game  (Read 1379 times)

0 Members and 1 Guest are viewing this topic.

Offline couponescc1986

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
(Request) How to Patch a Cheat into a game
« on: January 22, 2020, 08:43 PM »
Hi I'm a Newbie at all of this , just tryIng to understand and get the Help needed

I want to learn how to

- Use Cheat Engine & ArtMoney

- Use a Hex Editor to Find and Replace a Hex string  so the Cheat could be injected into the game

So when running a game , any emulator , any  cheat engine required is not needed  , as example I will already have infinite Lives , or Infinite Health


(I already Know about GGGuy (game genie guy) , i already patched all my NES ,SNES , Master System, Turbografx, & Gensis games with GGGUy , im looking to patch consoles after that generation ( Sega Saturn , PS1 , N64 etc ...)


In Cheat Engine & Artmoney - I already know how to search for a Value , Decrease or Increase to find an Address for Health or lives  and you can then Lock (Freeze) that address to have infinite

- in Hex Editor I know how to use in a little sense , i used HXD to find and replaced Hex Strings for Sega CD games so they could be filled with codes

My question is  can all consoles systems have the same process in to do this with cheats  ( I know the Sega CD could , and recently saw someone do this with PS1 games as well with the search and replace strings ) ?

Is there any easy way to use Cheat engine or Artmoney  and Hex editor to accomplish what I would like to do
Make or find my own cheats for games that don't have infinite health or infinite lives or infinite ammo ?

Are there any hackers out there that take requests into finding cheats for me and then givIng me the Find and Replace results

Are there any websites Forums  that's have Find And Repalce for different consoles that I can manage to patch myself

Someone explained what I would like to do below , but somehow since I'm still new and don't understand, could you please help me understand what this person is saying  step by step  , I do apologize for my ignorance since I'm a newbie

Here is the Thread

"There is nothing difficult to patch the game (you take the HEX Editor - you find the offset or code, and replace it, that's all).

Everything is somehow simple! That is ... for example,

I found the address of lives in the game 80045133: 0064 = 100 values of lives using ArtMoney .

 
Next, I throw this address into the debugger and put the breaker on the record,

 in the game I spend one life and should immediately work and show the debugger the address (Offset)


 the instruction code for me, where the reduction of lives is triggered. For example, the debugger gave me such 00022348: 24680011 (HEX)

the asemba instruction right next to the code (emulator pSX 1.13d ).


Add the address (Offset) in two bytes mode to ArtMoney with such a slightly changed address 8002234А: 9216 (DEC) = 2400 (HEX) / What we did was add the eight, add 2 bytes to the offset and replace the two bytes of the code (Value) 2468 ( HEX) at 2400 (HEX), so we ourselves erased it, so that there would be no deduction of lives in the game.


This is the official GameShark cheat code 8002234A: 2400
You can also check on the cracker of GameShark v5 games on the Playstation console itself (Console), one hundred pounds should work


Well, then you throw this GameShark cheat code into the converter and check. In theory, it should convert, but on the xp.
I do not understand in the ePSXe emulator there is a menu of cheat codes, then why convert them. Or he does not accept them from ArtMoney
And let the people learn the same how to do it "

Offline nuu

  • Hero Member
  • *****
  • Posts: 1725
  • Karma: +79/-2
    • View Profile
Re: (Request) How to Patch a Cheat into a game
« Reply #1 on: January 22, 2020, 11:44 PM »
The basics of a hex editor is quite easy and is a basic computer skill that I think anyone should know. But it looks like you already know how to use it.

A hex editor is just a program that is able to indiscremently change any byte you want in any file, no matter what meaning the byte has. Searching and replacing strings is the same no matter what file you do it with. Just as long as you know the exact offset for what you need to edit. The way a game store its various data however is different for every system and every game. Changing anything to anything meaningful requires knowing where things are and how things works. It isn't easy and it helps to know the hardware and assembly for the system you work with.
Things like Cheat Engine probably makes things easier. I can't help you with that though, sorry.

It almost sounds like the guy is advertising ArtMoney which is a commercial program. I don't think it's as easy as he makes it sound like, but as you learn it will become easier with experience. If you think something is hard it's probably because there is some word or concept you haven't understood yet. Since you will often run it to many technical things you should learn the basics of things like rom hacking. Binary and hexadecimal number bases are among the basics and is taught here:
http://www.romhacking.net/start/

You might be able to get away with not learning the assembly, but you might need to know something about the hardware for the system.
Getting involved with a rom hacking community is also an idea. Read forums even if you don't understand everything and look up things you are not familiar with. The more you learn the easier things become, and the higher is the chance that you understand a tutorial or instructions.

Offline couponescc1986

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: (Request) How to Patch a Cheat into a game
« Reply #2 on: January 23, 2020, 12:55 AM »
Thank you thoughtfully for the insight and tips

Truly appreciate any tips along the way