Staredit Network > Forums > Modding Assistance > Topic: How to Write a Starcraft MOD
How to Write a Starcraft MOD
Aug 31 2007, 4:20 am
By: DT_Battlekruser
Pages: 1 2 3 >
 

Aug 31 2007, 4:20 am DT_Battlekruser Post #1



DISCLAIMER: This tutorial was recovered from the Staredit Network v4.1 archive. It is relatively out of date and now covers only the most basic modding tools. At the time of its writing, this tutorial covered all of the commonly used modding programs, but in the years since, many more advanced modders have come around, and the use of more complex modding programs is now standard. This tutorial is now intended as a first step for total beginners in the world of modding, and is intended for posterity.

Images and some links no longer work due to the loss of attachments and DLDB files from v4.1. Some images may be replaced at an uncertain point in the future, but no guarantees.

Text formatting has now been completely restored, and the infested battlecruiser GRP is online again. Also, some spelling mistakes never corrected have been fixed.

Also, the tutorial has been edited slightly to be current in its acknowledgments of being out of date. ;)

--DT_Battlekruser
September 9, 2007




----------


Ye Olde Moddinge Tutorial
by DT_Battlekruser

Commissioned for the new Staredit Network Modding Department
First version written May 24, 2005
Last modified or updated: September 2007



TABLE OF CONTENTS:

I. F.A.Q
II. Getting Started
___ A. What do I need?
___ B. What are these strange and wondrous things?
___ C. Where can I find these strange and wondrous things?
III. Your first MOD in 11 easy steps
IV. Another foot in the door --- Rocket Tank
V. A Visual Facelift --- Implementing TBLPad
VI. X-mas Vultures --- Fun with RetroGRP
VII. 2+2+2 = ...6? --- Putting it all together
VIII. Ultimate Eye --- First steps with StarGraft and MemGraft

I. FAQ

What is a MOD?
A MOD or TC (Total Conversion) is a way of changing the Starcraft base data files (StarDat and BrooDat.mpq) to change almost any aspect of the game.

How do I run a MOD?
First, you must have the patched .mpq from the person that had the mod. You must also have the program MPQDraft101 (see IIc). Open MPQDraft and follow steps 8-11 from chapter III substituting "scv.mpq" for the .mpq that you want to use.

How do I implement MEMGraft patches?
On the third screen of MPQDraft, select "Browse for Plugins" and find the .qdp file. Then select "Configure Plugin" and find the MEMGraft .mem file. Then click finish to run your StarGraft patch.

How do I "un-do" a MOD?
Close Starcraft, and start it again in the normal way, and any changes will be undone.

Can I play MODs with my friends online?
Yes. However, the friends you play with must have been shipped the patched .mpq in advance. If they are playing a regular version of starcraft, then it won't work.

If I make a MOD for the campaign editor, and I make a map with the modified campaign editor, does it mod the map?
Not really, no. A .scx/.scm file can only hold what data you can map. So if you change cooldowns for the campaign editor, then save a map with it, Starcraft will use the default cooldowns. But if you mod the editor to give marines 6000 hp and save a map, the marines will still have 6000 hp.

OMG this is so coolzors! I wanna make an Uber mod!!!
Be warned. Modding is a very meticulous and tricky process. It is easy to generate errors and takes a wide variety of skills. I suggest you become familiar with the modding ideas and make some text mods before you launch your own project.

Help! My StarDat.mpq file is a ton of unknowns!
Get "Starcraft-Brood War.txt" from this .zip and save it in your WinMPQ folder. Now, open WinMPQ, select 'Options...' from the menu, then go to the 'File Lists' tab and 'Add Listfile...'. Now select "Starcraft-Brood War.txt", which you just downloaded. Now open an MPQ and you'll find the ~unknown files are now gone, and there are useful names instead.




II. Getting Started

A. What do I need?

To become a successful modder, you need a variety of modding tools, all of which are free. You also need an abnormally large amount of patience. The programs you will need in your future career are:
  • Arsenal III or DatEdit*
  • MPQDraft
  • WinMPQ
  • TblPad
  • StarGraft
  • MemGraft
  • ICE or ICECC
  • RetroGRP**
  • An advanced picture editing program
  • SC AI edit (optional)
  • others (optional)

B. What are these strange and wondrous things?

-Arsenal III (or DatEdit) is a .dat modifier. It changes the .dat files of Starcraft, changing any raw unit and weapon data. From changing attack and sight ranges to cooldown, and from giving shields to allowing to build on creep, Ar3 is your program.
-MPQDraft is a self extracting patch maker. You can write your own patch or simply run a patched MPQ using it
-WinMPQ is a .mpq editor. It allows you to edit the .mpq, the list of data files Starcraft reads. You can change the .grp for a marine to that of a tyrannosaur, if you wish.
-TblPad allows you to edit the TBL files, or text strings. It can change any text is Starcraft, from the names of weapons to the "Cheat Activated"
-StarGraft allows complicated memory patches. It allows you to edit the tech tree and such. Patched files from StarGraft or only compatible up to Starcraft 1.07
-MemGraft updates StarGraft patches to the current version of Starcraft.
-ICE or ICECC allows you to write custom animation scripts
-RetroGRP allows you to compile .bmp files into a single .grp for Starcraft, and also extract the sprites of Starcraft

*This tutorial was written using Arsenal III, which is still fully compatible. DatEdit, however, is a newer DAT editing tool, and it is my recommendation that you use it.

**Like Arsenal III, RetroGRP has been surpassed since May 2005 by better and faster GRP manipulators. Though it is still fully compatible and works, programs such as GRPEdit are more modern.

C. Where can I find these strange and wondrous things?

Most of these are now in the DLDB under modding tools. If you ever seriously start modding hardcore, you'll need a good graphics editor, and those aren't free, though.




III. Your first MOD in 11 easy steps

0. Make sure you have all the required programs installed on your computer

1. Open Arsenal III. Go to Unit Editor. Find Terran>Ground Units>Terran SCV

2.
a) Enter the number 1000 in the "HP" box.
b) Check the check box next to "Shields" and put 1000 in the Shields box.
c) Change the SCV's ground weapon to "C-10 Canister Rifle"

3. Go to File>Save As. Save your file in C:\Program Files\Starcraft\testmod\units.dat
WARNING: You must save this as units.dat, not any other file name

4. Close Arsenal III.

5. Open WinMPQ. Go to File>New and save as scv.mpq.

6. Click "add" and find your units.dat you saved in step 3. WinMPQ will prompt your for an input. Type arr\ and hit ENTER.

7. Close WinMPQ.

8. Open MPQDraft and go to "Load MPQ Patch". Select "Starcraft" from "Programs" and "Starcraft" from "Components"

9. Click Next. Press "Browse for MPQs" and find SCV.mpq that you saved in step 5.

10. Click next, then Finish.

11. Starcraft will start. Play any melee map as Terran and marvel at your 1000hp 1000 shield SCVs with rifles.

[attachmentid=9551]
An SCV with shields?!?


What went on here?
First, in steps 1-4, you edited the hardcore data file or Starcraft that contains all data about units (units.dat). Then in steps 5-7 you created an extra .mpq archive. Stacraft Broodwar in normal operation reads three .mpq files, StarDat.mpq, BrooDat.mpq, and patch_rt.mpq. These files have a list of data files which Starcraft then loads and uses. When you write you custom .mpq file, you will make Starcraft read that instead. In steps 8-11, you are using a tool to make Starcraft start up and read your MPQ that you made after it reads the three default MPQs. If any files are the same in both (units.dat in this case), it will replace the old occurrence in patch_rt.mpq with the new occurrence in your MPQ you wrote. Starcraft will have now loaded an MPQ file which gives it a units.dat file saying SCVs have shields and C-10 Canister Rifles, so Voila!; that's what show up on the screen.





IV. Another foot in the door --- Rocket Tank

0. Make sure you have all the required files running on your computer.

1. Open Arsenal III. Go to Unit Editor>Terran>Ground Units>Tank Turret (make sure it is the second turret with "Arclite Shock Cannon".

2. Change the turret weapon to "Longbolt Missile".

3. Go to the "Miscellaneous" tab and change "subunit range" to 188.

4. Go to File>Save As. Save as C:\Program Files\Starcraft\testmod2\units.dat
WARNING: You must save this as units.dat, not any other file name

5. Close the Unit Editor, then go to Weapon Editor>Other Weapons> Longbolt Missile

6. Change the Max Attack Range to 700.

7. Change the Damage to 5, and the Cooldown to 3.

8. Change the Attack Flags by unchecking "Air" and checking "Ground".

9. Go to File>Save As. Save as C:\Program Files\Starcraft\testmod2\weapons.dat
WARNING: You must save this as weapons.dat, not any other file name

10. Close Arsenal III.

11. Open WinMPQ and create a New .mpq called rockettank.mpq.

12. Go to "Add" and choose the units.dat you saved in step 4. Remember to type arr\ for the directory prompt.

13. Go to "Add" again and choose the weapons.dat you saved in step 9. Remember to type arr\ for the directory prompt.

14. Close WinMPQ.

15. Open MPQDraft and go to "Load MPQ Patch".

16. Choose "Starcraft" and "Starcraft" then "Next"

17. Browse for and add rockettank.mpq you saved in step 10.

18. Click Next, then Finish.

19. Start any melee map and get a siege tank in siege mode. Use the cheat "black sheep wall" and rain doom with your super-rocket-tanks.

Note: I had a really fun time testing this. I had corrupted my base arr/units.dat in the ar3 folder so marines had 8000 shields 10 hp and 255 armor, and my computer opponent was Terran :)

[attachmentid=9525]
Die you stupid marines, die!

What went on here?
Much like in Chapter III, you wrote a custom .dat file, weapons.dat in this case, put it into an MPQ file, and ran Starcraft with the new MPQ file.

What are some of these Arsenal III values?
Subunit range --- The range at which the unit wil acquire a target and start firing automatically if a)The unit has an AI to auto-attack enemies and b)The aquired target is in range.

Cooldown --- The lag between each time a weapon fires. Lower cooldown equals more attacks per second.

Air and Ground checkboxes --- These determine what kind of targets the weapon can attack (air or ground units).






V. A Visual Facelift --- Implementing TBLPad

0. If you haven't already, do steps 0-10 of Chapter IV. You will be using the .dat files from them.

1. Open Arsenal III. Go to Weapon Editor>Other Weapons>Longbolt Missile

2. Go to File>Open and select the weapons.dat saved in Chapter IV, Step 9.

3. Change Icon to "Gemini Missiles".

4. Go to File>Save As. Save as C:\Program Files\Starcraft\testmod3\weapons.dat
WARNING: You must save this as weapons.dat, not any other file name

5. Close Arsenal III.

6. Open WinMPQ and go to "Open". Open C:\Program Files\Starcraft\patch_rt.mpq.
NOTE: You could extract the tbl from any mpq but if you do it from StarDat then it won't have the medic strings and such so it will crash SC if you try to view any BW strings.

7. Scroll down to rez\stat_txt.tbl
NOTE: If you see a huge list of 'unknowns', you need to implement the MPQ list file.

8. Right-click on it and select "Extract". Extract it to C:\Program Files\Starcraft\testmod3

9. Close WinMPQ.

10. Open TBLPad. Go to File>Open and open rez\stat_txt.tbl that you extracted in step 8.

11. Scroll down to "Terran Siege Tank<0>Siege Mode<0>Ground Units<0>".

12. Replace this with "M-1 Missile Tank<0>Siege Mode<0>Ground Units<0>".

13. Scroll down to "Longbolt Missile<0>".

14. Replace this with "Homing Hailfire Missiles<0>".

15. Scroll down to "Terran Vehicle Plating<0>".

16. Replace this with "Reinforced Tank Armor<0>".

17. Go to "File" and click "Save". (do not rename the file)

18. Exit TBLPad.

19. Open WinMPQ and make a new MPQ, tblpad.mpq.

20. Add the new weapons.dat and the units.dat from Chapter IV; remember to type arr\ for the prompt.

21. Add the stat_txt.tbl you save in step 17. Type rez\ for the prompt.

22. Close WinMPQ.

23. Run tblpad.mpq using MPQDraft. (if unsure how to do this, see either Chapter III or Chapter IV).

[attachmentid=9552]
Custom names. Now that's more like it.

What went on here?
You have editied the string data file for Starcraft, stat_txt.tbl, and used WinMPQ to tell Starcraft to read your file instead. It will therefore replace any strings you changed in the game.




VI. X-mas Vultures --- Fun with RetroGRP

1. Open WinMPQ and open up StarDat.mpq.
NOTE: If you see a huge list of 'unknowns', you need to implement the MPQ list file. (See Chapter I, last question.)

2. Scroll down to unit\terran\vulture.grp

3. Right click on it and select "Extract". Extract it to C:\Program Files\Starcraft\testmod4\

4. Close WinMPQ

5. Open RetroGRP. If you see a popup that says 'Errrrrror!', ignore it. That's RetroGRP-speak for "Hello and welcome!".

6. Click "Set Output Directory" and select C:\Program Files\Starcraft\testmod4\vulture

7. Click "Load External File" and select C:\Program Files\Starcraft\testmod4\unit\terran\vulture.grp. A preview will appear on the screen.

8. Click "Write out BMPs" and select "All BMPs"

9. Close RetroGRP.

10. Go to C:\Program Files\Starcraft\testmod4\vulture. If you followed instuctions properly, you should see 16 BMPs, called vulture000 - vulture016 and a .ral file, vulture.ral.

11. Use Paint to color the gray areas of vultures 000-008 red and the gray areas of vultures 009-016 green.
Note: This process is very time-consuming. Graphics creation and editing is where many aspiring modders turn away.

12. Open up RetroGRP again. Set the output directory to C:\Program Files\Starcraft\testmod4

13. Click "Compile to GRP". Find "vulture.ral" and select it.

14. Check to see that there is an x_vulture.grp file in your output directory. Rename this "vulture.grp".

15. Open WinMPQ and start a vulture.mpq file in \testmod4.

16. Add vulture.grp to the file list. For the prompt, type unit\terran\.

17. Close WinMPQ

18. Run the patched MPQ with MPQDraft (if in doubt see Chapters III or IV).

19. Build a Vulture or two and watch them switch from red (facing up) to green (facing down).

[attachmentid=9526]
The X-mas vultures of doom!!!

What went on here?
Here you change the base graphic file for Starcraft. You use RetroGRP to extract the bitmap files from the grp files, then you change the bmp files. Finally, you recompile the.bmp files back to .grp and put that in a patched MPQ.





VII. 2+2+2 = ...6? --- Putting it all together

0. Make sure you have all the proper programs installed and working.

1. Go to this website: <attachment> and download the graphics for the Infested Battlecruiser. Save it to C:\Program Files\Starcraft\testmod5\ and unzip the .zip file.
Note: The Infested Battlecruiser GRP has rather crappy graphics, I apolgise for this in advance.

2. Rename x_infestedbcruiser.grp to be battlecr.grp.

3. [Optional] - Open WinMPQ and save an MPQ in your testmod5 directory called test.mpq.

4. [Optional] - Add battlecr.grp to the list with unit\terran\ as its path.

5. [Optional] - Run test.mpq using MPQDraft. This will see if you loaded the sprite properly.

6. Open Arsenal III. Go to Unit Editor>Terran Units>Air Units>Terran Battlecruiser.

7. Give the Battlecruiser 1000 HP, 400 shields, and 5 armor.

8. Go to the "Advanced" tab and check "Regenerates HP" and "Permanent Cloak".

9. Save the file as "units.dat" under the testmod5 folder.

10. Open the Weapons Editor and go to Terran Weapons>ATS Laser Battery. Make sure it's the first one.

11. Change the Icon to "Flame Thrower"

12. Change the Minimum Attack Range to 3 and the Maximum Attack Range to 20.

13. Set all the Splash Radii to 30.

14. Change the Damage to 60, the Bonus to 10, and the Cooldown to 65.

15. Change "Explosion" to "Line Splash"

16. Change the Sprite to "Yamato Gun".

17. Select "ATA Laser Battery". Make sure it is the first one.

18. Change the Minimum Attack Range to 5 and the Maximum Attack Range to 20.

19. Change the Icon to "Seeker Spores".

20. Change the Damage to 110, the Bonus to 15, and the Cooldown to 100.

21. Change the Sprite to "Seeker Spores".

22. Save the file as weapons.dat in your testmod5 folder.

23. [Optional] - Open WinMPQ and open the MPQ in your testmod5 directory called test.mpq.

24. [Optional] - Add units.dat and weapons.dat to the list with arr\ as their path.

25. [Optional] - Run test.mpq using MPQDraft. This will see if you edited the DATs properly.

26. Close Arsenal III.

27. Open TBLPad and open stat_txt.tbl. If you haven't yet extracted stat_txt.tbl, follow Chapter V, Steps 6-9.

28. Scroll down to "Terran Battlecruiser<0>*<0>Air Units<0>".

29. Replace with "Dark Terran Battlecruiser<0>*<0>Air Units<0>".

30. Scroll down to "Terran Starport<0>*<0>Buildings<0>

31. Replace with "Infested Starport<0>*<0>Buildings<0>"

32. Scroll down to "ATS Laser Battery<0>". Make sure it's the first one.

33. Replace with "Fury's Fire<0>".

34. Select "ATA Laser Battery<0>". Make sure it's the first one.

35. Replace with "Poison Spores<0>".

36. Scroll down to "b<1>Build <3>B<1>attlecruiser<0>"

37. Replace with "i<1>Build <3>I<1>nfested Battlecruiser<0>"

38. Scroll down to "Battlecruiser Requires:
Attached Control Tower
Science Facility with
attached Physics Lab<0>"

39. Replace with "Infested Battlecruiser Requires:
Attached Control Tower
Science Facility with
attached Physics Lab<0>"

40. Go to File>Save As and save as stat_txt.tbl in your testmod5 folder.
IMPORTANT: You must save it as stat_txt.tbl or your MOD won't work.

41. Close TBLPad

42. Open WinMPQ and make a new MPQ, dtbk.mpq.

43. Add battlecr.grp with extension unit\terran\.

44. Add units.dat and weapons.dat with extension arr\.

45. Add stat_txt.tbl with extension rez\.

46. Run the patched .mpq with MPQDraft. (if in doubt see Chapter III or Chapter IV). Build a Battlecruiser and have some good old fun.

[attachmentid=9553]
If only DT_BK's were real... *sigh*

What went on here?
This combines the work of all the previous chapters. You edit the Battlecruiser's weapon stats, unit stats, strings, and graphics, and put them into a patched MPQ.




VIII. Ultimate Eye --- First steps with StarGraft and MemGraft

Consistency Note: MEMGraft does not have a supported version for the current Starcraft Patch, 1.15.1. The latest version of MEMGraft is 1.12e. This tutorial was written for MEMGraft 1.12b.

Another, more advanced memory editing program called Firegraft is functional for Starcraft version 1.15.1 (the current version). Since its release postdates this tutorial, it is not implemented.


0. Have all required programs installed and running.

1. Open Arsenal III. Go to Unit Editor>Terran Units>Ground Units>Terran SCV.

2. Go to the "Advanced" tab and check "Detector", "Spellcaster", and "Permanent Cloak".

3. Go to the "Miscellaneous" tab and change "Sight Range" to 8.

4. Save your units.dat file to C:\Program Files\Starcraft\testmod6

5. Go to "Technology Editor".

6. Go to Terran Technologies>Scanner Sweep.

7. Change Energy to 0.

8. Go to Terran Technologies>Lockdown.

9. Change Energy to 0.

10. Check "Researched".

11. Go to Protoss Technologies>Maelstorm.

12. Change Energy to 0.

13. Check "Researched".

14. Save your file as techdata.dat in your testmod6 folder.
IMPORTANT: This must be saved as techdata.dat, not any other filename.

15. [Optional] - Make an MPQ file with your two DATs and run it to see if the changes were made appropriately. If in doubt, see Chapter III on how to make .mpq files and run them.

16. Close Arsenal III.

17. Open StarGraft 1.07 and double-click on "Patch Creator".

18. Go to File>New and save as eye.pat in your testmod6 folder.

19. You should be in the "Buttons" tab. Scroll down to "Terran SCV".

20. You should see a Dropdown box called "Command". Select "Terran Basic Buildings" from the menu.

21. Change the Icon to "Scanner Sweep".

22. Change Req. Type to "Spell Researched".

23. Change Action Type to "Use Technology".

24. Change Req. var and Action Var both to 4. (?)

25. Change the "String" to "s<3><3>S<1>canner Sweep (Detector)"

26. Select "Terran Advanced Buldings" from the "Command" dropdown. Note that where "Terran Basic Buildings" once was, it now says "Scanner Sweep".

27. Change Icon to "Lockdown".

28. Repeat steps 22 and 23.

29. Change req. var and action var to "1".

30. Change "String" to "l<3><3>L<1>ockdown".

31. Select "Cancel" from the "Command" dropdown. Note that where "Terran Advanced Buildings" once was, it now says "Lockdown".

32. Change Icon to "Maelstorm".

33. Repeat step 28.

34. Change req. var and action var to "31".

35. Change "String" to "e<3>Ma<3>e<1>lstorm".

36. Go to the "Requirements" tab and the "Tech Use" sub-tab.

37. Select "Scanner Sweep" from the list at left.

38. Slide the bar all the way to right.

39. Right-click and select Insert.

40. Repeat step 39 twice.

41. For the first new requirement created, select "Flag" and "[previous requirement] or [next requirement]".

42. For the next, select "Flag" and "Current unit must be [next requirement]".

43. For the last, select "Terran SCV".

44. Select "Lockdown" from the list at left.

45. Slide the bar all the way to right.

46. Right-click and select Insert.

47. Repeat step 46 twice.

48. For the first new requirement created, select "Flag" and "[previous requirement] or [next requirement]".

49. For the next, select "Flag" and "Current unit must be [next requirement]".

50. For the last, select "Terran SCV".

51. Select "Maelstorm" from the list at left.

52. Slide the bar all the way to right.

53. Right-click and select Insert.

54. Repeat step 53 twice.

55. For the first new requirement created, select "Flag" and "[previous requirement] or [next requirement]".

56. For the next, select "Flag" and "Current unit must be [next requirement]".

57. For the last, select "Terran SCV".

58. Go to File>Save and press OK.

59. Close StarGraft.

60. Open MEMGraft 1.13e.

61. Click on "Import *.pat" and select the "eye.pat" you saved in step 18.

62. MEMGraft will prompt you with an error "stat_txt.tbl not found!".

63. Click OK and select stat_txt.tbl. If you don't have it yet, extract it from patch_rt.mpq. (See Chapter V, Steps 6-9).

64. Go to the "Misc." tab.

65. In the text field called "patch_rt.mpq", replace "\patch_rt.mpq" with "\eye.mpq".

66. Go back to the "Main" tab and click "Save Release".

67. Save mgpatch.mgd and eye.exe in your testmod6 folder.

68. Close MEMGraft 1.13e.

69. Open WinMPQ. Open patch_rt.mpq in your Starcraft folder.

70. Go to Tools>MPQ Embedder

71. Go to File>Open, and open patch_rt.mpq in your Stacraft folder.

72. Click "Save MPQ" and save as "eye.mpq" in your testmod6 folder.

73. Close the MPQ Embedder and open up eye.mpq that you saved last step.

74. Add units.dat and techdata.dat saved in steps 4 and 14 with arr\ as the prompt.

75. Add mgpatch.mgd saved in step 58 with custom\ as the prompt.

76. Close WinMPQ.

77. Go to your testmod6 folder. Copy eye.exe and eye.mpq into your Starcraft folder.

78. Run eye.exe and have fun with the SCVs. After 78 steps, you deserve it!

Please Note: In this mod you only gave the SCV the button to use some of the abilities. Some will crash if you try to use them because the special ability Iscript for the SCV is missing. See the forthcoming Chapter X for more details.

[attachmentid=9950]
Ownage SCVs

What went on here?
Here you wrote a special patch file. It reads the MPQ and allows for custom button data.

Attachments:
infestedbcruiser.zip
Hits: 9 Size: 40.62kb

Post has been edited 37 time(s), last time on Jan 1 2008, 7:28 am by DT_Battlekruser.



None.

Aug 31 2007, 12:40 pm Symmetry Post #2

Dungeon Master

I say we make it a project for a bunch of modders to work together to try and reproduce the kind of thing that Voy on v4. A good, updated version with new tools and such. And in such, we could fix the major flaw with this tutorial: it does not explain WHY things happen. It merely tells you to do them.

Post has been edited 1 time(s), last time on Aug 31 2007, 12:41 pm by Killer_Kow.



:voy: :jaff: :voy: :jaff:

Sep 1 2007, 4:56 am DT_Battlekruser Post #3



Quote from Killer_Kow
it does not explain WHY things happen. It merely tells you to do them.

Quote

What went on here?
First, in steps 1-4, you edited the hardcore data file or Starcraft that contains all data about units (units.dat). Then in steps 5-7 you created an extra .mpq archive. Stacraft Broodwar in normal operation reads three .mpq files, StarDat.mpq, BrooDat.mpq, and patch_rt.mpq. These files have a list of data files which Starcraft then loads and uses. When you write you custom .mpq file, you will make Starcraft read that instead. In steps 8-11, you are using a tool to make Starcraft start up and read your MPQ that you made after it reads the three default MPQs. If any files are the same in both (units.dat in this case), it will replace the old occurence in patch_rt.mpq with the new occurence in your MPQ you wrote. Starcraft will have now loaded an MPQ file which gives it a units.dat file saying SCVs have shields and C-10 Canister Rifles, so Voila!; that's what show up on the screen.

Eh?




None.

Sep 1 2007, 4:59 am WoAHorde Post #4



Will screenshots be re added, and will you add an iscript section, or will one of us have to write it? :P



None.

Sep 1 2007, 6:13 am DT_Battlekruser Post #5



Hopefully the screenshots will be put up sometime soon (with me, as with IP, that means in the next month or so - I'm back in school with life, etc.)

I probably don't have the time to add more sections to the tutorial, but if anyone can well enough imitate my step-by-step for-beginners style, I would be happy to add their chapter to the tutorial.




None.

Sep 2 2007, 12:45 pm Symmetry Post #6

Dungeon Master

So I can't read; maybe I just didn't feel like reading the giant block of text when I did this years ago :P

I guess I just don't like the whole step-by-step format you use. I prefer something that explains itself as it goes, and gives the newbie some room to explore.



:voy: :jaff: :voy: :jaff:

Sep 2 2007, 5:55 pm DT_Battlekruser Post #7



The tutorial is designed to introduce the complete newbie to modding - the idea is that once you complete a chapter and read the explanation, they will have some idea of how various things work and can experiment and ask for more help on their own. From the number of people who thanked me for the tutorial and said it got them into modding, I think it works well for the complete beginner.

I agree in saying it is not a reference manual or help guide for programs for the more experienced modder.




None.

Sep 2 2007, 9:18 pm Andman3000 Post #8



The link for the infested BC is broken, but if you need the graphic then just ask me.



None.

Sep 3 2007, 1:38 am DT_Battlekruser Post #9



Quote
I can upload the infested battlecruiser GRP file whenver uploads come back online.

Unless you can give me a link to another online location, I'll wait until uploads are back. The other link was to the v4.1 DLDB.



None.

Sep 3 2007, 5:02 am Demonkilla Post #10



nice guide makes me want to actually get a little bit serious in modding thx for the thread



None.

Sep 3 2007, 1:48 pm evixian Post #11



Is there any way to make MPQDraft work on vista? I was going to say "Hey, this is meant for 95, so I'll try it on the XP system I have installed." However, when I went into that, it won't let me activate nor login...

Anyway, MPQDraft is unable to start starcraft from the "Load" feature, so I tried the standalone feature, but that didn't work either. It has something to do with Vista's DEP system (Data Execution Prevention), and there IS a way to make it ignore programs... But it is unable to use the ignore function on starcraft.

Is there any solution, seeing as I am unable to play my mods?

Thanks,
~.Evix



None.

Sep 3 2007, 2:50 pm Symmetry Post #12

Dungeon Master

There is a vista version of MPQdraft. I have no idea where to find it, however.



:voy: :jaff: :voy: :jaff:

Sep 3 2007, 3:15 pm evixian Post #13



Nevermind, I found a way to disable the DEP system, so I can use MPQDraft fine on vista now. :D



None.

Sep 3 2007, 4:53 pm DT_Battlekruser Post #14



Oh god, I never even though about the tutorial's compatibility with Vista. Not having Vista, I tend to forget it exists :P



None.

Sep 3 2007, 5:26 pm evixian Post #15



Quote
Help! My StarDat.mpq file is a ton of unknowns!
Get "Starcraft-Brood War.txt" from this .zip and save it in your WinMPQ folder. Now, open WinMPQ, select 'Options...' from the menu, then go to the 'File Lists' tab and 'Add Listfile...'. Now select "Starcraft-Brood War.txt", which you just downloaded. Now open an MPQ and you'll find the ~unknown files are now gone, and there are useful names instead.
So... where's that zip? :P



None.

Sep 3 2007, 5:55 pm DT_Battlekruser Post #16



Oh lol, titled hyperlinks drop out when I use copy/paste :P

Fixed.

EDIT ~ Oh damn, I just realized I linked to GRPEdit on Maplantis :lol:


Post has been edited 1 time(s), last time on Sep 3 2007, 6:01 pm by DT_Battlekruser.



None.

Sep 4 2007, 5:47 pm Laser Dude Post #17



MPQDraft works on Vista, you just need the most recent version. http://www.maplantis.org/index.php?;pg=wiki;id=5#wiki_29



None.

Sep 10 2007, 7:23 pm Voyager7456 Post #18

Responsible for my own happiness? I can't even be responsible for my own breakfast

I'll pin this for now.

One day, when I have an overabundance of free time I'll rewrite my tutorial.



I sleep in late
Another day
Oh what a wonder
Oh what a waste.
It's a Monday
It's so mundane
What exciting things
Will happen today?

Sep 11 2007, 2:11 am DT_Battlekruser Post #19



I've always seen this tutorial help the clueless, so maybe it should stay up, even though I know it's kinda out of date.

If you replace it, please try to replicate the style (never saw your old tut).




None.

Sep 11 2007, 2:25 am Matt Burch Post #20



If only there was a graphic/audio converter for mac to make those special kinds of filetypes that starcraft recognizes. Then modding for mac would be so easy.

I doubt there is a big tutorial for mac on this? Or is it just so simple, that there doesn't have to be?

Quote
MPQ2K.app
Code
Mo'PaQ 2000 Mac Edition build 00010 Copyright (c) 2002 Jean-Francois Roy (BahamutZERO)
The official client of the Mo'Paq Library version 1.020
For the most recent version, go to http://www.macstorm.net

Mo'PaQ 2000 Copyright (c) 2000 Justin Olbrantz (Quantam)
For the most recent version, go to www.campaigncreations.com/starcraft/mpq2k/

               Usage:
           Add files: a [FilesToAdd] [/c | /wav | /auto] [/e] [/r]
       Extract files: e <FilesToExtract> [/r] [/fp]
        List content: l [Filter] [/lf] [/fo]
        Delete files: d <FilesToDelete> [/r]
 Archive information: i
       Change locale: g <LocaleCode>
   Change compressor: m <DCL | zlib>

         New archive: n [MaxNumberOfFiles]
        Open archive: o [/read]
        Save archive: s [/nl]
       Close archive: c [/nl]

        Command help: h [Command]
          Quit MPQ2K: q

>

Type o, to open. Select a data library file. "Starcraft Data" or "Starcraft Mac Data". Select one of those files.

Then type "l" to list the info. IT IS A LOOONGG LIST. You can't even read what's there. Unless there is a list somewhere already. Then when you want to get something. type "e /file/" then. when you want to add a file. type "a /file/" then when you're done type "s" to save. Save twice to make sure it saves, then type "c" to close the datafile, then quit, and put it back in your starcraft Files.

Code
>o

/Users/Roger/Documents/Lukas/Stuff/Starcraft Mac Data opened in read-write mode.

>l

Loading list of MPQ files..... Done.

Filename                                                                              Att Cmp Size  Size      
------------------------------------------------------------------------------------- --- --------- ----------
Rez\crdt_exp.txt                                                                      CEX      4449      11743
rez\crdt_lst.txt                                                                      CEX      6178      14349
rez\gluAll.tbl                                                                        CEX      3680       7490
rez\gluModemList.bin                                                                  CEX       192        479
rez\help_txt.tbl                                                                      CEX       620       1223
rez\tips.tbl                                                                          CEX      7085      13317
rez\titledlg.bin                                                                      CEX       264        677

8 recognized files

Attribute Key:
   C - File is compressed
   E - File is encrypted
   X - File has an attribute that may interfere with the compacting process

>e Rez\crdt_exp.txt

Extracting "Rez\crdt_exp.txt"... Done.

>s

The archive did not require saving.

>s

The archive did not require saving.

>c

The archive did not require saving.

The archive was closed.

>


You do not need to save anything if you do not add anything. Exporting does not change anything.

I'm a newb modder. I haven't even successfully modded anything. I think I forgot to save it :P I just changed a couple voices around.

Make sure you copy the data file before you change it, so you always have the original.

The real starcraft Data file is thousands of files long and the MPQ2K doesn't go that long. Which sucks, so you have to take snapshots while its going down :P Or find a list somewhere else.

when you add a file you do "a 'directory'" not the file name. It will prompt you for the file. Just make sure the directory is correct, I think. Ian knows more than me though.

I had that at maplantis. I'm going to play with this a bit more, and actually get a real thing changed then I can confirm if this works or not. If it does, wow it's simple.

- - - - -

YAY!!! IT worked!! Okay, it's simple :).

All you need to do is get mpq2k, list the files, extract a file, and add a file using the location and filename you want to replace. Then save, and poof it's changed. I changed one of the 3 sounds of a vulture hitting to the sound of a mutalisk hitting. All you need now is to be able to make smk, grp, lof, and stuff. I'll go learn how to do that, then modding for mac is gonna be awesome. Right now, all I am able to do is exchange information. I'll figure out how to create new things from scratch.

Unless there are other mac modders out there? (Ian) ?

Post has been edited 1 time(s), last time on Sep 11 2007, 2:44 am by O)Matt_Burch.



None.

Options
Pages: 1 2 3 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:27 pm]
Pr0nogo -- TiKels
TiKels shouted: Lemme know what you think
the gay autotune really turned me off but it was informative
[05:07 pm]
LoveLess -- That was what I said to myself at first too though.
[05:06 pm]
LoveLess -- Ahli
Ahli shouted: Clearly, men already died because they are the warriors and protectors. Else, maybe more women were send to that galaxy because they need to populate it.
Yeah but... I dunno, 50/50?
[04:57 pm]
Apos -- He is talking so fast, yet everything seems to make sense.
[03:41 pm]
TiKels -- Lemme know what you think
[03:41 pm]
TiKels -- I'm a year late on this meme but damn its hot
[02:47 pm]
Ahli -- Clearly, men already died because they are the warriors and protectors. Else, maybe more women were send to that galaxy because they need to populate it.
[02:40 pm]
LoveLess -- Maybe the whole SJW influence shit people have been talking about has some merit.
[02:39 pm]
LoveLess -- So been playing Mass Effect Andromeda for a while now and started to notice it felt like a clamfest... So I started counting, 25 men to 42 women after I started.
Please log in to shout.


Members Online: Roy, millinern87, hickeyz26