Netplay Slot

Ported the local netplay from Android (Experimental). This version is compatible using local netplay with the rest of ePSXe versions from the version 2.0.5 (MacOSX, Linux x86, Linux x64 and Android - version 2.0.6). (Additional info the epsxe docs) - Ported the GPUCORE threading mode from the Android version. While the live dealer games we talk about vary from developer to developer, they typically tend to have a few things in common. Each provider creates a suite of games that they license out to a number of different casinos, hosting them from their studios in whatever part of the world suits them best.

08-27-2011, 12:53 AM (This post was last modified: 08-28-2011, 05:51 AM by saylith.)
Feel free to tell me about any corrections that need to be made or anything I should add.
Also don't use this as a matchmaking thread.
Dolphin netplay also requires a very good processor to get good fps.
Initial Setup (Do this for each Dolphin)
First you'll want to get a fresh copy of Dolphin 3.0.
http://dolphin-emu.org/download.html

Netplay Slot Machine


While it is entirely possible to use your current Dolphin installation, there are several reasons why it is better to do this listed in the FAQ.
After extraction, Open Dolphin and go to Config.
Under General, uncheck Enable Dual Core (speedup).
Under Audio, uncheck Enable Audio Throttle.
Under Gamecube, set the ports you will be using to Standard Controller.
For example, for two players you would set Port 1 and Port 2 to Standard Controller. Make sure you do this on all Dolphins that are going to be netplaying.
Go to Paths, and click the Add... button. Find the folder that contains your Wii ISOs. When you hit OK, your main Dolphin window should fill up with your games.
After doing these general settings, go back to Config > Audio and do either of the following:
  1. If you are using DSP HLE emulation, change Audio Backend to No audio output. (In my experience leaving it on works alright. It's even what I use in my videos, but the GUI recommends that you turn it off).
  2. If you are using DSP LLE emulation, then go ahead and install it like usual.
Next, you will need to decide if you're going to use a save or not.
Go to Config > Gamecube.
  1. If you do not want to use a save, make sure both Slot A and Slot B have <Nothing>
  2. If you want to use a previous save file, leave Slot A at Memory Card.
If you chose Option 2, you will need to copy your previous UserWiititle folder to your new installation.
Also extremely important: all Dolphins engaging in netplay should use the exact same save files, or desyncing will occur. Any changes to one save file must also happen to the other.
When you're done with all of this, feel free to go into GCPad Configuration and set up your controller (It's best to set up Pad 1).
You also have some freedom with your Graphics settings. Make sure, however, that you can easilyNetplay Slot get full speed on your settings so that netplay will be smooth.

Netplay: How to Host

If you're going to host, make sure your firewall is configured correctly and that your ports are properly forwarded
if you are using a router. Google will be your best friend here.
To host, go to Tools > Start Netplay > Host. (You should also change your nickname at this time)
Select the game you want to play and click Host.
After someone joins you can click Start and a window will pop up and you can start playing your game.
Some things to consider as Host:
1. Buffer. You want to have the lowest buffer possible. If everyone normally gets full speed but can't during netplay, try increasing your buffer. While doing this may improve performance, it increases input lag. The better the connection, the lower the buffer you can use. The ? button will give you an estimate on the buffer you should use, but you should play around with it and try to get the lowest buffer possible while still getting full speed.
2. Configure Pads. This is really only necessary if you have multiple people on one dolphin. Basically the column will determine which GCPad profile will be used from that Dolphin. The dropbox lets you choose what slot that controller will take up.

Netplay: How to Join

To Join, go to Tools > Start Netplay. (You should also change your nickname at this time)
In Address, use the host's IP address.
If the host changed the port, change yours to match theirs.
Click the Connect button and wait for the host to start the game.

FAQ/Troubleshooting

Q. Why should I use a fresh installation of Dolphin instead of the one I already have?
A. There are several reasons why you would want to do this.
  1. The settings that are 'best' for netplay on your computer are not necessarily the 'best' settings for playing single player games.
  2. If your game save is altered while playing in Singleplayer, it tends to lead to many desync problems in Multiplayer.
  3. You can change settings, test new revisions, and save as much as you want on your other Dolphin without worrying about not being able to netplay later.
Q. I'm getting low fps! What do I do?
A. Note that netplay requires even more processing power than using the same settings in single player. First you'll want to try increasing the buffer and seeing if your framerate improves. If you're really, really desperate, you may get better frames by experimenting with different revisions or by overclocking. Other than that there's not much you can do other than getting faster internet/computer. Having a high ping or having a lag spike will also lower fps.

Q. The game says that my Wiimote isn't connected or doesn't recognize my Wiimote even though it works in singleplayer!

A. As of Dolphin 3.0, Wiimote support has not been implemented. Only games that use Gamecube controllers will work.

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. The only fix is for the host to Stop then restart the game. This happens often with lag or using different versions of the same game or from having different saves. Try to make sure all of your settings are the same. This is also inevitable with any random occuring events in Dolphin.
Q. When I try to join the host, it says 'Game not found.'
A. You need to add the directory containing your ISOs in your Config.
Q. Can I connect to Nintendo Wi-Fi Connect?Netplay
A. No.

Q. Is there like a master server list of all the Dolphin servers?

A. No, and there probably aren't many open Dolphin servers anyway.
Q. Can I really not use Dual Core/Audio Throttle/DSP-HLE with audio?
A. Well, it might run, and it might even seem to work correctly, but I'm guessing the developers said to use this settings for a reason, and so that is what I recommend in this guide. You could try messing around with them, but if you encounter problems, change the settings back.
Q. My friend says he's hosting, but I can't connect!
A. If you're using the right IP address and Port, then the host hasn't set up his network correctly.
Q. We have netplay working but my controller doesn't work!

A. You need to make sure the right number of controllers are enabled for each dolphin.
Q. How well does the netplay on Dolphin run?

A.
It runs quite well actually. Provided you have fast systems and really nice internet, 60fps smooth gameplay should be entirely possible. Realistically, you should expect input delay and occasional lag spikes. Here is a video I took of netplay.
http://www.youtube.com/watch?v=e6Q0yCR08HU
CPU: Intel i5 2500k @ 4.3GHZ, 1.3V
CPU Cooler: Coolermaster Hyper 212 Plus
MOBO: MSI P67A-G43 (B3)
GPU: HIS 6870 1GB
RAM: 2x2GB DDR3 1600 G.Skill RipjawsX
PSU: Antec TruePower New 650w

Netplay is a defining feature of Dolphin: it allows you to set up online sessions for any GameCube or Wii title with a local multiplayer mode, without the problems or limitations of the Nintendo Wi-Fi Connection or hassle of the BBA. It is improving regularly, and GameCube Netplay should be painless. Wii Netplay is much more temperamental and should be treated as an experimental feature for advanced users.

'The person I'm playing with seems to be moving around strangely but he says that I'm the one moving weirdly. What happened?'

This is a desync. Basically what both of you are seeing are two different games. See Desync Troubleshooting

  • 3Hosting or Joining a Session
    • 3.1General Configuration
    • 3.2Graphics Configuration
  • 4Netplay Settings

Requirements

  • Bandwidth requirements are very light: any DSL or Cable internet connection should do. However, the internet demands rapidly increase as more players are added. Because the latency (ping) of the internet connection determines how low input latency can get, using Ethernet instead of Wi-Fi usually improves the gameplay experience.
  • Each player must have their own copy of the game, and the region and game revision of all copies must match. While most compressed game formats are compatible with standard ISOs (with NKit being a notable exception), it is heavily recommended that all players use identical dumps.
  • All players must use the same Dolphin version. Newer Dolphin versions are more likely to have fixes for Netplay. Many users opt to use the latest beta versions from the official website. It can be isolated from your main Dolphin profile by using 'portable.txt' or creating a special shortcut. Dolphin will not allow users to use mismatched versions for Netplay, to prevent desyncs.

Setting Up Dolphin

Your Netplay Experience will greatly vary depending on what version you tend to use. Because Dolphin 5.0 is lacking so many Netplay features at this point, it cannot be recommended for use. It is missing important features like Wii Save Synchronization (5.0-8478), Automated Settings Synchronization (5.0-8502), Cheat Code Synchronization (5.0-9032), Synchronize All Wii Saves (5.0-9037) as well as protections for recovering saves if Netplay is to crash.

Rule of thumb is that most settings should be set to default and you are expected to follow specific settings where the instruction (made by host or matchmaking websites) has told you to set before playing online.

Hosting or Joining a Session

Under the tools menu, you can find the option to 'Start Netplay Session'. From there you have several options.

  • Hosting a session allows you to pick a game and host it for others to join. If you use version 5.0-8478 or newer, you can also host these games publicly with the 'Netplay Server Browser'.
  • When hosting a session, you can choose whether to Direct Connect or use a Traversal Server. Both will have the same latency, however using the traversal server allows you to use a host code instead of your IP Address. Depending on your router, you may not even need to port forward when using the traversal server.
  • You can join a session by browsing public Netplay sessions or going to 'Start Netplay Session' to get to the page where you can join sessions. You can enter a host code or IP Address as needed in the 'Connect' tab.

While Dolphin does try to automatically configure and sync settings to be correct, it is important to be familiar with settings that can affect Netplay.

General Configuration

General

Basic Settings
  • Enable Dual Core: ON
  • Enable Cheats: OFF
  • Speed Limit: 100%

Audio

DSP Emulator Engine
  • DSP HLE emulation

GameCube

Device Settings
  • Slot A: Memory Card
  • Slot B: <Nothing>
  • SP1: <Nothing>

Wii

Device Settings
  • Insert SD Card: OFF
  • Deterministic Dual Core Netplay is now merged into master. While compatibility is not perfect, it should allow more games to work on dual core with three exceptions. Games that require Skip EFB Access to CPU, Store EFB Copies to Texture Only and/or Store XFB Copies to Texture Only unchecked in the Graphics > Hacks settings are not guaranteed to run correctly. Deterministic Dual Core can be faster than Single Core in some games, but may also be much slower if a game relies on certain visual effects. Single Core mode in Netplay is the same single core mode used outside of Netplay and has no compatibility penalty.
  • SD cards do work on Netplay but must be manually synchronized. Any difference at all in the SD card, no matter how minor, will cause desyncs in games that access the SD card.

Settings Synced

As of 5.0-8502, most settings that affect determinism will be synced to other clients, so only the host needs to ensure correct settings. Games which use EFB reads or EFB to RAM are likely to desync with mismatched graphics settings, therefore Strict Settings Sync should be used, which will additionally sync most graphics settings except for backend.

On older revisions, only these settings will be synced over:

  • Advanced Settings from General menu
  • Misc Settings from Wii menu
  • CPU Options from Advanced menu

Note that over long periods of time, using different video backends may eventually cause a detected desync. However, because not all target operating systems support all backends, Dolphin will never attempt to synchronize graphics backends. If you do see a seemingly random detected desync during very long play sessions and you are using different graphics backends, this is usually the cause. These desyncs usually do not manifest in anything immediately broken, but it is still recommended you save and restart to prevent issues.

Graphics Configuration

Enhancements

(No desync in most games)

Hacks

Embedded Frame Buffer
  • Skip EFB Access from CPU: ON
  • Store EFB Copies to Texture Only: ON
  • Most settings under Enhancements menu can mostly be turned on or off without incident on higher end processors. The only exception to this is when an enhancement breaks a game, such EFB Copy readback. If a game requires EFB Access from CPU or EFB Copies Stored to RAM for game mechanics, the game may freeze or run slowly unless you use Single Core. It is highly recommended you do not change these settings while Netplay is actually in session, however.

Controller Settings

  • Enable and configure GameCube controller port 1 for your controller (this applies to both host and joiners) then enable other ports corresponding number of players willing to join and leave them dummy 'plugged in'. Any additional local players should use second or third ports.
  • Wii Remotes are far more particular about how they are setup in Netplay. Unlike GameCube Controllers, you must configure the Wii Remote you are assigned to in the Netplay lobby. As such, Player 2 will use their Wii Remote 2's configuration. Once Wii Remotes are configured correctly, they usually work fine for the remainder of the session If you notice any desync while playing with emulated Wii Remotes, it is highly recommended you save immediately, as a desync in Wii Remote reporting modes will crash the emulator.

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. In most games, add roughly 1 pad buffer per 15 ms of latency per client. Two players at 50 ms latency would be roughly 3 - 4 buffer, where as three players at 50 and 65 ms would be roughly 7 buffer.

Assigning Controller Ports

By default, only players of the first port on each computers will be used. The host will be player one, and the first joiner will be player two, and so on. But the host can change the port order and invite the secondary players of the same computer. To do so, simply hit the 'Assign Controller Ports' button, then add and/or order their names to the port number respectively.

Setting a Spectator

A Spectator is a connected computer that has no controllers assigned to them. Any player can be turned into a spectator by going to the 'Configure Pads' window (only host has access to it) and remove the their name from the controller ports. The spectator will not cause lag or latency but can still watch the Netplay session.

Host Input Authority

This gives the host control over when inputs are sent to the game, effectively decoupling players from each other in terms of buffering. This allows players to have latency based solely on their connection to the host, rather than everyone's connection. Buffer works differently in this mode. The host always has no latency, and the buffer setting serves to prevent stutter, speeding up when the amount of buffered inputs exceeds the set limit. Input delay is instead based on ping to the host.

This can result in smoother gameplay on unstable connections, as well as allowing players with much higher latency than others to play without increasing everyone's latency. However, this comes at the expense of latency fairness, which may make it not suitable for competitive play.

Netplay slot machines

Golf Mode

This addition to Host Input Authority allows the player with no input latency to change mid-game. This is incredibly useful for games where only one player is playing at a time, like a golf game. Do note that all other players experience a latency penalty in this mode, so it should only be used for games where only one player is playing at a time.

Reduce Polling Rate

This option used to significantly reduce the polling rate in order to lower network usage. However, it is no longer necessary in the latest development versions due to a bug fixed in how much controller data was being sent.

Desync Troubleshooting

Double check your settings and confirm if you and other players have good ISO dump. Dolphin 4.0-6638 added the ability to detect desyncs. Watch the textbox for desync notifications, as very often it will be able to tell the game has desynced before the players and may help them pinpoint the problem.

Netplay Clothing

Netplay has matured considerably in recent time, but still requires user competency and problem solving to get over some of the hurdles. Never ignore obvious problems such as Game ISO differences or SD card differences, as those are not synchronized by Netplay for obvious reasons.

Netplay Slot Play

Retrieved from 'https://wiki.dolphin-emu.org/index.php?title=Netplay_Guide&oldid=172532'