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

ozling

Well-Known Member
Member
Joined
Jan 30, 2008
Messages
139
Trophies
1
XP
379
Country
hey i was wondering is the a guide for the save editor to tell you about the flags and their meaning or you just kind have to play around with it and go from their??
The Wiki on github have some information, but it is not always clear. No one's written a manual for it, but given the frequency of updates and additions, one needs to be updating the manual almost daily.
 

darkdreams

Well-Known Member
Member
Joined
Nov 1, 2012
Messages
137
Trophies
1
Age
37
Location
GEORGIA
XP
1,557
Country
United States
The Wiki on github have some information, but it is not always clear. No one's written a manual for it, but given the frequency of updates and additions, one needs to be updating the manual almost daily.

oh ok thanks ill try to find the link just to get an idea to know what I'm tempering with
 

Chesly

Active Member
Newcomer
Joined
Dec 6, 2015
Messages
27
Trophies
0
XP
168
Country
China
Can you please explain the anatomy of these codes?

Code:
HEAP+AC472318 to HEAP+AC4723B0
(address of inventory from row 3 to row 4, 20 * 8 bytes)
HEAP+AC4723B8 to HEAP+AC4723C8
(Dummy, 3 * 8 bytes)
HEAP+AC4723D0 to HEAP+AC472468
(address of inventory from row 1 to row 2, 20 * 8 bytes)

[Nook Shopping App to Empty Slot (LS)]
80000010
//check button LS
581E0000 B43D6DDC
//copy the chosen item id (8 bytes) to register E
400C0000 00000000 0000FFFE
//set register C with value FFFE (means Empty Slot)
400D0000 00000000 AC472318
//set register D with value AC472318 (immediate offset of first item in row 3)
30000000 0000002B
//start loop (43 times)
C046C11D
//if [HEAP+register D] = register C (4 bits) goto next break code (20000000)
//means if current slot is empty, then break the loop
940DD100 00000008
//register D + 0x8 (immediate offset of next slot)
31000000
//contiune loop
20000000
//end conditional check
C044D400 AC472468
//if register D > AC472468 (4 bits) goto next break code (20000000)
//means if all the slot are not empty then end the code
A8ED0310
//copy register E to [HEAP+register D]
//means copy item id to the empty slot
20000000
//end conditional check
20000000
//end button check
 

Mako-chan

Member
Newcomer
Joined
Jun 3, 2020
Messages
6
Trophies
0
Age
38
XP
82
Country
Spain
Hi, I don't know if this is the right place to ask, I hope so.

I'm trying to use my custom cheat file (pasting the cheats I like, not doing my own) Since yesterday when I add an remove some cheats in the file, if I try to open cheats ingame it freezes and send error in nx-ovlloader folder.
I've gone to cheat updater app, update file (now it only shows teleportation cheat) and with that file does't freeze. But if I edit that same file adding my cheats, it freezes again.

Can anyone please tell me what is wrong with this file? I have 0 knowledge on coding. I'm using Atmosphere.
Thank you so much.
 

Attachments

  • 9429fc5202937d7f.txt
    3.7 KB · Views: 116

OblivionReign

Developer
Developer
Joined
Apr 23, 2016
Messages
2,542
Trophies
2
XP
7,715
Country
Japan
Hi, I don't know if this is the right place to ask, I hope so.

I'm trying to use my custom cheat file (pasting the cheats I like, not doing my own) Since yesterday when I add an remove some cheats in the file, if I try to open cheats ingame it freezes and send error in nx-ovlloader folder.
I've gone to cheat updater app, update file (now it only shows teleportation cheat) and with that file does't freeze. But if I edit that same file adding my cheats, it freezes again.

Can anyone please tell me what is wrong with this file? I have 0 knowledge on coding. I'm using Atmosphere.
Thank you so much.
Well the one thing I know for sure will break your codes is the furniture code you put in here and that you just copy pasted you can't have the *AMS only part in there. Remove that and it should all work.
 
  • Like
Reactions: Mako-chan

garzacorporations

Well-Known Member
Newcomer
Joined
Nov 21, 2016
Messages
88
Trophies
0
Age
36
XP
310
Country
Spain
Yeah, I(as player 2) was able to progress the island without relying on player 1 to initiate dialogue with tom nook and I also was able to build bridge, invite villagers, donate items for homes 3-5, etc for progressing island.

So, do you copied all flags or there is any one in particular that would make the trick?

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

Daaaamn, i need a good phone to use the joy con app and summon the amiibos XD
Which app will emulate amiibo on phone?
 

Mako-chan

Member
Newcomer
Joined
Jun 3, 2020
Messages
6
Trophies
0
Age
38
XP
82
Country
Spain
Well the one thing I know for sure will break your codes is the furniture code you put in here and that you just copy pasted you can't have the *AMS only part in there. Remove that and it should all work.

Thanks, I'll try and tell you!

Hi, I've been editing the file removing one cheat by one (since removing *ams doesn't seems to work) and the issue was the "top down view" cheat, I think it conflicts with the "walk through walls" one.
Thanks again!
 
Last edited by Mako-chan,

vgplayer54

Well-Known Member
Member
Joined
Feb 4, 2010
Messages
555
Trophies
1
XP
1,920
Country
Canada
if you have sx os it might not work but here's my code
Code:
[Hybrid Flowers]
04100000 AC472418 00000EF8
04100000 AC472420 00000EFA
04100000 AC472428 00000EF6
04100000 AC472430 00000F04
04100000 AC472438 00000F06
04100000 AC472440 00000f02
04100000 AC472448 00000f08
04100000 AC472450 00000f12
04100000 AC472458 00000f14
04100000 AC472460 00000F10
04100000 AC472468 00000f20
04100000 AC472318 00000F1C
04100000 AC472320 00000f22
04100000 AC472328 00000f24
04100000 AC472330 00000f1e
04100000 AC472338 00000f26
04100000 AC472340 00000F36
04100000 AC472348 00000f38
04100000 AC472350 00000f34
04100000 AC472358 00000F3E
04100000 AC472360 00000F40
04100000 AC472368 00000f44
04100000 AC472370 00000f4a
04100000 AC472378 00000f50
04100000 AC472380 00000F4C
04100000 AC472388 00000F52
04100000 AC472390 00000F5E
04100000 AC472398 00000F5A
04100000 AC4723A0 00000F58
04100000 AC4723A8 00001DE3
Unfortunately this did not work either on SX OS...does anyone happen to have a code that can replace pocket items with the rare hybrid flowers? Would make planting these much easier and faster than just inserting them one-by-one .
 

igoticecream

Well-Known Member
Newcomer
Joined
Jul 6, 2018
Messages
55
Trophies
0
Age
36
XP
369
Country
Spain
Unfortunately this did not work either on SX OS...does anyone happen to have a code that can replace pocket items with the rare hybrid flowers? Would make planting these much easier and faster than just inserting them one-by-one .

Dont use codes that set inventory items only using the first 4 bytes, because in this case, your hybrid flowers wont have the correct genetics
 

catlady77

Well-Known Member
Member
Joined
Apr 7, 2020
Messages
807
Trophies
0
Age
35
XP
788
Country
United States
Why not using nhse or chetaslips codes for hybrids?
cheatslips has 4 byte codes so theyre also incorrect all i have to do is change to 8 byte

Code:
[Basic Flowers]
08100000 AC472418 00000EF0 
08100000 AC472420 00000EF2
08100000 AC472428 00000EF4
08100000 AC472430 00000EFE
08100000 AC472438 00000EFC
08100000 AC472440 00000F00
08100000 AC472448 00000F30
08100000 AC472450 00000F2E
08100000 AC472458 00000F32
08100000 AC472460 00000F18
08100000 AC472468 00000F16
08100000 AC472318 00000F1A
08100000 AC472320 00000F42
08100000 AC472328 00000F3A
08100000 AC472330 00000f3C
08100000 AC472338 00000F4E
08100000 AC472340 00000F46
08100000 AC472348 00000F48
08100000 AC472350 00000F0C
08100000 AC472358 00000F0A
08100000 AC472360 00000F0E
08100000 AC472368 00000F5C
08100000 AC472370 00000F54
08100000 AC472378 00000F56

[Hybrid Flowers]
08100000 AC472418 00000EF8 
08100000 AC472420 00000EFA       
08100000 AC472428 00000EF6 
08100000 AC472430 00000F04         
08100000 AC472438 00000F06         
08100000 AC472440 00000f02         
08100000 AC472448 00000f08         
08100000 AC472450 00000f12         
08100000 AC472458 00000f14         
08100000 AC472460 00000F10         
08100000 AC472468 00000f20         
08100000 AC472318 00000F1C         
08100000 AC472320 00000f22         
08100000 AC472328 00000f24         
08100000 AC472330 00000f1e         
08100000 AC472338 00000f26         
08100000 AC472340 00000F36         
08100000 AC472348 00000f38         
08100000 AC472350 00000f34         
08100000 AC472358 00000F3E         
08100000 AC472360 00000F40         
08100000 AC472368 00000f44         
08100000 AC472370 00000f4a         
08100000 AC472378 00000f50         
08100000 AC472380 00000F4C         
08100000 AC472388 00000F52         
08100000 AC472390 00000F5E         
08100000 AC472398 00000F5A         
08100000 AC4723A0 00000F58         
08100000 AC4723A8 00001DE3
 

teege

Active Member
Newcomer
Joined
Oct 13, 2012
Messages
27
Trophies
0
XP
133
Country
United States
Force NPC spawns
This technique was shared by an anon on 4chan in the animal crossing general earlier today and as far as I know it hasn't been posted here yet.
1. Open your save file in NHSE and under the Map tab click on Edit Map... and select edit visitors
2. Expand both VisitorNPC and InitSchedule
3. Select the ... button in the top right corner of the Array
View attachment 210272
4. In the Members column delete every single NPC by selecting them and using the Remove button
5. 0 represents sunday and 6 represents saturday. Now you can add the visitors you want to each day of the week.
6. Repeat the process for InitSchedule, deleting every single NPC and readding them so that it matches the VisitorNPC schedule
7. Reload your game and now your desired NPC will spawn

Do you know, is there a reason Celeste isn't on this list of NPCs?
 

igoticecream

Well-Known Member
Newcomer
Joined
Jul 6, 2018
Messages
55
Trophies
0
Age
36
XP
369
Country
Spain
Why not using nhse or chetaslips codes for hybrids?

Because item id is in the first 4 bytes, and the genetics of the flower is on the second 4 bytes. Use something like this: https://gbatemp.net/threads/animal-...-bugs-etc-thread.560199/page-201#post-9032646

But overall, avoid using 4 bytes cheats (starts with 041) that put items on the invetory, they must be 8 bytes

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

so only 8 bytes can breed?

Suppose you have the pink colorful fishing road:

00002118
00000003

And you copy only 4 bytes to get the blue rose (0F24), you will end up with this:

00000F24
00000003

03 will be the genetics (2-0-0-0) (but it was the pink color of the colorful fishing road) and thats an invalid genetic for a blue rose, the only valid genotype is 3F for a blue rose (2-2-2-0) https://docs.google.com/spreadsheet...lview?pru=AAABcimo0HY*eZ7SI1Auz5FW262KgDkAIA#
 
  • Like
Reactions: catlady77

vgplayer54

Well-Known Member
Member
Joined
Feb 4, 2010
Messages
555
Trophies
1
XP
1,920
Country
Canada
Because item id is in the first 4 bytes, and the genetics of the flower is on the second 4 bytes. Use something like this: https://gbatemp.net/threads/animal-...-bugs-etc-thread.560199/page-201#post-9032646

But overall, avoid using 4 bytes cheats (starts with 041) that put items on the invetory, they must be 8 bytes

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



Suppose you have the pink colorful fishing road:

00002118
00000003

And you copy only 4 bytes to get the blue rose (0F24), you will end up with this:

00000F24
00000003

03 will be the genetics (2-0-0-0) (but it was the pink color of the colorful fishing road) and thats an invalid genetic for a blue rose, the only valid genotype is 3F for a blue rose (2-2-2-0) https://docs.google.com/spreadsheet...lview?pru=AAABcimo0HY*eZ7SI1Auz5FW262KgDkAIA#
Wow thank you for the information and the link to having all 4 byte flowers in inventory. Do you know if this cheat you referenced would still work on the latest version 1.2.1? or would it have to be updated?
 

DrakanShadow

Member
Newcomer
Joined
May 16, 2020
Messages
6
Trophies
0
Age
31
XP
55
Country
United States
So, do you copied all flags or there is any one in particular that would make the trick?

I copied all the flags. from "player 1" to "player 2" and did not uncheck any flags "player 2" had and "player 1" didn't.
Only thing to note is when you go to build the first bridge, Tom Nook will give each player a bridge kit.
I also kept a list of all the flags I changed in case anything in game broke but had nothing of the sort happen.

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

if i try and catalog japanese only items will it glitch and not be able to pick up?
I don't believe you can reorder the items. Though someone could correct me if I am wrong. Also you have no worry about the items glitching.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ButterScott101 @ ButterScott101: +1