Author
|
Topic: Prob a stupid mistake
|
livininashadow Serf
Posts: 3 From: Registered: Feb 2002 |
posted 11 February 2002 17:49
Hi, tryin to make my first mod ever, and when tryin to re-insert weapons.txt backinto the .mpq file, i end up getting this error when runnign my .bat file :Line 1: Opening write archive patch_d2.mpq Line 2: Error: Attempt to add nonexistant file weapons.text to archive Line 3: Closing write archive my .txt file looks like this : O patch_d2.mpq A weapons.text data\global\excel\weapons.txt C patch_d2.mpq Where am i going wrong?
------------------ Everyones "Got Milk". But have you "Got Booba"?

|
MPHG Forum Admin.
    
Posts: 1693 From: simwhere Registered: Jun 2001 |
posted 11 February 2002 17:57
O patch_d2.mpq A weapons.text data\global\excel\weapons.txt C patch_d2.mpqshould look like O patch_d2.mpq A weapons.txt data\global\excel\weapons.txt C patch_d2.mpq you added a extra e in txt 
------------------ Bring Back the Classic. Bring Back the Knowledge. Bringing back to D2 The Classic

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 11 February 2002 18:10
YOu also need to add another line for the bin file so add another line. Now, your whole thing should say:O patch_d2.mpq A weapons.txt data\global\excel\weapons.txt A weapons.bin data\global\excel\weapons.bin C patch_d2.mpq

|
livininashadow Serf
Posts: 3 From: Registered: Feb 2002 |
posted 11 February 2002 18:10
i told u a stupid mistake! lol, thanks, works fine now------------------ Everyones "Got Milk". But have you "Got Booba"?

|
livininashadow Serf
Posts: 3 From: Registered: Feb 2002 |
posted 11 February 2002 18:17
hmm.. i dont have the .bin line in there, and it worked fine...------------------ Everyones "Got Milk". But have you "Got Booba"?

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 11 February 2002 19:01
i get same error when trying to add in graphics. don't worry i ask dumber questions .

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 11 February 2002 19:03
The bin line is for packing the bin you will generate into the mpq. The first time you run it, mpq2k will report out {cannot add nonexistent file} but that is okay, you will have your bin (and all the other bins) when you start a game using -direct -txt. Take the new bin to where you have mpq2k, run your script again, and both txt and bin will be packed into the mpq.And yes, it is txt not text both as a command line switch and using the text files.

|