mayhem-party/host.d
bel edcea37148 drop .[] chars as they dont work on linux and macos for me out of the box 2023-03-24 15:28:17 -06:00
..
config.d drop .[] chars as they dont work on linux and macos for me out of the box 2023-03-24 15:28:17 -06:00
README.md drop .[] chars as they dont work on linux and macos for me out of the box 2023-03-24 15:28:17 -06:00

README.md

Hosting a Mayhem Party

Requirements

  1. rusty-pipe
  2. mayhem-party
  3. stt

Clients

Distribute rusty-pipe

rustup target add x86_64-pc-windows-gnu; echo windows; cargo build --target x86_64-pc-windows-gnu; echo linux; cargo install --path ./

Each client needs 1 executable and 1 env file with a unique set of buttons

10 buttons per player go doc key Undef | grep Key | grep -v Undef | wc -l total (51)

The server cannot be a client because math. Maybe a VM on the client as a server would work tho.

See ./config.d/rusty-pipe.d

Server

rusty-pipe

INPUT_NAME=udp INPUT_UDP_PORT=port rusty-pipe | ...

mayhem-party

Configs

cd ./config.d/mayhem-party.d/remap.d; bash ./rotate.sh

rotate anytime via stdin or pkill -SIGUSR1 -f rotate.sh

Binary

... | bash -c 'true; source ./config.d/mayhem-party.d/env.env; mayhem-party'

Game Playing

Foreground

stt

TODO pipe stt detecting relevant strings -> change the ./config.d/mayhem-party.d/remap.d/live.yaml link -> SIGUSR1 to mayhem-party