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
 
 
 
 
Go to file
Christian Weiske e1d3241f06 No error in firmware update check when changelog is missing 2023-07-06 08:14:07 +02:00
bin Early firmware update support 2023-06-18 08:52:23 +02:00
cache Add README 2023-05-11 21:55:45 +02:00
data Verify session ID; introduce player profile database 2023-05-22 21:48:18 +02:00
src Support png avatars 2023-06-12 20:33:46 +02:00
templates Fix HTML 2023-06-18 08:52:23 +02:00
www No error in firmware update check when changelog is missing 2023-07-06 08:14:07 +02:00
.editorconfig Editorconfig for .css 2023-06-04 06:05:10 +02:00
.gitignore ignore test, firmware and tofu files 2023-07-06 08:13:48 +02:00
README.rst Early firmware update support 2023-06-18 08:52:23 +02:00
config.php.dist Early firmware update support 2023-06-18 08:52:23 +02:00
test-curl-commands.txt Add list of curl commands to test the api 2023-07-06 08:01:56 +02:00

README.rst

PlayJam GameStick API server

Makes PlayJam GameSticks usable after the official server had been shut down in 2017.

Setup

  1. Copy config.php.dist to config.php

  2. Clone the game data repository:

    $ git clone https://codeberg.org/gamestick-fans/game-data.git
  3. Unpack one of the cache files:

    $ gunzip -k game-data/caches/2017-01-12T00\:19\:12-alex.shorts.pretty.json.gz
  4. 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'
  5. Fill the caches for this API:

    $ ./bin/generate-apps-cache.php game-data/classic/
  6. 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.