HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Extraction of Map Information via PHP / Perl ?

05-23-2002, 08:16 PM#1
Guest
According to a few people its possible.

However, I have not the slightest clue on how to do it. Anyone have any ideas/input on it?
05-23-2002, 10:20 PM#2
DJBnJack
I think it is possible, as php and perl can open files and such... but it would be damn hard I guess!

Why not do it with c++ or vb - that's faster and easier...

Greetz,
DJBnJack
05-24-2002, 09:33 AM#3
zepir
I also think it's possible but what I suggest would be that your script runs a command-line program that dumps all the map information in a text file and then process that text file to display it in a web page. If you want it to run on windows, it's easy to do but if you want to run it under linux or whatever, it's gonna be hard. It's hard because you're gonna need to read Blizzard's MPQ format (.w3m format = .mpq format) and all the softs that do it right now run under windows and often need Blizzard DLLs.
Once you're able to extract files from a map file (ie.: files from the mpq), you just need to know the files format to process them.

All you need to know about these files is explained there:
http://war3pub.net/forums/viewtopic.php?t=2028

If you need information about MoPaQs, go there:
http://www.campaigncreations.com/sta...opaq/index.htm

Have fun! ;)

-=Zépir oo