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,984
  • Replies Replies 8,525
  • Likes Likes 36
You know why the wedding veil code doesn't work for me (id 163c) please help. Also know the id of the wedding recipes? Your work is appreciated.
 
Last edited by Amuyea,
  • Like
Reactions: Alexisaul455
The goal of my files is to provide as much data as possible. Pastebin simply couldn't keep up anymore and didn't allow me to upload the new files. I also changed the format to be json so it can be easier loaded into programs.
Oh, it's way more useful as JSON. Because I can parse it and spit out something like this, which is in the old item format everyone is used to: https://mpql.net/tools/acnh/codes/item-list/

And if you update the list, that'll update too. Woo.
 
Here's how to convert your old v1.1.x inventory codes to v1.2 in C# if anyone is lazy enough to do it by hand ^^


Code:
        public string ConvertFromv1_1(string CheatCode)
        {
            const int Difference = 0xB9310;

            foreach (string CheatLine in CheatCode.Split(Convert.ToChar(13)))
            {
                string[] LineParts = CheatLine.Split(' ');

                if (LineParts.Length > 2 && LineParts[1].Length == 8)
                {
                    int Mem = int.Parse(LineParts[1], NumberStyles.HexNumber);
                    Mem = Mem + Difference;

                    CheatCode = CheatCode.Replace(LineParts[1], Mem.ToString("X8"));
                }
            }

            return CheatCode;
        }
 
  • Like
Reactions: ELY_M
Oh, it's way more useful as JSON. Because I can parse it and spit out something like this, which is in the old item format everyone is used to: https://mpql.net/tools/acnh/codes/item-list/

And if you update the list, that'll update too. Woo.
I just updated the format to merge dec_id and hex_id to just be id which contains both, hope I didn't break anything then.. oops :unsure:
 
I just updated the format to merge dec_id and hex_id to just be id which contains both, hope I didn't break anything then.. oops :unsure:
Actually, I guess I made this after that change? Haha. I thought I saw something specific like that, but I went to grab it and just saw they were enumerated. But yeah, update that and that list will update. :D
 
Here's how to convert your old v1.1.x inventory codes to v1.2 in C# if anyone is lazy enough to do it by hand ^^


Code:
        public string ConvertFromv1_1(string CheatCode)
        {
            const int Difference = 0xB9310;

            foreach (string CheatLine in CheatCode.Split(Convert.ToChar(13)))
            {
                string[] LineParts = CheatLine.Split(' ');

                if (LineParts.Length > 2 && LineParts[1].Length == 8)
                {
                    int Mem = int.Parse(LineParts[1], NumberStyles.HexNumber);
                    Mem = Mem + Difference;

                    CheatCode = CheatCode.Replace(LineParts[1], Mem.ToString("X8"));
                }
            }

            return CheatCode;
        }
how do I use this?
 
Actually, I guess I made this after that change? Haha. I thought I saw something specific like that, but I went to grab it and just saw they were enumerated. But yeah, update that and that list will update. :D
I just pushed the change like an hour ago when I added the DIY recipe list. So lets hope nothing broke, but I'll try my best to keep the list updated,
 
  • Like
Reactions: Mopquill
Still don't think I've hit 5 but if someone wants to quote me - IMO the list is more useful this way for non-dev people who are just making cheat codes for edizon, .json is better for dev.

PasteBIN - VNYgeJ9n (All items + added DIY's)
PasteBIN - 3ZkpTbyD (Just DIY's)
 
I just pushed the change like an hour ago when I added the DIY recipe list. So lets hope nothing broke, but I'll try my best to keep the list updated,
It should be fine. Worst case, I tweak some settings on my end, or use the version I downloaded. XD

ooh this is fantastic! only thing, if possible, to list colors for the clothes?
I can only output what is in the JSON, I can't tell how many variants something might have, or what they equate to.
 
Tip for people that want to get the right furniture colouring variants in their cheat codes

If you use nookplaza to look at the furniture database, take a look at the image file.
Example, https://acnhcdn.com/acdb/housewares/FtrFittingroom_Remake_3_7.png for the the changing room in dark brown + blue

The way to get teh colouring variant in hexadecimal for the code generator is this:
Take "3_7".
Multiply the second colour (7) by 2, and transform it to hex -> 14 -> E
Append the first colour to the second one in hex.

So, "3_7" -> E3
E3 is what you should put in the "quantity/custom" if you want the changing room in that dark brown + blue combination.
 
Anyone try the text to item cheat on a non English switch? I know that was an issue with the older version of the code, but I was able to find a pointer to chat.
 

Site & Scene News

Popular threads in this forum