[Release]Gateshark2NTR

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Nanquitas, Aug 2, 2016.

  1. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,154
    1,825
    Sep 29, 2015
    France
    South of France :)
    Oh yeah, the formatting is a little destroyed...

     
  2. saburou

    saburou GBAtemp Regular

    Member
    206
    48
    Oct 13, 2015
    Thank you!
     
  3. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,154
    1,825
    Sep 29, 2015
    France
    South of France :)
    No problem. ;)

    Remember that you need to use the debug mode and the debug menu can be displayed using L + Start.
    Also, it might not work on some game, I didn't tested it thoroughly.
     
    saburou likes this.
  4. Klairm

    Klairm Member

    Newcomer
    12
    3
    Feb 28, 2017
    "Arm-none-eabi-gcc" is not recognized as an internal or external command, Program or executable batch file.
     
    Last edited by Klairm, Mar 21, 2017
  5. Klairm

    Klairm Member

    Newcomer
    12
    3
    Feb 28, 2017
    Hey i have a problem, the log is this:

    "Arm-none-eabi-gcc" is not recognized as an internal or external command, Program or executable batch file.
     
  6. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,154
    1,825
    Sep 29, 2015
    France
    South of France :)
    You need to install devkitpro.
     
  7. Klairm

    Klairm Member

    Newcomer
    12
    3
    Feb 28, 2017
    It's installed.
     
  8. Klairm

    Klairm Member

    Newcomer
    12
    3
    Feb 28, 2017
    Help please, devkitpro is installed
     
  9. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,154
    1,825
    Sep 29, 2015
    France
    South of France :)
    Add it to your PATH environment variable then.
     
  10. Klairm

    Klairm Member

    Newcomer
    12
    3
    Feb 28, 2017
    Can you send a screeshoot? I think mine variable it's bad
     
  11. Xmortal

    Xmortal Other Nickname Legarad

    Member
    141
    9
    May 28, 2008
    Venezuela
    Venezuela
    I'm doing my own plugin for Story of Season Trio of Towns, but I always see the list of incomplete codes when using it.

    Example:
    Warning: Spoilers inside!

    Result with Error:
    [​IMG]
    Why is this happening? If the text file is correct
     
    Last edited by Xmortal, Mar 28, 2017
  12. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,154
    1,825
    Sep 29, 2015
    France
    South of France :)
    I can't see your image, but try using the manager instead of the raw Gateshark2NTR.
     
  13. Xmortal

    Xmortal Other Nickname Legarad

    Member
    141
    9
    May 28, 2008
    Venezuela
    Venezuela
    [​IMG]

    Google not allowed hotlink his images.
     
    Last edited by Xmortal, Mar 28, 2017
  14. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,154
    1,825
    Sep 29, 2015
    France
    South of France :)
    Okay, so I tried by copying your codes to a text file then using NTR Plugin Manager to compile the plugin and everything worked fine.

    I'm joining the .txt and the plugin generated in case you want to download it.
     

    Attached Files:

  15. dsrules

    dsrules GBAtemp Psycho!

    Member
    3,713
    524
    Sep 20, 2005
    @Nanquitas, in C how do you write disable an asm cheat (return to it's original value) when turn cheat OFF?
    void test(void)
    {
    WRITEU32(0x345678 0xE3A00000);//original value 0xE3A00001
    }

    new_entry("new cheat", test);
     
  16. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,154
    1,825
    Sep 29, 2015
    France
    South of France :)
    Hmm, libShark2NTR don't have something to check if the cheat is enabled / disabled so you can only do something like this:
    Code:
    void test(void)
    {
        if (!is_pressed(BUTTON_L))
            return;
    
        if (is_pressed(BUTTON_X))
        {
            WRITEU32(0x345678, 0xE3A00000);
        }
        if (is_pressed(BUTTON_Y))
        {
            WRITEU32(0x345678, 0xE3A00001);
        }
    }
    
    L + X will enable the code
    L + Y will disable the code
     
  17. dsrules

    dsrules GBAtemp Psycho!

    Member
    3,713
    524
    Sep 20, 2005
    okay, Thanks for the clarification

    @Nanquitas , another question
    this example, the value increases like 0x3X+ per press B

    void test(void)
    {
    if(is_pressed(B))
    WRITEU32(0x0068C800, READU32(0x0068C800) + 1);
    }
    how do I make it to increase only +1 per press?
     
    Last edited by dsrules, Mar 30, 2017
  18. tobal76

    tobal76 Member

    Newcomer
    13
    0
    Nov 22, 2016
    Italy
    hi there!
    i always get this error when compiling a file:

    Code:
    Cheat(s) found(s): 3[ERROR] Sources\string_manipulation_c:146:
    void __cdecl str_rm_double_space(char *)( errno: Invalid arguments | Bad arguments.)
    and this is what im coding
    Code:
    [Max App Points]
    DD000000 00000201
    D3000000 30CFC038
    00000000 0000270F
    D0000000 00000000
    
    [Max Macca]
    D3000000 30CF930C
    00000000 3B9AC9FF
    
    [Max Equip Upgrades]
    DD000000 00000201
    D3000000 30D21618
    C0000000 00000460
    00000000 270F270F
    DC000000 00000004
    D1000000 00000000
    D0000000 00000000
    how can i fix this??
    thanks
     
    Last edited by tobal76, May 10, 2017
  19. YueToramaru

    YueToramaru Member

    Newcomer
    15
    4
    Mar 1, 2017
    Spain
    Between the Soul Society and the Kingdom of Fiore
    Guys, I have a problem with NTR Plugin Manager. When trying to compile the gateshark text I get the following error. I do not know if I can upload image or not, but I want to do .plg 2.0 or 3.0 of Pokemon Y.

    image
     
  20. Clément

    Clément GBAtemp Regular

    Member
    126
    25
    Aug 2, 2016
    France
    Paris
    Why you use NTR Plugin Manager and not Gateshark2NTR ?