Dungeon Crawl Stone Soup webtiles automated game watcher

gwen 9b625d087a choose browser 3 年之前
.gitignore a778070097 added basic readme 3 年之前
README.md a778070097 added basic readme 3 年之前
dcss-watch.py 9b625d087a choose browser 3 年之前

README.md

dcss-watch.py

this script is used to automate joining games for webtiles spectator mode of dungeon crawl stone soup. think of it like tv.

Setup:

1) install dependencies

from parabola

# pacman -S icecat python python-selenium geckodriver

you can replace icecat for firefox, but i havnt tested that

2) create a selenium specific browser profile

$ icecat --CreateProfile selenium

all extensions / addons should be disabled if there is any. to lauch the profile manually do:

$ icecat -P selenium

3) add the profile path to dcss-watch.py

get the path where this profile located:

$ find $HOME/.mozilla/icecat/ -maxdepth 1 -type d -name "*selenium"

in the script, change the variable 'ff_profile_location' to this string

everything should work

launch dcss-watch.py and dont press any buttons or change focus