ROM Hack WIP [ACNH] Code Generator

Mopquill

Grumpy Developer
OP
Developer
Joined
Oct 16, 2011
Messages
283
Trophies
0
XP
566
Country
United States
Okay, super big update to the generator: https://mpql.net/tools/acnh/codes/

  • Added dropdown menu for items (!)
  • Added decimal/hexadecimal item ID input option
  • Added option to have 4-byte cheats
  • Made it possible to generate cheats for just item quantity or durability
  • Added detailed update information on hover update date
  • Using bootstrap for some style elements

I may add in 2-byte/1-byte options later? I know Atmosphere supports them, and I have a pretty good guess of how they're formatted. I think it's something like:

Code:
[Slot 1 Durability (1.2.0)]
01100000 AC4723D6 000000xx

[Slot 1 Custom (1.2.0)]
02100000 AC4723D4 0000xxxx

for a 1-byte and 2-byte respectively. If anyone can confirm or correct me, I'd appreciate it. :D

Oh, and please report any bugs found here!
 
Last edited by Mopquill,

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Okay, super big update to the generator: https://mpql.net/tools/acnh/codes/

  • Added dropdown menu for items (!)
  • Added decimal/hexadecimal item ID input option
  • Added option to have 4-byte cheats
  • Made it possible to generate cheats for just item quantity or durability
  • Added detailed update information on hover update date
  • Using bootstrap for some style elements

I may add in 2-byte/1-byte options later? I know Atmosphere supports them, and I have a pretty good guess of how they're formatted. I think it's something like:

Code:
[Slot 1 Durability (1.2.0)]
01100000 AC4723D6 000000xx

[Slot 1 Custom (1.2.0)]
01100000 AC4723D5 0000xxxx

for a 1-byte and 2-byte respectively. If anyone can confirm or correct me, I'd appreciate it. :D

Oh, and please report any bugs found here!
01XXXXXX: 1 byte write
02XXXXXX: 2 byte write
04XXXXXX: 4 byte write
08XXXXXX: 8 byte write
 
  • Like
Reactions: Mopquill

imeangay

Active Member
Newcomer
Joined
Feb 28, 2017
Messages
31
Trophies
0
Age
28
XP
193
Country
United States
Not sure if i did something wrong, or am doing something wrong. The villager cheat doesn't seem to work for me- I see a villager, activate the cheat, name is changed, i invite them.. someone else takes their place, it's not the villager i saw.. nor is it the one i changed it to be via cheat.
 

Gimling

New Member
Newbie
Joined
Apr 28, 2020
Messages
2
Trophies
0
Age
28
XP
57
Country
United States
I am wondering if there is way to make a slot blackhold, which can make the item i pick (on the slot) disappear.

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

Not sure if i did something wrong, or am doing something wrong. The villager cheat doesn't seem to work for me- I see a villager, activate the cheat, name is changed, i invite them.. someone else takes their place, it's not the villager i saw.. nor is it the one i changed it to be via cheat.
Can u try to activate the cheat before going to the island ?
 

whitebearbear

New Member
Newbie
Joined
Apr 30, 2020
Messages
2
Trophies
0
Age
33
XP
42
Country
United States
I was using the villager code (with sx os), and able to find the villager that I want on mystery island, but when I invited them, the conversation box went blank and nothing happened...
 
Last edited by whitebearbear,

Mopquill

Grumpy Developer
OP
Developer
Joined
Oct 16, 2011
Messages
283
Trophies
0
XP
566
Country
United States
I was using the villager code, and able to find the villager that I want on mystery island, but when I invited them, the conversation box went blank and nothing happened...
I'm afraid I can't know what happened. Possibly try emuiibo. You can do amiibo for almost any villager, or use my generator to make Curt codes to use the Curt amiibo for any villager.
 

Mopquill

Grumpy Developer
OP
Developer
Joined
Oct 16, 2011
Messages
283
Trophies
0
XP
566
Country
United States
Thanks for the reply, I'll look into it.
https://github.com/XorTroll/emuiibo/releases

Grab both zips, use emutool to generate a Curt amiibo, use my code page to generate curt codes for whomever, access Edizon via tesla overlay (Thread | overlay-loader | Tesla Menu | Edizon Overlay), turn on a curt code, access emuiibo via tesla overlay, turn on amiibo emulation (I like to do turn on once), select Curt amiibo, scan at nook miles terminal or whatever it's called.

Good luck.
 

Mopquill

Grumpy Developer
OP
Developer
Joined
Oct 16, 2011
Messages
283
Trophies
0
XP
566
Country
United States
Code:
[Slot 1 Durability (1.2.0)]
01100000 AC4723D7 000000xx

[Slot 1 Custom (1.2.0)]
02100000 AC4723D6 0000xxxx
Whoa, really?

I was breaking it down like this:

upload_2020-4-30_9-9-58.png


So, I was thinking it would be like (and I realize this is not what I put before, I need to stop working when I'm tired):

Code:
[Slot 1 Durability (1.2.0)]
01100000 AC4723D6 000000xx

[Slot 1 Custom (1.2.0)]
02100000 AC4723D4 0000xxxx

OR possibly:

[Slot 1 Custom (1.2.0)]
01100000 AC4723D4 000000xx

If it'd be D7 and D6 respectively, why is that? What am I missing?

And by the way, thank you for being patient and taking the time to teach me (and others); I truly appreciate it.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Whoa, really?

I was breaking it down like this:

View attachment 206948

So, I was thinking it would be like (and I realize this is not what I put before, I need to stop working when I'm tired):

Code:
[Slot 1 Durability (1.2.0)]
01100000 AC4723D6 000000xx

[Slot 1 Custom (1.2.0)]
02100000 AC4723D4 0000xxxx

OR possibly:

[Slot 1 Custom (1.2.0)]
01100000 AC4723D4 000000xx

If it'd be D7 and D6 respectively, why is that? What am I missing?

And by the way, thank you for being patient and taking the time to teach me (and others); I truly appreciate it.
The addresses start at 0. So D0 D1 D2 D3 are the item ID. D4 D5 D6 D7 are the quantity/durability/recipe/flower genes. So if you only want to alter the last byte to change durability it’d be D7. If you want to alter the last two bytes it’s D6. If you want to alter all 4 it’s D4. All 8 then it’s D0.

Edit: Wait, is durability not the last byte? I thought it was. If it’s the second byte then you had it right. I need to double check which byte is durability.
 
Last edited by DocKlokMan,
  • Like
Reactions: Mopquill

Mopquill

Grumpy Developer
OP
Developer
Joined
Oct 16, 2011
Messages
283
Trophies
0
XP
566
Country
United States
The addresses start at 0. So D0 D1 D2 D3 are the item ID. D4 D5 D6 D7 are the quantity/durability/recipe/flower genes. So if you only want to alter the last byte to change durability it’d be D7. If you want to alter the last two bytes it’s D6. If you want to alter all 4 it’s D4. All 8 then it’s D0.

Edit: Wait, is durability not the last byte? I thought it was. If it’s the second byte then you had it right. I need to double check which byte is durability.
If durability is NOT the second to last byte, then I misunderstood @Lionheartwolf, my anatomy of an item code post is wrong, and my generator has been wrong for durability this entire time. And I think some people have used it for that and gone away happy? But I definitely need to know that, because I may have to fix my generator. XD

I'm not sure if quantity/custom can exceed the one byte at D4, but I think some other stuff (like flower data) can, and uses that, durability, and the byte after, but I'm not positive. :O
 
Last edited by Mopquill,

NicolasCR08

New Member
Newbie
Joined
Apr 30, 2020
Messages
1
Trophies
0
Age
29
XP
42
Country
Chile
Hi everyone, if i want a Item Color variation ( Floor Light - 1BDF) how must i change the Id to get the other colors
thank you a lot!
 

SavageThieves

Member
Newcomer
Joined
Nov 26, 2019
Messages
23
Trophies
0
Age
30
XP
67
Country
United States
So I used the code generator and it works out perfectly! And I appreciate the work that has been done to create this.


I am however having problems with the DIY recipes, I read past post, I read the site instructions. But I can’t seem to get it right. Perhaps I am missing a crucial step?


ItemID: 16A2

ItemSlot: 1

Quality/Custom: I click the link you provided “DIY recipes ID” and I entered the DIY ID located on the right side column.

Then I hit generate. Some DIYs do come out but it’s not what I entered in the generator.

And most of them are blanks.

I’ve tried to check other sites around as well to see if the DIY recipes ID was different or out of date but all seems to match up with your link as well.


I tried it multiple times, and tried figuring what I am doing wrong before I come and post it in this thread, since I know it must be a burden if people don’t actually try to figure it out and just want their hand held. But I don’t see what I am doing wrong during this process.
 
Last edited by SavageThieves,

Mopquill

Grumpy Developer
OP
Developer
Joined
Oct 16, 2011
Messages
283
Trophies
0
XP
566
Country
United States
Are you using the DIY ID from the right-most column of the list here: https://mpql.net/tools/acnh/codes/item-list/ ? That is, you are using that, and NOT the item ID for the item you want the recipe to be for? For example, Clackercart's Item ID is 0050, but if you wanted it as a DIY, you would put in 16A2 for the DIY item, and the custom as A4, the clackercart's DIY ID. If that isn't working then the information might be bad? I don't actually cheat on my Switch, so I have no idea.
 

SavageThieves

Member
Newcomer
Joined
Nov 26, 2019
Messages
23
Trophies
0
Age
30
XP
67
Country
United States
Are you using the DIY ID from the right-most column of the list here: https://mpql.net/tools/acnh/codes/item-list/ ? That is, you are using that, and NOT the item ID for the item you want the recipe to be for? For example, Clackercart's Item ID is 0050, but if you wanted it as a DIY, you would put in 16A2 for the DIY item, and the custom as A4, the clackercart's DIY ID. If that isn't working then the information might be bad? I don't actually cheat on my Switch, so I have no idea.

Yes I am using the DIY ID located on the right-most column. I enter the DIY ID in the Quality/Custom box and the ITEM ID is 16A2.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: Finally there are people here