ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/arch/spell/Rune/genrunes
Revision: 1.9
Committed: Mon Sep 3 01:27:41 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-2_4, rel-2_5, rel-2_2, rel-2_32, rel-2_43, rel-2_42, rel-2_41
Changes since 1.8: +25 -25 lines
Log Message:
yay, we forgot the runes

File Contents

# Content
1 #!/bin/bash
2
3 # simple script to replace old runes by higher quality graphics (schmorp@schmorp.de)
4 # this is put into the public domain
5
6 (
7 while read file text color font; do
8 font=$(fc-list "$font" file | tail -1 | sed -e 's/..$//')
9 convert -size 64x64 xc:none -set hinting on \
10 -font "$font" -pointsize 64 -fill "$color" -gravity center -draw "text 0,0 \"$text\"" "$file"
11 pngx "$file" >/dev/null
12 done
13 ) <<EOF
14 rune_frost.x11.64x64.png ⁎ lightblue Everson Mono Unicode
15 rune_sp_res.x11.64x64.png ⁑ green Everson Mono Unicode
16 drain_magic.x11.64x64.png ⁑ gray70 Everson Mono Unicode
17 rune_transfer.x11.64x64.png ⁑ gray70 Everson Mono Unicode
18 rune_frost.x11.64x64.png ⁎ lightblue Everson Mono Unicode
19 rune_summon_air.x11.64x64.png あ white Kochi Mincho
20 rune_summon.x11.64x64.png あ black Kochi Mincho
21 rune_sum_water.x11.64x64.png あ blue Kochi Mincho
22 rune_sum_fire.x11.64x64.png あ red Kochi Mincho
23 rune_sum_earth.x11.64x64.png あ brown Kochi Mincho
24 rune_shock.x11.64x64.png ア yellow Kochi Mincho
25 rune_pcloud.x11.64x64.png す seagreen Kochi Mincho
26 rune_paralysis.x11.64x64.png せ yellow Kochi Mincho
27 rune_lightning.x11.64x64.png ウ yellow Kochi Mincho
28 rune_heal.x11.64x64.png † lightgreen Kochi Mincho
29 rune_fireball.x11.64x64.png ス red Kochi Mincho
30 rune_fire.x11.64x64.png ユ red Kochi Mincho
31 rune_death.x11.64x64.png ゆ black Kochi Mincho
32 rune_confusion.x11.64x64.png そ black Kochi Mincho
33 rune_bomb.x11.64x64.png ぶ red Kochi Mincho
34 rune_blast.x11.64x64.png ふ orange Kochi Mincho
35 rune_antimagic.x11.64x64.png ※ grey40 Kochi Mincho
36 glyph.x11.64x64.png 文 orange Kochi Mincho
37 generic_rune.x11.64x64.png を black Kochi Mincho
38 rune_blightning.x11.64x64.png ケ yellow Kochi Mincho
39 EOF
40