Jump to content

Recommended Posts

www.epicwar.com

A site where people upload their Warcraft 3 maps.

 

Theres only one field in the submission form, and thats where you upload the map.

Everything else is totally automated, epicwar.com extracts the .w3x file and finds the creator name, title, and most of all, the minimap icon.

 

I'm aware that .w3x files can be extracted into it's multiple parts using a program I found off google. One of these files includes the minimap icon file, and the informatin such as the creators name and title etc. Using PHP, does anyone have even a slight suggestion on how they accomplish this extraction? IS there a simple function to extract everything? Is there a mod of function that is free to download made in PHP that allows me to do this?

 

EDIT: Apparently an MPQ editor can open the files containing this information inside a .w3x file. Are there any creations in PHP that manipulate MPQ extraction?

ANY help is greatly appreciated.

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/83565-extracting-images-from-a-file/
Share on other sites

The maps were not made easly but possable with a 3rd party program.......

 

1. get a program that inports a image and copies the img and resize image...(via url)

 

2.exec the program via exec() with the new inport program using the inport commands

via the php exec()....

 

4.use the maps name as the link, location via there ip, size image,ect ect.

 

5. update the database with relevent info.....

 

6. nice displaying page with pagintion.....

 

7. offer users to upload there map....

 

8. done

 

just really need a good free shell program your be amazed what else can be done.......

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.