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

MyShiLingStar

Well-Known Member
Member
Joined
Dec 28, 2015
Messages
211
Trophies
0
Age
36
XP
511
Country
Japan
That's just bizarre. You could do what MyShiLingStar said and try the libusb-win32 driver, but both I and the developer of USB-Botbase recomment libusbK



Yep that's exactly what it does, you can fill your legit switch's island with something like nmts without having to go back and edit, then give said nmts to your friends (:

You could try matching switch versions or start a new save (backup your old one with jksv) and see if the error persists, and if it doesn't then you have a problem with your current save.

No matter what I try with libusbK. I can't get it to find my device. (Uninstall and reinstall, another USB, another cable.) I guess it is something about my old motherboard or something.

Then when I try libusb-win32 driver. It got pick up right away without any problem.
I use the libusb-win32 driver and have successfuly ported the usb code to ACNHPoker.

The only problem that I got so far is that if the switch goes into sleep in the middle of a connection, when I turn it back on, it would gives out the "not functioning error" when I connect to it again. Sometime it might require a restart of the switch for it to function properly again.
exception.png
 

berichan

ACNHMobileSpawner dev
Member
Joined
Dec 9, 2014
Messages
224
Trophies
0
XP
625
Country
Antarctica
No matter what I try with libusbK. I can't get it to find my device. (Uninstall and reinstall, another USB, another cable.) I guess it is something about my old motherboard or something.

Then when I try libusb-win32 driver. It got pick up right away without any problem.
I use the libusb-win32 driver and have successfuly ported the usb code to ACNHPoker.

The only problem that I got so far is that if the switch goes into sleep in the middle of a connection, when I turn it back on, it would gives out the "not functioning error" when I connect to it again. Sometime it might require a restart of the switch for it to function properly again.
exception.png

Libusb-win32 and libusbK will give you very different behaviours, you would probably need to check if the switch disconnects in your code, or you can check if your handle is still open and if not then reconnect. With USB you should connect, then do your peek/poke, then immediately disconnect as keeping the device connected isn't handled well.

Does the tester python switch work for you that comes with USB-Botbase with libusbK? If that does then it could be how LibUsbDotNet handles finding the filtered device.

That GetOverlappedError shows up for me when USB-Botbase runs into an error and stops functioning on the device.
 

meedible

New Member
Newbie
Joined
Jun 8, 2020
Messages
1
Trophies
0
Age
28
XP
59
Country
Malaysia
Anyone found a way to change island representative yet? Or at the very least, overwrite the resident representative data with another villagers data so it kinda takes over as resident representative?
 

MyShiLingStar

Well-Known Member
Member
Joined
Dec 28, 2015
Messages
211
Trophies
0
Age
36
XP
511
Country
Japan
Libusb-win32 and libusbK will give you very different behaviours, you would probably need to check if the switch disconnects in your code, or you can check if your handle is still open and if not then reconnect. With USB you should connect, then do your peek/poke, then immediately disconnect as keeping the device connected isn't handled well.

Does the tester python switch work for you that comes with USB-Botbase with libusbK? If that does then it could be how LibUsbDotNet handles finding the filtered device.

That GetOverlappedError shows up for me when USB-Botbase runs into an error and stops functioning on the device.

Yes, I can get the tester python to work with libusbK. (At least all those "sendCommand("click Y")" works).
But then if the switch goes into sleep and turn back on, I can't get the switch to accept anything afterward.
I don't know what I need to do to get the switch back to the state where it will accept command again. Other than restart it.
I guess I need to learn more about LibUsbDotNet.


*Edit
With libusbK
The code definitely found the USB device "Nintendo Co., Ltd - Switch".
But "ur.Device" always return null for some reason.

wth.png
 
Last edited by MyShiLingStar,

berichan

ACNHMobileSpawner dev
Member
Joined
Dec 9, 2014
Messages
224
Trophies
0
XP
625
Country
Antarctica
Yes, I can get the tester python to work with libusbK. (At least all those "sendCommand("click Y")" works).
But then if the switch goes into sleep and turn back on, I can't get the switch to accept anything afterward.
I don't know what I need to do to get the switch back to the state where it will accept command again. Other than restart it.
I guess I need to learn more about LibUsbDotNet.


*Edit
With libusbK
The code definitely found the USB device "Nintendo Co., Ltd - Switch".
But "ur.Device" always return null for some reason.

wth.png

Someone on a different forum mentioned installing the executable at https://sourceforge.net/projects/libusbdotnet/files/LibUsbDotNet/LibUsbDotNet v2.2.8/ and using that to create the device filter fixed this for them. I'll try to look into the problem on my main device.
 
Last edited by berichan,

Taishiro

Well-Known Member
Member
Joined
Apr 22, 2020
Messages
322
Trophies
0
Age
23
XP
854
Country
Chile
Anyone found a way to change island representative yet? Or at the very least, overwrite the resident representative data with another villagers data so it kinda takes over as resident representative?
Did you try switching the .dat files for the villager you want set representative? After this, you might also have to change the indexes in Villager memories, your house etc. in NHSE.

Always make a backup before doing this kind of stuff.
 

Mahesh

Well-Known Member
Member
Joined
May 1, 2020
Messages
130
Trophies
0
Age
43
XP
592
Country
United States
Anyone found a way to change island representative yet? Or at the very least, overwrite the resident representative data with another villagers data so it kinda takes over as resident representative?
Ever try with NHSE? Edit Player, Edit Misc, Profile, there's a tick box for Made Village, try ticking that on the profile you want to be the island representative.
pmrgpsx.png
 

putti

nerd
Member
Joined
Mar 23, 2016
Messages
213
Trophies
0
XP
298
Country
United States
Yes, I can get the tester python to work with libusbK. (At least all those "sendCommand("click Y")" works).
But then if the switch goes into sleep and turn back on, I can't get the switch to accept anything afterward.
I don't know what I need to do to get the switch back to the state where it will accept command again. Other than restart it.
I guess I need to learn more about LibUsbDotNet.


*Edit
With libusbK
The code definitely found the USB device "Nintendo Co., Ltd - Switch".
But "ur.Device" always return null for some reason.

wth.png
YES THANK YOU IT WORKED
 

Taishiro

Well-Known Member
Member
Joined
Apr 22, 2020
Messages
322
Trophies
0
Age
23
XP
854
Country
Chile
The answer might be yes, but do you need to be on CFW to use the USB inventory injection? I have only been using hacdiskmount to extract and re-inject my save to NAND so my switch is still clean of any CFW usage :(
 

Kosh

Active Member
Newcomer
Joined
Apr 24, 2020
Messages
31
Trophies
0
Age
34
XP
89
Country
Philippines
Is it possible to bring fish/insect to a friend's island and drop it?
I tried gift wrapping it using gold wrapping paper but it is not working at all.

Thank you!

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

Is it possible to bring fish/insect to a friend's island and drop it?
I tried gift wrapping it using gold wrapping paper but it is not working at all.

Thank you!

It looks like this is not possible in SX OS since gift wrapping an item is only doable in Edizon. Geez.
 

Taishiro

Well-Known Member
Member
Joined
Apr 22, 2020
Messages
322
Trophies
0
Age
23
XP
854
Country
Chile
Is it possible to bring fish/insect to a friend's island and drop it?
I tried gift wrapping it using gold wrapping paper but it is not working at all.

Thank you!

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



It looks like this is not possible in SX OS since gift wrapping an item is only doable in Edizon. Geez.
That last statement makes no sense, friend! If you can use inventory cheat codes in SX OS, you definitely can gift wrap.

Take this example:
[Coelacanth wrapped to slot 1]
04100000 AC4723D0 310008EC
04100000 AC4723D4 00000000
"31" is our flag1, or, the gold wrapping paper ID.
"08EC" is the item ID. in this case, the coelacanth.

Try it!
 

Chesly

Active Member
Newcomer
Joined
Dec 6, 2015
Messages
27
Trophies
0
XP
168
Country
China
Chesly, since mine doesn't appear to be working and yours is, would you be kind enough to perhaps upload your cheat txt file? I could try copying yours directly to the correct path in my SD Card and replace my own. Perhaps it will work then. If you're able to ^_^
I'd like to but I just copy your code for test. And It works...

Thanks, I thought so. No, I am trying to get the code for All hybrid flowers to appear in my inventory, none of the shopping or spawning stuff as I knew that was AMS only. Is the hybrid flower code AMS too? Since I tried L + L3 but...nothing happened.

Edit: this code here:
Code:
 [All Flowers Watered & Breed Ready (L+LS) (1/2)]
80000050
08100000 AC4723D0 0083E010 00000F16
08100000 AC4723D8 0083E043 00000F18
08100000 AC4723E0 0083E00C 00000F1A
08100000 AC4723E8 0083E0F3 00000F1C
08100000 AC4723F0 0083E00F 00000F1E
08100000 AC4723F8 0083E0F7 00000F20
08100000 AC472400 0083E003 00000F22
08100000 AC472408 0083E03F 00000F24
08100000 AC472410 0083E003 00000EF0
08100000 AC472418 0083E010 00000EF2
08100000 AC472420 0083E01C 00000EF4
08100000 AC472428 0083E001 00000EF6
08100000 AC472430 0083E005 00000EF8
08100000 AC472438 0083E01F 00000EFA
08100000 AC472440 0083E030 00000F2E
08100000 AC472448 0083E013 00000F30
08100000 AC472450 0083E00C 00000F32
08100000 AC472458 0083E033 00000F34
08100000 AC472460 0083E005 00000F36
08100000 AC472468 0083E007 00000F38
08100000 AC472318 0083E010 00000F0A
08100000 AC472320 0083E003 00000F0C
08100000 AC472328 0083E00C 00000F0E
08100000 AC472330 0083E015 00000F10
08100000 AC472338 0083E037 00000F12
08100000 AC472340 0083E034 00000F14
08100000 AC472348 0083E010 00000F46
08100000 AC472350 0083E00C 00000F48
08100000 AC472358 0083E011 00000F4A
08100000 AC472360 0083E00D 00000F4C
08100000 AC472368 0083E013 00000F4E
08100000 AC472370 0083E007 00000F50
08100000 AC472378 0083E01F 00000F52
08100000 AC472380 0083E010 00000EFC
08100000 AC472388 0083E013 00000EFE
08100000 AC472390 0083E00C 00000F00
08100000 AC472398 0083E011 00000F02
08100000 AC4723A0 0083E00D 00000F04
08100000 AC4723A8 0083E01F 00000F06
08100000 AC4723B0 0083E007 00000F08
20000000

[All Flowers Watered & Breed Ready (L+RS) (2/2)]
80000060
08100000 AC4723D0 0083E010 00000F54
08100000 AC4723D8 0083E00C 00000F56
08100000 AC4723E0 0083E01D 00000F58
08100000 AC4723E8 0083E011 00000F5A
08100000 AC4723F0 0083E003 00000F5C
08100000 AC4723F8 0083E00F 00000F5E
08100000 AC472400 0083E010 00000F3A
08100000 AC472408 0083E00C 00000F3C
08100000 AC472410 0083E031 00000F3E
08100000 AC472418 0083E015 00000F40
08100000 AC472420 0083E003 00000F42
08100000 AC472428 0083E03F 00000F44
20000000
 
Last edited by Chesly,
D

Deleted User

Guest
Is it possible to bring fish/insect to a friend's island and drop it?
I tried gift wrapping it using gold wrapping paper but it is not working at all.

Thank you!

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



It looks like this is not possible in SX OS since gift wrapping an item is only doable in Edizon. Geez.
yes, wrap it liek any normal item
 

LolaG

Active Member
Newcomer
Joined
Sep 30, 2019
Messages
37
Trophies
0
Age
28
XP
135
Country
Algeria
Hello,

here yesterday I updated my hacked console in 10.0.2 to be able to play AC in version 1.2.1 except that problem, I can no longer play locally. I usually transfer plans where bells from my hacked switch to my switch save but since yesterday, during loading, Resetti appears to tell me "An error has occurred." How to fix this problem ?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    The Real Jdbye @ The Real Jdbye: probably