

If you plan on connecting to the host, you'll simply need the host's public ip address and port. NOTE: For hosting you can also just debug the project with the DEBUG_SERVER configuration set.


Run the following command:ĭ host -p 19001 -pcsx2 PATH_TO_PCSX2_EXE -dl PATH_TO_DL_ISO After port forwarding, open an instance of cmd in the build directory. If you plan on hosting, you'll need to port forward whichever port you choose to use for UDP. It's a commandline tool so be ready to use cmd or powershell to run it. Head over to the Releases page and grab the latest build. Make sure that your controller/keyboard is setup to affect player 2. If you're the client, connecting to the host, then you will be player 2. Make sure that your controller config is setup for player 1. If you're planning to be the host, then you will be player 1. In order for the pad hook to work you need to enable cheats and place the following codes into the 9BFBCD42.pnach cheats file: Take a look at the DEBUG_SERVER and DEBUG_CLIENT build configurations. Then open cmd in the build directory and run either of the following commands (depending on host or client):ĭ connect -h localhost -p 19001 -pcsx2 PATH_TO_NEW_PCSX2_EXE -dl PATH_TO_DL_ISOĭ host -p 19001 -pcsx2 PATH_TO_NEW_PCSX2_EXE -dl PATH_TO_DL_ISO Step 3: Clone and BuildĬlone the repo and build the project in Visual Studio 2017. Be sure to change the memory card config to use the new memory card copies. If you're testing over localhost then I recommend making a new copy of your PCSX2 directory to prevent any conflicts. Set the environment variable DEADLOCKED_ISO to the path of your Deadlocked iso. Set the environment variable PCSX2 to the path of your PCSX2 executable. Stateĭebugging Step 1: Setup Environment Variables for Debugging Additional data, like position and rotation, are sent rapidly in game and interpolated on the client to prevent desynchronization. It works by hooking itself into the pad read subroutine and replacing the appropriate controller inputs with a remote player's. This tool connects two players and synchronizes controller and game data between them on Ratchet: Deadlocked.
