readme to server.sh
parent
d7e7a07f6e
commit
b9f0cec2e8
46
README.md
46
README.md
|
|
@ -1,7 +1,5 @@
|
||||||
# Mayhem Party Venue
|
# Mayhem Party Venue
|
||||||
|
|
||||||
`git config --global credential.helper store; git submodule init; git pull --recurse-submodules --jobs=10; git submodule foreach git pull origin master`
|
|
||||||
|
|
||||||
# Clients
|
# Clients
|
||||||
|
|
||||||
## Distribute `rusty-pipe`
|
## Distribute `rusty-pipe`
|
||||||
|
|
@ -27,7 +25,7 @@ echo local
|
||||||
cargo install --path ./
|
cargo install --path ./
|
||||||
```
|
```
|
||||||
|
|
||||||
Each client needs 1 executable and 1 config file with a unique user "name".
|
Each client needs 1 executable and 1 config file
|
||||||
|
|
||||||
The server cannot be a client because sending, listening, and typing keyboard is bad. Maybe a VM on the client as a server would work tho.
|
The server cannot be a client because sending, listening, and typing keyboard is bad. Maybe a VM on the client as a server would work tho.
|
||||||
|
|
||||||
|
|
@ -35,52 +33,18 @@ See `./config.d/rusty-pipe.d`
|
||||||
|
|
||||||
# Server
|
# Server
|
||||||
|
|
||||||
## TTS
|
## Code
|
||||||
|
|
||||||
// everything else in VM except this to capture speakers for STT
|
`bash ./server.sh`
|
||||||
|
|
||||||
## Game Playing
|
## Game Playing
|
||||||
|
|
||||||
Foreground
|
Foreground
|
||||||
|
|
||||||
## VM
|
|
||||||
|
|
||||||
### Setup
|
|
||||||
|
|
||||||
* debian and xfce
|
|
||||||
* `su -`
|
|
||||||
* default password is `root`
|
|
||||||
* `apt -y install snapd git clang`
|
|
||||||
* install discord (`snap install discord`)
|
|
||||||
* use `blapointe@protonmail.com`
|
|
||||||
* install dolphin (`snap install dolphin-emulator --beta`)
|
|
||||||
* `snap run dolphin-emulator.dolphin-emu`
|
|
||||||
* install docker (https://docs.docker.com/engine/install/debian/)
|
|
||||||
* `usermod -aG docker gm`
|
|
||||||
* add suoder
|
|
||||||
* `usermod -aG sudo gm`
|
|
||||||
* install rust
|
|
||||||
* `https://rust-lang.org/tools/install`
|
|
||||||
* `newgrp docker; docker ps`
|
|
||||||
* `d=$HOME/Go/src/gogs.inhome.blapointe.com; mkdir -p $d; cd $d`
|
|
||||||
* `git clone https://gogs.inhome.blapointe.com/bel/mayhem-party-venue.git mayhem-party-venue.d`
|
|
||||||
|
|
||||||
### Run
|
|
||||||
|
|
||||||
#### STT
|
|
||||||
|
|
||||||
// docker has permission issues so fuckit
|
|
||||||
|
|
||||||
#### Mayhem-Party.bin
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker build -f Dockerfile -t mayhem-party-venue . && docker run -p 17071:17071 -p 17070:17070/udp --rm -it -v /run/user/$UID/pulse/native:/run/user/0/pulse/native -e PULSE_SERVER=unix:/run/user/0/pulse/native -v "$PWD"/mnt.d:/mnt -e DEBUG=true mayhem-party-venue
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Discord
|
#### Discord
|
||||||
|
|
||||||
TODO
|
Yep
|
||||||
|
|
||||||
#### Dolphin
|
#### Dolphin
|
||||||
|
|
||||||
TODO
|
Yep
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue