Staredit Network

Staredit Network -> StarCraft Editing Related -> Global Map Database
Report, edit, etc...Posted by synd][cate on 2006-11-27 at 03:52:48
This project is mainly spearheaded by Darkzerox, I have just taken interest in the project because it's related to some work I did previously but never finished. But working together with zero I think I might have the attention span and motivation to create something very cool together.

So his idea is to create a global map database of all the maps known to starcraft. He has already finished interfacing with the linux SCX/SCM extractor and created a CHK file interpreter. A working demo of this is available here:

(Accepts .scx/.scm files)
http://mnbayazit.syndsys.net/index.php

Alpha version of Database here:
http://mnbayazit.syndsys.net/display.php

----
A required component of our database will be a PHP minimap render script which I am mostly finished now.

edit: Just finished an online working version, here:

http://int64.syndsys.net/mapimagegen.php

Here is a few demo map images generated from the script.. the script is capable of producing full sized 1:1 image maps which is very cool!!

Full Render - (4)Lost Temple.scm (3.1mb)
Thumbnail - (4)Lost Temple.scm (43KB)

Full Render - (8)Hellfire.scm (5mb)
Thumbnail - (8)Hellfire.scm (40KB)

Full Render - (8)Wheels of War.scm (5.9mb)
Thumbnail- (8)Wheels of War.scm (42KB)

---

Finally other plans for this project include recreating my old battle.net game tracker that records all the games currently being played on battle.net. Using the map database we can track the creator of the top maps being played along with a bunch of other neat statistics we haven't thought up yet.
Report, edit, etc...Posted by Moogle on 2006-11-27 at 06:35:29
a 5mb render, gee i feel sorry for 56k user on that. So far only upload feature and no search?
Report, edit, etc...Posted by darkzerox on 2006-11-27 at 19:27:59
QUOTE(Moogle @ Nov 27 2006, 03:35 AM)
a 5mb render, gee i feel sorry for 56k user on that. So far only upload feature and no search?
[right][snapback]595505[/snapback][/right]


http://mnbayazit.syndsys.net/display.php

no searching yet, but.. it does show a list of maps. I've got finals right now, so I'll work on the user interface later.
Report, edit, etc...Posted by synd][cate on 2006-11-27 at 21:40:42
Here is a working version of the map renderer:

http://int64.syndsys.net/mapimagegen.php

There is a few bugs to be worked out...
- some tilesets there are missing tiles that appear as black boxes.
- some maps will give an error message "Could not find scenario.chk"

Report, edit, etc...Posted by dumbducky on 2006-11-27 at 21:49:10
I'm guessing that the render only shows terrain, because I don't see any units.
Report, edit, etc...Posted by synd][cate on 2006-11-27 at 21:50:35
This is just the start, eventually it will be able to show doodads, units, locations.. also you will be able to specify what you want it to show.
Report, edit, etc...Posted by IsaT on 2006-11-27 at 21:53:47
Fatal error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 1147491393 bytes) in /home/int64/web/includes/sxphp_main.class.php on line 134

25% size and 100 quality. I did it again and no error?

VERY good programming biggrin.gif
(No, that wasn't sarcasm towards the above error.)
Report, edit, etc...Posted by dumbducky on 2006-11-27 at 21:57:01
Wouldn't doodads and units sort of ruin RPG style maps? It would show where everything is, like secrets and such. I say you allow the uploader to choose what they want to be shown.
Report, edit, etc...Posted by darkzerox on 2006-11-28 at 01:17:36
QUOTE(synd][cate @ Nov 27 2006, 06:50 PM)
This is just the start, eventually it will be able to show doodads, units, locations.. also you will be able to specify what you want it to show.
[right][snapback]595899[/snapback][/right]


locations? you're really going all out aren't you? smile.gif
would be nice if you could toggle them on and off in that case. maybe just an image swap...

QUOTE(CaptainCrunch @ Nov 27 2006, 06:57 PM)
Wouldn't doodads and units sort of ruin RPG style maps?  It would show where everything is, like secrets and such.  I say you allow the uploader to choose what they want to be shown.
[right][snapback]595908[/snapback][/right]


alternatively.. we could allow the uploader to choose one of "melee","rpg","madness","defense","bound","survival" or whatever else you can think of... and disable the map gen for RPG's.



now a question to everyone... my map reader/uploader thingy tries to pick out the map author. it does a pretty good job, but it's not perfect. I figure I could have it automatically fill a text box with the suspected authors, and allow the uploader to modify it if it's incorrect.. but then how easy would it be for the uploader to change it to his own name?.. or maybe that's a good thing. I didn't even put my name in a bunch of my maps. so what should I do?
Report, edit, etc...Posted by Zeratul_101 on 2006-11-28 at 02:11:08
leave it unknown seems to be the best bet.

i like ducky's idea, for letting people choose what they want to see, although the author should still have the right to disable the options for his map.
Report, edit, etc...Posted by darkzerox on 2006-11-28 at 19:58:21
QUOTE(Zeratul_101 @ Nov 27 2006, 11:11 PM)
leave it unknown seems to be the best bet.

i like ducky's idea, for letting people choose what they want to see, although the author should still have the right to disable the options for his map.
[right][snapback]596023[/snapback][/right]


see... therein lies the problem. who says the uploader is the map author? someone could upload an RPG and not uncheck the map gen option...

and i really don't like the idea of leaving it unknown.. would be nice to be able to search for maps by an author you like.
Report, edit, etc...Posted by Zeratul_101 on 2006-11-29 at 01:54:21
personally, i don't think its such a big deal showing 'secrets' on an RPG map, its only ruining that person's fun.

as for the author issue, no solution pinch.gif
Report, edit, etc...Posted by darkzerox on 2006-12-06 at 17:40:12
QUOTE(Zeratul_101 @ Nov 28 2006, 10:54 PM)
personally, i don't think its such a big deal showing 'secrets' on an RPG map, its only ruining that person's fun.

as for the author issue, no solution pinch.gif
[right][snapback]596539[/snapback][/right]


no solution?!? unacceptable!
i guess maybe i'll leave the author uneditable, and i'll have to make my author-grabber a little more...successful. but right now it seems to work on like 95% of maps tongue.gif
Report, edit, etc...Posted by Wing-of-no-Wing on 2006-12-06 at 18:37:09
QUOTE(darkzerox @ Dec 6 2006, 05:40 PM)
no solution?!? unacceptable!
i guess maybe i'll leave the author uneditable, and i'll have to make my author-grabber a little more...successful. but right now it seems to work on like 95% of maps tongue.gif
[right][snapback]600428[/snapback][/right]


You're going to have a hell of a time making an author-grabber that's reliable enough to use for an automated system, since even if you manage to handle things like using terrain to sign the map, some people don't use their exact name on the map, and others might not put their name on it at all (but still not want people revealing all of their map's secrets).
Report, edit, etc...Posted by synd][cate on 2006-12-11 at 11:54:32
QUOTE(Wing-of-no-Wing @ Dec 6 2006, 06:37 PM)
You're going to have a hell of a time making an author-grabber that's reliable enough to use for an automated system, since even if you manage to handle things like using terrain to sign the map, some people don't use their exact name on the map, and others might not put their name on it at all (but still not want people revealing all of their map's secrets).
[right][snapback]600448[/snapback][/right]


That's their fault.. people who used sane methods to credit themselves will get credit. Also a map is like a movie IMO, it's the persons choice whether or not they want to spoil it for themselves and forward to the end. Lots of people enjoy things better if they able to hack their way through a game. If it's not ruining other peoples gameplay, go nuts.

edit: Yes lots of fake / edited maps will make it into the database but thats good because it will also be a good database to expose the thieves and the original authors.
Next Page (1)