ROM Hack [Release] Animal Crossing New Leaf Multi Cheat NTR Plugin

  • Thread starter RyDog
  • Start date
  • Views 1,065,941
  • Replies 4,613
  • Likes 77

RyDog

Lazy Animal Crossing hacks
OP
Member
Joined
Apr 26, 2015
Messages
1,698
Trophies
1
Age
23
XP
2,839
Country
United States
2.2.3 is out; changed the layout from your votes.
And EUR and JAP finally have smooth moon jump and coordinates modifer in the latest beta :)
 
D

Deleted User

Guest
If you enabled the speed hack outside that is your problem. Activate all cheat codes inside or the menu. Make sure to cut them off when you visit towns or the island then turn them back when you boot its how the game saves and the injection code. I'm hoping the will patch it.
 
D

Deleted User

Guest
How do I remove the poll? I no longer need it.
Do you have this button?
image.png

--------------------- MERGED ---------------------------

If you enabled the speed hack outside that is your problem. Activate all cheat codes inside or the menu. Make sure to cut them off when you visit towns or the island then turn them back when you boot its how the game saves and the injection code. I'm hoping the will patch it.
You don't have to disable the movement codes if you go to the island or visit towns, you just can't execute them

--------------------- MERGED ---------------------------

@itsRyan, do you know how to completely get rid of the poll? Or do you have to ask mods?
 
D

Deleted User

Guest
ah my bad i know the inventory codes have the problem the most. Town Codes have the problem randomly. I know one movement code that has this problem the only reason why i know this one does it is because i use it the most because of how fun it is the Coordinates modifier. But still i'm willing to go threw the extra trouble to cut them off and on they codes are fun and addicting for some reason i really ike this menu because it go me back into animal crossing again.

--------------------- MERGED ---------------------------

i do wonder what do you use to make your cheat codes?
 
D

Deleted User

Guest
ah my bad i know the inventory codes have the problem the most. Town Codes have the problem randomly. I know one movement code that has this problem the only reason why i know this one does it is because i use it the most because of how fun it is the Coordinates modifier. But still i'm willing to go threw the extra trouble to cut them off and on they codes are fun and addicting for some reason i really ike this menu because it go me back into animal crossing again.

--------------------- MERGED ---------------------------

i do wonder what do you use to make your cheat codes?
Ok cool! Glad you like them! We make them out of................ Love :P
 
  • Like
Reactions: Deleted User

Nanquitas

Well-Known Member
Member
Joined
Sep 29, 2015
Messages
2,345
Trophies
0
Age
29
Location
South of France :)
XP
3,324
Country
France
@itsRyan:

I just read a bit of the update and I saw that you're not using the float type.
Float allows you to use decimal value.
So instead of writing:
Code:
    if (loc == -1) //FFFFFFFF=outdoors
    {
        if (is_pressed(BUTTON_A + BUTTON_DD))
            ADDTOFLOAT(0x17321518, 0x00000001);
        if (is_pressed(BUTTON_A + BUTTON_DU))
            SUBTOFLOAT(0x17321518, 0x00000001);
        if (is_pressed(BUTTON_A + BUTTON_DL))
            SUBTOFLOAT(0x17321510, 0x00000001);
        if (is_pressed(BUTTON_A + BUTTON_DR))
            ADDTOFLOAT(0x17321510, 0x00000001);
    }
You can write:
Code:
    if (loc == -1) //FFFFFFFF=outdoors
    {
        if (is_pressed(BUTTON_A + BUTTON_DD))
            ADDTOFLOAT(0x17321518, 1.0);
        if (is_pressed(BUTTON_A + BUTTON_DU))
            SUBTOFLOAT(0x17321518, 0.5);
        if (is_pressed(BUTTON_A + BUTTON_DL))
            SUBTOFLOAT(0x17321510, 1002.456);
        if (is_pressed(BUTTON_A + BUTTON_DR))
            ADDTOFLOAT(0x17321510, 99.005);
    }

Of course those values are completely random, it's just to illustrate. ;)
 
  • Like
Reactions: Deleted User

Nanquitas

Well-Known Member
Member
Joined
Sep 29, 2015
Messages
2,345
Trophies
0
Age
29
Location
South of France :)
XP
3,324
Country
France
I also thought of this improvement of the search and replace:
Code:
void    find_and_replace_multiple(void *start_addr, u32 length, int nbyte, int pitch)
{
    u32 find_value;
    u32 replace_value;
    int i;

    if (pitch == 0 || start_addr == NULL || length == 0)
        return;
    if (nbyte != 1 && nbyte != 2 && nbyte != 4)
        nbyte = 4;
    i = 0;
    length /= pitch;
    while (length-- > 0)
    {
        for (i = 0; i < g_i; i++)
        {
            find_value = g_find[i];
            replace_value = g_replace[i];
            if (nbyte == 1)
            {
                if (*(u8 *)start_addr == (u8)find_value)
                {
                    *(u8 *)start_addr = (u8)replace_value;
                    break;
                }
            }
            else if (nbyte == 2)
            {
                if (*(u16 *)start_addr == (u16)find_value)
                {
                    *(u16 *)start_addr = (u16)replace_value;
                    break;
                }
            }
            else
            {
                if (*(u32 *)start_addr == find_value)
                {
                    *(u32 *)start_addr = replace_value;
                    break;
                }
            }
        }
        start_addr += pitch;
    }
}
void find_and_replace_multiple(void *start_addr, u32 length, int nbyte, int pitch);
start_addr = address to start the search
length = the range of the search
nbyte = type of data to search and replace, can be 1 (u8), 2 (u16) and 4 (u32)
pitch = the pitch for the search. Must be superior to 0. This can be useful to restrain the range implicitly if you know the alignment of the data you're searching for.

Also this new version have the advantage to let you search and replace for any of the 3 types (u8, u16, u32) when before it was restrained to u16.

edit:
You can also reduce your quench code to:
Code:
void quench_usa(void)
{
    u32 address;
    u32 item;
   
    if (is_pressed(BUTTON_R + BUTTON_A))
    {
        for(address = OFFSET_TOWN_ITEMS; address < OFFSET_TOWN_ITEMS + RANGE_TOWN_ITEMS; address += ITEM_BYTES)
        {
            item = READU16(address);
            if (item >= 0x9F && item <= 0xF7)            //flower
            {
                if (item >= 0xC9 && item <= 0xF7)        //wilted flower
                    item -= 0x2F;                        //wilted to normal
                item |= (0x40 << 16);                    //water flag
                WRITEU32(address, item);
            }
        }
    }
}
With this you gain the data table space and you'll only have one loop instead of traversing the whole table for each iteration of the loop.
 
Last edited by Nanquitas,
  • Like
Reactions: Deleted User

RyDog

Lazy Animal Crossing hacks
OP
Member
Joined
Apr 26, 2015
Messages
1,698
Trophies
1
Age
23
XP
2,839
Country
United States
itsryan you are working on omega ruby?
I tried looking for coordinates in the game but all I could find was coordinates for sprite data so I'm going to put Pokemon on standby for now. There's already an amazing cheat plugin anyways.
And @Nanquitas lol it was a simple mistake, I got so used to writing everything in that syntax, so I thought that macro used 0xDATA; so I guess everything can be converted to float easily because I think 0x1 is 1.0 in float.
@SirBeethoven there's no option to remove the poll. We should contact a mod so they can remove the poll unless I'm not looking in the right area... :unsure:

--------------------- MERGED ---------------------------

@itsRyan how about an unlock cheat for the 40 emotes?
Good idea, also I can add a text to item for multiple players right now for you. Do you want it in EUR? I'll start with that version first
 
D

Deleted User

Guest
@SirBeethoven there's no option to remove the poll. We should contact a mod so they can remove the poll unless I'm not looking in the right area... :unsure:
Maybe our two favorites, @Bortz or @raulpica could help! :)

P.S. Thank you for any mod that helps get rid of the GBATemp poll (the "Do you like Moon Jump in the latest beta?" Poll)
 
Last edited by ,
  • Like
Reactions: RyDog

RyDog

Lazy Animal Crossing hacks
OP
Member
Joined
Apr 26, 2015
Messages
1,698
Trophies
1
Age
23
XP
2,839
Country
United States
not quite helpful if i never find it on appstore... :P a list would be cool
Do you know how to use NTR debugger? My EUR copy of the game only has one character and I think I found the difference between characters so I want you to load up your save on your second character and tell me what data is stored at the offset I give you
 

Slattz

Easygoing Fairy
Member
Joined
Nov 21, 2015
Messages
1,258
Trophies
1
XP
1,735
Country
Ireland
Do you know how to use NTR debugger? My EUR copy of the game only has one character and I think I found the difference between characters so I want you to load up your save on your second character and tell me what data is stored at the offset I give you
I could do it?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys