HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Tools for extracting object data and images.

04-05-2007, 03:47 PM#1
Moss
I got this idea to create a details section on my map website with all the info on heroes, units, items, abilities etc. and it would all be automatically extracted from my map so I wouldn't have to retype it all and it would be easy to keep it up to date.

So what I would want to do is create an slk file or something describing all the objects in my map and also export all the icons used by those objects, preferably preserving the file path structure I think. This would be done on a widgetized version of the map.

So are there tools to do what I'm asking? I think slk is what I want, but I looked at some of the slk files used by the Widgetizer and I couldn't make much sense of them.
04-05-2007, 05:58 PM#2
Vexorian
By correct following of the format specification you could even use php for this.
04-05-2007, 07:48 PM#3
MaD[Lion]
all u need is a console program to extract these data.
But who will make such programs?
04-06-2007, 12:54 AM#4
Moss
Quote:
Originally Posted by Vexorian
By correct following of the format specification you could even use php for this.

What are you saying? I was planning on using php and probably dumping the data into a database or something but how do I get the map data into a format php can read? Surely there are tools similar to what I need out there. Maybe there isn't a tool to automatically extract all button images used in a map but there are certainly programs that can read the object data in a map and there are mpq image extraction tools. So maybe somebody just needs to use some of those tools and make a meta-tool that does what I need.

Surely there is something out there that can break a map (object data) down into a text file. Doesn't the Widgetizer do something like this internally?

If some tools do need to be built I hope someone will see the usefullness of this and build it. I can do the php side code and I would share it with the public and then people could easily have websites that describe their maps in great, browseable detail.

EDIT: I have figured out how to view the txt and slk files from a Widgetized map, just have to open it with MPQMaster. I was trying to open slk's as a text file before instead of a spreadsheet. Looks like it will be quite a bit of work untangling the disparate text files into a database or webpage. I still am not sure the best way to collect all the icons I need from the map. Any ideas?

EDIT2: OK, those SLK and TXT files that Widgetizer makes will be a big pain to sort out. Is there a way to simply convert w3o files to csv or slk or something?