Announcement

Collapse
No announcement yet.

CL-LiveDebug v3

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

  • There's brief descriptions of it's debug colours here
    http://psx-scene.com/forums/f150/ope...-colors-64354/
    http://psx-scene.com/forums/678452-post17.html
    I'll try and get a log but i'll need to compile it with the debug flag.
    Last edited by kh2k4; 05-31-2011, 02:06:53 AM.
    http://bh-re-db.pcriot.com/ <- Biohazard / Resident Evil
    Code Database

    Comment


    • I suppose you're done messing with CL-LiveDebug Gtlcpimp. It would still be a very useful tool if people could do extra scans beyond just the first scan. If you could do that, it would kick butt.
      July 7, 2019

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

      Comment


      • The Swap Magic, uLE, and/or OPL could perform certain Syscall modifications (such as adding SysCall or removing, or anything related) or could even be overwriting some of the data.
        If I recall correctly, Swap Magic and uLe perform an unload of all IRX modules they load (even if these modules were already loaded before they started) before passing control to the next ELF loaded. This caused an issue with Artemis/ps2rd, which required a minor fix (though I don't remember the details).
        I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

        Comment


        • Originally posted by Lazy Bastard View Post
          If I recall correctly, Swap Magic and uLe perform an unload of all IRX modules they load (even if these modules were already loaded before they started) before passing control to the next ELF loaded. This caused an issue with Artemis/ps2rd, which required a minor fix (though I don't remember the details).
          IRX module load / unload doesn't affect LDv3. LDv3 doesn't utilize anything related to the IOP, it is solely contained within Kernel until activated. Once it is activated it consumes some user space (0x0008xxxx, 0x00090000 - 0x000FFFFF). PS2RD has issues with it since it requires certain modules to be loaded on IOP, and when the IOP gets rebooted it's modules get wiped off and it has to try and reload them. At the point of a multiple reboot PS2RD dies entirely and LDv3 lives on to keep doing it's dirty deed.
          Last edited by Gtlcpimp; 06-03-2011, 09:42:04 PM.

          Comment


          • Ah, I see. Then I guess something is probably being overwritten. I wonder if ERL could be utilized to avoid such issues. Perhaps misfire could shed some light.
            I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

            Comment


            • LDv3 is hard coded to operate in it's region it would take a lot of modifications to move it around. A thought would be to compress everything and see how much space it uses, and set the data in an area nothing modifies, and set an extract function to load everything onto the ELF's stack pointer (if space permits). If not enough space is available on the stack then when launched (L3 + R3) do a hard scan for enough consecutive NULL space and when it closes have it clear the memory it used. Still a lot of work to modify it all to be relocatable.

              Comment


              • I want to thank you for this. I can't quite do much with it at the moment but it's got awesome potential.

                I was a big fan of the gameshark pro, and hacked a ton o' games with it.. Always wanted a ps2 one. I can almost do something with this. It froze a few times searching- maybe because I set a range of memory to search that was 'out of bounds' or something?

                I was trying to modify values in S.L.A.I. and have come as far as finding the damage value of an arm part(ostensibly), and modifying it, then returning to game to find the part simply unequipped...? I converted the value to hex before searching, which I believe is required, right?

                Maybe it's the game, or just that this more complex than gspro I used to use on psx.

                Anyway, you've done excellent work!

                Comment


                • Originally posted by eldogbbhed View Post
                  I want to thank you for this. I can't quite do much with it at the moment but it's got awesome potential.

                  I was a big fan of the gameshark pro, and hacked a ton o' games with it.. Always wanted a ps2 one. I can almost do something with this. It froze a few times searching- maybe because I set a range of memory to search that was 'out of bounds' or something?

                  I was trying to modify values in S.L.A.I. and have come as far as finding the damage value of an arm part(ostensibly), and modifying it, then returning to game to find the part simply unequipped...? I converted the value to hex before searching, which I believe is required, right?

                  Maybe it's the game, or just that this more complex than gspro I used to use on psx.

                  Anyway, you've done excellent work!
                  Thanks! It's a work in progress, obviously not complete. The features are there, just needs a lot of touch-ups. The main issues it has would be lagging from the joker scanner (need to adjust loop size), and disconnecting the controller... It is still a mystery to me on why the IOP shuts off the controller randomly, this causes the illusion of the console "freezing", when really it is stuck in the debugger since you cannot resume the game... I have noticed that some games flat out "freeze", and when I get around to installing the exception handler on it, I might be able to locate that issue. Some games cause the screen to stretch across on the debugger, simple fix, just haven't uploaded an updated LDv3 with the GS fix in it yet...

                  Freezing on the search, you kind of would have to keep the addresses in bounds lol. The debugger operates from the master +SysCall hook, so it's already in kernel mode. This means you can search any mapped address available to the EE. Keep in mind, user space starts at 0x00080000 and ends at 0x02000000.
                  Last edited by Gtlcpimp; 08-06-2011, 04:59:59 PM.

                  Comment


                  • I'd really love to see this updated with the ability to do extra scans past the first initial scan. It would be awesome.
                    July 7, 2019

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

                    Comment


                    • This app does not work at all. I press L3+R3 to bring up the menu, I get the fail safe menu and after it repeats a few times I press R3+L3 again when it returns me to the game and it finally brings up the main menu, but the controller is turned OFF with no way to bring me back to the game. So I'm left staring at a menu screen that doesn't do a thing since the controller is off.

                      Tested it with Dynasty Warriors 4 Empires and loaded CL Livedebug via uLaunchElf on Free MCBoot.

                      I tried pressing all of the buttons, reconnecting the controller, nothing works. I've been meaning to hack codes for this game for years that I couldn't find by searching the memory dump. Quite disappointing that it doesn't even work with this game.

                      Comment


                      • The Dynasty Warriors games won't work with CL-LiveDebug nor ps2rd. There's something special about those style of Koei hack and slash games.
                        July 7, 2019

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

                        Comment


                        • Well that explains it then. Just to let you know, this is what I wanted to accomplish:

                          - Phantom Trooper Mode in Empire Mode
                          - Edit starting officers
                          - Disable AI during Empire Map phase (no invasions or recruiting)

                          I know someone named Ructir hacked the phantom trooper code before, but that was like ages ago and he has since disappeared.

                          Can you recommend me to any other tools that may help me in hacking these codes? I tried the old fashioned way, but failed. :P

                          Comment


                          • Those all sound like those would be assembly codes instead of memory codes. My horrible guess would be to start by looking at other assembly codes for the game, and disabling the functions they are in. With luck it should maybe get you something you would be looking for.

                            Any chance you are the viruspunk that hacked resident evil game codes, or was that somebody else?
                            July 7, 2019

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

                            Comment


                            • Yes I am that VirusPunk. Together with Jarnold83.

                              Comment


                              • Originally posted by VirusPunk View Post
                                This app does not work at all. I press L3+R3 to bring up the menu, I get the fail safe menu and after it repeats a few times I press R3+L3 again when it returns me to the game and it finally brings up the main menu, but the controller is turned OFF with no way to bring me back to the game. So I'm left staring at a menu screen that doesn't do a thing since the controller is off.

                                Tested it with Dynasty Warriors 4 Empires and loaded CL Livedebug via uLaunchElf on Free MCBoot.

                                I tried pressing all of the buttons, reconnecting the controller, nothing works. I've been meaning to hack codes for this game for years that I couldn't find by searching the memory dump. Quite disappointing that it doesn't even work with this game.
                                I never did figure out what was causing the IOP to shut off the controller, so that issue is still in air right now. Just means you can't use it with this game for now...

                                Comment

                                Working...
                                X