Skip to content

Commit e2dfb9c

Browse files
committed
first commit
0 parents  commit e2dfb9c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1247
-0
lines changed

ansi_escape.pl

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env perl
2+
while(<>){
3+
s{ }{ }g;
4+
s{\d}{[4$&m }g;
5+
print
6+
}

bard_stand.dat

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
7777000000277777
2+
7770000000227722
3+
7700000000027227
4+
7700300000022777
5+
7702220020027777
6+
7703333000007777
7+
7700030000000777
8+
7003033000000077
9+
0003033030000007
10+
0023333330000000
11+
0200333300222200
12+
7220033022220027
13+
7722000222000007
14+
3302222203303337
15+
3330222033300337
16+
3337000033300377
17+
7777000300077777
18+
7777073337077777
19+
7777773337777777
20+
7777222222227777
21+
7777700000077777
22+
7777720000777777
23+
7777222002777777

bard_stand.gif

611 Bytes
Loading

bard_stand.txt

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
                
2+
                
3+
                
4+
                
5+
                
6+
                
7+
                
8+
                
9+
                
10+
                
11+
                
12+
                
13+
                
14+
                
15+
                
16+
                
17+
                
18+
                
19+
                
20+
                
21+
                
22+
                
23+
                

black_stand.dat

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
77777777777771777
2+
77777777771110777
3+
77777777711107777
4+
77777771111007777
5+
77777111100077777
6+
11111110000077777
7+
00001111000077777
8+
70000001110777777
9+
77000000000077777
10+
77010000000007777
11+
77010010000000777
12+
74000010000477777
13+
40000000000047777
14+
44400044444447777
15+
04444444000407777
16+
10444440044447777
17+
10444401104447777
18+
04404401104447777
19+
40440040044447777
20+
40444440044447777
21+
44044440044447777
22+
44404444044447777
23+
44440044404404777
24+
44444444440044444

black_stand.gif

553 Bytes
Loading

black_stand.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
                 
2+
                 
3+
                 
4+
                 
5+
                 
6+
                 
7+
                 
8+
                 
9+
                 
10+
                 
11+
                 
12+
                 
13+
                 
14+
                 
15+
                 
16+
                 
17+
                 
18+
                 
19+
                 
20+
                 
21+
                 
22+
                 
23+
                 
24+
                 

convert_gif2ansi.sh

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/bash
2+
3+
main () {
4+
for F_NAME in "$@"
5+
do
6+
if ! [ -e $F_NAME ] ; then
7+
continue
8+
fi
9+
F_BASENAME=$(basename $F_NAME .gif)
10+
CMD=png2ansi2.py
11+
case $F_BASENAME in
12+
"monk_stand"| "maken_stand")
13+
CMD=png2ansi3.py
14+
;;
15+
"viking_stand" )
16+
CMD=png2ansi4.py
17+
;;
18+
*)
19+
;;
20+
esac
21+
python $CMD $F_NAME | perl -nle 'next if $i++ % 3; s/(.){3}/\1/g; print' > $F_BASENAME.dat
22+
perl ./ansi_escape.pl $F_BASENAME.dat
23+
perl ./ansi_escape.pl $F_BASENAME.dat > $F_BASENAME.txt
24+
done
25+
}
26+
main "$@"

dnight_stand.dat

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
7777777741177777
2+
7777117741117444
3+
7771111100104477
4+
7711111110044777
5+
7711111111044477
6+
7711000000430171
7+
7710000110401117
8+
7770101111000077
9+
7770101110000077
10+
4101111000114447
11+
4101110001140004
12+
7401100104401104
13+
7000000110011117
14+
7101101000010017
15+
1110111011001107
16+
1110000011101117
17+
1110140011101117
18+
7777400100077777
19+
7777770111077777
20+
7777770111077777
21+
7777744444447777
22+
7777777111117777
23+
7777777111177777
24+
7777771111177777

dnight_stand.gif

673 Bytes
Loading

dnight_stand.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
                
2+
                
3+
                
4+
                
5+
                
6+
                
7+
                
8+
                
9+
                
10+
                
11+
                
12+
                
13+
                
14+
                
15+
                
16+
                
17+
                
18+
                
19+
                
20+
                
21+
                
22+
                
23+
                
24+
                

doushi_stand.dat

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
7777777777777777
2+
7777777777770777
3+
7111177777001777
4+
7717777770111777
5+
7777000077711777
6+
7700111107771777
7+
7001111110777777
8+
7010311111077777
9+
7001003003107777
10+
7700303300307777
11+
7770303303307777
12+
7770333337077777
13+
7777033331777777
14+
7770100111777777
15+
7117107101177777
16+
0011771033011777
17+
3301101033011077
18+
3307107101110007
19+
7101771110000007
20+
7001101111110007
21+
7000000333000007
22+
7700011111110077
23+
7777701111107777
24+
7777711111177777

doushi_stand.gif

658 Bytes
Loading

doushi_stand.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
                
2+
                
3+
                
4+
                
5+
                
6+
                
7+
                
8+
                
9+
                
10+
                
11+
                
12+
                
13+
                
14+
                
15+
                
16+
                
17+
                
18+
                
19+
                
20+
                
21+
                
22+
                
23+
                
24+
                

fighter_stand.dat

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
4414114111111144
2+
4141111111114444
3+
4111111111111114
4+
4411111111111144
5+
4111311311111111
6+
4141310011111114
7+
4441000311331444
8+
4444303331331144
9+
4444303333000044
10+
4110337330117774
11+
7110333301170007
12+
4771033007703307
13+
4101000110033330
14+
3301101133011333
15+
3330111133311133
16+
3330077033311134
17+
4440011100004444
18+
4444441033014444
19+
4444440333004444
20+
4444411111114444
21+
4444441111114444
22+
4444447111144444
23+
4444477711744444

fighter_stand.gif

560 Bytes
Loading

0 commit comments

Comments
 (0)