Kodewerx Zophar's Domain
Page 1 of 5 12345 LastLast
Results 1 to 10 of 41
  1. #1
    Join Date
    Oct 2006
    Posts
    62

    Default [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 at 02:02:54 PM. Reason: New version

  2. Thanks! 47iscool, orcanaoftime is thankful for this post
  3. #2
    Join Date
    Sep 2006
    Location
    Germany
    Posts
    611

    Default

    Awesome! Will check this out asap.

  4. #3

    Default

    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...

  5. #4
    Join Date
    Apr 2012
    Posts
    133

    Default

    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.

  6. #5
    Join Date
    Oct 2006
    Posts
    62

    Default

    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.

  7. Thanks! 47iscool is thankful for this post
    Likes 47iscool liked this post
  8. #6
    Join Date
    Apr 2012
    Posts
    133

    Default

    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 at 10:39:12 PM.

  9. #7
    Join Date
    Oct 2006
    Posts
    62

    Default

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

  10. #8
    Join Date
    Apr 2012
    Posts
    133

    Default

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

  11. #9
    Join Date
    Apr 2012
    Posts
    133

    Default

    Seems that it may be incompatible with gsKit_fontm_print_scaled().

  12. #10
    Join Date
    Oct 2006
    Posts
    62

    Default

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Release of Pugsy's MAME Cheat.zip
    By OldSchoolGamer in forum The Lounge
    Replies: 5
    Last Post: 11-28-2011, 05:30:03 PM
  2. CL Cheat Engine v1.3r03b Release
    By Gtlcpimp in forum Research & Development
    Replies: 12
    Last Post: 06-24-2011, 05:46:00 PM
  3. Illusion Cheat Device for Ps2
    By Chocka in forum Research & Development
    Replies: 1
    Last Post: 03-25-2009, 05:37:04 AM
  4. Will there ever be a cheat device for the XBox?
    By Foolish Mortal in forum The Lounge
    Replies: 2
    Last Post: 07-12-2005, 06:09:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •