Netplay Guide

From Dolphin Emulator Wiki
Revision as of 11:20, 31 May 2015 by Mbc07 (talk | contribs) (Text replacement - "\s[rR][aA][mM]\s" to " RAM ")
Jump to navigation Jump to search

Netplay is a defining feature of Dolphin: it allows you to connect any GameCube or Wii game for internet play, without the problems or limitations of the Nintendo WiFi Connection or hassle of BBA. It is improving regularly, and while it is a bit finicky at the moment it is very playable and reliable with the right settings. This guide outlines what you need for reliable online play with Dolphin.


Requirements

  • Internet requirements are very light: any DSL or Cable internet connection should do. However, the internet demands rapidly increase as more players are added.
  • ISOs must have matching region and game revision. The netplay window should be able to tell you this information, otherwise compare MD5 or SHA-2 hashes.
  • If hosting behind a firewall or router, port forwarding will be necessary.


Setting Up Dolphin

  • All players should use the same build, preferably the latest development build from http://dolphin-emu.org. Because of all the settings and memory card requirements, it is recommended that you create a duplicate copy of Dolphin specifically for Netplay and use "portable.txt" to isolated it from the Global User Directory.
  • For GCN games, Memory Cards need to be synchronized or disabled.
  • For Wii games, the Cache and Wii folders must be synced.

General Configuration

  • Idle skipping doesn't affect Netplay, only movie playback, so it can be left on.
  • Dual Core being off is the only setting required for stable Netplay. With Dual Core on, there is a very high chance of desync. All players must be running with the same setting of Dual Core in order to sync at all. The only known exceptions to this rule are Mario Party 4 and Kirby Air Ride, which always work with Dual Core mode. The dc-netplay branch has working Dual Core netplay, but it is somewhat experimental.
  • Frame Limiter cannot be set to Audio.

Graphics Configuration

  • All graphics backends sync with eachother, so the general graphics settings can be whatever you like.
  • Enhancements can mostly be turned on or off without incident on higher end processors, so as long as you are getting fullspeed, go for it.
  • Hacks are very important for speed, but can cause issues if used improperly. Make sure everyone uses the same hacks throughout: if a hack causes a bug and only one computer bugs out while the rest are fine, the game will desync. You can enable hacks as you see fit, but if a game requires a compatibility setting and you ignore it, it may cause desyncs even if all the players use it. Look at the game's wiki page for information on what settings are needed and use them as a guide to base your experiments. Skip EFB Access to CPU and Disable EFB Copies will cause desyncs in any game where they are needed, so use them only if you know what you are doing. EFB Copies to Texture is usually fine, but if a game requires EFB to RAM it will probably cause a desync, so make sure you check the game's wiki page. Some people may see a small increase in framerate when using OpenMP encoder on 4+ core processors, but it also can lower your framerate depending on the game. OpenMP is not recommended unless you're desperate for a little extra speed.

Controller Settings

  • The bindings in GCPad can be whatever you like. Just edit the Pad 1, regardless of what player you'll be in the netplay session. Any additional local players will be Pad 2 or Pad 3.
  • Wii Remote bindings work more or less the same way as GCpad settings, however only emulated Wii Remotes can be used. Just edit emulated wiimote 1, regardless of what player you'll be in the netplay session. Any additional local players will be emulated wiimote 2 or emulated wiimote 3.


Netplay Settings

How to set the Pad buffer

Because input on the GameCube and Wii are polled by non-frame intervals, buffer does not directly relate to frames and can even vary per game. Lower the buffer as much as possible without causing slowdown for an optimal experience, ideally in areas that insure there isn't computer related slowdown such as a menu.

Setting a Spectator

A Spectator is a connected computer that has no controllers assigned to them. You can do this by configuring pads and making sure their name has no pads. This player will not impact lag or latency but can still watch the netplay session.

Mixing Local and Online Multiplayer

To set multiple players on one computer, highlight the player that will have multiple controllers and hit "Configure Pads". Then put the controller you want them to control underneath the pad their controller is configured for. This can be done for multiple people connected to the server.


FAQ

Q: The person I'm playing with seems to be moving around strangely but he says that I'm the one moving weirdly. What happened?
A: This is a desync. Basically what both of you are seeing are two different games. If it keeps happening, double check your settings, check the hashes on your ISOs, and keep at it.

Q: When I try to join the host, it says "Game not found."
A: You need to add the directory containing your ISOs into your Config. You'll know it is set up properly if the game is in Dolphin's Game List. Also, when playing Wii games, this error may appear if Cache folders are not synced.

Q: How do I host?
A: In order to host, the player need to ensure that all firewalls allow Dolphin to send and receive packets. On top of that, if a computer is on a router, a port must be forwarded. For more instructions on how to handle specific routers, try portforward.com.

Q: Can I connect to Nintendo WiFi Connection?
A: "Netplay" is Dolphin's own online multiplayer system and has no interaction with Nintendo's servers. But Dolphin can use the Nintendo WiFi Connection. See the Wii Network Guide.

Q: Is there like a master server list of all the Dolphin servers?
A: Dolphin operates on a Peer to Peer architecture, meaning that there is no master server. Instead you must manually setup and host games with people beforehand. This allows Dolphin's netplay to have the lowest possible latency.

Q: Why am I having desyncs?
A: Netplay has matured considerably in recent time. If you are having desyncs, it is most likely your fault. Check everything again. However, a small number of Wii games are weirdly unsupported no matter what, such as Super Smash Bros. Brawl.