citra-web/site/content/entry/announcing-networking-support/index.md
liushuyu 8e9b406e71 tree-wide: adapt to latest Hugo layout ...
* Use Hugo to process SCSS and images
* Use co-location page bundles
* Use Hugo/ESBuild to minify JS files
* Update NPM dependencies
2023-02-10 08:50:35 -07:00

7.1 KiB

+++ date = "2017-11-04T07:17:00-04:00" title = "Announcing Networking Support" tags = [ "feature-update" ] author = "jmc47" forum = 4744 +++

Networked Multiplayer is one of those features that was so surprising to see, that the lucky few chosen to test it were wondering if it was real. For the past year, several developers have banded together to bring this amazing implementation of online play to Citra.

The Nintendo 3DS heavily relies on wireless for its slew of multiplayer compatible titles. Considering that so many games feel empty without their multiplayer features, we're excited to announce that in select titles, you'll be able to play together with your friends across the world in the latest Canary builds of Citra!

{{< figure src="LetsBattle.png" title="Let's Battle!" >}}

Bringing Multiplayer to Citra

Emulating 3DS local wireless and bringing it to Citra was a huge endeavor shared by subv, B3N30, jroweboy, and JayFoxRox. It went through several stages of development, from actually reverse-engineering how wireless worked in games, to implementing those features in Citra, and then implementing an infrastructure so that even casual users could easily take advantage of this feature.

This emulates the 3DS' ability to do local wireless multiplayer. As such, it doesn't rely on Nintendo's server and does not require a Nintendo Network ID. While on a real 3DS you'd be limited to the people in your immediate vicinity, Citra boasts a complex server/client infrastructure that forwards a game's wireless communication across the internet.

Unlike single console netplay used in most emulators, users won't have to worry about desyncs, synchronizing saves, or any other issues typical of netplay. Each user is using their instance of Citra as a unique emulated 3DS that is communicating with everyone else through that particular server.

{{< figure src="GameBrowser.png" title="Join your friends!" >}}

Currently, servers created in Citra can hold up to 16 players. High player counts should be avoided for now due to bandwidth issues. In this initial release, each connected Citra instance sends raw packets to the host (or server) and the server then forwards those packets to every single client. As such, with each player added, the bandwidth requirements increase greatly.

While hundreds of games support wireless connectivity, compatibility is limited in the initial release. Tons of titles were tested, but only a handful came up as working properly. Note games may handle latency differently and your experience may vary.

The Server Browser

In order to get together with other players, you're going to have to join the same room with Citra's server browser. Creating and joining servers is extremely easy in Citra and can be done in just a few clicks. If you're a verified user, you can create a public game through the traversal server for people to join. These public games can be seen by anyone on the server browser, but you are also able to put a password on publicly listed games. Remember to port forward, otherwise your friends won't be able to connect!

Unverified users aren't left without options, though - they still have the ability to create unlisted games, direct connecting, and can join any hosted server.

Do note that verified users will have their privileges revoked for violating any site policies while on the server chatroom. Please respect the recommended game listed in publicly hosted games, as even unrelated games will add to the bandwidth load.

Wireless Compatibility

Works Like a Charm

Super Smash Bros. for 3DS

Super Smash Brother's local wireless play works perfectly in Citra for up to four players. Because the game expects all players to be running in lockstep, users will need to maintain similar framerates for a stable connection. Some stages, such as the pictochat stage, can run full speed even on moderately powerful computers.

{{< figure src="SmashLocal.png" title="1v1 me fox only no items final destination" >}}

Pokémon X/Y, Pokémon Omega Ruby/Alpha Sapphire, and Pokémon Sun/Moon

Almost everything works perfectly in the Pokémon games. The only thing that fails is adding friends - so try to stay away from that. Users can battle, trade, and watch passerbys as they show up or leave on the local wireless server.

Because of compatibility issues in general with X and Y, using wireless support may be problematic for those two titles.

{{< figure src="ChallengePok.png" title="Challenge your friends in beautifully upscaled Pokémon battles!" >}}

New Super Mario Bros. 2

New Super Mario Bros. 2 runs perfectly, and our testers were able to play together multiple worlds into the game flawlessly. Users on the same server can search for partners and join up just fine.

{{< figure src="NSMB2.jpg" title="Your princess is in another castle? Save her together!" >}}

Functional But Flawed

Luigi's Mansion: Dark Moon

This title has perfectly functional wireless support for trying to tackle the "Scarescraper"! Unfortunately, the game is so demanding that getting a fun experience out of it is near impossible.

{{< figure src="LuigisMansionLobby.png" title="Happy Hallowe- oh, it's November. Whatever, Luigi doesn't care!" >}}

Monster Hunter 3U and 4U

The Monster Hunter games are extremely demanding in Citra, but wireless support does somewhat work. A second player can join a game, share quests and trade guild cards. But, the game supports up to four local players on console, and anything more than two causes disconnections in Citra.

{{< figure src="image.png" title="Go out and hunt with all your friends! ... as long as that number is only 2." >}}

Incompatible

For various reasons, the following games were tested and do not work. Also note that Download Play and Spotpass titles do not work due to limitations in what Citra currently emulates.

  • Mario Party Island Tour
  • Mario Party Star Rush
  • The Legend of Zelda: TriForce Heroes
  • Mario Kart 7
  • Tetris Ultimate
  • Code of Princess
  • Sonic Generations
  • Asphalt Assault 3D
  • Ridge Racer 3D
  • Monster Hunter Generations
  • Monster Hunter X
  • Monster Hunter XX
  • Street Fighter IV
  • Kirby Triple Deluxe
  • Dragon Quest Monsters: Terry's Wonderland 3D
  • Resident Evil: The Mercenaries 3D
  • Dragon Quest Monsters: Joker 3 Professional
  • F1 2011
  • Kirby Fighters Deluxe
  • Planet Crashers

Going Forward

After the months of work put into making Networked Multiplayer a reality, we're excited to see it finally brought into the public eye. While only a handful of games work in this initial release, we're hoping to bring support to more titles in the future, as well as optimizing the netcode for lower bandwidth usage, and allowing for even bigger user hosted servers.