This repository is no archived as I do no longer have access to a ClockworkPI GameShell. Feel free to fork and continue!
Configure your ClockworkPI GameShell
The CPIGS-Tool is a bash script for controlling launcherGO entries for the ClockworkPI GameShell.
It contains a set of modules in modules
sub directory which can be queried using cpigs-tool.sh --list
. Modules should have a description of their parameters and commands.
At the moment, the tool supports:
- DevilutionX, a Diablo build for modern operating systems
- Downloading, compiling+installing and running the game.
- RetroArch, a Cross-platform, sophisticated frontend for the libretro API
- Downloading, compiling+installing and linking any properly configured playlist game.
- Games have to be in a playlist and with associated with a core to show up.
- moonlight-qt, a GameStream client for PCs
- Downloading, installing and linking a remote application.
The CPIGS-Tool requires a modern armbian to run.
- Log into the GameShell via SSH and run in the home directory:
git clone https://github.com/danie1kr/cpigs-tool
cd cpigs-tool
./cpigs-tool --bootstrap
- logout and log back in, so the
cpigs-tool.sh
is known in yourPATH
variable. - Go to
/home/cpi/apps/Menu
and runcpigs-tool --list
to see the available modules.
Just submit an issue or pull request with ideas! Any input is welcome.
Modules are put in the modules
directory. Each modules registers with the cpigs_register "mod"
in the way it is called.
Within each module, the mod
function is called with the command line arguments when the user specifies the module in the cpigs parameter: cpigs-tool.sh mod
.
Each module should accept the text
parameter which is called when using cpigs-tools.sh --list
, echoing a one line module description and a --help
parameter telling the user about its capabilities.