OpenRA tree and keyboards
This is a collection of hardware/doc. helpers for OpenRA game (GitHub):
- standard keyboard tuning (e.g. printed stickers Fn keys)
- built touch screen (i.e. RaspBerryPi as HID)
- faction trees (presently scrin, only) as a graph
note: early development of KEYSS
, current faction available is scrin, only (work in progress).
Keyss
is a GUI on touch screen for playing game
, i.e. acts as a keyboard for the game computer.
./keyss.py --tree-path $PWD/trees/CA/scrin/repear17/
For example, touch reactor image in build section to build a reactor
in OpenRA/CA !
Keyss
is sending E+F1
keys for reactor building for your scrin faction.
scrin tree is watchable while playing either by displaying it on a second screen or by printing it on paper.
build the scrin tree using GraphViz
dot -Tps graph.dot > graph.ps
evince graph.ps &
dot content
./FtoG.sh
sudo ./ptouch-print --image /media/xubuntu/tempo/LinuxTV/OpenRA/Keyb/12mm_tabs.png
gimp 12mm_tabs.xcf &
#gimp tab_*.png
sudo ./ptouch-print --image /media/xubuntu/tempo/LinuxTV/OpenRA/Keyb/12mm_modes.png
gimp 12mm_modes.xcf &
#gimp mode_*.png
arrows
./CombinedArms-0.82-x86_64.AppImage --appimage-mount
d=/tmp/.mount_Combinn5q6Tc
ls $d/usr/lib/openra/mods/ca/uibits/
ristretto $d/usr/lib/openra/mods/ca/uibits/*
#images (PNG)
ristretto `find $d | grep '.png'`
cp -p $d/usr/lib/openra/mods/ca/uibits/glyphs*.png images/
cp -p $d/usr/lib/openra/mods/ca/icon*.png images/
cp -p $d/usr/share/icons/hicolor/64x64/apps/openra-ca.png images/
#openra-ca-utility
./CombinedArms-0.82-x86_64.AppImage --utility
./CombinedArms-0.82-x86_64.AppImage --utility --weapon-docs > weapon-docs.md
./CombinedArms-0.82-x86_64.AppImage --utility --docs > docs.md
./CombinedArms-0.82-x86_64.AppImage --utility --extract temperat.pal
./CombinedArms-0.82-x86_64.AppImage --utility --extract ttnk2icon.shp
./CombinedArms-0.82-x86_64.AppImage --utility --png ttnkicon.shp temperat.pal
#keyboard
gimp tabs.xcf images/glyphs-2x.png &
inkscape drawing.svg &
#print to file "drawing.pdf"