Announcement

Collapse
No announcement yet.

Need a ps2dis search example

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

  • Need a ps2dis search example

    I've found with Hanimar's ps2dis tool a Label "DiscRemoved_Event" in the God of War 2 SCES-File, can someone write an accurate guide how to detect the Raw Code with ps2dis ?I'm busy with MIPS since 1 week and i use Mars 3.5 with Daniel Ellard's MIPS book.My Knowledge is increasing with advancing with this book but apparently that's not enough at this Juncture to find with relative ease a Raw Code.I hope there are some experts hereabouts.Is also somewhere a high quality video available, the few at YouTube are useless because of the bad quality.You can't read anything at all.
    Last edited by Maori-Jigglypuff; 12-20-2008, 01:56:58 PM.

  • #2
    That question doesn't make any sense. I have no idea how to find codes easily. Older games (the ones that came out within the first year of the ps2) had nice unquoted labels that usually told you exactly what something is. There are 3 very stupid methods of finding codes I use.



    1. Find any good sounding label and check for referrals. If it has any, check around it like crazy for SW's, or LW's, or ADDIU's. Go to the addresses those store words or load words go to and try a bunch of the addresses around it with 00000000 or FFFFFFFF. Check to see if anything happens in the game.
    Example: Silent Hill Origins. I found the label "MeleeKills" and went to that, and went to it's referrers. Almost all of them had a ADDIU right by it. I went to the ADDIU's addresses and tried 0's and noticed I got 0 kills. Tried more addresses around that, got more 0's. 0 kills, 0 time taken, 0 map views, 0 whatever else. Then I tried all F's. Can't remember what I got, but I noticed I got all 3 ending accolades and the konami code accolade. I went through things individually and figured out what everything did.
    Another example: Fatal Frame 2. That has a lot of nice labels because it's an old game. I was trying to get rid of the camera reload time by "JR RA"ing any function that had a name that sounded right. I eventually found ResetCharge__12CNPlyrCamera and that removed the waiting time between camera shots. There were also other good labels (GameCostume, all the Clearflg??? labels, some others).




    2. Find a code somebody else made, try a bunch of addresses around their code with the value 00000000 or FFFFFFFF and see if anything happens. That's what I've found most of my codes from. Usually a code somebody else makes has a referrer or other addresses around it with referrers. Check around it's referrers for more SW's and LW's and go to them and try a bunch of the addresses around them. Sometimes codes people found can have even more effects if they would have tried some more values. I've said it to many people, wherever 1 code is there's usually a lot more right next to it. I've found a good amount of codes from this.
    Example: Shadow of the Colossus. Almost every code I found was very close to the infinite health, infinite grip, and have item codes. But the game froze every time. Then I noticed the official codes had that E-type code as the first line. I put that as the first line and started trying everything and found a bunch of codes.
    Another example: Resident Evil Outbreak File #1 & #2. My first game. Somebody found a speed modifier to run very fast through walls for File #1 version 1.0. I had v1.1 and tried it and it didn't work. I tried a bunch of addresses close to where the v1.0 code was and found a bunch of other stuff nobody found including the speed modifier and walk through walls.
    Another example: Ratchet & Clank 1. Nothing too special, but I noticed I got some more interesting effects but giving the gold weapons codes a higher value. 00 = normal weapon, 01 = gold weapon, 02 and higher = gold weapon with more power. The flamethrower gave me gigantic flames that went farther, the bomb glove bomb explosions got a lot bigger, morph-o-ray made the chickens a lot bigger.




    3. I've found a few ASM codes by looking at other ASM codes for the particular game and searching for similar code with PS2Dis's search function.
    Example: Siren. The infinite health code was a ASM code, but there was no infinite health code for NPCs. I searched for simliar code and ended up with about 30 different matches. I gave the SW codes 0 just like the player's infinite health code and noticed that all enemies and NPCs had infinite health. I narrowed them down and found the NPC infinite health code.
    Another example: Twisted Metal Head On. I found the infinite special energy code by looking at Skiller's infinite turbo code which was a ASM code. I looked at a few things above it and they were nearly identical. I was lazy and did a "JR RA" to 2 functions above it, and noticed I got infinite special energy. The 1st function above the infinite turbo code looked identical except for a different SW offset that was 4 less or something, then the 1 above that had that same SW offset but looked a lot different and was bigger. So I just tried the 1st one that looked identical and didn't get special energy. Then I tried "JR RA"ing the bigger different one above it with the same SW offset, and that gave me infinite special energy. I can't remember exactly what I did from there, but I saw Skiller just NOP'd the SW for infinite turbo so I did the same thing to the SW that was 4 less (or higher? can't remember) and got infinite special energy and said good enough, I got it.



    A save dump can help make any of these easier. I found a few with save dumps too. Save dumps can tell me the exact value for unlocking things in games. I found the infinite double jumps code in jak and daxter 1 by accident, then I used a save dump to find the exact value, and searched for that same value in save dumps for jak 2 & 3 and found infinite double jumps were identical in them too. I found the exact value to have the items in jak 2 & 3 with save dumps, otherwise I'd have guessed they were FFFFFFFF which could have caused problems in the games.

    I have no idea how to read ASM, never have and I doubt I ever will. But that hasn't stopped me from finding a bunch of stuff. I don't know how people find exact things like health, ammo, turbo, and whatever else from looking at ASM code. All I know is how to mess with some stuff by making sure things don't happen by either using JR RA, forcing a branch to always branch or never branch, or just NOP something.
    Last edited by bungholio; 12-21-2008, 07:10:00 AM.
    July 7, 2019

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

    Comment


    • #3
      Ok, BIG thanks for the Hints anyway They can be useful for some of my Games,at least I hope so,lol.I will keep on learning MIPS, and i want to find the Codes for the Labels I'm interested in.For some Games I can find for a Label the first four numbers of a Address but not the remaining Four because the lacking of my Knowledge.I hope that will change in the close Future
      Last edited by Maori-Jigglypuff; 12-21-2008, 05:57:47 AM.

      Comment


      • #4
        Originally posted by Maori-Jigglypuff View Post
        I will keep on learning MIPS, and i want to find the Codes for the Labels I'm interested in.For some Games I can find for a Label the first four numbers of a Address but not the remaining Four because the lacking of my Knowledge
        I still have no idea what you are talking about with labels. They are mostly useless in any game that came out in 2002 or later. You can find any non-quoted label easily by just typing the word in the search box in ps2dis, not that any of them are useful.
        July 7, 2019

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

        Comment


        • #5
          The second example of his second method essentially describes finding the memory offset between two versions (the number you can add or subtract to convert most, if not all codes between versions of a game). Incidentally, IDK, what was it? I'll add it to Majestic Porter, whenever I resume work on that.
          I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

          Comment

          Working...
          X