added readme with data checkout instructions, and changed the paths in master
authorJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 10 Mar 2020 10:04:17 +0000 (12:04 +0200)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 10 Mar 2020 10:04:17 +0000 (12:04 +0200)
tools/procdata to account for the new data/src directory structure

README [new file with mode: 0644]
tools/procdata

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..6dc3441
--- /dev/null
+++ b/README
@@ -0,0 +1,2 @@
+Grab the data with:
+    svn co svn://mutantstargoat.com/datadirs/eradicate data
index 2f1b3f2..65b7cb5 100755 (executable)
@@ -24,7 +24,7 @@ if [ ! -f tools/rlesprite/rlesprite ]; then
 fi
 alias rlesprite=tools/rlesprite/rlesprite
 
-if [ ! -f data/dbgfont.spr -o data/legible.fnt -nt data/dbgfont.spr ]; then
+if [ ! -f data/dbgfont.spr -o data/src/legible.fnt -nt data/dbgfont.spr ]; then
        echo 'rlesprite: dbgfont'
-       rlesprite -o data/dbgfont.spr -s 8x16 -conv565 data/legible.fnt
+       rlesprite -o data/dbgfont.spr -s 8x16 -conv565 data/src/legible.fnt
 fi