spacemeowx2 / ldn_mitm

Play local wireless supported games online
GNU General Public License v2.0
714 stars 104 forks source link

Animal Crossing drops a communication error as soon as a connection is established #34

Closed mid-kid closed 4 years ago

mid-kid commented 4 years ago

I know it's still early, but I decided to test this game with a couple of people, and I guess this brings me to report this compatibility issue. The game seems to work, finding the island to connect with works just fine, and you can go through the whole departure animation, until the blue dodo screen, where the system gives a "communication error". I've captured the ldn_mitm log, though not much seems awry here. https://pastebin.com/raw/KG63Uw9x

spacemeowx2 commented 4 years ago

the log shows it's probably disconnected from the host, can you host a game and send the log again?

mid-kid commented 4 years ago

Here's a log of me hosting: https://pastebin.com/raw/KumKkyBF The error code is 2618-0006, same from the client.

spacemeowx2 commented 4 years ago

2618-0006 is an error code from pia library(a networking framework made by N). I guess this game is like super mario party requiring very low latency to avoid people play online. I'll test it later with someone in the same city.

spacemeowx2 commented 4 years ago

After test, with flag '--pmtu 500' and Switch MTU 1500 the game is playable

mid-kid commented 4 years ago

Thanks, will test soon.

0blu commented 2 years ago

After some testing it seems that is just important to set the MTU in the Switch's Wifi settings to 1500.

I debugged it with Wireshark and saw that Animal Crossing is sending packages with a size lager than 1400 (which is the default MTU). No need to change the --pmtu (which could decrease the performance btw.).