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

  • Thread starter Thread starter DesuIsSparta
  • Start date Start date
  • Views Views 2,158,740
  • Replies Replies 8,525
  • Likes Likes 36
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?
 
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
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: 198
  • Capture1.PNG
    Capture1.PNG
    299.4 KB · Views: 194
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.
 
Does anyone have all villager's correct house set in NHSE?

No, I tried and had to find a file that members in here to dump the legit villagers.

I found method to get legit villager is use mystery island code to get them to move in.
 
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?
 
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.
 
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!
 
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!
What was the slot one code for 1.1.4? For player 2
 
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,
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.
 
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