Announcement

Collapse
No announcement yet.

Understanding and using empty area of a PS2 Game ELF

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Understanding and using empty area of a PS2 Game ELF

    I asked the following question at the PCSX2 Forum but not sure if it was the right place.I ask it here again:

    I did take a look inside a patch and saw that following Commands were written in EMPTY AREA (addresses above 0x00100000) like

    //Inf MP In Battle
    patch=1,EE,200C0100,extended,8C830238 // here in this address
    patch=1,EE,200C0104,extended,8C810184 // here in this address
    patch=1,EE,200C0108,extended,0023100B // here in this address
    patch=1,EE,200C010C,extended,08068678 // here in this address
    patch=1,EE,200C0110,extended,AC820180 // and here in this address
    patch=1,EE,201a1a10,extended,08030040

    My Question:

    How does the Emulator (or the real PS2) recognize this area (Values of the addresses) as valid Instructions because they
    are above address 0x00100000.So you can define your own Instructions AND VARIABLES there like in C for example ?
    I mean these Instructions (Values of the Addresses) are not in the Instructions Area which normally starts at 0x00100000
    in the ELF File.Can someone explain that to me ? I ask because i probably want to do later some Codes for the Jak Games
    which are highly Cheat Device protected.I think i will find out what's going on there but anyones explanation who has good
    knowledge about these empty area stuff can also be helpful.

  • #2
    EE memory was from 0x00080000 to 0x02000000 from I remember, and games usually started at 0x00100000 unless I'm 1 zero too many and thinking of the PS3. Maybe it was 0x00008000 to 0x02000000 and games usually start at 0x00010000, I can't remember. Either way, 0x00100000 isn't likely empty. Load the elf file in PS2Dis, you'll see things at 0x00100000 unless the game loads extra files like how Shadow Of The Colossus has those special .XFF files that are basically the elf file loaded somewhere else.
    July 7, 2019

    https://www.4shared.com/s/fLf6qQ66Zee
    https://www.sendspace.com/file/jvsdbd

    Comment


    • #3
      Ok, thanks for the Info.

      BTW: I added some interesting Codes for Burnout (PS2) in Retro Hacking.I found the "No Car and Wall Crashs" and "No Car Damage".

      Comment


      • #4
        For custom routines, I use empty spaces (codecaves) from 0x000A0000 onwards. Based on informations from various users of this forum.
        Learning how to hack real life

        Comment


        • #5
          Ok, thank you either for the Info.Yes that Area around 0x000A0000 seems to be empty on all Games which i have checked.

          Comment

          Working...
          X