Warptweet Posted December 29, 2007 Share Posted December 29, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/83565-extracting-images-from-a-file/ Share on other sites More sharing options...
Warptweet Posted December 30, 2007 Author Share Posted December 30, 2007 Bump I went to bed and no replies Please people, even the slightest hint on how PHP can simulate the extracting of a file. There are MPQ viewers out there. I'm positive somebody has created a PHP version of it. Quote Link to comment https://forums.phpfreaks.com/topic/83565-extracting-images-from-a-file/#findComment-425716 Share on other sites More sharing options...
redarrow Posted December 30, 2007 Share Posted December 30, 2007 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....... Quote Link to comment https://forums.phpfreaks.com/topic/83565-extracting-images-from-a-file/#findComment-425720 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.