News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Help patch codes to an ISO [PSX]  (Read 1376 times)

[John]

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
    • JPS - Studios
Help patch codes to an ISO [PSX]
« on: November 07, 2018, 07:57:39 pm »
Does anyone know how to create a trainer with GameShark codes? or how to patch them to an iso?
So I could create some patches with some exclusive codes that I made myself.
Thanks in advance 8)

Jorpho

  • Hero Member
  • *****
  • Posts: 4011
  • The cat screams with the voice of a man.
    • View Profile
Re: Help patch codes to an ISO [PSX]
« Reply #1 on: November 07, 2018, 11:58:02 pm »
The GameShark changes memory addresses.  In order to patch them into an ISO, you have to find how the game's code on the disc sets up those memory addresses in the first place, and how the game might subsequently try to change those addresses.  It's not easy; you'll at least need an emulator with a debugger, for starters.
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

STARWIN

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
Re: Help patch codes to an ISO [PSX]
« Reply #2 on: November 08, 2018, 05:55:09 am »
for some types of read-only data and most code you can try searching the iso for the sequence you see in debugger ram in that spot in the gamestate where the code works.

for variable data you have to change how it varies instead, so the actual code you have may be useless other than for its location and format.

so it depends on what your code does.