[Release] Online Gateway To NTR Code Converter

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by DarkFlare69, Dec 27, 2017.

  1. David13

    David13 Advanced Member

    Newcomer
    62
    12
    May 23, 2017
    France
    
     
    Last edited by David13, Jan 27, 2018
    DarkFlare69 likes this.
  2. DarkFlare69
    OP

    DarkFlare69 GBAtemp Psycho!

    Member
    4,847
    2,677
    Dec 8, 2014
    United States
    Ohio
    Updated to v1.0.5

    -Added notes
    -Improved help page to give more detailed information on how to use spoilers and notes
    -Added titles to more popup text boxes


    Notes can be created using *

    Code:
    +This is a spoiler
    [Code1234]
    D3000000 08000000
    10000048 0000FFFF
    D2000000 00000000
    *This is a note for Code1234\nAnd if you want to use another line, you can use \n to create a new line.
    -Exits the spoiler, you only need to type -
     
    ninjistix likes this.
  3. ninjistix

    ninjistix Advanced Member

    Newcomer
    90
    18
    Aug 8, 2016
    United States
    would it be possible to reverse the converted codes back to gateshark codes, lets say you found a old plugin source and want to port those codes to the newer lib?
     
  4. DarkFlare69
    OP

    DarkFlare69 GBAtemp Psycho!

    Member
    4,847
    2,677
    Dec 8, 2014
    United States
    Ohio
    Yes, but it's a feature I won't be adding due to C being a lot more flexible than the NDS codetypes. There's many ways to write a NTR code, and unless it's written in the exact format that the program likes, it won't be possible to convert by the program, since the NDS codetypes are so limited in terms of flexibility
     
  5. Wiiucoop

    Wiiucoop Member

    Newcomer
    16
    1
    Dec 27, 2016
    United States
    NVM
     
    Last edited by Wiiucoop, Jan 27, 2018
  6. David13

    David13 Advanced Member

    Newcomer
    62
    12
    May 23, 2017
    France
    
     
    Last edited by David13, Jan 27, 2018
  7. KillianMG

    KillianMG Newbie

    Newcomer
    3
    1
    Feb 10, 2018
    France
    Hi ,

    where put the codes after doing this :
    void Plugin Oras(void)
    {
    new_spoiler("Unlimited");
    new_entry("Max/Inf HP v1.4", InfHP_note, InfHP);
    new_entry("Money 999998", InfMoney_note, Infmoney);
    exit_spoiler();
    }

    -----------------------------------------------------------------------------------------


    I made his but but I'm not sure that his walk
    code :
    void Plugin Oras(void)
    {
    new_spoiler("Unlimited");
    new_entry("Max/Inf HP v1.4", InfHP_note, InfHP);
    new_entry("Money 999998", InfMoney_note, Infmoney);
    exit_spoiler();
    }

    void InfHP(void)
    {
    if (READU32(offset + 0x81FB58C) < 0x08200000)
    {
    if (READU32(offset + 0x81FB92C) < 0x08200000)
    {
    offset = READU32(offset + 0x81FB58C);
    WRITEU16(offset + 0x000000E, 0x000003E7);
    WRITEU16(offset + 0x0000010, 0x000003E7);
    offset = 0x00000000;
    offset = READU32(offset + 0x81FB92C);
    WRITEU16(offset + 0x000000E, 0x000003E7);
    WRITEU16(offset + 0x0000010, 0x000003E7);
    offset = 0;
    data = 0;
    }
    }
    }

    void Infmoney(void)
    {
    WRITEU32(offset + 0x8C71DC0, 0x000F423E);
    }
     
  8. DarkFlare69
    OP

    DarkFlare69 GBAtemp Psycho!

    Member
    4,847
    2,677
    Dec 8, 2014
    United States
    Ohio
    Sorry, I don't understand what you're saying. The codes will be generated inside of cheats.c and the menu inside of create_menu.c. You can build using build.bat or by clicking build.
     
  9. KillianMG

    KillianMG Newbie

    Newcomer
    3
    1
    Feb 10, 2018
    France
  10. David13

    David13 Advanced Member

    Newcomer
    62
    12
    May 23, 2017
    France
    [QUOTE = "KillianMG, article: 7829084, membre: 441988"] merci [/ QUOTE]
    There is a problem with your plg
     
  11. DarkFlare69
    OP

    DarkFlare69 GBAtemp Psycho!

    Member
    4,847
    2,677
    Dec 8, 2014
    United States
    Ohio
    did i answer your question or are you still having an issue?
     
  12. KillianMG

    KillianMG Newbie

    Newcomer
    3
    1
    Feb 10, 2018
    France
    oui vous avez répondu à ma question, David 13 non j'utilise le code de la passerelle

    — Posts automatically merged - Please don't double post! —

    yes you answered my question, no problem in my Plg
     
    DarkFlare69 likes this.