dolphin-emulator/Source/Core/DolphinQt
Techjar 5519efa66e NetPlay host input authority mode
Currently, each player buffers their own inputs and sends them to the
host. The host then relays those inputs to everyone else. Every player
waits on inputs from all players to be buffered before continuing. What
this means is all clients run in lockstep, and the total latency of
inputs cannot be lower than the sum of the 2 highest client ping times
in the game (in 3+ player sessions with people across the world, the
latency can be very high).

Host input authority mode changes it so players no longer buffer their
own inputs, and only send them to the host. The host stores only the
most recent input received from a player. The host then sends inputs
for all pads at the SI poll interval, similar to the existing code. If
a player sends inputs to slowly, their last received input is simply
sent again. If they send too quickly, inputs are dropped. This means
that the host has full control over what inputs are actually read by
the game, hence the name of the mode. Also, because the rate at which
inputs are received by SI is decoupled from the rate at which players
are sending inputs, clients are no longer dependent on each other. They
only care what the host is doing. This means that they can set their
buffer individually based on their latency to the host, rather than the
highest latency between any 2 players, allowing someone with lower ping
to the host to have less latency than someone else.

This is a catch to this: as a necessity of how the host's input sending
works, the host has 0 latency. There isn't a good way to fix this, as
input delay is now solely dependent on the real latency to the host's
server. Having differing latency between players would be considered
unfair for competitive play, but for casual play we don't really care.
For this reason though, combined with the potential for a few inputs to
be dropped on a bad connection, the old mode will remain and this new
mode is entirely optional.
2018-08-26 17:10:23 -04:00
..
Config Qt/MappingButton: Fix crash when exiting during input detection 2018-08-11 17:37:12 +02:00
Debugger Merge pull request #7342 from spycrab/qt_dbg_scroll 2018-08-20 21:41:54 +02:00
FIFO Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
GameList GameList: QSortFilterProxyModel should provide strict weak ordering 2018-08-08 23:59:58 -04:00
NetPlay NetPlay host input authority mode 2018-08-26 17:10:23 -04:00
QtUtils NetPlay: Improve settings synchronization and UI 2018-07-26 17:23:04 -04:00
Settings Qt/AdvancedPane: Block signals during Update() 2018-08-23 07:00:20 -04:00
TAS Merge pull request #7326 from spycrab/qt_tas_fancy 2018-08-15 19:46:56 +02:00
AboutDialog.cpp Qt/Resources: Convert int parameters of GetCountry(), GetPlatform() and GetMisc() to enum classes 2018-07-10 15:23:12 -04:00
AboutDialog.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
CheatsManager.cpp Qt/CheatsManager: Fix segfault in GenerateARCode 2018-07-18 17:56:31 -04:00
CheatsManager.h Qt/CheatsManager: Move concealable types into the cpp file 2018-07-10 14:34:24 -04:00
CMakeLists.txt Adds a UI for accepting Discord join requests in Dolphin 2018-08-06 16:12:03 -04:00
DiscordHandler.cpp Force IPv4 on external IP addresses 2018-08-13 21:17:38 -04:00
DiscordHandler.h Force IPv4 on external IP addresses 2018-08-13 21:17:38 -04:00
DiscordJoinRequestDialog.cpp Force IPv4 on external IP addresses 2018-08-13 21:17:38 -04:00
DiscordJoinRequestDialog.h Force IPv4 on external IP addresses 2018-08-13 21:17:38 -04:00
DolphinQt.manifest Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
DolphinQt.rc Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
DolphinQt.vcxproj Adds a UI for accepting Discord join requests in Dolphin 2018-08-06 16:12:03 -04:00
DolphinQt.vcxproj.user Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
GCMemcardManager.cpp Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
GCMemcardManager.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Host.cpp Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Host.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
HotkeyScheduler.cpp DolphinQt: Don't call "frame advance" "frame skip" 2018-08-09 10:32:32 +02:00
HotkeyScheduler.h Input: Add hotkey to cycle the wiimote profile forward or backward 2018-07-07 12:39:08 -05:00
Info.plist.in Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Main.cpp Core/BootManager: Remove unnecessary includes 2018-07-14 23:16:23 -04:00
MainWindow.cpp Merge pull request #7249 from yourWaifu/discord-rpc-join 2018-08-19 13:43:33 +02:00
MainWindow.h Add Discord Join Net Play functionally 2018-07-31 22:24:10 -04:00
MenuBar.cpp Merge pull request #7244 from lioncash/error 2018-07-12 19:41:36 +02:00
MenuBar.h Merge pull request #7244 from lioncash/error 2018-07-12 19:41:36 +02:00
qt.conf Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
RenderWidget.cpp Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
RenderWidget.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
resource.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Resources.cpp Qt/Resources: Convert int parameters of GetCountry(), GetPlatform() and GetMisc() to enum classes 2018-07-10 15:23:12 -04:00
Resources.h Qt/Resources: Convert int parameters of GetCountry(), GetPlatform() and GetMisc() to enum classes 2018-07-10 15:23:12 -04:00
SearchBar.cpp Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
SearchBar.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Settings.cpp Hotkeys: Add "Toggle USB Keyboard" hotkey 2018-08-02 12:55:30 +02:00
Settings.h Hotkeys: Add "Toggle USB Keyboard" hotkey 2018-08-02 12:55:30 +02:00
ToolBar.cpp Qt: Remove ActionHelper 2018-07-09 10:02:10 +02:00
ToolBar.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Translation.cpp Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Translation.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Updater.cpp Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Updater.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
WiiUpdate.cpp Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
WiiUpdate.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00