BMP2SCM, w00t!

Status
Not open for further replies.

Vanguard

Member!
Joined
Jan 30, 2003
Messages
66
Reaction score
0
Website
gecko.gc.maricopa.edu
Yep, I want to keep it private now that I thought it over. I don't want to spawn a new fad of picture-only maps (like my Sexy Pics series). That'd be bad =P. Plus a program like this is too cool for unworthy people. :p
 

pmak

Member!
Joined
Feb 5, 2003
Messages
16
Reaction score
0
Website
Visit site
I wonder if minerals and vespene could somehow be incorporated as part of the map without ruining the image, so that a playable map from a BMP could be made. :)
 

BlueOwnz

Member!
Joined
Nov 11, 2003
Messages
15
Reaction score
0
Location
San Diego, Ca
Website
Visit site
k i found out how now ^^ and we can still get it off the clan twisted site just to tell yu vangaurd. the problem was i was too lazy to wait for the pic to load so it looked like the program froze
 

Vanguard

Member!
Joined
Jan 30, 2003
Messages
66
Reaction score
0
Website
gecko.gc.maricopa.edu
Hah, so it is. I guess my intentions of keeping it private has been destroyed. I might as well upload the better version of BMP2SCM that support all standard map dimensions. Expect to see that up on the site eventually.
 

pmak

Member!
Joined
Feb 5, 2003
Messages
16
Reaction score
0
Website
Visit site
Originally posted by Vanguard
Hah, so it is. I guess my intentions of keeping it private has been destroyed. I might as well upload the better version of BMP2SCM that support all standard map dimensions. Expect to see that up on the site eventually.
If I may make a few suggestions:

1. I ran the program with a 16-color image, but the code for "Removing duplicates" seems inefficient. I think you could do better by using qsort() (assuming you're programming in C) to sort the list of colors in place, then iterate through the sorted list ignoring duplicates and generate a new list; that should be much faster.

2. It would be nice if BMP2SCM could select the tile colors automatically based on how close they are to the colors in the image. It would probably do a better job than I am, since I'm clueless about what colors look best.
 

KillerMe

BattleForums Senior Member
Joined
Jul 29, 2003
Messages
1,200
Reaction score
0
Location
Phoenix, AZ
Website
www.alm.web1000.com
Vanguard, I've got about 5 Pms from people asking me for BMP2SCM, so I think you should just release it.
(Even though i haven't got it to work)
 

Vanguard

Member!
Joined
Jan 30, 2003
Messages
66
Reaction score
0
Website
gecko.gc.maricopa.edu
Originally posted by pmak
If I may make a few suggestions:

1. I ran the program with a 16-color image, but the code for "Removing duplicates" seems inefficient. I think you could do better by using qsort() (assuming you're programming in C) to sort the list of colors in place, then iterate through the sorted list ignoring duplicates and generate a new list; that should be much faster.

2. It would be nice if BMP2SCM could select the tile colors automatically based on how close they are to the colors in the image. It would probably do a better job than I am, since I'm clueless about what colors look best.
Nice suggestions. I was thinking about doing the automatic color reducing thing, but it looks horrible without dithering, and that's beyond my skill-level. As for the first suggestion, I'm not using C++, but I can still do something like that.

For those who want the newer, better version of BMP2SCM, here's BMP2SCM v1.0P (P for private, since it used to be private...) http://gecko.gc.maricopa.edu/~kaprice/bmp2scm10p.zip
 
J

Jonnyfizzle

how do you kno wat number each tile is in staredit? i hate 2 sound dumb but i cant figure it out =\
 

pmak

Member!
Joined
Feb 5, 2003
Messages
16
Reaction score
0
Website
Visit site
Vanguard, perhaps you could post a map with a cool picture in it, to show the possibilities.
I have this one, from the "Sexy Pics" series (contains nudity). I did not make it (my attempts so far at making picture-maps turned out horrible).

http://mint.aaanime.net/sc/weird_map.jpg
http://mint.aaanime.net/sc/weird_map.scx

how do you kno wat number each tile is in staredit?
I couldn't find any way in StarEdit or StarForge. I had to use GUEdit, but GUEdit is written in Java and runs very very slowly (even on a computer that can play Starcraft fine).
 

KillerMe

BattleForums Senior Member
Joined
Jul 29, 2003
Messages
1,200
Reaction score
0
Location
Phoenix, AZ
Website
www.alm.web1000.com
Vanguard, do you have AIM? Maybe you can help me through that? So you have to sort out every individual tile and place it on the map, and it shows up on the minimap? I'm confused!

AIM SN: Gamechampaz

EDIT: I tried it, and the picture comes up all black (instead of with colors).
 

dbo_zan

Member
Joined
Dec 30, 2003
Messages
10
Reaction score
0
Ya I downloaded the program and when I opend it the splash screen came up and then it siad it couldn't find OCXDT32.OCX:angry Or somthing like that Wat happining???
 
J

Jonnyfizzle

when i dont have a .ocx or .dll file or sumthing, i google it! just go to google and type in the name and just run a search on it. o yea and i figured out how 2 get the tile number. u can either use the very slow-running GUEdit, or u can go into starforge. open the tile palatte, and look at the top of the screen. it should give u 2 numbers, like 10-2 or sumthing. multiply the first number by 16 and add the second number. in this example, it should b 162. (10x16)+2=162 (i think). so yea there ya go if n e one else was having problems. P.S. I got this from the old version of SCM2BMP in the help part wen u open it up. u can get the old one from http://www.clan-twisted.com if u need n e help. open the exe and just click on help.
 
J

Jonnyfizzle

and hey are u sure thats the right name? cuz i dont have that file and it doesnt give me that error
 

pLisKeN-TLoC-

Member
Joined
Jan 19, 2004
Messages
9
Reaction score
0
Website
Visit site
Jonnyfizzle... Or anyone... I still dont get it really... I have SF... But when I go to the terrain pallete there is no number right there at top... But when you click on a tile piece there is... Which do I click on to see what the "TILE" is??? And how would I do it with GUEdit???

Thanks
 
J

Jonnyfizzle

ok pliskin look. wen u go into starforge, and open a map, it starts out on unit layer up near the top. change that 2 terrain layer. then where u c all the little tile things, the word "Palette" should b sumwhere under there. click that. then click on watever tile u want and at the top of the palette window, there should b a number like 5-4 or something. in this case, if the tile number was that, u would multiply 5 by 16 and add 4. 5X16+4. u multiply the first number by 16 and add the second number. then u put this number in place of a color on the list in BMP2SCM. if u need n e thing else, just post it. (im not an expert or n e thing, but ive gotten it 2 work)
 

NightReaper

Member!
Joined
Dec 18, 2002
Messages
128
Reaction score
0
Location
Timmins, Ontario
Wow that program works well in matching the pictures with the tiles. It's pretty cool to see what people are doing now adays with this kinda stuff. And i remember when the emerald patch was the big thing and placing buildings on water or instant ups.

Oops, off topic.
 
Status
Not open for further replies.

New threads

Top