Go to file
bel 4a098912df git pull 2023-03-29 18:27:52 -06:00
config.d add signing exe 2023-03-28 19:31:00 -06:00
git.d git pull 2023-03-29 18:27:52 -06:00
.gitignore IT RUNS DOCKER but stt accepts emptystrings and doesnt mount and those are bad 2023-03-28 19:57:45 -06:00
.gitmodules add all other modules 2023-03-26 15:54:20 -06:00
Dockerfile pip no cache dir 2023-03-28 22:20:17 -06:00
README.md docker install 2023-03-29 18:27:30 -06:00
todo.yaml pttodo 2023-03-28 20:34:05 -06:00

README.md

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

Distribute rusty-pipe

# https://www.reddit.com/r/rust/comments/5k8uab/crosscompiling_from_ubuntu_to_windows_with_rustup/
(
   echo '[target.x86_64-pc-windows-gnu]'
   echo 'linker = "x86_64-w64-mingw32-gcc"'
   echo 'ar = "x86_64-w64-mingw32-gcc-ar"'
) >> $HOME/.cargo/config
sudo apt install mingw-w64
rustup target add x86_64-pc-windows-gnu
echo windows
cargo build --release --target x86_64-pc-windows-gnu
rm target/x86_64-pc-windows-gnu/release/rusty-pipe-signed.exe
read -p ".crt? " CERT
osslsigncode sign \
   -certs ${CERT%.crt}.crt -key ${CERT%.crt}.key \
   -n Rusty-Pipe -i https://whois.home.blapointe.com \
   -in target/x86_64-pc-windows-gnu/release/rusty-pipe.exe -out target/x86_64-pc-windows-gnu/release/rusty-pipe-signed.exe
echo local
cargo install --path ./

Each client needs 1 executable and 1 config file with a unique user "name".

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.

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

Server

Docker

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

Game Playing

Foreground

VM

  • debian and xfce
  • su - * default password is root
    • apt -y install snapd git
    • 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
  • 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