From 79793cf2dd5cad2af5fa513a7213292d2ee53f86 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Tue, 3 May 2016 15:31:32 +0200 Subject: OMG: add event queue, messages, replay, bounce animation, complete states rewrite ... --- tools/sqlite_dumb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/sqlite_dumb b/tools/sqlite_dumb index 9e5c5a08..ba1c7dba 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 -- cgit v1.2.3