3 # Created by Tyler "-z-" Mulligan to build the version number for Nexuiz
4 # in the menu. Released under the GPLv2
6 # Usage: pass a string to be converted to an image
12 # z = z0rz (just for fun :-P)
14 # build the image out of the string for the version
18 imagified=$(echo $version | sed 's/\(.\)/vfont_\1.tga /g' | sed 's/s/svn/g;s/_\./_dot/g;s/__/_nbsp/g;s/z/z0rz/g' )
20 convert $imagified +append TGA:"$f"
24 # place the image string on the big image
27 convert background_25.tga -page +259+41 TGA:"$1" -flatten "$2"/background.tga
28 convert background_ingame_25.tga -page +259+41 TGA:"$1" -flatten "$2"/background_ingame.tga
34 f=`build_version "$1"`