Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 881 Bytes

File metadata and controls

35 lines (24 loc) · 881 Bytes

Dolphin / Relay Connection Example

This is an example demonstrating the real-time capabilities of slp-realtime.

This script connects to a Dolphin instance or Slippi relay, automatically detects combos, and generates a Dolphin-compatible combos.json file when disconnected from the relay.

How to use

  1. Clone the repo, install the dependencies, and build the library to be used by the example.
git clone https://github.com/vinceau/slp-realtime
cd slp-realtime
yarn install
yarn run build
  1. Prepare the example by changing directory into the example folder and installing the dependencies.
cd examples/dolphin-or-relay-connection
yarn install
  1. Set the address and port

Open up the index.js file in your favourite editor, and modify the values for ADDRESS and PORT appropriately.

  1. Run the actual code
node index.js