summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-03 15:31:32 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-03 15:31:32 +0200
commit79793cf2dd5cad2af5fa513a7213292d2ee53f86 (patch)
tree306e849be86d992a543e42c8e8ddec80d24795a6 /tools
parentcff800a98e8aec4e454c5dc84fd4249b7127a1fd (diff)
downloadRustAndDust-79793cf2dd5cad2af5fa513a7213292d2ee53f86.zip
RustAndDust-79793cf2dd5cad2af5fa513a7213292d2ee53f86.tar.gz
OMG: add event queue, messages, replay, bounce animation, complete states rewrite ...
Diffstat (limited to 'tools')
-rwxr-xr-xtools/sqlite_dumb3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/sqlite_dumb b/tools/sqlite_dumb
index 9e5c5a0..ba1c7db 100755
--- a/tools/sqlite_dumb
+++ b/tools/sqlite_dumb
@@ -1,6 +1,7 @@
#! /bin/bash
-sqlite3 android/assets/data/rustanddust.sqlite 'select state from games order by ts desc limit 1' > state.json
+sqlite3 android/assets/data/rustanddust.sqlite 'select players from games order by ts desc limit 1' > players.json
+sqlite3 android/assets/data/rustanddust.sqlite 'select map from games order by ts desc limit 1' > map.json
sqlite3 android/assets/data/rustanddust.sqlite 'select orders from games order by ts desc limit 1' > orders.json
# echo "[" > turns.json
# sqlite3 android/assets/data/rustanddust.sqlite 'select payload from turns where game=(select _id from games order by ts desc limit 1) order by _id' | while read rec; do echo "$rec,"; done >> turns.json