Add all necessary scripts to extract data from connect cache files
[gamestick-pjgsapi.git] / README.rst
index 8b5ae01d9e4128586dfeba8bb798ea4e6622cb79..12d13d6246e39cf8597e6359c94fe8cec8812fcb 100644 (file)
@@ -14,15 +14,13 @@ Setup
      $ git clone https://codeberg.org/gamestick-fans/game-data.git
 3. Unpack one of the cache files::
 
-     $ cd game-data
-     $ gunzip -k caches/2017-01-12T00\:19\:12-alex.shorts.pretty.json.gz
-4. Generate the popular and featured menus from the cache file::
+     $ 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/list-popular.php 'caches/2017-01-12T00:19:12-alex.shorts.pretty.json' > ../cache/popular.txt
-     $ ./bin/list-featured.php 'caches/2017-01-12T00:19:12-alex.shorts.pretty.json' > ../cache/featured.json
+     $ ./bin/exract-all.sh 'game-data/caches/2017-01-12T00:19:12-alex.shorts.pretty.json'
 5. Fill the caches for this API::
 
-     $ cd ..
      $ ./bin/generate-apps-cache.php game-data/classic/
 6. Setup the Apache web server and point the virtual host to the ``www/`` directory.