ROM Hack [NTR Cheats Plugin] Ported from Gateshark

Nanquitas

Well-Known Member
Member
Joined
Sep 29, 2015
Messages
2,345
Trophies
0
Age
30
Location
South of France :)
XP
3,336
Country
France
Yep but he do nothing with that since just after he says that offset = *0x0 (NULL) then he substract to NULL which will result in a negative address and so, an invalid address to write in.
 

chronoss

Well-Known Member
OP
Member
Joined
May 26, 2015
Messages
3,007
Trophies
1
XP
4,901
Country
Congo, Republic of the
New entry

Fire Emblem Fates - Birthright (USA)
Fire Emblem Fates - Conquest (USA)
Fire Emblem Fates Special Edition (USA)
Inazuma Eleven - Go Light (EUR)
Inazuma Eleven (USA) REBUILD
Justice Chronicles (EUR)
Nintendo Badge Arcade (USA)
Super Smash Bros (EUR)
Super Smash Bros (USA)

@AlphaSapphire , @Garblant ............
 
Last edited by chronoss,
  • Like
Reactions: Thunder Kai

Nanquitas

Well-Known Member
Member
Joined
Sep 29, 2015
Messages
2,345
Trophies
0
Age
30
Location
South of France :)
XP
3,336
Country
France
A much cleaner code:
Code:
void    cheat(void)
{
    if (key == BUTTON_X + BUTTON_DR)
    {
        u16        *id = (u16  *)0x16F4C160;
        u16        result;
        char       id_str[5] = { 0 };
        size_t    i;

        for (i = 0; i < 4; i++)
        {
            id_str[i] = READU8(id + i);
        }
        result = (u16)strtoul(id_str, NULL, 16);
        WRITEU16(0x15FBEAD0, result);
        waitKeyUp();
    }
}
For being able to read the error:
- open a terminal in the folder (Shift + left click -> open a terminal here)
- Type build.bat
- The compilation will begin and the terminal will stay open after so ou can read the errors. ;)
 
  • Like
Reactions: chronoss and RyDog

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @Sicklyboy, not that bad ig