I'm trying to create a new region from greyscale in SC4M
I have used this region before, but now I'm trying to use a config.bmp that I used.
https://dl-web.dropbox.com/get/config.bmp?w=60f3d7f2 is a link to the config.bmp I'm using
When I run, I get the error in the log
Traceback (most recent call last):
File "SC4MapApp.pyo", line 331, in CreateRgn
File "SC4MapApp.pyo", line 521, in CreateRgnFromGrey
File "rgnReader.pyo", line 585, in __init__
File "rgnReader.pyo", line 560, in WorkTheconfig
File "ImageDraw.pyo", line 245, in rectangle
File "ImageDraw.pyo", line 148, in _getink
File "ImageColor.pyo", line 100, in getcolor
File "ImageColor.pyo", line 96, in getrgb
ValueError: unknown color specifier: 'C040FF'
Seems to be finding a non RGB color in my bmp but I can't find one.
Any ideas?
Are you sure that your config is the right size? After that I would use a third party program to make a config of all the same color. Tryhttp://members.shaw.ca/scracc/ (http://members.shaw.ca/scracc/). This is program has worked wonders for me, as sometimes region making can be a three program deal. This program will also tell you if your grayscale is somehow the wrong size. Good luck
Yeah I'm pretty sure my config.bmp is the right size. It's 69x45, and my image is 4417x2881. It doesn't complain when I give any other 69x45 BMPs.
I think I have that scracc utility and will give that a whirl if nobody else has any other suggestions.
Did you download the SC4Mapper patch ? I think I've fixed this kind of error in the patch
http://www.sc4devotion.com/csxlex/lex_filedesc.php?lotGET=1963
Thanks - the patch worked :thumbsup: