minescope 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.rdoc +7 -0
- data/Rakefile +47 -0
- data/VERSION +1 -0
- data/config.ru +4 -0
- data/lib/minescope.rb +7 -0
- data/lib/minescope/rack/application.rb +41 -0
- data/lib/minescope/rack/worlddata.rb +35 -0
- data/lib/minescope/static/apple-touch-icon.png +0 -0
- data/lib/minescope/static/css/style.css +129 -0
- data/lib/minescope/static/favicon.ico +0 -0
- data/lib/minescope/static/index.html +38 -0
- data/lib/minescope/static/js/libs/modernizr-1.6.min.js +30 -0
- data/lib/minescope/static/textures/terrain.png +0 -0
- data/lib/minescope/transcoder.rb +123 -0
- data/samples/World1/0/0/c.0.0.dat +0 -0
- data/samples/World1/0/10/c.0.10.dat +0 -0
- data/samples/World1/0/11/c.0.11.dat +0 -0
- data/samples/World1/0/12/c.0.12.dat +0 -0
- data/samples/World1/0/13/c.0.13.dat +0 -0
- data/samples/World1/0/14/c.0.14.dat +0 -0
- data/samples/World1/0/15/c.0.15.dat +0 -0
- data/samples/World1/0/16/c.0.16.dat +0 -0
- data/samples/World1/0/17/c.0.17.dat +0 -0
- data/samples/World1/0/18/c.0.18.dat +0 -0
- data/samples/World1/0/19/c.0.19.dat +0 -0
- data/samples/World1/0/1a/c.0.1a.dat +0 -0
- data/samples/World1/0/1b/c.0.1b.dat +0 -0
- data/samples/World1/0/1c/c.0.1c.dat +0 -0
- data/samples/World1/0/1d/c.0.1d.dat +0 -0
- data/samples/World1/0/2/c.0.2.dat +0 -0
- data/samples/World1/0/b/c.0.b.dat +0 -0
- data/samples/World1/0/c/c.0.c.dat +0 -0
- data/samples/World1/0/d/c.0.d.dat +0 -0
- data/samples/World1/0/e/c.0.e.dat +0 -0
- data/samples/World1/0/f/c.0.f.dat +0 -0
- data/samples/World1/0/g/c.0.g.dat +0 -0
- data/samples/World1/0/h/c.0.h.dat +0 -0
- data/samples/World1/0/i/c.0.i.dat +0 -0
- data/samples/World1/0/j/c.0.j.dat +0 -0
- data/samples/World1/0/k/c.0.k.dat +0 -0
- data/samples/World1/0/l/c.0.l.dat +0 -0
- data/samples/World1/0/m/c.0.m.dat +0 -0
- data/samples/World1/0/n/c.0.n.dat +0 -0
- data/samples/World1/0/o/c.0.o.dat +0 -0
- data/samples/World1/0/p/c.0.p.dat +0 -0
- data/samples/World1/0/q/c.0.q.dat +0 -0
- data/samples/World1/0/r/c.0.r.dat +0 -0
- data/samples/World1/0/s/c.0.s.dat +0 -0
- data/samples/World1/0/t/c.0.t.dat +0 -0
- data/samples/World1/0/u/c.0.u.dat +0 -0
- data/samples/World1/0/v/c.0.v.dat +0 -0
- data/samples/World1/0/w/c.0.w.dat +0 -0
- data/samples/World1/0/x/c.0.x.dat +0 -0
- data/samples/World1/0/y/c.0.y.dat +0 -0
- data/samples/World1/0/z/c.0.z.dat +0 -0
- data/samples/World1/1/10/c.1.10.dat +0 -0
- data/samples/World1/1/11/c.1.11.dat +0 -0
- data/samples/World1/1/12/c.1.12.dat +0 -0
- data/samples/World1/1/13/c.1.13.dat +0 -0
- data/samples/World1/1/14/c.1.14.dat +0 -0
- data/samples/World1/1/15/c.1.15.dat +0 -0
- data/samples/World1/1/16/c.1.16.dat +0 -0
- data/samples/World1/1/17/c.1.17.dat +0 -0
- data/samples/World1/1/18/c.1.18.dat +0 -0
- data/samples/World1/1/19/c.1.19.dat +0 -0
- data/samples/World1/1/1a/c.1.1a.dat +0 -0
- data/samples/World1/1/1b/c.1.1b.dat +0 -0
- data/samples/World1/1/1c/c.1.1c.dat +0 -0
- data/samples/World1/1/1d/c.1.1d.dat +0 -0
- data/samples/World1/1/b/c.1.b.dat +0 -0
- data/samples/World1/1/c/c.1.c.dat +0 -0
- data/samples/World1/1/d/c.1.d.dat +0 -0
- data/samples/World1/1/e/c.1.e.dat +0 -0
- data/samples/World1/1/f/c.1.f.dat +0 -0
- data/samples/World1/1/g/c.1.g.dat +0 -0
- data/samples/World1/1/h/c.1.h.dat +0 -0
- data/samples/World1/1/i/c.1.i.dat +0 -0
- data/samples/World1/1/j/c.1.j.dat +0 -0
- data/samples/World1/1/k/c.1.k.dat +0 -0
- data/samples/World1/1/l/c.1.l.dat +0 -0
- data/samples/World1/1/m/c.1.m.dat +0 -0
- data/samples/World1/1/n/c.1.n.dat +0 -0
- data/samples/World1/1/o/c.1.o.dat +0 -0
- data/samples/World1/1/p/c.1.p.dat +0 -0
- data/samples/World1/1/q/c.1.q.dat +0 -0
- data/samples/World1/1/r/c.1.r.dat +0 -0
- data/samples/World1/1/s/c.1.s.dat +0 -0
- data/samples/World1/1/t/c.1.t.dat +0 -0
- data/samples/World1/1/u/c.1.u.dat +0 -0
- data/samples/World1/1/v/c.1.v.dat +0 -0
- data/samples/World1/1/w/c.1.w.dat +0 -0
- data/samples/World1/1/x/c.1.x.dat +0 -0
- data/samples/World1/1/y/c.1.y.dat +0 -0
- data/samples/World1/1/z/c.1.z.dat +0 -0
- data/samples/World1/1f/11/c.-d.11.dat +0 -0
- data/samples/World1/1f/12/c.-d.12.dat +0 -0
- data/samples/World1/1f/16/c.-d.16.dat +0 -0
- data/samples/World1/1f/19/c.-d.19.dat +0 -0
- data/samples/World1/1f/1a/c.-d.1a.dat +0 -0
- data/samples/World1/1f/1b/c.-d.1b.dat +0 -0
- data/samples/World1/1f/1c/c.-d.1c.dat +0 -0
- data/samples/World1/1f/s/c.-d.s.dat +0 -0
- data/samples/World1/1f/t/c.-d.t.dat +0 -0
- data/samples/World1/1f/u/c.-d.u.dat +0 -0
- data/samples/World1/1f/v/c.-d.v.dat +0 -0
- data/samples/World1/1f/w/c.-d.w.dat +0 -0
- data/samples/World1/1f/x/c.-d.x.dat +0 -0
- data/samples/World1/1f/y/c.-d.y.dat +0 -0
- data/samples/World1/1f/z/c.-d.z.dat +0 -0
- data/samples/World1/1g/10/c.-c.10.dat +0 -0
- data/samples/World1/1g/11/c.-c.11.dat +0 -0
- data/samples/World1/1g/12/c.-c.12.dat +0 -0
- data/samples/World1/1g/13/c.-c.13.dat +0 -0
- data/samples/World1/1g/14/c.-c.14.dat +0 -0
- data/samples/World1/1g/15/c.-c.15.dat +0 -0
- data/samples/World1/1g/16/c.-c.16.dat +0 -0
- data/samples/World1/1g/17/c.-c.17.dat +0 -0
- data/samples/World1/1g/18/c.-c.18.dat +0 -0
- data/samples/World1/1g/19/c.-c.19.dat +0 -0
- data/samples/World1/1g/1a/c.-c.1a.dat +0 -0
- data/samples/World1/1g/1b/c.-c.1b.dat +0 -0
- data/samples/World1/1g/1c/c.-c.1c.dat +0 -0
- data/samples/World1/1g/1d/c.-c.1d.dat +0 -0
- data/samples/World1/1g/r/c.-c.r.dat +0 -0
- data/samples/World1/1g/s/c.-c.s.dat +0 -0
- data/samples/World1/1g/t/c.-c.t.dat +0 -0
- data/samples/World1/1g/u/c.-c.u.dat +0 -0
- data/samples/World1/1g/v/c.-c.v.dat +0 -0
- data/samples/World1/1g/w/c.-c.w.dat +0 -0
- data/samples/World1/1g/x/c.-c.x.dat +0 -0
- data/samples/World1/1g/y/c.-c.y.dat +0 -0
- data/samples/World1/1g/z/c.-c.z.dat +0 -0
- data/samples/World1/1h/10/c.-b.10.dat +0 -0
- data/samples/World1/1h/11/c.-b.11.dat +0 -0
- data/samples/World1/1h/12/c.-b.12.dat +0 -0
- data/samples/World1/1h/13/c.-b.13.dat +0 -0
- data/samples/World1/1h/14/c.-b.14.dat +0 -0
- data/samples/World1/1h/15/c.-b.15.dat +0 -0
- data/samples/World1/1h/16/c.-b.16.dat +0 -0
- data/samples/World1/1h/17/c.-b.17.dat +0 -0
- data/samples/World1/1h/18/c.-b.18.dat +0 -0
- data/samples/World1/1h/19/c.-b.19.dat +0 -0
- data/samples/World1/1h/1a/c.-b.1a.dat +0 -0
- data/samples/World1/1h/1b/c.-b.1b.dat +0 -0
- data/samples/World1/1h/1c/c.-b.1c.dat +0 -0
- data/samples/World1/1h/1d/c.-b.1d.dat +0 -0
- data/samples/World1/1h/s/c.-b.s.dat +0 -0
- data/samples/World1/1h/t/c.-b.t.dat +0 -0
- data/samples/World1/1h/u/c.-b.u.dat +0 -0
- data/samples/World1/1h/v/c.-b.v.dat +0 -0
- data/samples/World1/1h/w/c.-b.w.dat +0 -0
- data/samples/World1/1h/x/c.-b.x.dat +0 -0
- data/samples/World1/1h/y/c.-b.y.dat +0 -0
- data/samples/World1/1h/z/c.-b.z.dat +0 -0
- data/samples/World1/1i/10/c.-a.10.dat +0 -0
- data/samples/World1/1i/11/c.-a.11.dat +0 -0
- data/samples/World1/1i/12/c.-a.12.dat +0 -0
- data/samples/World1/1i/13/c.-a.13.dat +0 -0
- data/samples/World1/1i/14/c.-a.14.dat +0 -0
- data/samples/World1/1i/15/c.-a.15.dat +0 -0
- data/samples/World1/1i/16/c.-a.16.dat +0 -0
- data/samples/World1/1i/17/c.-a.17.dat +0 -0
- data/samples/World1/1i/18/c.-a.18.dat +0 -0
- data/samples/World1/1i/19/c.-a.19.dat +0 -0
- data/samples/World1/1i/1a/c.-a.1a.dat +0 -0
- data/samples/World1/1i/1b/c.-a.1b.dat +0 -0
- data/samples/World1/1i/1c/c.-a.1c.dat +0 -0
- data/samples/World1/1i/1d/c.-a.1d.dat +0 -0
- data/samples/World1/1i/q/c.-a.q.dat +0 -0
- data/samples/World1/1i/r/c.-a.r.dat +0 -0
- data/samples/World1/1i/s/c.-a.s.dat +0 -0
- data/samples/World1/1i/t/c.-a.t.dat +0 -0
- data/samples/World1/1i/u/c.-a.u.dat +0 -0
- data/samples/World1/1i/v/c.-a.v.dat +0 -0
- data/samples/World1/1i/w/c.-a.w.dat +0 -0
- data/samples/World1/1i/x/c.-a.x.dat +0 -0
- data/samples/World1/1i/y/c.-a.y.dat +0 -0
- data/samples/World1/1i/z/c.-a.z.dat +0 -0
- data/samples/World1/1j/10/c.-9.10.dat +0 -0
- data/samples/World1/1j/11/c.-9.11.dat +0 -0
- data/samples/World1/1j/12/c.-9.12.dat +0 -0
- data/samples/World1/1j/13/c.-9.13.dat +0 -0
- data/samples/World1/1j/14/c.-9.14.dat +0 -0
- data/samples/World1/1j/15/c.-9.15.dat +0 -0
- data/samples/World1/1j/16/c.-9.16.dat +0 -0
- data/samples/World1/1j/17/c.-9.17.dat +0 -0
- data/samples/World1/1j/18/c.-9.18.dat +0 -0
- data/samples/World1/1j/19/c.-9.19.dat +0 -0
- data/samples/World1/1j/1a/c.-9.1a.dat +0 -0
- data/samples/World1/1j/1b/c.-9.1b.dat +0 -0
- data/samples/World1/1j/1c/c.-9.1c.dat +0 -0
- data/samples/World1/1j/1d/c.-9.1d.dat +0 -0
- data/samples/World1/1j/c/c.-9.c.dat +0 -0
- data/samples/World1/1j/d/c.-9.d.dat +0 -0
- data/samples/World1/1j/e/c.-9.e.dat +0 -0
- data/samples/World1/1j/f/c.-9.f.dat +0 -0
- data/samples/World1/1j/g/c.-9.g.dat +0 -0
- data/samples/World1/1j/h/c.-9.h.dat +0 -0
- data/samples/World1/1j/i/c.-9.i.dat +0 -0
- data/samples/World1/1j/k/c.-9.k.dat +0 -0
- data/samples/World1/1j/l/c.-9.l.dat +0 -0
- data/samples/World1/1j/m/c.-9.m.dat +0 -0
- data/samples/World1/1j/o/c.-9.o.dat +0 -0
- data/samples/World1/1j/p/c.-9.p.dat +0 -0
- data/samples/World1/1j/q/c.-9.q.dat +0 -0
- data/samples/World1/1j/r/c.-9.r.dat +0 -0
- data/samples/World1/1j/s/c.-9.s.dat +0 -0
- data/samples/World1/1j/t/c.-9.t.dat +0 -0
- data/samples/World1/1j/u/c.-9.u.dat +0 -0
- data/samples/World1/1j/v/c.-9.v.dat +0 -0
- data/samples/World1/1j/w/c.-9.w.dat +0 -0
- data/samples/World1/1j/x/c.-9.x.dat +0 -0
- data/samples/World1/1j/y/c.-9.y.dat +0 -0
- data/samples/World1/1j/z/c.-9.z.dat +0 -0
- data/samples/World1/1k/10/c.-8.10.dat +0 -0
- data/samples/World1/1k/11/c.-8.11.dat +0 -0
- data/samples/World1/1k/12/c.-8.12.dat +0 -0
- data/samples/World1/1k/13/c.-8.13.dat +0 -0
- data/samples/World1/1k/14/c.-8.14.dat +0 -0
- data/samples/World1/1k/15/c.-8.15.dat +0 -0
- data/samples/World1/1k/16/c.-8.16.dat +0 -0
- data/samples/World1/1k/17/c.-8.17.dat +0 -0
- data/samples/World1/1k/18/c.-8.18.dat +0 -0
- data/samples/World1/1k/19/c.-8.19.dat +0 -0
- data/samples/World1/1k/1a/c.-8.1a.dat +0 -0
- data/samples/World1/1k/1b/c.-8.1b.dat +0 -0
- data/samples/World1/1k/1c/c.-8.1c.dat +0 -0
- data/samples/World1/1k/1d/c.-8.1d.dat +0 -0
- data/samples/World1/1k/b/c.-8.b.dat +0 -0
- data/samples/World1/1k/c/c.-8.c.dat +0 -0
- data/samples/World1/1k/d/c.-8.d.dat +0 -0
- data/samples/World1/1k/e/c.-8.e.dat +0 -0
- data/samples/World1/1k/f/c.-8.f.dat +0 -0
- data/samples/World1/1k/g/c.-8.g.dat +0 -0
- data/samples/World1/1k/h/c.-8.h.dat +0 -0
- data/samples/World1/1k/i/c.-8.i.dat +0 -0
- data/samples/World1/1k/j/c.-8.j.dat +0 -0
- data/samples/World1/1k/k/c.-8.k.dat +0 -0
- data/samples/World1/1k/l/c.-8.l.dat +0 -0
- data/samples/World1/1k/m/c.-8.m.dat +0 -0
- data/samples/World1/1k/n/c.-8.n.dat +0 -0
- data/samples/World1/1k/o/c.-8.o.dat +0 -0
- data/samples/World1/1k/p/c.-8.p.dat +0 -0
- data/samples/World1/1k/q/c.-8.q.dat +0 -0
- data/samples/World1/1k/r/c.-8.r.dat +0 -0
- data/samples/World1/1k/s/c.-8.s.dat +0 -0
- data/samples/World1/1k/t/c.-8.t.dat +0 -0
- data/samples/World1/1k/u/c.-8.u.dat +0 -0
- data/samples/World1/1k/v/c.-8.v.dat +0 -0
- data/samples/World1/1k/w/c.-8.w.dat +0 -0
- data/samples/World1/1k/x/c.-8.x.dat +0 -0
- data/samples/World1/1k/y/c.-8.y.dat +0 -0
- data/samples/World1/1k/z/c.-8.z.dat +0 -0
- data/samples/World1/1l/10/c.-7.10.dat +0 -0
- data/samples/World1/1l/11/c.-7.11.dat +0 -0
- data/samples/World1/1l/12/c.-7.12.dat +0 -0
- data/samples/World1/1l/13/c.-7.13.dat +0 -0
- data/samples/World1/1l/14/c.-7.14.dat +0 -0
- data/samples/World1/1l/15/c.-7.15.dat +0 -0
- data/samples/World1/1l/16/c.-7.16.dat +0 -0
- data/samples/World1/1l/17/c.-7.17.dat +0 -0
- data/samples/World1/1l/18/c.-7.18.dat +0 -0
- data/samples/World1/1l/19/c.-7.19.dat +0 -0
- data/samples/World1/1l/1a/c.-7.1a.dat +0 -0
- data/samples/World1/1l/1b/c.-7.1b.dat +0 -0
- data/samples/World1/1l/1c/c.-7.1c.dat +0 -0
- data/samples/World1/1l/1d/c.-7.1d.dat +0 -0
- data/samples/World1/1l/b/c.-7.b.dat +0 -0
- data/samples/World1/1l/c/c.-7.c.dat +0 -0
- data/samples/World1/1l/d/c.-7.d.dat +0 -0
- data/samples/World1/1l/e/c.-7.e.dat +0 -0
- data/samples/World1/1l/f/c.-7.f.dat +0 -0
- data/samples/World1/1l/g/c.-7.g.dat +0 -0
- data/samples/World1/1l/h/c.-7.h.dat +0 -0
- data/samples/World1/1l/i/c.-7.i.dat +0 -0
- data/samples/World1/1l/j/c.-7.j.dat +0 -0
- data/samples/World1/1l/k/c.-7.k.dat +0 -0
- data/samples/World1/1l/l/c.-7.l.dat +0 -0
- data/samples/World1/1l/m/c.-7.m.dat +0 -0
- data/samples/World1/1l/n/c.-7.n.dat +0 -0
- data/samples/World1/1l/o/c.-7.o.dat +0 -0
- data/samples/World1/1l/p/c.-7.p.dat +0 -0
- data/samples/World1/1l/q/c.-7.q.dat +0 -0
- data/samples/World1/1l/r/c.-7.r.dat +0 -0
- data/samples/World1/1l/s/c.-7.s.dat +0 -0
- data/samples/World1/1l/t/c.-7.t.dat +0 -0
- data/samples/World1/1l/u/c.-7.u.dat +0 -0
- data/samples/World1/1l/v/c.-7.v.dat +0 -0
- data/samples/World1/1l/w/c.-7.w.dat +0 -0
- data/samples/World1/1l/x/c.-7.x.dat +0 -0
- data/samples/World1/1l/y/c.-7.y.dat +0 -0
- data/samples/World1/1l/z/c.-7.z.dat +0 -0
- data/samples/World1/1m/10/c.-6.10.dat +0 -0
- data/samples/World1/1m/11/c.-6.11.dat +0 -0
- data/samples/World1/1m/12/c.-6.12.dat +0 -0
- data/samples/World1/1m/13/c.-6.13.dat +0 -0
- data/samples/World1/1m/14/c.-6.14.dat +0 -0
- data/samples/World1/1m/15/c.-6.15.dat +0 -0
- data/samples/World1/1m/16/c.-6.16.dat +0 -0
- data/samples/World1/1m/17/c.-6.17.dat +0 -0
- data/samples/World1/1m/18/c.-6.18.dat +0 -0
- data/samples/World1/1m/19/c.-6.19.dat +0 -0
- data/samples/World1/1m/1a/c.-6.1a.dat +0 -0
- data/samples/World1/1m/1b/c.-6.1b.dat +0 -0
- data/samples/World1/1m/1c/c.-6.1c.dat +0 -0
- data/samples/World1/1m/1d/c.-6.1d.dat +0 -0
- data/samples/World1/1m/b/c.-6.b.dat +0 -0
- data/samples/World1/1m/c/c.-6.c.dat +0 -0
- data/samples/World1/1m/d/c.-6.d.dat +0 -0
- data/samples/World1/1m/e/c.-6.e.dat +0 -0
- data/samples/World1/1m/f/c.-6.f.dat +0 -0
- data/samples/World1/1m/g/c.-6.g.dat +0 -0
- data/samples/World1/1m/h/c.-6.h.dat +0 -0
- data/samples/World1/1m/i/c.-6.i.dat +0 -0
- data/samples/World1/1m/j/c.-6.j.dat +0 -0
- data/samples/World1/1m/k/c.-6.k.dat +0 -0
- data/samples/World1/1m/l/c.-6.l.dat +0 -0
- data/samples/World1/1m/m/c.-6.m.dat +0 -0
- data/samples/World1/1m/n/c.-6.n.dat +0 -0
- data/samples/World1/1m/o/c.-6.o.dat +0 -0
- data/samples/World1/1m/p/c.-6.p.dat +0 -0
- data/samples/World1/1m/q/c.-6.q.dat +0 -0
- data/samples/World1/1m/r/c.-6.r.dat +0 -0
- data/samples/World1/1m/s/c.-6.s.dat +0 -0
- data/samples/World1/1m/t/c.-6.t.dat +0 -0
- data/samples/World1/1m/u/c.-6.u.dat +0 -0
- data/samples/World1/1m/v/c.-6.v.dat +0 -0
- data/samples/World1/1m/w/c.-6.w.dat +0 -0
- data/samples/World1/1m/x/c.-6.x.dat +0 -0
- data/samples/World1/1m/y/c.-6.y.dat +0 -0
- data/samples/World1/1m/z/c.-6.z.dat +0 -0
- data/samples/World1/1n/10/c.-5.10.dat +0 -0
- data/samples/World1/1n/11/c.-5.11.dat +0 -0
- data/samples/World1/1n/12/c.-5.12.dat +0 -0
- data/samples/World1/1n/13/c.-5.13.dat +0 -0
- data/samples/World1/1n/14/c.-5.14.dat +0 -0
- data/samples/World1/1n/15/c.-5.15.dat +0 -0
- data/samples/World1/1n/16/c.-5.16.dat +0 -0
- data/samples/World1/1n/17/c.-5.17.dat +0 -0
- data/samples/World1/1n/18/c.-5.18.dat +0 -0
- data/samples/World1/1n/19/c.-5.19.dat +0 -0
- data/samples/World1/1n/1a/c.-5.1a.dat +0 -0
- data/samples/World1/1n/1b/c.-5.1b.dat +0 -0
- data/samples/World1/1n/1c/c.-5.1c.dat +0 -0
- data/samples/World1/1n/1d/c.-5.1d.dat +0 -0
- data/samples/World1/1n/b/c.-5.b.dat +0 -0
- data/samples/World1/1n/c/c.-5.c.dat +0 -0
- data/samples/World1/1n/d/c.-5.d.dat +0 -0
- data/samples/World1/1n/e/c.-5.e.dat +0 -0
- data/samples/World1/1n/f/c.-5.f.dat +0 -0
- data/samples/World1/1n/g/c.-5.g.dat +0 -0
- data/samples/World1/1n/h/c.-5.h.dat +0 -0
- data/samples/World1/1n/i/c.-5.i.dat +0 -0
- data/samples/World1/1n/j/c.-5.j.dat +0 -0
- data/samples/World1/1n/k/c.-5.k.dat +0 -0
- data/samples/World1/1n/l/c.-5.l.dat +0 -0
- data/samples/World1/1n/m/c.-5.m.dat +0 -0
- data/samples/World1/1n/n/c.-5.n.dat +0 -0
- data/samples/World1/1n/o/c.-5.o.dat +0 -0
- data/samples/World1/1n/p/c.-5.p.dat +0 -0
- data/samples/World1/1n/q/c.-5.q.dat +0 -0
- data/samples/World1/1n/r/c.-5.r.dat +0 -0
- data/samples/World1/1n/s/c.-5.s.dat +0 -0
- data/samples/World1/1n/t/c.-5.t.dat +0 -0
- data/samples/World1/1n/u/c.-5.u.dat +0 -0
- data/samples/World1/1n/v/c.-5.v.dat +0 -0
- data/samples/World1/1n/w/c.-5.w.dat +0 -0
- data/samples/World1/1n/x/c.-5.x.dat +0 -0
- data/samples/World1/1n/y/c.-5.y.dat +0 -0
- data/samples/World1/1n/z/c.-5.z.dat +0 -0
- data/samples/World1/1o/10/c.-4.10.dat +0 -0
- data/samples/World1/1o/11/c.-4.11.dat +0 -0
- data/samples/World1/1o/12/c.-4.12.dat +0 -0
- data/samples/World1/1o/13/c.-4.13.dat +0 -0
- data/samples/World1/1o/14/c.-4.14.dat +0 -0
- data/samples/World1/1o/15/c.-4.15.dat +0 -0
- data/samples/World1/1o/16/c.-4.16.dat +0 -0
- data/samples/World1/1o/17/c.-4.17.dat +0 -0
- data/samples/World1/1o/18/c.-4.18.dat +0 -0
- data/samples/World1/1o/19/c.-4.19.dat +0 -0
- data/samples/World1/1o/1a/c.-4.1a.dat +0 -0
- data/samples/World1/1o/1b/c.-4.1b.dat +0 -0
- data/samples/World1/1o/1c/c.-4.1c.dat +0 -0
- data/samples/World1/1o/1d/c.-4.1d.dat +0 -0
- data/samples/World1/1o/c/c.-4.c.dat +0 -0
- data/samples/World1/1o/d/c.-4.d.dat +0 -0
- data/samples/World1/1o/e/c.-4.e.dat +0 -0
- data/samples/World1/1o/f/c.-4.f.dat +0 -0
- data/samples/World1/1o/g/c.-4.g.dat +0 -0
- data/samples/World1/1o/h/c.-4.h.dat +0 -0
- data/samples/World1/1o/i/c.-4.i.dat +0 -0
- data/samples/World1/1o/j/c.-4.j.dat +0 -0
- data/samples/World1/1o/k/c.-4.k.dat +0 -0
- data/samples/World1/1o/l/c.-4.l.dat +0 -0
- data/samples/World1/1o/m/c.-4.m.dat +0 -0
- data/samples/World1/1o/n/c.-4.n.dat +0 -0
- data/samples/World1/1o/o/c.-4.o.dat +0 -0
- data/samples/World1/1o/p/c.-4.p.dat +0 -0
- data/samples/World1/1o/q/c.-4.q.dat +0 -0
- data/samples/World1/1o/r/c.-4.r.dat +0 -0
- data/samples/World1/1o/s/c.-4.s.dat +0 -0
- data/samples/World1/1o/t/c.-4.t.dat +0 -0
- data/samples/World1/1o/u/c.-4.u.dat +0 -0
- data/samples/World1/1o/v/c.-4.v.dat +0 -0
- data/samples/World1/1o/w/c.-4.w.dat +0 -0
- data/samples/World1/1o/x/c.-4.x.dat +0 -0
- data/samples/World1/1o/y/c.-4.y.dat +0 -0
- data/samples/World1/1o/z/c.-4.z.dat +0 -0
- data/samples/World1/1p/10/c.-3.10.dat +0 -0
- data/samples/World1/1p/11/c.-3.11.dat +0 -0
- data/samples/World1/1p/12/c.-3.12.dat +0 -0
- data/samples/World1/1p/13/c.-3.13.dat +0 -0
- data/samples/World1/1p/14/c.-3.14.dat +0 -0
- data/samples/World1/1p/15/c.-3.15.dat +0 -0
- data/samples/World1/1p/16/c.-3.16.dat +0 -0
- data/samples/World1/1p/17/c.-3.17.dat +0 -0
- data/samples/World1/1p/18/c.-3.18.dat +0 -0
- data/samples/World1/1p/19/c.-3.19.dat +0 -0
- data/samples/World1/1p/1a/c.-3.1a.dat +0 -0
- data/samples/World1/1p/1b/c.-3.1b.dat +0 -0
- data/samples/World1/1p/1c/c.-3.1c.dat +0 -0
- data/samples/World1/1p/1d/c.-3.1d.dat +0 -0
- data/samples/World1/1p/b/c.-3.b.dat +0 -0
- data/samples/World1/1p/c/c.-3.c.dat +0 -0
- data/samples/World1/1p/d/c.-3.d.dat +0 -0
- data/samples/World1/1p/e/c.-3.e.dat +0 -0
- data/samples/World1/1p/f/c.-3.f.dat +0 -0
- data/samples/World1/1p/g/c.-3.g.dat +0 -0
- data/samples/World1/1p/h/c.-3.h.dat +0 -0
- data/samples/World1/1p/i/c.-3.i.dat +0 -0
- data/samples/World1/1p/j/c.-3.j.dat +0 -0
- data/samples/World1/1p/k/c.-3.k.dat +0 -0
- data/samples/World1/1p/l/c.-3.l.dat +0 -0
- data/samples/World1/1p/m/c.-3.m.dat +0 -0
- data/samples/World1/1p/n/c.-3.n.dat +0 -0
- data/samples/World1/1p/o/c.-3.o.dat +0 -0
- data/samples/World1/1p/p/c.-3.p.dat +0 -0
- data/samples/World1/1p/q/c.-3.q.dat +0 -0
- data/samples/World1/1p/r/c.-3.r.dat +0 -0
- data/samples/World1/1p/s/c.-3.s.dat +0 -0
- data/samples/World1/1p/t/c.-3.t.dat +0 -0
- data/samples/World1/1p/u/c.-3.u.dat +0 -0
- data/samples/World1/1p/v/c.-3.v.dat +0 -0
- data/samples/World1/1p/w/c.-3.w.dat +0 -0
- data/samples/World1/1p/x/c.-3.x.dat +0 -0
- data/samples/World1/1p/y/c.-3.y.dat +0 -0
- data/samples/World1/1p/z/c.-3.z.dat +0 -0
- data/samples/World1/1q/10/c.-2.10.dat +0 -0
- data/samples/World1/1q/11/c.-2.11.dat +0 -0
- data/samples/World1/1q/12/c.-2.12.dat +0 -0
- data/samples/World1/1q/13/c.-2.13.dat +0 -0
- data/samples/World1/1q/14/c.-2.14.dat +0 -0
- data/samples/World1/1q/15/c.-2.15.dat +0 -0
- data/samples/World1/1q/16/c.-2.16.dat +0 -0
- data/samples/World1/1q/17/c.-2.17.dat +0 -0
- data/samples/World1/1q/18/c.-2.18.dat +0 -0
- data/samples/World1/1q/19/c.-2.19.dat +0 -0
- data/samples/World1/1q/1a/c.-2.1a.dat +0 -0
- data/samples/World1/1q/1b/c.-2.1b.dat +0 -0
- data/samples/World1/1q/1c/c.-2.1c.dat +0 -0
- data/samples/World1/1q/1d/c.-2.1d.dat +0 -0
- data/samples/World1/1q/c/c.-2.c.dat +0 -0
- data/samples/World1/1q/d/c.-2.d.dat +0 -0
- data/samples/World1/1q/e/c.-2.e.dat +0 -0
- data/samples/World1/1q/f/c.-2.f.dat +0 -0
- data/samples/World1/1q/g/c.-2.g.dat +0 -0
- data/samples/World1/1q/h/c.-2.h.dat +0 -0
- data/samples/World1/1q/i/c.-2.i.dat +0 -0
- data/samples/World1/1q/j/c.-2.j.dat +0 -0
- data/samples/World1/1q/k/c.-2.k.dat +0 -0
- data/samples/World1/1q/l/c.-2.l.dat +0 -0
- data/samples/World1/1q/m/c.-2.m.dat +0 -0
- data/samples/World1/1q/n/c.-2.n.dat +0 -0
- data/samples/World1/1q/o/c.-2.o.dat +0 -0
- data/samples/World1/1q/p/c.-2.p.dat +0 -0
- data/samples/World1/1q/q/c.-2.q.dat +0 -0
- data/samples/World1/1q/r/c.-2.r.dat +0 -0
- data/samples/World1/1q/s/c.-2.s.dat +0 -0
- data/samples/World1/1q/t/c.-2.t.dat +0 -0
- data/samples/World1/1q/u/c.-2.u.dat +0 -0
- data/samples/World1/1q/v/c.-2.v.dat +0 -0
- data/samples/World1/1q/w/c.-2.w.dat +0 -0
- data/samples/World1/1q/x/c.-2.x.dat +0 -0
- data/samples/World1/1q/y/c.-2.y.dat +0 -0
- data/samples/World1/1q/z/c.-2.z.dat +0 -0
- data/samples/World1/1r/10/c.-1.10.dat +0 -0
- data/samples/World1/1r/11/c.-1.11.dat +0 -0
- data/samples/World1/1r/12/c.-1.12.dat +0 -0
- data/samples/World1/1r/13/c.-1.13.dat +0 -0
- data/samples/World1/1r/14/c.-1.14.dat +0 -0
- data/samples/World1/1r/15/c.-1.15.dat +0 -0
- data/samples/World1/1r/16/c.-1.16.dat +0 -0
- data/samples/World1/1r/17/c.-1.17.dat +0 -0
- data/samples/World1/1r/18/c.-1.18.dat +0 -0
- data/samples/World1/1r/19/c.-1.19.dat +0 -0
- data/samples/World1/1r/1a/c.-1.1a.dat +0 -0
- data/samples/World1/1r/1b/c.-1.1b.dat +0 -0
- data/samples/World1/1r/1c/c.-1.1c.dat +0 -0
- data/samples/World1/1r/1d/c.-1.1d.dat +0 -0
- data/samples/World1/1r/b/c.-1.b.dat +0 -0
- data/samples/World1/1r/c/c.-1.c.dat +0 -0
- data/samples/World1/1r/d/c.-1.d.dat +0 -0
- data/samples/World1/1r/e/c.-1.e.dat +0 -0
- data/samples/World1/1r/f/c.-1.f.dat +0 -0
- data/samples/World1/1r/g/c.-1.g.dat +0 -0
- data/samples/World1/1r/h/c.-1.h.dat +0 -0
- data/samples/World1/1r/i/c.-1.i.dat +0 -0
- data/samples/World1/1r/j/c.-1.j.dat +0 -0
- data/samples/World1/1r/k/c.-1.k.dat +0 -0
- data/samples/World1/1r/l/c.-1.l.dat +0 -0
- data/samples/World1/1r/m/c.-1.m.dat +0 -0
- data/samples/World1/1r/n/c.-1.n.dat +0 -0
- data/samples/World1/1r/o/c.-1.o.dat +0 -0
- data/samples/World1/1r/p/c.-1.p.dat +0 -0
- data/samples/World1/1r/q/c.-1.q.dat +0 -0
- data/samples/World1/1r/r/c.-1.r.dat +0 -0
- data/samples/World1/1r/s/c.-1.s.dat +0 -0
- data/samples/World1/1r/t/c.-1.t.dat +0 -0
- data/samples/World1/1r/u/c.-1.u.dat +0 -0
- data/samples/World1/1r/v/c.-1.v.dat +0 -0
- data/samples/World1/1r/w/c.-1.w.dat +0 -0
- data/samples/World1/1r/x/c.-1.x.dat +0 -0
- data/samples/World1/1r/y/c.-1.y.dat +0 -0
- data/samples/World1/1r/z/c.-1.z.dat +0 -0
- data/samples/World1/2/10/c.2.10.dat +0 -0
- data/samples/World1/2/11/c.2.11.dat +0 -0
- data/samples/World1/2/12/c.2.12.dat +0 -0
- data/samples/World1/2/13/c.2.13.dat +0 -0
- data/samples/World1/2/14/c.2.14.dat +0 -0
- data/samples/World1/2/15/c.2.15.dat +0 -0
- data/samples/World1/2/16/c.2.16.dat +0 -0
- data/samples/World1/2/17/c.2.17.dat +0 -0
- data/samples/World1/2/18/c.2.18.dat +0 -0
- data/samples/World1/2/19/c.2.19.dat +0 -0
- data/samples/World1/2/1a/c.2.1a.dat +0 -0
- data/samples/World1/2/1b/c.2.1b.dat +0 -0
- data/samples/World1/2/1c/c.2.1c.dat +0 -0
- data/samples/World1/2/1d/c.2.1d.dat +0 -0
- data/samples/World1/2/2/c.2.2.dat +0 -0
- data/samples/World1/2/5/c.2.5.dat +0 -0
- data/samples/World1/2/6/c.2.6.dat +0 -0
- data/samples/World1/2/c/c.2.c.dat +0 -0
- data/samples/World1/2/d/c.2.d.dat +0 -0
- data/samples/World1/2/e/c.2.e.dat +0 -0
- data/samples/World1/2/f/c.2.f.dat +0 -0
- data/samples/World1/2/g/c.2.g.dat +0 -0
- data/samples/World1/2/h/c.2.h.dat +0 -0
- data/samples/World1/2/i/c.2.i.dat +0 -0
- data/samples/World1/2/j/c.2.j.dat +0 -0
- data/samples/World1/2/k/c.2.k.dat +0 -0
- data/samples/World1/2/l/c.2.l.dat +0 -0
- data/samples/World1/2/m/c.2.m.dat +0 -0
- data/samples/World1/2/n/c.2.n.dat +0 -0
- data/samples/World1/2/o/c.2.o.dat +0 -0
- data/samples/World1/2/p/c.2.p.dat +0 -0
- data/samples/World1/2/q/c.2.q.dat +0 -0
- data/samples/World1/2/r/c.2.r.dat +0 -0
- data/samples/World1/2/s/c.2.s.dat +0 -0
- data/samples/World1/2/t/c.2.t.dat +0 -0
- data/samples/World1/2/u/c.2.u.dat +0 -0
- data/samples/World1/2/v/c.2.v.dat +0 -0
- data/samples/World1/2/w/c.2.w.dat +0 -0
- data/samples/World1/2/x/c.2.x.dat +0 -0
- data/samples/World1/2/y/c.2.y.dat +0 -0
- data/samples/World1/2/z/c.2.z.dat +0 -0
- data/samples/World1/3/10/c.3.10.dat +0 -0
- data/samples/World1/3/11/c.3.11.dat +0 -0
- data/samples/World1/3/12/c.3.12.dat +0 -0
- data/samples/World1/3/13/c.3.13.dat +0 -0
- data/samples/World1/3/14/c.3.14.dat +0 -0
- data/samples/World1/3/15/c.3.15.dat +0 -0
- data/samples/World1/3/16/c.3.16.dat +0 -0
- data/samples/World1/3/17/c.3.17.dat +0 -0
- data/samples/World1/3/18/c.3.18.dat +0 -0
- data/samples/World1/3/19/c.3.19.dat +0 -0
- data/samples/World1/3/1a/c.3.1a.dat +0 -0
- data/samples/World1/3/1b/c.3.1b.dat +0 -0
- data/samples/World1/3/1c/c.3.1c.dat +0 -0
- data/samples/World1/3/1d/c.3.1d.dat +0 -0
- data/samples/World1/3/3/c.3.3.dat +0 -0
- data/samples/World1/3/6/c.3.6.dat +0 -0
- data/samples/World1/3/7/c.3.7.dat +0 -0
- data/samples/World1/3/b/c.3.b.dat +0 -0
- data/samples/World1/3/c/c.3.c.dat +0 -0
- data/samples/World1/3/d/c.3.d.dat +0 -0
- data/samples/World1/3/e/c.3.e.dat +0 -0
- data/samples/World1/3/f/c.3.f.dat +0 -0
- data/samples/World1/3/g/c.3.g.dat +0 -0
- data/samples/World1/3/h/c.3.h.dat +0 -0
- data/samples/World1/3/i/c.3.i.dat +0 -0
- data/samples/World1/3/j/c.3.j.dat +0 -0
- data/samples/World1/3/k/c.3.k.dat +0 -0
- data/samples/World1/3/l/c.3.l.dat +0 -0
- data/samples/World1/3/m/c.3.m.dat +0 -0
- data/samples/World1/3/n/c.3.n.dat +0 -0
- data/samples/World1/3/o/c.3.o.dat +0 -0
- data/samples/World1/3/p/c.3.p.dat +0 -0
- data/samples/World1/3/q/c.3.q.dat +0 -0
- data/samples/World1/3/r/c.3.r.dat +0 -0
- data/samples/World1/3/s/c.3.s.dat +0 -0
- data/samples/World1/3/t/c.3.t.dat +0 -0
- data/samples/World1/3/u/c.3.u.dat +0 -0
- data/samples/World1/3/v/c.3.v.dat +0 -0
- data/samples/World1/3/w/c.3.w.dat +0 -0
- data/samples/World1/3/x/c.3.x.dat +0 -0
- data/samples/World1/3/y/c.3.y.dat +0 -0
- data/samples/World1/3/z/c.3.z.dat +0 -0
- data/samples/World1/4/10/c.4.10.dat +0 -0
- data/samples/World1/4/11/c.4.11.dat +0 -0
- data/samples/World1/4/12/c.4.12.dat +0 -0
- data/samples/World1/4/13/c.4.13.dat +0 -0
- data/samples/World1/4/14/c.4.14.dat +0 -0
- data/samples/World1/4/15/c.4.15.dat +0 -0
- data/samples/World1/4/16/c.4.16.dat +0 -0
- data/samples/World1/4/17/c.4.17.dat +0 -0
- data/samples/World1/4/18/c.4.18.dat +0 -0
- data/samples/World1/4/19/c.4.19.dat +0 -0
- data/samples/World1/4/1a/c.4.1a.dat +0 -0
- data/samples/World1/4/1b/c.4.1b.dat +0 -0
- data/samples/World1/4/1c/c.4.1c.dat +0 -0
- data/samples/World1/4/1d/c.4.1d.dat +0 -0
- data/samples/World1/4/5/c.4.5.dat +0 -0
- data/samples/World1/4/c/c.4.c.dat +0 -0
- data/samples/World1/4/d/c.4.d.dat +0 -0
- data/samples/World1/4/e/c.4.e.dat +0 -0
- data/samples/World1/4/f/c.4.f.dat +0 -0
- data/samples/World1/4/g/c.4.g.dat +0 -0
- data/samples/World1/4/h/c.4.h.dat +0 -0
- data/samples/World1/4/i/c.4.i.dat +0 -0
- data/samples/World1/4/j/c.4.j.dat +0 -0
- data/samples/World1/4/k/c.4.k.dat +0 -0
- data/samples/World1/4/l/c.4.l.dat +0 -0
- data/samples/World1/4/m/c.4.m.dat +0 -0
- data/samples/World1/4/n/c.4.n.dat +0 -0
- data/samples/World1/4/o/c.4.o.dat +0 -0
- data/samples/World1/4/p/c.4.p.dat +0 -0
- data/samples/World1/4/q/c.4.q.dat +0 -0
- data/samples/World1/4/r/c.4.r.dat +0 -0
- data/samples/World1/4/s/c.4.s.dat +0 -0
- data/samples/World1/4/t/c.4.t.dat +0 -0
- data/samples/World1/4/u/c.4.u.dat +0 -0
- data/samples/World1/4/v/c.4.v.dat +0 -0
- data/samples/World1/4/w/c.4.w.dat +0 -0
- data/samples/World1/4/x/c.4.x.dat +0 -0
- data/samples/World1/4/y/c.4.y.dat +0 -0
- data/samples/World1/4/z/c.4.z.dat +0 -0
- data/samples/World1/5/10/c.5.10.dat +0 -0
- data/samples/World1/5/11/c.5.11.dat +0 -0
- data/samples/World1/5/12/c.5.12.dat +0 -0
- data/samples/World1/5/13/c.5.13.dat +0 -0
- data/samples/World1/5/14/c.5.14.dat +0 -0
- data/samples/World1/5/15/c.5.15.dat +0 -0
- data/samples/World1/5/16/c.5.16.dat +0 -0
- data/samples/World1/5/17/c.5.17.dat +0 -0
- data/samples/World1/5/18/c.5.18.dat +0 -0
- data/samples/World1/5/19/c.5.19.dat +0 -0
- data/samples/World1/5/1a/c.5.1a.dat +0 -0
- data/samples/World1/5/1b/c.5.1b.dat +0 -0
- data/samples/World1/5/1c/c.5.1c.dat +0 -0
- data/samples/World1/5/1d/c.5.1d.dat +0 -0
- data/samples/World1/5/b/c.5.b.dat +0 -0
- data/samples/World1/5/c/c.5.c.dat +0 -0
- data/samples/World1/5/d/c.5.d.dat +0 -0
- data/samples/World1/5/e/c.5.e.dat +0 -0
- data/samples/World1/5/f/c.5.f.dat +0 -0
- data/samples/World1/5/g/c.5.g.dat +0 -0
- data/samples/World1/5/h/c.5.h.dat +0 -0
- data/samples/World1/5/i/c.5.i.dat +0 -0
- data/samples/World1/5/j/c.5.j.dat +0 -0
- data/samples/World1/5/k/c.5.k.dat +0 -0
- data/samples/World1/5/l/c.5.l.dat +0 -0
- data/samples/World1/5/m/c.5.m.dat +0 -0
- data/samples/World1/5/n/c.5.n.dat +0 -0
- data/samples/World1/5/o/c.5.o.dat +0 -0
- data/samples/World1/5/p/c.5.p.dat +0 -0
- data/samples/World1/5/q/c.5.q.dat +0 -0
- data/samples/World1/5/r/c.5.r.dat +0 -0
- data/samples/World1/5/s/c.5.s.dat +0 -0
- data/samples/World1/5/t/c.5.t.dat +0 -0
- data/samples/World1/5/u/c.5.u.dat +0 -0
- data/samples/World1/5/v/c.5.v.dat +0 -0
- data/samples/World1/5/w/c.5.w.dat +0 -0
- data/samples/World1/5/x/c.5.x.dat +0 -0
- data/samples/World1/5/y/c.5.y.dat +0 -0
- data/samples/World1/5/z/c.5.z.dat +0 -0
- data/samples/World1/6/10/c.6.10.dat +0 -0
- data/samples/World1/6/11/c.6.11.dat +0 -0
- data/samples/World1/6/12/c.6.12.dat +0 -0
- data/samples/World1/6/13/c.6.13.dat +0 -0
- data/samples/World1/6/14/c.6.14.dat +0 -0
- data/samples/World1/6/15/c.6.15.dat +0 -0
- data/samples/World1/6/16/c.6.16.dat +0 -0
- data/samples/World1/6/17/c.6.17.dat +0 -0
- data/samples/World1/6/18/c.6.18.dat +0 -0
- data/samples/World1/6/19/c.6.19.dat +0 -0
- data/samples/World1/6/1a/c.6.1a.dat +0 -0
- data/samples/World1/6/1b/c.6.1b.dat +0 -0
- data/samples/World1/6/1c/c.6.1c.dat +0 -0
- data/samples/World1/6/1d/c.6.1d.dat +0 -0
- data/samples/World1/6/b/c.6.b.dat +0 -0
- data/samples/World1/6/c/c.6.c.dat +0 -0
- data/samples/World1/6/d/c.6.d.dat +0 -0
- data/samples/World1/6/e/c.6.e.dat +0 -0
- data/samples/World1/6/f/c.6.f.dat +0 -0
- data/samples/World1/6/g/c.6.g.dat +0 -0
- data/samples/World1/6/h/c.6.h.dat +0 -0
- data/samples/World1/6/i/c.6.i.dat +0 -0
- data/samples/World1/6/j/c.6.j.dat +0 -0
- data/samples/World1/6/k/c.6.k.dat +0 -0
- data/samples/World1/6/l/c.6.l.dat +0 -0
- data/samples/World1/6/m/c.6.m.dat +0 -0
- data/samples/World1/6/n/c.6.n.dat +0 -0
- data/samples/World1/6/o/c.6.o.dat +0 -0
- data/samples/World1/6/p/c.6.p.dat +0 -0
- data/samples/World1/6/q/c.6.q.dat +0 -0
- data/samples/World1/6/r/c.6.r.dat +0 -0
- data/samples/World1/6/s/c.6.s.dat +0 -0
- data/samples/World1/6/t/c.6.t.dat +0 -0
- data/samples/World1/6/u/c.6.u.dat +0 -0
- data/samples/World1/6/v/c.6.v.dat +0 -0
- data/samples/World1/6/w/c.6.w.dat +0 -0
- data/samples/World1/6/x/c.6.x.dat +0 -0
- data/samples/World1/6/y/c.6.y.dat +0 -0
- data/samples/World1/6/z/c.6.z.dat +0 -0
- data/samples/World1/7/10/c.7.10.dat +0 -0
- data/samples/World1/7/11/c.7.11.dat +0 -0
- data/samples/World1/7/12/c.7.12.dat +0 -0
- data/samples/World1/7/13/c.7.13.dat +0 -0
- data/samples/World1/7/14/c.7.14.dat +0 -0
- data/samples/World1/7/15/c.7.15.dat +0 -0
- data/samples/World1/7/16/c.7.16.dat +0 -0
- data/samples/World1/7/17/c.7.17.dat +0 -0
- data/samples/World1/7/18/c.7.18.dat +0 -0
- data/samples/World1/7/19/c.7.19.dat +0 -0
- data/samples/World1/7/1a/c.7.1a.dat +0 -0
- data/samples/World1/7/1b/c.7.1b.dat +0 -0
- data/samples/World1/7/1c/c.7.1c.dat +0 -0
- data/samples/World1/7/b/c.7.b.dat +0 -0
- data/samples/World1/7/c/c.7.c.dat +0 -0
- data/samples/World1/7/d/c.7.d.dat +0 -0
- data/samples/World1/7/e/c.7.e.dat +0 -0
- data/samples/World1/7/f/c.7.f.dat +0 -0
- data/samples/World1/7/g/c.7.g.dat +0 -0
- data/samples/World1/7/h/c.7.h.dat +0 -0
- data/samples/World1/7/i/c.7.i.dat +0 -0
- data/samples/World1/7/j/c.7.j.dat +0 -0
- data/samples/World1/7/k/c.7.k.dat +0 -0
- data/samples/World1/7/l/c.7.l.dat +0 -0
- data/samples/World1/7/m/c.7.m.dat +0 -0
- data/samples/World1/7/n/c.7.n.dat +0 -0
- data/samples/World1/7/o/c.7.o.dat +0 -0
- data/samples/World1/7/p/c.7.p.dat +0 -0
- data/samples/World1/7/q/c.7.q.dat +0 -0
- data/samples/World1/7/r/c.7.r.dat +0 -0
- data/samples/World1/7/s/c.7.s.dat +0 -0
- data/samples/World1/7/t/c.7.t.dat +0 -0
- data/samples/World1/7/u/c.7.u.dat +0 -0
- data/samples/World1/7/v/c.7.v.dat +0 -0
- data/samples/World1/7/w/c.7.w.dat +0 -0
- data/samples/World1/7/x/c.7.x.dat +0 -0
- data/samples/World1/7/y/c.7.y.dat +0 -0
- data/samples/World1/7/z/c.7.z.dat +0 -0
- data/samples/World1/8/10/c.8.10.dat +0 -0
- data/samples/World1/8/11/c.8.11.dat +0 -0
- data/samples/World1/8/12/c.8.12.dat +0 -0
- data/samples/World1/8/13/c.8.13.dat +0 -0
- data/samples/World1/8/14/c.8.14.dat +0 -0
- data/samples/World1/8/15/c.8.15.dat +0 -0
- data/samples/World1/8/16/c.8.16.dat +0 -0
- data/samples/World1/8/17/c.8.17.dat +0 -0
- data/samples/World1/8/18/c.8.18.dat +0 -0
- data/samples/World1/8/19/c.8.19.dat +0 -0
- data/samples/World1/8/1a/c.8.1a.dat +0 -0
- data/samples/World1/8/1b/c.8.1b.dat +0 -0
- data/samples/World1/8/1c/c.8.1c.dat +0 -0
- data/samples/World1/8/1d/c.8.1d.dat +0 -0
- data/samples/World1/8/b/c.8.b.dat +0 -0
- data/samples/World1/8/c/c.8.c.dat +0 -0
- data/samples/World1/8/d/c.8.d.dat +0 -0
- data/samples/World1/8/e/c.8.e.dat +0 -0
- data/samples/World1/8/f/c.8.f.dat +0 -0
- data/samples/World1/8/g/c.8.g.dat +0 -0
- data/samples/World1/8/h/c.8.h.dat +0 -0
- data/samples/World1/8/i/c.8.i.dat +0 -0
- data/samples/World1/8/j/c.8.j.dat +0 -0
- data/samples/World1/8/k/c.8.k.dat +0 -0
- data/samples/World1/8/l/c.8.l.dat +0 -0
- data/samples/World1/8/m/c.8.m.dat +0 -0
- data/samples/World1/8/n/c.8.n.dat +0 -0
- data/samples/World1/8/o/c.8.o.dat +0 -0
- data/samples/World1/8/p/c.8.p.dat +0 -0
- data/samples/World1/8/q/c.8.q.dat +0 -0
- data/samples/World1/8/r/c.8.r.dat +0 -0
- data/samples/World1/8/s/c.8.s.dat +0 -0
- data/samples/World1/8/t/c.8.t.dat +0 -0
- data/samples/World1/8/u/c.8.u.dat +0 -0
- data/samples/World1/8/v/c.8.v.dat +0 -0
- data/samples/World1/8/w/c.8.w.dat +0 -0
- data/samples/World1/8/x/c.8.x.dat +0 -0
- data/samples/World1/8/y/c.8.y.dat +0 -0
- data/samples/World1/8/z/c.8.z.dat +0 -0
- data/samples/World1/9/10/c.9.10.dat +0 -0
- data/samples/World1/9/11/c.9.11.dat +0 -0
- data/samples/World1/9/12/c.9.12.dat +0 -0
- data/samples/World1/9/13/c.9.13.dat +0 -0
- data/samples/World1/9/14/c.9.14.dat +0 -0
- data/samples/World1/9/15/c.9.15.dat +0 -0
- data/samples/World1/9/16/c.9.16.dat +0 -0
- data/samples/World1/9/17/c.9.17.dat +0 -0
- data/samples/World1/9/18/c.9.18.dat +0 -0
- data/samples/World1/9/19/c.9.19.dat +0 -0
- data/samples/World1/9/1a/c.9.1a.dat +0 -0
- data/samples/World1/9/1b/c.9.1b.dat +0 -0
- data/samples/World1/9/1c/c.9.1c.dat +0 -0
- data/samples/World1/9/1d/c.9.1d.dat +0 -0
- data/samples/World1/9/b/c.9.b.dat +0 -0
- data/samples/World1/9/c/c.9.c.dat +0 -0
- data/samples/World1/9/d/c.9.d.dat +0 -0
- data/samples/World1/9/e/c.9.e.dat +0 -0
- data/samples/World1/9/f/c.9.f.dat +0 -0
- data/samples/World1/9/g/c.9.g.dat +0 -0
- data/samples/World1/9/h/c.9.h.dat +0 -0
- data/samples/World1/9/i/c.9.i.dat +0 -0
- data/samples/World1/9/j/c.9.j.dat +0 -0
- data/samples/World1/9/k/c.9.k.dat +0 -0
- data/samples/World1/9/l/c.9.l.dat +0 -0
- data/samples/World1/9/m/c.9.m.dat +0 -0
- data/samples/World1/9/n/c.9.n.dat +0 -0
- data/samples/World1/9/o/c.9.o.dat +0 -0
- data/samples/World1/9/p/c.9.p.dat +0 -0
- data/samples/World1/9/q/c.9.q.dat +0 -0
- data/samples/World1/9/r/c.9.r.dat +0 -0
- data/samples/World1/9/s/c.9.s.dat +0 -0
- data/samples/World1/9/t/c.9.t.dat +0 -0
- data/samples/World1/9/u/c.9.u.dat +0 -0
- data/samples/World1/9/v/c.9.v.dat +0 -0
- data/samples/World1/9/w/c.9.w.dat +0 -0
- data/samples/World1/9/x/c.9.x.dat +0 -0
- data/samples/World1/9/y/c.9.y.dat +0 -0
- data/samples/World1/9/z/c.9.z.dat +0 -0
- data/samples/World1/a/10/c.a.10.dat +0 -0
- data/samples/World1/a/11/c.a.11.dat +0 -0
- data/samples/World1/a/12/c.a.12.dat +0 -0
- data/samples/World1/a/13/c.a.13.dat +0 -0
- data/samples/World1/a/14/c.a.14.dat +0 -0
- data/samples/World1/a/15/c.a.15.dat +0 -0
- data/samples/World1/a/16/c.a.16.dat +0 -0
- data/samples/World1/a/17/c.a.17.dat +0 -0
- data/samples/World1/a/18/c.a.18.dat +0 -0
- data/samples/World1/a/b/c.a.b.dat +0 -0
- data/samples/World1/a/c/c.a.c.dat +0 -0
- data/samples/World1/a/d/c.a.d.dat +0 -0
- data/samples/World1/a/e/c.a.e.dat +0 -0
- data/samples/World1/a/f/c.a.f.dat +0 -0
- data/samples/World1/a/g/c.a.g.dat +0 -0
- data/samples/World1/a/h/c.a.h.dat +0 -0
- data/samples/World1/a/i/c.a.i.dat +0 -0
- data/samples/World1/a/j/c.a.j.dat +0 -0
- data/samples/World1/a/k/c.a.k.dat +0 -0
- data/samples/World1/a/l/c.a.l.dat +0 -0
- data/samples/World1/a/m/c.a.m.dat +0 -0
- data/samples/World1/a/n/c.a.n.dat +0 -0
- data/samples/World1/a/o/c.a.o.dat +0 -0
- data/samples/World1/a/p/c.a.p.dat +0 -0
- data/samples/World1/a/q/c.a.q.dat +0 -0
- data/samples/World1/a/r/c.a.r.dat +0 -0
- data/samples/World1/a/s/c.a.s.dat +0 -0
- data/samples/World1/a/t/c.a.t.dat +0 -0
- data/samples/World1/a/u/c.a.u.dat +0 -0
- data/samples/World1/a/v/c.a.v.dat +0 -0
- data/samples/World1/a/w/c.a.w.dat +0 -0
- data/samples/World1/a/x/c.a.x.dat +0 -0
- data/samples/World1/a/y/c.a.y.dat +0 -0
- data/samples/World1/a/z/c.a.z.dat +0 -0
- data/samples/World1/b/10/c.b.10.dat +0 -0
- data/samples/World1/b/11/c.b.11.dat +0 -0
- data/samples/World1/b/12/c.b.12.dat +0 -0
- data/samples/World1/b/13/c.b.13.dat +0 -0
- data/samples/World1/b/14/c.b.14.dat +0 -0
- data/samples/World1/b/15/c.b.15.dat +0 -0
- data/samples/World1/b/16/c.b.16.dat +0 -0
- data/samples/World1/b/17/c.b.17.dat +0 -0
- data/samples/World1/b/c/c.b.c.dat +0 -0
- data/samples/World1/b/d/c.b.d.dat +0 -0
- data/samples/World1/b/e/c.b.e.dat +0 -0
- data/samples/World1/b/f/c.b.f.dat +0 -0
- data/samples/World1/b/g/c.b.g.dat +0 -0
- data/samples/World1/b/h/c.b.h.dat +0 -0
- data/samples/World1/b/i/c.b.i.dat +0 -0
- data/samples/World1/b/j/c.b.j.dat +0 -0
- data/samples/World1/b/k/c.b.k.dat +0 -0
- data/samples/World1/b/l/c.b.l.dat +0 -0
- data/samples/World1/b/m/c.b.m.dat +0 -0
- data/samples/World1/b/n/c.b.n.dat +0 -0
- data/samples/World1/b/o/c.b.o.dat +0 -0
- data/samples/World1/b/p/c.b.p.dat +0 -0
- data/samples/World1/b/q/c.b.q.dat +0 -0
- data/samples/World1/b/r/c.b.r.dat +0 -0
- data/samples/World1/b/s/c.b.s.dat +0 -0
- data/samples/World1/b/t/c.b.t.dat +0 -0
- data/samples/World1/b/u/c.b.u.dat +0 -0
- data/samples/World1/b/v/c.b.v.dat +0 -0
- data/samples/World1/b/w/c.b.w.dat +0 -0
- data/samples/World1/b/x/c.b.x.dat +0 -0
- data/samples/World1/b/y/c.b.y.dat +0 -0
- data/samples/World1/b/z/c.b.z.dat +0 -0
- data/samples/World1/c/10/c.c.10.dat +0 -0
- data/samples/World1/c/11/c.c.11.dat +0 -0
- data/samples/World1/c/12/c.c.12.dat +0 -0
- data/samples/World1/c/13/c.c.13.dat +0 -0
- data/samples/World1/c/14/c.c.14.dat +0 -0
- data/samples/World1/c/15/c.c.15.dat +0 -0
- data/samples/World1/c/c/c.c.c.dat +0 -0
- data/samples/World1/c/d/c.c.d.dat +0 -0
- data/samples/World1/c/e/c.c.e.dat +0 -0
- data/samples/World1/c/f/c.c.f.dat +0 -0
- data/samples/World1/c/g/c.c.g.dat +0 -0
- data/samples/World1/c/h/c.c.h.dat +0 -0
- data/samples/World1/c/i/c.c.i.dat +0 -0
- data/samples/World1/c/j/c.c.j.dat +0 -0
- data/samples/World1/c/k/c.c.k.dat +0 -0
- data/samples/World1/c/l/c.c.l.dat +0 -0
- data/samples/World1/c/m/c.c.m.dat +0 -0
- data/samples/World1/c/n/c.c.n.dat +0 -0
- data/samples/World1/c/o/c.c.o.dat +0 -0
- data/samples/World1/c/p/c.c.p.dat +0 -0
- data/samples/World1/c/q/c.c.q.dat +0 -0
- data/samples/World1/c/r/c.c.r.dat +0 -0
- data/samples/World1/c/s/c.c.s.dat +0 -0
- data/samples/World1/c/t/c.c.t.dat +0 -0
- data/samples/World1/c/u/c.c.u.dat +0 -0
- data/samples/World1/c/v/c.c.v.dat +0 -0
- data/samples/World1/c/w/c.c.w.dat +0 -0
- data/samples/World1/c/x/c.c.x.dat +0 -0
- data/samples/World1/c/y/c.c.y.dat +0 -0
- data/samples/World1/c/z/c.c.z.dat +0 -0
- data/samples/World1/d/10/c.d.10.dat +0 -0
- data/samples/World1/d/11/c.d.11.dat +0 -0
- data/samples/World1/d/12/c.d.12.dat +0 -0
- data/samples/World1/d/13/c.d.13.dat +0 -0
- data/samples/World1/d/14/c.d.14.dat +0 -0
- data/samples/World1/d/15/c.d.15.dat +0 -0
- data/samples/World1/d/e/c.d.e.dat +0 -0
- data/samples/World1/d/f/c.d.f.dat +0 -0
- data/samples/World1/d/g/c.d.g.dat +0 -0
- data/samples/World1/d/h/c.d.h.dat +0 -0
- data/samples/World1/d/i/c.d.i.dat +0 -0
- data/samples/World1/d/j/c.d.j.dat +0 -0
- data/samples/World1/d/k/c.d.k.dat +0 -0
- data/samples/World1/d/l/c.d.l.dat +0 -0
- data/samples/World1/d/m/c.d.m.dat +0 -0
- data/samples/World1/d/n/c.d.n.dat +0 -0
- data/samples/World1/d/o/c.d.o.dat +0 -0
- data/samples/World1/d/p/c.d.p.dat +0 -0
- data/samples/World1/d/q/c.d.q.dat +0 -0
- data/samples/World1/d/r/c.d.r.dat +0 -0
- data/samples/World1/d/s/c.d.s.dat +0 -0
- data/samples/World1/d/t/c.d.t.dat +0 -0
- data/samples/World1/d/u/c.d.u.dat +0 -0
- data/samples/World1/d/v/c.d.v.dat +0 -0
- data/samples/World1/d/w/c.d.w.dat +0 -0
- data/samples/World1/d/x/c.d.x.dat +0 -0
- data/samples/World1/d/y/c.d.y.dat +0 -0
- data/samples/World1/d/z/c.d.z.dat +0 -0
- data/samples/World1/e/10/c.e.10.dat +0 -0
- data/samples/World1/e/11/c.e.11.dat +0 -0
- data/samples/World1/e/12/c.e.12.dat +0 -0
- data/samples/World1/e/13/c.e.13.dat +0 -0
- data/samples/World1/e/14/c.e.14.dat +0 -0
- data/samples/World1/e/d/c.e.d.dat +0 -0
- data/samples/World1/e/e/c.e.e.dat +0 -0
- data/samples/World1/e/f/c.e.f.dat +0 -0
- data/samples/World1/e/g/c.e.g.dat +0 -0
- data/samples/World1/e/h/c.e.h.dat +0 -0
- data/samples/World1/e/i/c.e.i.dat +0 -0
- data/samples/World1/e/j/c.e.j.dat +0 -0
- data/samples/World1/e/k/c.e.k.dat +0 -0
- data/samples/World1/e/l/c.e.l.dat +0 -0
- data/samples/World1/e/m/c.e.m.dat +0 -0
- data/samples/World1/e/n/c.e.n.dat +0 -0
- data/samples/World1/e/o/c.e.o.dat +0 -0
- data/samples/World1/e/p/c.e.p.dat +0 -0
- data/samples/World1/e/q/c.e.q.dat +0 -0
- data/samples/World1/e/r/c.e.r.dat +0 -0
- data/samples/World1/e/s/c.e.s.dat +0 -0
- data/samples/World1/e/t/c.e.t.dat +0 -0
- data/samples/World1/e/u/c.e.u.dat +0 -0
- data/samples/World1/e/v/c.e.v.dat +0 -0
- data/samples/World1/e/w/c.e.w.dat +0 -0
- data/samples/World1/e/x/c.e.x.dat +0 -0
- data/samples/World1/e/y/c.e.y.dat +0 -0
- data/samples/World1/e/z/c.e.z.dat +0 -0
- data/samples/World1/f/10/c.f.10.dat +0 -0
- data/samples/World1/f/11/c.f.11.dat +0 -0
- data/samples/World1/f/12/c.f.12.dat +0 -0
- data/samples/World1/f/13/c.f.13.dat +0 -0
- data/samples/World1/f/d/c.f.d.dat +0 -0
- data/samples/World1/f/e/c.f.e.dat +0 -0
- data/samples/World1/f/f/c.f.f.dat +0 -0
- data/samples/World1/f/g/c.f.g.dat +0 -0
- data/samples/World1/f/h/c.f.h.dat +0 -0
- data/samples/World1/f/i/c.f.i.dat +0 -0
- data/samples/World1/f/j/c.f.j.dat +0 -0
- data/samples/World1/f/k/c.f.k.dat +0 -0
- data/samples/World1/f/l/c.f.l.dat +0 -0
- data/samples/World1/f/m/c.f.m.dat +0 -0
- data/samples/World1/f/n/c.f.n.dat +0 -0
- data/samples/World1/f/o/c.f.o.dat +0 -0
- data/samples/World1/f/p/c.f.p.dat +0 -0
- data/samples/World1/f/q/c.f.q.dat +0 -0
- data/samples/World1/f/r/c.f.r.dat +0 -0
- data/samples/World1/f/s/c.f.s.dat +0 -0
- data/samples/World1/f/t/c.f.t.dat +0 -0
- data/samples/World1/f/u/c.f.u.dat +0 -0
- data/samples/World1/f/v/c.f.v.dat +0 -0
- data/samples/World1/f/w/c.f.w.dat +0 -0
- data/samples/World1/f/x/c.f.x.dat +0 -0
- data/samples/World1/f/y/c.f.y.dat +0 -0
- data/samples/World1/f/z/c.f.z.dat +0 -0
- data/samples/World1/g/10/c.g.10.dat +0 -0
- data/samples/World1/g/d/c.g.d.dat +0 -0
- data/samples/World1/g/e/c.g.e.dat +0 -0
- data/samples/World1/g/f/c.g.f.dat +0 -0
- data/samples/World1/g/g/c.g.g.dat +0 -0
- data/samples/World1/g/h/c.g.h.dat +0 -0
- data/samples/World1/g/i/c.g.i.dat +0 -0
- data/samples/World1/g/j/c.g.j.dat +0 -0
- data/samples/World1/g/k/c.g.k.dat +0 -0
- data/samples/World1/g/l/c.g.l.dat +0 -0
- data/samples/World1/g/m/c.g.m.dat +0 -0
- data/samples/World1/g/n/c.g.n.dat +0 -0
- data/samples/World1/g/o/c.g.o.dat +0 -0
- data/samples/World1/g/p/c.g.p.dat +0 -0
- data/samples/World1/g/q/c.g.q.dat +0 -0
- data/samples/World1/g/r/c.g.r.dat +0 -0
- data/samples/World1/g/s/c.g.s.dat +0 -0
- data/samples/World1/g/t/c.g.t.dat +0 -0
- data/samples/World1/g/u/c.g.u.dat +0 -0
- data/samples/World1/g/v/c.g.v.dat +0 -0
- data/samples/World1/g/w/c.g.w.dat +0 -0
- data/samples/World1/g/x/c.g.x.dat +0 -0
- data/samples/World1/g/y/c.g.y.dat +0 -0
- data/samples/World1/g/z/c.g.z.dat +0 -0
- data/samples/World1/h/10/c.h.10.dat +0 -0
- data/samples/World1/h/e/c.h.e.dat +0 -0
- data/samples/World1/h/f/c.h.f.dat +0 -0
- data/samples/World1/h/g/c.h.g.dat +0 -0
- data/samples/World1/h/h/c.h.h.dat +0 -0
- data/samples/World1/h/i/c.h.i.dat +0 -0
- data/samples/World1/h/j/c.h.j.dat +0 -0
- data/samples/World1/h/k/c.h.k.dat +0 -0
- data/samples/World1/h/l/c.h.l.dat +0 -0
- data/samples/World1/h/m/c.h.m.dat +0 -0
- data/samples/World1/h/n/c.h.n.dat +0 -0
- data/samples/World1/h/o/c.h.o.dat +0 -0
- data/samples/World1/h/p/c.h.p.dat +0 -0
- data/samples/World1/h/q/c.h.q.dat +0 -0
- data/samples/World1/h/r/c.h.r.dat +0 -0
- data/samples/World1/h/s/c.h.s.dat +0 -0
- data/samples/World1/h/t/c.h.t.dat +0 -0
- data/samples/World1/h/u/c.h.u.dat +0 -0
- data/samples/World1/h/v/c.h.v.dat +0 -0
- data/samples/World1/h/w/c.h.w.dat +0 -0
- data/samples/World1/h/x/c.h.x.dat +0 -0
- data/samples/World1/h/y/c.h.y.dat +0 -0
- data/samples/World1/h/z/c.h.z.dat +0 -0
- data/samples/World1/i/f/c.i.f.dat +0 -0
- data/samples/World1/i/g/c.i.g.dat +0 -0
- data/samples/World1/i/h/c.i.h.dat +0 -0
- data/samples/World1/i/i/c.i.i.dat +0 -0
- data/samples/World1/i/j/c.i.j.dat +0 -0
- data/samples/World1/i/k/c.i.k.dat +0 -0
- data/samples/World1/i/l/c.i.l.dat +0 -0
- data/samples/World1/i/m/c.i.m.dat +0 -0
- data/samples/World1/i/n/c.i.n.dat +0 -0
- data/samples/World1/i/o/c.i.o.dat +0 -0
- data/samples/World1/i/p/c.i.p.dat +0 -0
- data/samples/World1/i/q/c.i.q.dat +0 -0
- data/samples/World1/i/r/c.i.r.dat +0 -0
- data/samples/World1/i/s/c.i.s.dat +0 -0
- data/samples/World1/i/t/c.i.t.dat +0 -0
- data/samples/World1/i/u/c.i.u.dat +0 -0
- data/samples/World1/i/v/c.i.v.dat +0 -0
- data/samples/World1/i/w/c.i.w.dat +0 -0
- data/samples/World1/i/x/c.i.x.dat +0 -0
- data/samples/World1/i/y/c.i.y.dat +0 -0
- data/samples/World1/i/z/c.i.z.dat +0 -0
- data/samples/World1/j/j/c.j.j.dat +0 -0
- data/samples/World1/j/w/c.j.w.dat +0 -0
- data/samples/World1/level.dat +0 -0
- data/samples/World1/level.dat_old +0 -0
- data/spec/application_spec.rb +84 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/transcoder_spec.rb +70 -0
- data/spec/worlddata_spec.rb +68 -0
- metadata +1207 -0
data/.document
ADDED
data/.gitignore
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 MenTaLguY <mental@rydia.net>
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "minescope"
|
8
|
+
gem.summary = %Q{Minescope is an interactive HTML5 Minecraft map viewer}
|
9
|
+
gem.description = %Q{Minescope is a rack application providing an interactive HTML5 Minecraft map viewer}
|
10
|
+
gem.email = "mental@rydia.net"
|
11
|
+
gem.homepage = "http://github.com/mental/minescope"
|
12
|
+
gem.authors = ["MenTaLguY"]
|
13
|
+
gem.add_dependency "nbtfile", ">= 0.0.8"
|
14
|
+
gem.add_dependency "rack", ">= 1.1"
|
15
|
+
gem.add_development_dependency "rspec", ">= 2.0"
|
16
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
17
|
+
end
|
18
|
+
Jeweler::GemcutterTasks.new
|
19
|
+
rescue LoadError
|
20
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
21
|
+
end
|
22
|
+
|
23
|
+
require 'rspec/core/rake_task'
|
24
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
25
|
+
spec.rspec_opts = "--color"
|
26
|
+
end
|
27
|
+
|
28
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
29
|
+
spec.rspec_opts = "--color"
|
30
|
+
spec.rcov = true
|
31
|
+
end
|
32
|
+
|
33
|
+
task :spec => :check_dependencies
|
34
|
+
|
35
|
+
task :default => :spec
|
36
|
+
|
37
|
+
task :specs => :spec
|
38
|
+
|
39
|
+
require 'rake/rdoctask'
|
40
|
+
Rake::RDocTask.new do |rdoc|
|
41
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
42
|
+
|
43
|
+
rdoc.rdoc_dir = 'rdoc'
|
44
|
+
rdoc.title = "minescope #{version}"
|
45
|
+
rdoc.rdoc_files.include('README*')
|
46
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
47
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
data/config.ru
ADDED
data/lib/minescope.rb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'rack'
|
2
|
+
require 'minescope/rack/worlddata'
|
3
|
+
|
4
|
+
module Minescope
|
5
|
+
module Rack
|
6
|
+
|
7
|
+
class Application
|
8
|
+
def initialize(world_dir)
|
9
|
+
@app = ::Rack::Builder.new do |builder|
|
10
|
+
map "/" do
|
11
|
+
static_path = File.join(File.dirname(__FILE__), "../static")
|
12
|
+
run ::Rack::File.new(static_path)
|
13
|
+
end
|
14
|
+
map "/world" do
|
15
|
+
run WorldData.new(world_dir)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def call(env)
|
21
|
+
if env['PATH_INFO'] == '/'
|
22
|
+
script_name = env['SCRIPT_NAME']
|
23
|
+
scheme = env['rack.url_scheme']
|
24
|
+
host = env['SERVER_NAME']
|
25
|
+
port = ":#{env['SERVER_PORT']}"
|
26
|
+
if scheme == 'http' and port == ':80'
|
27
|
+
port = ''
|
28
|
+
elsif scheme == 'https' and port == ':443'
|
29
|
+
port = ''
|
30
|
+
end
|
31
|
+
host_port = env['HTTP_HOST'] || "#{host}#{port}"
|
32
|
+
index_url = "#{scheme}://#{host_port}#{script_name}/index.html"
|
33
|
+
[302, {'Content-Type' => 'text/plain', 'Location' => index_url}, ["302 Found"]]
|
34
|
+
else
|
35
|
+
@app.call(env)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'minescope/transcoder'
|
2
|
+
|
3
|
+
module Minescope
|
4
|
+
module Rack
|
5
|
+
|
6
|
+
class WorldData
|
7
|
+
def initialize(world_dir)
|
8
|
+
@world_dir = world_dir
|
9
|
+
end
|
10
|
+
|
11
|
+
def call(env)
|
12
|
+
path = ::Rack::Utils.unescape(env['PATH_INFO'])
|
13
|
+
if path.include? ".."
|
14
|
+
return [403, {'Content-Type' => 'text/plain'}, ["403 Access Denied"]]
|
15
|
+
end
|
16
|
+
|
17
|
+
dat_path = path.dup.sub!(/\.json$/, '.dat')
|
18
|
+
|
19
|
+
begin
|
20
|
+
request = ::Rack::Request.new(env)
|
21
|
+
prettyprint = (request['prettyprint'] || 0).to_i != 0
|
22
|
+
raise Errno::ENOENT unless dat_path
|
23
|
+
dat_filename = File.join(@world_dir, dat_path)
|
24
|
+
json = File.open(dat_filename, "rb") { |io|
|
25
|
+
Minescope::Transcoder.transcode(io, :prettyprint => prettyprint)
|
26
|
+
}
|
27
|
+
[200, {'Content-Type' => 'application/json; charset=utf-8'}, [json]]
|
28
|
+
rescue Errno::ENOENT
|
29
|
+
[404, {'Content-Type' => 'text/plain'}, ["404 Not Found"]]
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
end
|
Binary file
|
@@ -0,0 +1,129 @@
|
|
1
|
+
/* HTML5 ✰ Boilerplate */
|
2
|
+
|
3
|
+
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
4
|
+
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
|
5
|
+
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
|
6
|
+
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
|
7
|
+
article, aside, canvas, details, figcaption, figure, footer, header, hgroup,
|
8
|
+
menu, nav, section, summary, time, mark, audio, video {
|
9
|
+
margin:0;
|
10
|
+
padding:0;
|
11
|
+
border:0;
|
12
|
+
outline:0;
|
13
|
+
font-size:100%;
|
14
|
+
vertical-align:baseline;
|
15
|
+
background:transparent;
|
16
|
+
}
|
17
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
|
18
|
+
display:block;
|
19
|
+
}
|
20
|
+
nav ul { list-style:none; }
|
21
|
+
blockquote, q { quotes:none; }
|
22
|
+
blockquote:before, blockquote:after,
|
23
|
+
q:before, q:after { content:''; content:none; }
|
24
|
+
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
|
25
|
+
ins { background-color:#ff9; color:#000; text-decoration:none; }
|
26
|
+
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
|
27
|
+
del { text-decoration: line-through; }
|
28
|
+
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
|
29
|
+
table { border-collapse:collapse; border-spacing:0; }
|
30
|
+
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
|
31
|
+
input, select { vertical-align:middle; }
|
32
|
+
|
33
|
+
|
34
|
+
body { font:13px/1.231 sans-serif; *font-size:small; }
|
35
|
+
select, input, textarea, button { font:99% sans-serif; }
|
36
|
+
pre, code, kbd, samp { font-family: monospace, sans-serif; }
|
37
|
+
|
38
|
+
body, select, input, textarea { color: #444; }
|
39
|
+
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
|
40
|
+
html { overflow-y: scroll; }
|
41
|
+
|
42
|
+
a:hover, a:active { outline: none; }
|
43
|
+
a, a:active, a:visited { color: #607890; }
|
44
|
+
a:hover { color: #036; }
|
45
|
+
|
46
|
+
ul, ol { margin-left: 1.8em; }
|
47
|
+
ol { list-style-type: decimal; }
|
48
|
+
|
49
|
+
nav ul, nav li { margin: 0; }
|
50
|
+
small { font-size: 85%; }
|
51
|
+
strong, th { font-weight: bold; }
|
52
|
+
td, td img { vertical-align: top; }
|
53
|
+
sub { vertical-align: sub; font-size: smaller; }
|
54
|
+
sup { vertical-align: super; font-size: smaller; }
|
55
|
+
pre { padding: 15px; white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
|
56
|
+
textarea { overflow: auto; }
|
57
|
+
.ie6 legend, .ie7 legend { margin-left: -7px; }
|
58
|
+
input[type="radio"] { vertical-align: text-bottom; }
|
59
|
+
input[type="checkbox"] { vertical-align: bottom; }
|
60
|
+
.ie7 input[type="checkbox"] { vertical-align: baseline; }
|
61
|
+
.ie6 input { vertical-align: text-bottom; }
|
62
|
+
label, input[type=button], input[type=submit], button { cursor: pointer; }
|
63
|
+
button, input, select, textarea { margin: 0; }
|
64
|
+
input:valid, textarea:valid { }
|
65
|
+
input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
|
66
|
+
.no-boxshadow input:invalid,
|
67
|
+
.no-boxshadow textarea:invalid { background-color: #f0dddd; }
|
68
|
+
|
69
|
+
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
|
70
|
+
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
|
71
|
+
a:link { -webkit-tap-highlight-color: #FF5E99; }
|
72
|
+
|
73
|
+
button { width: auto; overflow: visible; }
|
74
|
+
.ie7 img { -ms-interpolation-mode: bicubic; }
|
75
|
+
|
76
|
+
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
77
|
+
.hidden { display: none; visibility: hidden; }
|
78
|
+
.visuallyhidden { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); }
|
79
|
+
.invisible { visibility: hidden; }
|
80
|
+
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
|
81
|
+
.clearfix:after { clear: both; }
|
82
|
+
.clearfix { zoom: 1; }
|
83
|
+
|
84
|
+
|
85
|
+
/* Primary Styles
|
86
|
+
Author:
|
87
|
+
*/
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
@media all and (orientation:portrait) {
|
103
|
+
|
104
|
+
}
|
105
|
+
|
106
|
+
@media all and (orientation:landscape) {
|
107
|
+
|
108
|
+
}
|
109
|
+
|
110
|
+
@media screen and (max-device-width: 480px) {
|
111
|
+
|
112
|
+
|
113
|
+
/* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
|
114
|
+
}
|
115
|
+
|
116
|
+
@media print {
|
117
|
+
* { background: transparent !important; color: #444 !important; text-shadow: none !important; }
|
118
|
+
a, a:visited { color: #444 !important; text-decoration: underline; }
|
119
|
+
a:after { content: " (" attr(href) ")"; }
|
120
|
+
abbr:after { content: " (" attr(title) ")"; }
|
121
|
+
.ir a:after { content: ""; }
|
122
|
+
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
123
|
+
thead { display: table-header-group; }
|
124
|
+
tr, img { page-break-inside: avoid; }
|
125
|
+
@page { margin: 0.5cm; }
|
126
|
+
p, h2, h3 { orphans: 3; widows: 3; }
|
127
|
+
h2, h3{ page-break-after: avoid; }
|
128
|
+
}
|
129
|
+
|
Binary file
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
|
3
|
+
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
|
4
|
+
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
|
5
|
+
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
|
6
|
+
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
|
7
|
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
|
8
|
+
<head>
|
9
|
+
<meta charset="utf-8">
|
10
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
11
|
+
|
12
|
+
<title>Minescope</title>
|
13
|
+
|
14
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
15
|
+
<link rel="shortcut icon" href="favicon.ico">
|
16
|
+
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
17
|
+
|
18
|
+
<link rel="stylesheet" href="css/style.css?v=2">
|
19
|
+
<script src="js/libs/modernizr-1.6.min.js"></script>
|
20
|
+
</head>
|
21
|
+
|
22
|
+
<body>
|
23
|
+
|
24
|
+
<div id="container">
|
25
|
+
<header>
|
26
|
+
|
27
|
+
</header>
|
28
|
+
|
29
|
+
<div id="main">
|
30
|
+
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<footer>
|
34
|
+
|
35
|
+
</footer>
|
36
|
+
</div> <!-- end of #container -->
|
37
|
+
</body>
|
38
|
+
</html>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/*
|
2
|
+
* Modernizr v1.6
|
3
|
+
* http://www.modernizr.com
|
4
|
+
*
|
5
|
+
* Developed by:
|
6
|
+
* - Faruk Ates http://farukat.es/
|
7
|
+
* - Paul Irish http://paulirish.com/
|
8
|
+
*
|
9
|
+
* Copyright (c) 2009-2010
|
10
|
+
* Dual-licensed under the BSD or MIT licenses.
|
11
|
+
* http://www.modernizr.com/license/
|
12
|
+
*/
|
13
|
+
window.Modernizr=function(i,e,u){function s(a,b){return(""+a).indexOf(b)!==-1}function D(a,b){for(var c in a)if(j[a[c]]!==u&&(!b||b(a[c],E)))return true}function n(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1);c=(a+" "+F.join(c+" ")+c).split(" ");return!!D(c,b)}function S(){f.input=function(a){for(var b=0,c=a.length;b<c;b++)L[a[b]]=!!(a[b]in h);return L}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));f.inputtypes=function(a){for(var b=0,c,k=a.length;b<
|
14
|
+
k;b++){h.setAttribute("type",a[b]);if(c=h.type!=="text"){h.value=M;if(/^range$/.test(h.type)&&h.style.WebkitAppearance!==u){l.appendChild(h);c=e.defaultView;c=c.getComputedStyle&&c.getComputedStyle(h,null).WebkitAppearance!=="textfield"&&h.offsetHeight!==0;l.removeChild(h)}else/^(search|tel)$/.test(h.type)||(c=/^(url|email)$/.test(h.type)?h.checkValidity&&h.checkValidity()===false:h.value!=M)}N[a[b]]=!!c}return N}("search tel url email datetime date month week time datetime-local number range color".split(" "))}
|
15
|
+
var f={},l=e.documentElement,E=e.createElement("modernizr"),j=E.style,h=e.createElement("input"),M=":)",O=Object.prototype.toString,q=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),F="Webkit Moz O ms Khtml".split(" "),v={svg:"http://www.w3.org/2000/svg"},d={},N={},L={},P=[],w,Q=function(a){var b=document.createElement("style"),c=e.createElement("div");b.textContent=a+"{#modernizr{height:3px}}";(e.head||e.getElementsByTagName("head")[0]).appendChild(b);c.id="modernizr";l.appendChild(c);a=c.offsetHeight===
|
16
|
+
3;b.parentNode.removeChild(b);c.parentNode.removeChild(c);return!!a},o=function(){var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(b,c){c=c||document.createElement(a[b]||"div");b="on"+b;var k=b in c;if(!k){c.setAttribute||(c=document.createElement("div"));if(c.setAttribute&&c.removeAttribute){c.setAttribute(b,"");k=typeof c[b]=="function";if(typeof c[b]!="undefined")c[b]=u;c.removeAttribute(b)}}return k}}(),G={}.hasOwnProperty,R;R=
|
17
|
+
typeof G!=="undefined"&&typeof G.call!=="undefined"?function(a,b){return G.call(a,b)}:function(a,b){return b in a&&typeof a.constructor.prototype[b]==="undefined"};d.flexbox=function(){var a=e.createElement("div"),b=e.createElement("div");(function(k,g,r,x){g+=":";k.style.cssText=(g+q.join(r+";"+g)).slice(0,-g.length)+(x||"")})(a,"display","box","width:42px;padding:0;");b.style.cssText=q.join("box-flex:1;")+"width:10px;";a.appendChild(b);l.appendChild(a);var c=b.offsetWidth===42;a.removeChild(b);
|
18
|
+
l.removeChild(a);return c};d.canvas=function(){var a=e.createElement("canvas");return!!(a.getContext&&a.getContext("2d"))};d.canvastext=function(){return!!(f.canvas&&typeof e.createElement("canvas").getContext("2d").fillText=="function")};d.webgl=function(){var a=e.createElement("canvas");try{if(a.getContext("webgl"))return true}catch(b){}try{if(a.getContext("experimental-webgl"))return true}catch(c){}return false};d.touch=function(){return"ontouchstart"in i||Q("@media ("+q.join("touch-enabled),(")+
|
19
|
+
"modernizr)")};d.geolocation=function(){return!!navigator.geolocation};d.postmessage=function(){return!!i.postMessage};d.websqldatabase=function(){return!!i.openDatabase};d.indexedDB=function(){for(var a=-1,b=F.length;++a<b;){var c=F[a].toLowerCase();if(i[c+"_indexedDB"]||i[c+"IndexedDB"])return true}return false};d.hashchange=function(){return o("hashchange",i)&&(document.documentMode===u||document.documentMode>7)};d.history=function(){return!!(i.history&&history.pushState)};d.draganddrop=function(){return o("drag")&&
|
20
|
+
o("dragstart")&&o("dragenter")&&o("dragover")&&o("dragleave")&&o("dragend")&&o("drop")};d.websockets=function(){return"WebSocket"in i};d.rgba=function(){j.cssText="background-color:rgba(150,255,150,.5)";return s(j.backgroundColor,"rgba")};d.hsla=function(){j.cssText="background-color:hsla(120,40%,100%,.5)";return s(j.backgroundColor,"rgba")||s(j.backgroundColor,"hsla")};d.multiplebgs=function(){j.cssText="background:url(//:),url(//:),red url(//:)";return/(url\s*\(.*?){3}/.test(j.background)};d.backgroundsize=
|
21
|
+
function(){return n("backgroundSize")};d.borderimage=function(){return n("borderImage")};d.borderradius=function(){return n("borderRadius","",function(a){return s(a,"orderRadius")})};d.boxshadow=function(){return n("boxShadow")};d.textshadow=function(){return e.createElement("div").style.textShadow===""};d.opacity=function(){var a=q.join("opacity:.5;")+"";j.cssText=a;return s(j.opacity,"0.5")};d.cssanimations=function(){return n("animationName")};d.csscolumns=function(){return n("columnCount")};d.cssgradients=
|
22
|
+
function(){var a=("background-image:"+q.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+q.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);j.cssText=a;return s(j.backgroundImage,"gradient")};d.cssreflections=function(){return n("boxReflect")};d.csstransforms=function(){return!!D(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};d.csstransforms3d=function(){var a=!!D(["perspectiveProperty","WebkitPerspective",
|
23
|
+
"MozPerspective","OPerspective","msPerspective"]);if(a)a=Q("@media ("+q.join("transform-3d),(")+"modernizr)");return a};d.csstransitions=function(){return n("transitionProperty")};d.fontface=function(){var a,b=e.head||e.getElementsByTagName("head")[0]||l,c=e.createElement("style"),k=e.implementation||{hasFeature:function(){return false}};c.type="text/css";b.insertBefore(c,b.firstChild);a=c.sheet||c.styleSheet;b=k.hasFeature("CSS2","")?function(g){if(!(a&&g))return false;var r=false;try{a.insertRule(g,
|
24
|
+
0);r=!/unknown/i.test(a.cssRules[0].cssText);a.deleteRule(a.cssRules.length-1)}catch(x){}return r}:function(g){if(!(a&&g))return false;a.cssText=g;return a.cssText.length!==0&&!/unknown/i.test(a.cssText)&&a.cssText.replace(/\r+|\n+/g,"").indexOf(g.split(" ")[0])===0};f._fontfaceready=function(g){g(f.fontface)};return b('@font-face { font-family: "font"; src: "font.ttf"; }')};d.video=function(){var a=e.createElement("video"),b=!!a.canPlayType;if(b){b=new Boolean(b);b.ogg=a.canPlayType('video/ogg; codecs="theora"');
|
25
|
+
b.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"')||a.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"');b.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}return b};d.audio=function(){var a=e.createElement("audio"),b=!!a.canPlayType;if(b){b=new Boolean(b);b.ogg=a.canPlayType('audio/ogg; codecs="vorbis"');b.mp3=a.canPlayType("audio/mpeg;");b.wav=a.canPlayType('audio/wav; codecs="1"');b.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}return b};d.localstorage=function(){try{return"localStorage"in
|
26
|
+
i&&i.localStorage!==null}catch(a){return false}};d.sessionstorage=function(){try{return"sessionStorage"in i&&i.sessionStorage!==null}catch(a){return false}};d.webWorkers=function(){return!!i.Worker};d.applicationcache=function(){return!!i.applicationCache};d.svg=function(){return!!e.createElementNS&&!!e.createElementNS(v.svg,"svg").createSVGRect};d.inlinesvg=function(){var a=document.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==v.svg};d.smil=function(){return!!e.createElementNS&&
|
27
|
+
/SVG/.test(O.call(e.createElementNS(v.svg,"animate")))};d.svgclippaths=function(){return!!e.createElementNS&&/SVG/.test(O.call(e.createElementNS(v.svg,"clipPath")))};for(var H in d)if(R(d,H)){w=H.toLowerCase();f[w]=d[H]();P.push((f[w]?"":"no-")+w)}f.input||S();f.crosswindowmessaging=f.postmessage;f.historymanagement=f.history;f.addTest=function(a,b){a=a.toLowerCase();if(!f[a]){b=!!b();l.className+=" "+(b?"":"no-")+a;f[a]=b;return f}};j.cssText="";E=h=null;i.attachEvent&&function(){var a=e.createElement("div");
|
28
|
+
a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function c(p){for(var m=-1;++m<r;)p.createElement(g[m])}function k(p,m){for(var I=p.length,t=-1,y,J=[];++t<I;){y=p[t];m=y.media||m;J.push(k(y.imports,m));J.push(y.cssText)}return J.join("")}var g="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"),r=g.length,x=RegExp("<(/*)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)",
|
29
|
+
"gi"),T=RegExp("\\b(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)\\b(?!.*[;}])","gi"),z=b.createDocumentFragment(),A=b.documentElement,K=A.firstChild,B=b.createElement("style"),C=b.createElement("body");B.media="all";c(b);c(z);a.attachEvent("onbeforeprint",function(){for(var p=-1;++p<r;)for(var m=b.getElementsByTagName(g[p]),I=m.length,t=-1;++t<I;)if(m[t].className.indexOf("iepp_")<0)m[t].className+=" iepp_"+
|
30
|
+
g[p];K.insertBefore(B,K.firstChild);B.styleSheet.cssText=k(b.styleSheets,"all").replace(T,".iepp_$1");z.appendChild(b.body);A.appendChild(C);C.innerHTML=z.firstChild.innerHTML.replace(x,"<$1bdo")});a.attachEvent("onafterprint",function(){C.innerHTML="";A.removeChild(C);K.removeChild(B);A.appendChild(z.firstChild)})}(this,document);f._enableHTML5=true;f._version="1.6";l.className=l.className.replace(/\bno-js\b/,"")+" js";l.className+=" "+P.join(" ");return f}(this,this.document);
|
Binary file
|
@@ -0,0 +1,123 @@
|
|
1
|
+
require 'nbtfile'
|
2
|
+
require 'base64'
|
3
|
+
require 'json'
|
4
|
+
|
5
|
+
module Minescope
|
6
|
+
|
7
|
+
module Transcoder
|
8
|
+
include NBTFile::Tokens
|
9
|
+
extend self
|
10
|
+
|
11
|
+
class CompactPrinter
|
12
|
+
def item_separator ; "," end
|
13
|
+
def open_object ; "{" end
|
14
|
+
def indent_field ; "" end
|
15
|
+
def name_value_separator ; ":" end
|
16
|
+
def field_separator ; "," end
|
17
|
+
def close_object ; "}" end
|
18
|
+
end
|
19
|
+
|
20
|
+
class PrettyPrinter
|
21
|
+
def initialize
|
22
|
+
@indent = 0
|
23
|
+
end
|
24
|
+
|
25
|
+
def item_separator ; ", " end
|
26
|
+
|
27
|
+
def open_object
|
28
|
+
@indent += 1
|
29
|
+
"{\n"
|
30
|
+
end
|
31
|
+
|
32
|
+
def indent_field ; " " * @indent end
|
33
|
+
def name_value_separator ; ": " end
|
34
|
+
def field_separator ; ",\n" end
|
35
|
+
|
36
|
+
def close_object
|
37
|
+
@indent -= 1
|
38
|
+
"\n#{indent_field}}"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def transcode(io, options={})
|
43
|
+
tokens = NBTFile.enum_for(:tokenize, io)
|
44
|
+
|
45
|
+
if options[:prettyprint]
|
46
|
+
formatter = PrettyPrinter.new
|
47
|
+
else
|
48
|
+
formatter = CompactPrinter.new
|
49
|
+
end
|
50
|
+
|
51
|
+
y = []
|
52
|
+
y << "["
|
53
|
+
token = tokens.next # head token
|
54
|
+
y << token.name.to_json
|
55
|
+
y << formatter.item_separator
|
56
|
+
generate_compound(y, tokens, formatter)
|
57
|
+
y << "]"
|
58
|
+
|
59
|
+
y.join
|
60
|
+
end
|
61
|
+
|
62
|
+
private
|
63
|
+
def generate_compound(y, tokens, formatter)
|
64
|
+
y << formatter.open_object
|
65
|
+
|
66
|
+
first_member = true
|
67
|
+
loop do
|
68
|
+
token = tokens.next
|
69
|
+
break if token.instance_of? TAG_End
|
70
|
+
|
71
|
+
if first_member
|
72
|
+
first_member = false
|
73
|
+
else
|
74
|
+
y << formatter.field_separator
|
75
|
+
end
|
76
|
+
|
77
|
+
y << "#{formatter.indent_field}#{token.name.to_json}"
|
78
|
+
y << formatter.name_value_separator
|
79
|
+
generate_value(y, token, tokens, formatter)
|
80
|
+
end
|
81
|
+
|
82
|
+
y << formatter.close_object
|
83
|
+
end
|
84
|
+
|
85
|
+
def generate_list(y, tokens, formatter)
|
86
|
+
y << "["
|
87
|
+
|
88
|
+
first_member = true
|
89
|
+
loop do
|
90
|
+
token = tokens.next
|
91
|
+
break if token.instance_of? TAG_End
|
92
|
+
|
93
|
+
if first_member
|
94
|
+
first_member = false
|
95
|
+
else
|
96
|
+
y << formatter.item_separator
|
97
|
+
end
|
98
|
+
|
99
|
+
generate_value(y, token, tokens, formatter)
|
100
|
+
end
|
101
|
+
|
102
|
+
y << "]"
|
103
|
+
end
|
104
|
+
|
105
|
+
def generate_value(y, token, tokens, formatter)
|
106
|
+
case token
|
107
|
+
when TAG_Byte, TAG_Short, TAG_Int, TAG_Float, TAG_Double, TAG_String
|
108
|
+
y << token.value.to_json
|
109
|
+
when TAG_Long
|
110
|
+
y << token.value.to_s.to_json
|
111
|
+
when TAG_Byte_Array
|
112
|
+
y << Base64.strict_encode64(token.value).to_json
|
113
|
+
when TAG_List
|
114
|
+
generate_list(y, tokens, formatter)
|
115
|
+
when TAG_Compound
|
116
|
+
generate_compound(y, tokens, formatter)
|
117
|
+
else
|
118
|
+
raise RuntimeError, "Unexpected token #{token}"
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|