script to import worms maps (unix/linux only)
Tue, 2009-05-05 23:56
Hi all,
I just wrote a simple script to import worms' maps
you can download it from: http://pastie.org/471566 ,for example:
Quote:
wget http://pastie.org/471566.txt -O import_wmaps
chmod 755 import_wmaps
sudo mv import_wmaps /usr/local/bin/
import_wmaps /path/to/image.png MyMap
to convert lots of png files you can do:
Quote:
for i in *.png
do
base=`echo $i | cut -d. -f1`
mkdir -p "${base}"
import_wmaps "${i}" "${base}"
done
NOTE: it depends on imagemagick (sudo apt-get install imagemagick)
Can you post a screen shot please? Before I do this I would like to know how it looks like to have hedgehogs on Worms' map. Both games have different graphic style.
HTML = How To Meet the Ladies
Here is my Unofficial Manual for HW. Hope you like it. Still working on it. Don't worry. Will get it finished...Sometime in the future.
From what I understand (didn't test it) it just imports the map (i.e. where is land, where is sky?) and nothing more (uses Hedgewars' "eyes" theme).
I understand what it does. I just want to see how a character from HW looks on a Worms-font without poking my Ubuntu with scripts. I am a lazy bustard too, you know.
HTML = How To Meet the Ladies
Here is my Unofficial Manual for HW. Hope you like it. Still working on it. Don't worry. Will get it finished...Sometime in the future.
@rbaleksandar can you point me a map to import? there're lots of worms' maps with different graphic styles
The Lab map for example. Or the one with the bunch of mokeys. I like that map very much. Thanks for the reply btw.
HTML = How To Meet the Ladies
Here is my Unofficial Manual for HW. Hope you like it. Still working on it. Don't worry. Will get it finished...Sometime in the future.