SwampWorm
9 Sep 2008, 21:16
I've started programming this neat utility for converting bmps to usable Worms 2 maps. It is still in big alpha version, but you can already see usable results. :p
Usage:
Extract files to your Worms 2 Data folder.
Open command prompt and position yourself to that folder.
Run utility by providing name of bmp, eg. "bmp2land swamp.bmp".
It will generate land.dat file which you must mark Read-Only so Worms don't overwrite it with their generated map.
Start game as usual and have fun.
I've provided example bmp which is ready for use.
Some things to be aware of:
Utility only works with 8-bit 1920x696 bmps. Out of 256 colors only first 96 are used with color index 0 as transparent so make your images accordingly. Color index 255 (last color) is special in a way that it is used to mark object positions in image. There must be exactly 30 pixels of that color index in image transparent area. Each pixel represents one object position (worm, mine, etc.).
Bug reports, critics and suggestions are welcomed.
Usage:
Extract files to your Worms 2 Data folder.
Open command prompt and position yourself to that folder.
Run utility by providing name of bmp, eg. "bmp2land swamp.bmp".
It will generate land.dat file which you must mark Read-Only so Worms don't overwrite it with their generated map.
Start game as usual and have fun.
I've provided example bmp which is ready for use.
Some things to be aware of:
Utility only works with 8-bit 1920x696 bmps. Out of 256 colors only first 96 are used with color index 0 as transparent so make your images accordingly. Color index 255 (last color) is special in a way that it is used to mark object positions in image. There must be exactly 30 pixels of that color index in image transparent area. Each pixel represents one object position (worm, mine, etc.).
Bug reports, critics and suggestions are welcomed.