Jump to content

Extracting Images from a File


Warptweet

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.......

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.