ROM Hack Discussion Animal Crossing: New Horizons -- Reverse Engineering, Glitches, Bugs, etc. thread!

uriri

Well-Known Member
Member
Joined
Apr 5, 2015
Messages
137
Trophies
0
XP
610
Country
United States
By the way @Mopquill , I saw that you took interest in trying to port my Text To Item cheat, I'll break down the anatomy of the code, so that you can give it a go next time or if you'd like to modify the cheat code to your liking.
[Text to Slot 1 (X+D-Pad Right: Item ID|X + D-Pad Left: Modifier)]
80000004
580A0000 03779848
580A1000 00000478

300E0000 00000008
989BA0A0
511B1000 00000000
C013B400 00000030
400D0000 00000000 00000002
20000000
C011B400 00000066
400D0000 00000000 00000002
20000000
C011B400 00000039
C013B400 00000041
400D0000 00000000 00000002
20000000
20000000
C011B400 00000046
C013B400 00000061
400D0000 00000000 00000002
20000000
20000000
C015B400 00000000
400D0000 00000000 00000001
20000000
C015D400 00000000
C011B400 00000040
910BB100 00000009
20000000
915BB100 0000000F
94299100 00000010
946990B0
980AA100 00000000 00000002
20000000
310E0000
C016D400 00000002

80004004
A8900410 AC4723D0
20000000
80001004
A4900410 AC4723D4
20000000
20000000
20000000

Blue is the keypresses. The code will read and convert on keypress X, and will write to the offset on DPad Left or Right.
Red is the pointer to the text that we're reading from. On version 1.2, it should be [[main + 3779848] + 478] for the chat, and [main + 3779848] + 40 for the buffer. However, you can always modify it to change the region its reading from like from a letter or the bulletin board or something, as the text should be loaded into memory in utf16 pretty much everywhere.
Green is the code that converts the array of utf16 characters into a hex code. I really won't go into much effort explaining this as you really don't want to be touching this. It should allow up to 8 characters in chat for a 32 bit write.
Orange is the offset to the inventory, which is obviously [heap] + AC4723D0
That's another important offset, as you could theoretically change that offset to create any dynamic cheat that you wanted. A cheat to change your outfit could be made, changing basically any ID you want in the game.

I plan to create a Real Time World Edit cheat.... kind of like this one

Basically, you put in the item ID and press a hotkey and it'll send the item ID directly under you!
This cheat shouldn't be too hard to recreate, I believe recreating it should be pretty easy.


for the orange part, would it be possible to add inventory offsets making it add items to multiple itemslot at once?
 

RyDog

Lazy Animal Crossing hacks
Member
Joined
Apr 26, 2015
Messages
1,698
Trophies
1
Age
24
XP
2,850
Country
United States
Hey, that is super cool! Thank you for taking the time to do that and explain it to me! I had actually made my own version that did Slot 40 for testing items for people, and I changed the modifier keys, but I was having trouble figuring out the boundary between the code that read registers and stored data, and where the actual pointing data was. I also wasn't sure if that array would need to be changed to support new code or not. I think you answered almost all of the things I was stuck on, thank you! :D

Would you mind if I made a generator for that cheat that let people change the slot and modifier keys like on my item generator?
Sure, I don't mind.
for the orange part, would it be possible to add inventory offsets making it add items to multiple itemslot at once?
Yes, if you want to do multiple slots, then you just add 8 to the last part of the orange code.
 
  • Like
Reactions: uriri and Mopquill

Mandikiri

Princess
Member
Joined
Feb 11, 2016
Messages
351
Trophies
0
Age
32
Location
Rainbow Land
XP
1,623
Country
United States
Does anyone know of a way to move the rock that's on top of my airport? I know I could move the airport, but then the rocks show also in the ocean. Was wondering if there's a way to move the rock to maybe one of the side of the island or the top part.
 

Attachments

  • Capture.PNG
    Capture.PNG
    16.9 KB · Views: 171
  • Capture1.PNG
    Capture1.PNG
    299.4 KB · Views: 169

Doogie Boogie

Well-Known Member
Member
Joined
Jan 21, 2016
Messages
138
Trophies
0
Age
39
XP
347
Country
United States
Does anyone know of a way to move the rock that's on top of my airport? I know I could move the airport, but then the rocks show also in the ocean. Was wondering if there's a way to move the rock to maybe one of the side of the island or the top part.

Only method I'd say is to change the acre with rocks to a unit with no rocks in it. Like set F5 to the same value as F3. I don't see any rocks there, you could also put it in F4 too. Test it and see how it looks.
 

martam09

Member
Newcomer
Joined
Apr 23, 2020
Messages
13
Trophies
0
Age
27
XP
50
Country
Italy
when i change the villager on nh if it remains the home of the villager of origin, how can i also change the house? can someone help me?
 

Neo1103

Well-Known Member
Newcomer
Joined
Mar 28, 2020
Messages
84
Trophies
0
Age
26
XP
84
Country
United States
when i change the villager on nh if it remains the home of the villager of origin, how can i also change the house? can someone help me?
Pretty sure with the new NHSE you can change the house, you just need to have the file with the correct house, which I am stuck on.
 

forsalebypwner

Active Member
Newcomer
Joined
Apr 11, 2020
Messages
25
Trophies
0
Age
31
XP
120
Country
United States
Hi all, would somebody be able to provide the Slot 1 and Slot 21 offsets for Player 2? Somebody was nice enough to provide it for 1.1.4, I'd love to be able to spawn items via cheats again, but I'm not Player 1 in this save. Thanks in advance!
 

I''S

Active Member
Newcomer
Joined
Sep 4, 2006
Messages
29
Trophies
0
XP
366
Country
Italy
Can I remove villager without use blank file? I tried with NHSE using moving out without forcemoveout=1 but my villager is always with the boxes and everyday he doesn't leave my island. I wanna edit the save with NHSE and inject in my OFW (using method NAND DUMP) so I wanna a method closer to the legit one. With forcemoveout he disappear instant and I dont want this.
 
Last edited by I''S,

JeepX87

Well-Known Member
Member
Joined
Aug 17, 2016
Messages
1,750
Trophies
0
Age
36
XP
3,267
Country
United States
Hi, I need advice about add favorite villager and I noticed that mystery island codes are not available due need update to support 2.0. One of our villager is moving out and I need go replace with villager that I chosen, not random by game. I just want to know if mystery island codes will be updated tomorrow or other alternative to get legit villager in? Thank you for helping.
 

OblivionReign

Developer
Developer
Joined
Apr 23, 2016
Messages
2,544
Trophies
2
XP
7,729
Country
Japan
Hi all, would somebody be able to provide the Slot 1 and Slot 21 offsets for Player 2? Somebody was nice enough to provide it for 1.1.4, I'd love to be able to spawn items via cheats again, but I'm not Player 1 in this save. Thanks in advance!
Try 04100000 AC4DE2A0 0000XXXX
Possibly Profile 2 slot 1 on 1.2.0
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-