+
Skip to content

gcpreston/swb-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swb

Stream Slippi data to SpectatorMode.

Download

The latest release can be found here. The Releases page has all historical releases and pre-releases.

Make sure to download the correct file for your operating system:

OS File
Windows swb-v[version]-x86_64-pc-windows-gnu.zip
macOS (Apple silicon) swb-v[version]-aarch64-apple-darwin.tar.gz
macOS (Intel processor) swb-v[version]-x86_64-apple-darwin.tar.gz
Linux swb-v[version]-x86_64-unknown-linux-gnu.tar.gz

Usage

  • Open Slippi.
  • Unzip the downloaded archive and run the swb.exe or swb file inside.
  • To exit, use Ctrl + C. Make sure the terminal window is focused.
  • For additional options, run with the --help flag (via command line): swb --help.

Local development

To run the program from source, simply install Rust, then clone and

$ cd swb-rs
$ cargo run

Troubleshooting

If you are on Mac and get a message like "swb" was not opened:

  • Open Settings
  • Go to Privacy & Security
  • Scroll down to the Security section
  • Find "swb" was blocked to protect your Mac., and click the Open Anyways button. You will have to confirm, and give your password.

If you are on any platform and the program is blocked by antivirus, either create an exception in the relevant software, or run the program from source.

Supported options

  • --dest: Specify the WebSocket URL to connect to. Used for connecting to an alternative instance of SpectatorMode, for example for local development: ws://localhost:4000/bridge_socket/websocket
  • --source: Specify the address and port of the Slippi stream. Defaults to 127.0.0.1:51441.
  • --verbose: Print more logs. Useful for debugging.
  • --skip-update: Don't attempt to self-update. Useful for local development when not connected to the internet.

About

CLI client for SpectatorMode

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载