Announcement

Collapse
No announcement yet.

[Release] ps2rd Cheat Device GUI (Alpha)

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

  • [Release] ps2rd Cheat Device GUI (Alpha)

    I've combined ps2rd's cheating capabilities with a menu driven interface powered by GSKit. This will allow you to select individual cheats for any game in a list (like a normal cheat device). It supports all the code types ps2rd naively supports. Since I wanted to make this just for cheating, I've removed the debugger and LAN interfaces as they're not really needed. This was a project I wanted to tackle to strengthen my programming knowledge.

    Update - September 2, 2013
    http://wescastro.com/2013/09/03/ps2r...ce-gui-update/
    I had some freetime over the past few days and made some updates to my cheating device GUI. It's more stable than previous releases and has had more unneeded parts of ps2rd removed (such as videomod). BOOT2 selecting now works as it should, so you can boot to a ELF instead of directly to disk. I've also added preliminary support for compressed code lists. Basically, you use the included "compress-decompress.exe" program to compress/decompress your cheat files using zlib compression. When using a compressed cheat list, it must have a file extension of ".bin" or else it will try to load it as text. Update ps2rd.conf to reflect whichever cheat list you're using. This should help cut down on loading times.

    Todo:
    Fix delete option (currently does nothing)
    Implement less-awkard cheat list compression (maybe use zip/7z files instead)
    More code cleanup
    PS2-side codelist manipulation (add/modify/delete/etc.)

    If you find any bugs, please let me know!

    Latest version:
    http://www.mediafire.com/download/5r...2092013-r2.rar
    Updated source code will be available soon. Source on github is not the latest version.
    Last edited by root670; 09-03-2013, 01:02:54 PM. Reason: New version

  • #2
    Awesome! Will check this out asap.

    Comment


    • #3
      That's awesome.

      I need to look around for some stuff GTLC did that involved a TSR GUI that could be called during game play and halt game execution. Once this GUI is stable, having it call an in-game ELF that allowed hacking capabilities during game play, without the use of a PC, would be amazing (it would be back to the GSPro days).
      I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

      Comment


      • #4
        Although this is not my area of expertise, nor in any way, an understandable subject. But in response to Lazy Bastard, wouldn't that be possible through converting an elf to a C array. Then store it in the kernel or where you wish to store the hook and whatnot. Then in response to a button combination, jump to that address. Just like a subroutine. Only an idea and only noob talk.

        Oh wes_less, great job! Thanks for the inclusion of the source code. I have a small passion for GUI's and design and there has never been a source code that really implements all that I wish to understand about gsKit.

        Comment


        • #5
          Thanks! It's not pretty but it gets the job done

          If I get around to it, I'll add keyboard support for inputting cheats.

          Comment


          • #6
            Yeah, I have no way of putting up an attachment. So here is a possible help from an example of keyboard input. Requires: filexio.irx, ps2kbd.irx, usbd.irx. Makefile Dependencies: '-lkbd' ,'-ldebug'. So add those with EE_LIBS = ...


            /*
            # _____ ___ ____ ___ ____
            # ____| | ____| | | |____|
            # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
            #-----------------------------------------------------------------------
            # Copyright 2001-2004, ps2dev - http://www.ps2dev.org
            # Licenced under Academic Free License version 2.0
            # Review ps2sdk README & LICENSE files for further details.
            #
            # $Id: hello.c 1152 2005-06-12 17:49:50Z oopo $
            # Hello sample
            */

            #include <tamtypes.h>
            #include <stdio.h>
            #include <debug.h>
            #include <libkbd.h>
            #include <loadfile.h>

            int main() {
            char newChar = 0;

            init_scr();

            SifLoadModule("host0:fileXio.irx", 0, NULL);
            SifLoadModule("host0:usbd.irx", 0, NULL);
            SifLoadModule("host0s2kbd.irx", 0, NULL);

            PS2KbdInit();

            PS2KbdSetReadmode( PS2KBD_READMODE_NORMAL );

            //////Do stuff//////
            scr_printf("Type something!\n");
            while( 1 ) {
            while (!PS2KbdRead(&newChar)) ;;;
            scr_printf("%c", newChar);
            }
            ////////////////////
            // Shut down the keyboard library.
            PS2KbdClose();

            // End program.
            return 0;
            }
            Last edited by dnawrkshp; 07-18-2012, 09:39:12 PM.

            Comment


            • #7
              Thanks for the tip. I'd like to be able to embed the needed modules into the ELF though, to keep things simple.

              Comment


              • #8
                Hold on let me look at your code to see if I can add a keyboard input method.

                Comment


                • #9
                  Seems that it may be incompatible with gsKit_fontm_print_scaled().

                  Comment


                  • #10
                    Here's a new binary for people to try out: https://github.com/downloads/root670...8e74.dirty.zip

                    Comment


                    • #11
                      Originally posted by Lazy Bastard View Post
                      That's awesome.

                      I need to look around for some stuff GTLC did that involved a TSR GUI that could be called during game play and halt game execution. Once this GUI is stable, having it call an in-game ELF that allowed hacking capabilities during game play, without the use of a PC, would be amazing (it would be back to the GSPro days).
                      Have you forgotten the SVN repository already?

                      URL: https://svn.bountysource.com/artemis...LDv3Engine.cds

                      I never understood the GS kit in the SDK so I designed my own based on the pixel drawing sample a long time ago. It worked wonders for LDv3 (which went open source a good while back!) Hope this helps
                      Last edited by Gtlcpimp; 08-18-2012, 05:58:18 PM.

                      Comment


                      • #12
                        Wow, I can't believe the files are still there...I gave up hope last time BountySource went belly-up for an extended period of time with no warning or response from staff. I had just before pulled out all donations and refunded them to those who donated.

                        This should probably be grabbed in its entirety as well: https://svn.bountysource.com/artemis...-LiveDebug_v3/
                        I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                        Comment


                        • #13
                          Nice GUI!

                          But I couldn't load a ELF, it always try load a disc, even I have changed the load path correctly inside 'ps2rd.CONF' file, in my case is "mc0:/OPL/OPNPS2LD.ELF". I've tested PS2RD 0.5.3 without GUI and it worked as expected.

                          Am I missing something or is really a little bug?


                          Thanks!

                          Comment


                          • #14
                            Hi root670,

                            first, many thanks for developing the GUI and ps2rd.

                            With the last commit 401a1083fd of the GUI i see you added in the code the option of boot2, y tryed to use it for load the
                            OPL with the option of "Press SQUARE to select boot2", but when i have the path selected of boot2, i press all the buttons for start the game and don't happens nothing.

                            Is the code not finished for load the OPL and the GUI only works with optical disks, or there is a bug,
                            or i'm making anything wrong?

                            Regards.

                            Comment


                            • #15
                              Thanks for trying it out! I remember having issues with flashdrives for saving/loading stuff, so I'd recommend putting OPL on your memory card with the config file pointing to it's location.

                              Comment

                              Working...
                              X