Old 06-01-2007, 09:54 PM   #1 (permalink)
Nitto
Bdubhax0r
Senior Member
Retired Staff Member

Blessed
 
Nitto's Avatar
 
Join Date: May 2005
Location: At home
Posts: 2,094
Nitto is a name known to allNitto is a name known to allNitto is a name known to allNitto is a name known to allNitto is a name known to all
Send a message via AIM to Nitto Send a message via MSN to Nitto Send a message via Skype™ to Nitto
Default [How-To]WinMPQ - Opening, Creating, and Embedding in WinMPQ

Utility: WinMPQ v1.64
Required files:
Visual Basic 4 runtime files
Runtime file pack 3
Created by: ShadowFlare
Written by: Trans_Am77

WinMPQ is the building block of modding Starcraft, Warcraft, and Diablo. All 3 of those games use a file type called .mpq (Stardat.mpq/Broodat.mpq). .mpq files contain all the information that SC displays on your screen and through your speakers. It is a pretty powerful tool that is a MUST for all modders.

Step 1: Getting to know WinMPQ...
WMPQ is a pretty complex program. It has many functions that will help you in making a mod. One of theses is the MPQ embed function. It packs the MPQ files in to a user-selected .exe (i.e. Starcraft.exe).

Step 2: What can it do?

Step 2.1: Opening .mpq files...
1. Click either File>Open, Ctrl-O, or the 'Open' button on the main form.

2. When the browse box opens up, location the starcraft directory.



3. Locate the file you want to view/modify, high light it, then drag it to the folder you want it in or click MPQ>Extract, Ctrl-E, or the 'Extract' button located on the main form.



Step 2.2: Making a new MPQ file...
1. Click either File>New, Ctrl-N, or the 'New' button on the main form. When the browse boxes opens, locate the directory you want to save to and save it. The file will NOT show up in the directory until a file is added to it.



2. You should now have this:



3. To add files you can either drag the file on to the main form or click MPQ>Add, Ctrl-A, or the 'Add' button on the main form. There is also a 'Add folder' button, but we will get in to that later. When you add the file, a box will come up and ask for the folder name. This is CRUCIAL that you get the folder name right or the mod will not work! The folder name is the word before the file name (xxx/fligy.dat).



Then you'll get this:



Note: I added the 'arr/'. It will not auto add it for you, you must add it yourself.

4. congratulations! You've made your first .mpq file! You're now well on your way to becoming a Starcraft modder.



Step 2.3 Embedding a .mpq into a application(.exe)...
1. Click Tools>MPQ Embedder.

2. Click File>Open. You'll get this if there isn't a .mpq already embedded into it.



3. Then click 'Add' and locate the directory that your .mpq file is located in and select it. Once you have selected it, depending on size, it will load and your application will be ready for saveing.



4. Now click 'Save' and you're good to go! To reverse this process, simple click File>Open and click the 'Remove' button.

Step 3: Adding list files...
1. List files are the key ingredient in using WinMPQ. Without it, all the files would say 'Unknown'. First locate UED77's list file. (Uploaded below...). Now click on Options located on the main form.

2. A new form will open. Next to 'General', click the tab that says 'File Lists'. Then click 'Add List File'.



3. When the browse box opens, locate the directory you saved it in and click 'Open'. when it is all done, click 'Ok' and you will now be able to view Stardat.mpq without 'Unknown'!

Note: You have to save the text file in one spot and not move it or WinMPQ will loose track of it.

If you have anymore questions feel free to ask
Attached Files
File Type: txt UED-BwData4.txt (192.1 KB, 165 views)

Last edited by Nitto : 06-01-2007 at 10:23 PM.
Nitto 15 0FF11|\|3   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links


Old 06-01-2007, 10:30 PM   #2 (permalink)
Otaku

I'm in ur user profile changing ur name back
Senior Member
Gold Member

Messiah
 
Otaku's Avatar
 
Join Date: Mar 2005
Location: Austin, TX
Posts: 9,714
Otaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond repute
Send a message via AIM to Otaku
Default

Nice

Nice default background too =p
__________________
Otaku 15 0FF11|\|3   Reply With Quote

Old 06-01-2007, 10:33 PM   #3 (permalink)
Nitto
Bdubhax0r
Senior Member
Retired Staff Member

Blessed
 
Nitto's Avatar
 
Join Date: May 2005
Location: At home
Posts: 2,094
Nitto is a name known to allNitto is a name known to allNitto is a name known to allNitto is a name known to allNitto is a name known to all
Send a message via AIM to Nitto Send a message via MSN to Nitto Send a message via Skype™ to Nitto
Default

Just reformatted and haven't got around to changing it yet.
Nitto 15 0FF11|\|3   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 04:46 PM.


vBulletin style developed by Transverse Styles

Powered by vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
Copyright © 2004-2008 BWHacksAd Management by RedTyger