AQZ Netplay Input Plugin for Nintendo 64 Emulators


1Official website: https://www.pj64-emu.com/
2Source code: https://github.com/CoderTimZ/NetplayInputPlugin

Changes
Instructions
  1. Go to Options, Configure Controller Plugin. Select and configure an input plugin. (The netplay plugin relies on a real input plugin to do the actual work of reading input from the keyboard/controller.) Make sure only one controller is “plugged in” for each player that will be playing locally (at the same computer). To be a spectator, unplug all controllers.

  2. Choose a game to play. Send the save file for that game to each player/spectator. The save file is located in the “Save” folder in Project64 by default. If each player does not have the exact same save file, the emulation will probably desync.

  3. Open the game. The netplay plugin window will appear. Either join a public server, or have one person host a private server.

    Join a server with the /join <host>[:port][/room] command, where “host” is the address of the server, “port” is the port of the server (which defaults to 6400 if left out), and “room” is arbitrary text used to identify a gaming session. For public servers, choose a unique room ID. If a room ID is not specified, a random room ID will be assigned automatically. For private servers, there is only one room so the room parameter is ignored.

    Host a private server with the /host [port] command, where “port” is the number the server will listen on for connections. If a port is not specified, the default port number of 6400 is used. When a server is hosted for the first time, a message from your firewall may appear. Be sure to click “allow”. Also, if the host is behind a NAT (home router), the port will need to be forwarded with protocol TCP.

    (Note: If anyone is using WiFi (other than spectators), the game may be laggy unless they have a strong signal with low interference. You will probably be much better off if everyone has a wired connection.)

  4. Use the /name <name> command to change your name. The name you choose will be remembered next time you play.

  5. When everyone has joined, use the /start command to start the game.

Golf Mode

Golf mode allows certain games to be played with absolutely no lag no matter how much latency there is on the connection. It works with games where only one player plays at a time. It is called “golf mode” because it was designed for Mario Golf.

To turn golf mode on and off, use the /golf command. Every player must turn golf mode on for golf mode to work. Also, autolag must be disabled.

To use golf mode, each player must press the Z button when it is their turn to play. This will set their lag to 0 and everyone else’s lag to their previous lag. Now the player can do their turn without any lag.