dolphin/Source/Core
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
..
AudioCommon AudioCommon: Implement WASAPI 2018-05-26 13:08:10 +02:00
Common Merge pull request #7333 from weihuoya/gamecover-nomedia 2018-08-20 10:01:50 +02:00
Core NetPlay host input authority mode 2018-08-26 17:10:23 -04:00
DiscIO ExportDOL: ActionReplay has a 0'd dol offset. Don't try to extract. 2018-08-02 05:32:05 -04:00
DolphinNoGUI Merge pull request #6983 from yourWaifu/add-discord-rpc-support 2018-06-25 00:06:27 +02:00
DolphinQt NetPlay host input authority mode 2018-08-26 17:10:23 -04:00
InputCommon Input: Allow per-game configuration to specify directories for input-profiles. If specified, the directories are searched recursively for inis 2018-07-07 13:02:39 -05:00
UICommon Merge pull request #7333 from weihuoya/gamecover-nomedia 2018-08-20 10:01:50 +02:00
Updater
VideoBackends FramebufferManager: Dynamic selection of EFB depth format 2018-07-19 21:47:42 +10:00
VideoCommon VideoCommon/HiresTextures: Change wildcard to a Windows-compatible character 2018-08-21 15:54:25 -04:00
CMakeLists.txt Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00