Permalink
Browse files

Added a script to package the demo data

  • Loading branch information...
gabrielcuvillier committed Feb 11, 2019
1 parent 84ed1e6 commit f84ac838e9cd4138041f15bc5b6c5af1e7eec6be
Showing with 10 additions and 0 deletions.
  1. +10 −0 data/emscripten/package_demo_data.sh
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
python $EMSCRIPTEN/tools/file_packager.py data.pak --preload $1/data.pak@/data_demo/arx/ --js-output=data00.js --use-preload-cache --no-heap-copy

python $EMSCRIPTEN/tools/file_packager.py data2.pak --preload $1/data2.pak@/data_demo/arx/ --js-output=data01.js --use-preload-cache --no-heap-copy

python $EMSCRIPTEN/tools/file_packager.py loc.pak --preload $1/loc.pak@/data_demo/arx/ --js-output=data02.js --use-preload-cache --no-heap-copy

python $EMSCRIPTEN/tools/file_packager.py sfx.pak --preload $1/sfx.pak@/data_demo/arx/ --js-output=data03.js --use-preload-cache --no-heap-copy

python $EMSCRIPTEN/tools/file_packager.py speech.pak --preload $1/speech.pak@/data_demo/arx/ --js-output=data04.js --use-preload-cache --no-heap-copy

0 comments on commit f84ac83

Please sign in to comment.