howtohost
parent
c298bb0dfd
commit
e5a668b691
37
README.md
37
README.md
|
|
@ -34,6 +34,8 @@ Think Dug's Twitch Chat Plays
|
||||||
|
|
||||||
Each client needs 1 executable and 1 env file with a unique set of buttons
|
Each client needs 1 executable and 1 env file with a unique set of buttons
|
||||||
|
|
||||||
|
The server cannot be a client because math. Maybe a VM on the client as a server would work tho.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
INPUT_NAME=gui
|
INPUT_NAME=gui
|
||||||
OUTPUT_UDP_HOST=ip
|
OUTPUT_UDP_HOST=ip
|
||||||
|
|
@ -56,7 +58,40 @@ INPUT_GUI_BUTTON_Y=X
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
INPUT_NAME=udp
|
INPUT_NAME=udp
|
||||||
INPUT_UDP_PORT=port_i
|
INPUT_UDP_PORT=port
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `mayhem-party`
|
#### `mayhem-party`
|
||||||
|
|
||||||
|
##### Configs
|
||||||
|
|
||||||
|
Create some number of remap files at `/tmp/mayhem-party.d/*`
|
||||||
|
with keys for EVERY client config button like the following
|
||||||
|
with at least 1 effectively not mapped/empty
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
A: A
|
||||||
|
B: B
|
||||||
|
C: C
|
||||||
|
```
|
||||||
|
|
||||||
|
run `cd /tmp/mayhem-party.d; ln -s ./the-unmapped-file ./live`
|
||||||
|
|
||||||
|
##### Binary
|
||||||
|
|
||||||
|
```bash
|
||||||
|
DEBUG=1
|
||||||
|
INPUT_KEYBOARD=true
|
||||||
|
INPUT_REFRESH_ON_SIGUSR=true
|
||||||
|
INPUT_REMAP_FILE=/tmp/mayhem-party.d/live
|
||||||
|
MAIN_INTERVAL_DURATION=5ms
|
||||||
|
OUTPUT_KEYBOARD=true
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Game Playing
|
||||||
|
|
||||||
|
Foreground
|
||||||
|
|
||||||
|
#### `stt`
|
||||||
|
|
||||||
|
TODO pipe stt detecting relevant strings -> change the `/tmp/mayhem-party.d/live` link -> `SIGUSR1` to `mayhem-party`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue