PlayJam GameStick API server. Makes PlayJam GameSticks usable after the official server had been shut down in 2017. Mirror of https://git.cweiske.de/gamestick-pjgsapi.git
|
||
---|---|---|
bin | ||
cache | ||
data | ||
src | ||
templates | ||
www | ||
.editorconfig | ||
.gitignore | ||
README.rst | ||
config.php.dist | ||
test-curl-commands.txt |
README.rst
PlayJam GameStick API server
Makes PlayJam GameSticks usable after the official server had been shut down in 2017.
Setup
Copy
config.php.dist
toconfig.php
Clone the game data repository:
$ git clone https://codeberg.org/gamestick-fans/game-data.git
Unpack one of the cache files:
$ gunzip -k game-data/caches/2017-01-12T00\:19\:12-alex.shorts.pretty.json.gz
Generate the popular and featured menus from the cache file, and extract the translation strings:
$ ./bin/exract-all.sh 'game-data/caches/2017-01-12T00:19:12-alex.shorts.pretty.json'
Fill the caches for this API:
$ ./bin/generate-apps-cache.php game-data/classic/
Setup the Apache web server and point the virtual host to the
www/
directory.
Firmware updates
Firmware update diff files are needed. It is possible to send out full firmware files, but they will reset the user data.
When you have such an update, put it into
www/firmware/$version/update.img
and run
./bin/prepare-firmware.sh www/firmware/$version/
.
About
This server software was written by Christian Weiske and is licensed under the AGPL v3.