the Phrozen Forums
  General Mod Making
  HELP (Page 1)

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone!
This topic is 2 pages long:   1  2 
next newest topic | next oldest topic
Author Topic:   HELP
Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 02 December 2001 08:22     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I still can't make my one mod! This is what I do (for example I wanna make a mod with max arrows 500):
1. open MPQviewer
2. open misc.txt and set maxstack to 500
3. save the misc.txt file into my data\global\excel folder and my
mod workplace\mods folder
4. open notepad and type:
O patch_d2.mpq
A misc.txt data\global\excel\misc.txt
A misc.bin data\global\excel\misc.bin
C patch_d2.mpq
5. make a .bat file which says: mpq2k s mymod.txt
6. run “C:\Program Files\Diablo II\Game.exe” -txt
7. load a game in town and see if DII loads
8. go to data\global\excel and copy the misc.bin file to my mod workplace\mods folder
9. run the .bat file again
10. it says:
Line 1: Opening data archive
Line 2: Adding uncompressed data\global\excel\misc.txt... Done
Line 3: Adding uncompressed data\global\excel\misc.bin... Done
Line 4: Closing write archive
11. run “C:\Program Files\Diablo II\Game.exe” -direct -txt
12. my mod works
13. I copy the mpq file from my mod workplace\mods folder to my Diablo2 folder
14. I run DII again without running
-direct -txt
15. my mod doesn't work

PLZ HELP

Give me fuel, give me fire, give me all that I desire

IP Logged

Greymalkin2k
Lord

Posts: 135
From: CT
Registered: Aug 2001

posted 02 December 2001 11:26     Click Here to See the Profile for Greymalkin2k   Click Here to Email Greymalkin2k        Reply w/Quote   
I believe that you need to add all of the bins to your new mpq file but I am not sure. If no one else gets back to you give this a try.

Good luck!

------------------
- Greymalkin

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 02 December 2001 12:39     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
OK, i'll try it

Give me fuel, give me fire, give me all that I desire

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 02 December 2001 12:49     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
Hey and when I copy ALL the bin files to my mod making\mods folder, must I command to MPQ2k to add ALL the bin files to my patch_d2.mpq file?

Give me fuel, give me fire, give me all that I desire

IP Logged

Incandescent One
Honorary Warlord

Posts: 272
From: Great Britain
Registered: Nov 2001

posted 02 December 2001 13:43     Click Here to See the Profile for Incandescent One   Click Here to Email Incandescent One        Reply w/Quote   Visit Incandescent One's Homepage!
You only need to add the ones for the text files you've changed, along with the text files you've changed.
What do you mean when you say your mod doesn't work? you mean the game itself or your 500 maxstacked arrow quivers?

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 03 December 2001 00:04     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I mean the maxstack is only 350

Give me fuel, give me fire, give me all that I desire

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 03 December 2001 11:21     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
Hey and when I make the command file for MPQ2k, must I add all the bin files? Or must I just put the bin files in the mod making\mods folder?

Give me fuel, give me fire, give me all that I desire

IP Logged

gorothon
Honorary Warlord

Posts: 1318
From: usa loudon New Hampshire
Registered: Aug 2001

posted 03 December 2001 12:05     Click Here to See the Profile for gorothon   Click Here to Email gorothon        Reply w/Quote   
I think u just need to use the bin files that you used in your mod Hope this helps my friend!!!

[This message has been edited by gorothon (edited 04 December 2001).]

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 04 December 2001 12:19     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
NOW I'M REALLY BECOMMING MAD
I STILL CAN'T MAKE MY ONE MOD!!!!!
This is what I do:
1. open MPQviewer
2. open misc.txt and set maxstack to 500
3. save the misc.txt file into my data\global\excel folder and my
mod workplace\mods folder
4. open notepad and type:
O patch_d2.mpq
A misc.txt data\global\excel\misc.txt
A misc.bin data\global\excel\misc.bin
C patch_d2.mpq
save this to my mod workplace\mods folder
5. make a .bat file which says: mpq2k s mymod.txt
save this to my mod workplace\mods folder
6. run “C:\Program Files\Diablo II\Game.exe” -txt
7. load a game in town and see if DII loads
8. go to data\global\excel and copy all the .bin files to my mod workplace\mods folder
9. run the .bat file again
10. it says:
Line 1: Opening data archive
Line 2: Adding uncompressed data\global\excel\misc.txt... Done
Line 3: Adding uncompressed data\global\excel\misc.bin... Done
Line 4: Closing write archive
11. run “C:\Program Files\Diablo II\Game.exe” -direct -txt
12. my mod works
13. I copy the mpq file from my mod workplace\mods folder to my Diablo2 folder
14. I run DII again without running
-direct -txt
15. my mod doesn't work

NOW WHAT AM I STILL DOING WRONG??? THIS IS BECOMING VERY VERY VERY ANNOYING!!!

Give me fuel, give me fire, give me all that I desire

IP Logged

Incandescent One
Honorary Warlord

Posts: 272
From: Great Britain
Registered: Nov 2001

posted 04 December 2001 12:59     Click Here to See the Profile for Incandescent One   Click Here to Email Incandescent One        Reply w/Quote   Visit Incandescent One's Homepage!
Hey baz, One thing i'd suggest to you:
1, After you've generated your bin files, copy them to your mod workplace\mods folder
2, If you've got a copy of your original patch_d2.mpq, copy that to your mod workplace/mods folder
3, Press F5 to refresh the screen, right click on your patch_d2.mpq file and select properties from the pop up menu. This will show you what the file size of your patch_d2.mpq file is. Remember this number.
4, Run your mpq2k batch file to add the modded misc.txt and misc.bin files.
5, Press F5 again to refresh the screen (i'm assuming you're using windows explorer by the way!) and right click on your patch_d2.mpq file again & select properties from the pop up menu.
6, Is the file size different? If it is you know it's all worked and mpq2k has added files to your patch_d2.mpq and that your problem must lie with the files/locations within.
I can't find fault with the process you've described for modding your patch, so don't get mad, leave that for when you discover whatever it is that's messed up
Oh, and thanx for the link to that Diablo/Hellfire site, i found the descriptions i was looking for there

IP Logged

Juggernaught
WarLord

Posts: 170
From: Florida
Registered: Jul 2001

posted 04 December 2001 13:58     Click Here to See the Profile for Juggernaught   Click Here to Email Juggernaught        Reply w/Quote   
Might I ask what the problem is with running under -direct -txt? Unless you think your going to distribute your 500 arrow mod to all the top D2 sites why are you making a big thing about adding bins? If your modding for your own personal use and don't intend to send your mod out for public use, there's really no point to bins at all. Just extra trouble. It's actually much easier to just continually run under -direct -txt especially when your constantly adding and changing things around.

------------------
Softcore's for wussies. Grow some balls and play hardcore.

IP Logged

Hyperion
Serf

Posts: 11
From: Sweden
Registered: Dec 2001

posted 04 December 2001 15:41     Click Here to See the Profile for Hyperion        Reply w/Quote   Visit Hyperion's Homepage!
What is this -direct command you all use?
I only used the -txt line and my mod works fine.

1) I import the files i've changed one-by-one into my .mpq with Mpq2k (can't get script to work)
2)I copy the .mpq to the \Diablo ii directory, overwriting whatever was there before.
3) Run Diablo with -txt, start a game
4) Import the newly generated .bin files into the .mpq
5) Once again copies it to the \Diablo ii dir, overwriting previous version
6) Run game!

And it all works. I'm just a newbie but your method seems... more complicated than necessary.

IP Logged

54x
Moderator

Posts: 3080
From: Wellington, New Zealand
Registered: Apr 2001

posted 04 December 2001 15:46     Click Here to See the Profile for 54x   Click Here to Email 54x        Reply w/Quote   Visit 54x's Homepage!
-direct means that we don't have to put the texts into the mpq. It's useful for leaving out cube recipies and runewords.

------------------
54x.
"My computer has wheels on giant stilts that allow me to drive it over all the other, slower computers."
"For great bandwidth!"
http://www.planetdiablo.com/newdawn/
New Dawn Forum

IP Logged

djc
Serf

Posts: 16
From:
Registered: Nov 2001

posted 04 December 2001 16:16     Click Here to See the Profile for djc        Reply w/Quote   
OK, Here's the point where I think I'm seeing the problem:

quote:
Originally posted by Baz:
5. make a .bat file which says: mpq2k s mymod.txt
6. run “C:\Program Files\Diablo II\Game.exe” -txt
7. load a game in town and see if DII loads
8. go to data\global\excel and copy the misc.bin file to my mod workplace\mods folder
9. run the .bat file again

Ummm... first thing, on step 9, you state "Run the .bat again, but you never mention running it the first time, just making it... which might mean that the .txt's weren't inserted into the patch first.

If that's the case, then using -txt without the -direct (I think) would use the .txt's in the patch - the old ones! - and generate .bins from those. Then, when you go to put the new .txt and the "new" .bin in the patch, you're really putting in a new .bin based on the original .txt...

At least, that's my theory, since in both your examples you never mention *running* the .bat before you generate .bin's, and you're not using -direct.

------------------
-djc

IP Logged

Juggernaught
WarLord

Posts: 170
From: Florida
Registered: Jul 2001

posted 04 December 2001 23:51     Click Here to See the Profile for Juggernaught   Click Here to Email Juggernaught        Reply w/Quote   
quote:
Originally posted by 54x:
-direct means that we don't have to put the texts into the mpq. It's useful for leaving out cube recipies and runewords.


You mean don't have to put in the bins. You still have the put in the txts.

------------------
Softcore's for wussies. Grow some balls and play hardcore.

IP Logged

djc
Serf

Posts: 16
From:
Registered: Nov 2001

posted 05 December 2001 12:38     Click Here to See the Profile for djc        Reply w/Quote   
quote:
Originally posted by Juggernaught:
You mean don't have to put in the bins. You still have the put in the txts.



No, no, no...

Look, here's how those two flags (-direct and -txt) seem to work, from all I've experienced and read...

-txt: run using the .txt instead of the .bin *from the mpq* and make new .bins in an approp. folder

-direct: run from the data/global/excel (etc) folder *instead of the mpq* (still appears to use .bins, unless I'm mistaken)

-direct -txt: run using the .txt files in an appropriate folder (d/g/e) *instead of the mpq* and make new .bins there based on those.

At least, that's the best interpretation I can find for how the flags work and for the behavior that seems to occur with them. Hence Baz's error - the .txts in the mpq appear to still be the old ones when he generates the .bins with -txt (instead of -direct -txt), he adds those bins into the mpq, and when running -d -t it works fine, but not without, since the .bins he's put in are based on the original, unmodded .txt's (or so it appears).

------------------
-djc

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 06 December 2001 12:26     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
OK, maybe this is it: when I mod a txt file, I first copy it to (how is that programm named???) I thought: MS Works. There I mod the txt file. Then I copy the whole modded stuff back to my Wordpad programm with the real txt file and then I paste it. I hope this gives u guys some tips. When u guys wanna change a txt file, whith which programm do u open it? I'll search for the names and that stuff and give u all the thru names.

Give me fuel, give me fire, give me all that I desire

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 06 December 2001 12:39     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Oh dear Lord, no...

Don't edit the .txt files in anything but a good, reliable spreadsheet program that will display in a tab-delimited format.

If you don't have MS Excel...which is the best choice (except for the runes.txt file, which it tends to munch and ruin for some reason)...go to Phrozen Keep's Tools of the Trade section and download the D2Excel editor...which is sort of a simplified version of the "real" Excel. It works great and to the best of my knowledge doesn't destroy runes.txt or any other .txt file. It doesn't have the same full range of functionality as MS Excel...but it's a good tool for modding nonetheless.

I don't know if this will solve your problems or not...but it's a very bad idea to mod the .txt files in any kind of word processing or document-reading program like MS Word, Notepad, Wordpad, or any of the others.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

[This message has been edited by jbouley (edited 06 December 2001).]

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 06 December 2001 13:48     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
OK, lets hope that was the problem

Give me fuel, give me fire, give me all that I desire

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 07 December 2001 11:23     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I'M REALLY BECOMMING MAD!!!
NOW THAT I'VE DOWNLOADED D2EXCEL I THOUGHT: THAT MUST BE THE SOLUTION! BUT NO! THIS IS WHAT I'VE DONE:
1. I've opened MPQview and saved misc.txt to my mod workplace\mods folder
2. I've opened the misc.txt with D2excel and changed the maxstack from the bolts to 500
3. I saved misc.txt to my mod workplace\mods and data\global\excel folder
4. I made a txt file which says:
O patch_d2.mpq
A misc.txt data\global\excel\misc.txt
A misc.bin data\global\excel\misc.bin
C patch_d2.mpq
and I saved it to my mod workplace\mods folder
5. I made a .bat file which says:
mpq2k s mymod.txt
and I saved it to my mod workplace\mods folder
6. I runned the .bat file
7. It says:
Line 1: Opening data archive
Line 2: Adding uncompressed data\global\excel\misc.txt... Done
Line 3: Error: Attempt to add nonexistent file misc.bin to archive
Line 4: Closing write archive
8. I run “C:\Program Files\Diablo II\Game.exe” -txt
9. I run DII and I open a character
10. I can open DII with a character and I exit DII
11. I copy all the bin file files which have generated into my data\global\excel folder to my mod workplace\mods folder
12. I run the .bat file again
13. It says:
Line 1: Opening data archive
Line 2: Adding uncompressed data\global\excel\misc.txt... Done
Line 3: Adding uncompressed data\global\excel\misc.bin... Done
Line 4: Closing write archive
14. I run “C:\Program Files\Diablo II\Game.exe” -direct -txt
15. I run DII with a character and the max stack value of the bolts are 500
16. I see if the size of the .mpq file is bigger: yes
17. I copy the .mpq file from my mod workplace\mods folder to my DII folder.
18. I run DII again just the way I would run the original DII (C:\Program Files\Diablo II\Game.exe) and the maxstack of the bolts are 250
PLZ HELP ME

------------------
Give me fuel, give me fire, give me all that I desire

IP Logged

54x
Moderator

Posts: 3080
From: Wellington, New Zealand
Registered: Apr 2001

posted 07 December 2001 12:01     Click Here to See the Profile for 54x   Click Here to Email 54x        Reply w/Quote   Visit 54x's Homepage!
copy the binfile into your mpq AFTER you run your mod -direct -txt.

This way, you can test EXACTLY WHICH changes you are adding.

Only problem with this method -> You need to copy the string files and stuff as well once you get to editing those.

------------------
54x.
"My computer has wheels on giant stilts that allow me to drive it over all the other, slower computers."
"For great bandwidth!"
http://www.planetdiablo.com/newdawn/
New Dawn Forum

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 08 December 2001 00:36     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
1. I've opened MPQview and saved misc.txt to my mod workplace\mods folder
2. I've opened the misc.txt with D2excel and changed the maxstack from the bolts to 500
3. I saved misc.txt to my mod workplace\mods and data\global\excel folder
4. I made a txt file which says:
O patch_d2.mpq
A misc.txt data\global\excel\misc.txt
A misc.bin data\global\excel\misc.bin
C patch_d2.mpq
and I saved it to my mod workplace\mods folder
5. I made a .bat file which says:
mpq2k s mymod.txt
and I saved it to my mod workplace\mods folder
6. I runned the .bat file
7. It says:
Line 1: Opening data archive
Line 2: Adding uncompressed data\global\excel\misc.txt... Done
Line 3: Error: Attempt to add nonexistent file misc.bin to archive
Line 4: Closing write archive
8. I run “C:\Program Files\Diablo II\Game.exe” -txt
9. I run DII and I open a character
10. I can open DII with a character and I exit DII
11. I copy all the bin file files which have generated into my data\global\excel folder to my mod workplace\mods folder
12. I run -direct -txt
13. I open a character and it loads
14. I run the .bat file again and it says:
Line 1: Opening data archive
Line 2: Adding uncompressed data\global\excel\misc.txt... Done
Line 3: Adding uncompressed data\global\excel\misc.bin... Done
Line 4: Closing write archive
15. I copy the .mpq file (which is bigger) from my mod workplace\mods folder to my DII folder
16. I run the shortcut: C:\Program Files\Diablo II\Game.exe but no.... the maxstack is only 250 PLZ HELP

------------------
Give me fuel, give me fire, give me all that I desire

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 08 December 2001 01:59     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I'll see if I can install a plugin...

------------------
Give me fuel, give me fire, give me all that I desire

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 08 December 2001 06:06     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
Finally some succes!
I tried to add the buyable mana potions plugins to the 1.09b patch.... and it worked!
This is what I did:
1. I got coppied misc.txt and the misc.bin file to my mod workplace\mods and data\global\excel folder
2. I made a txt file which says:
O patch_d2.mpq
A misc.txt data\global\excel\misc.txt
A misc.bin data\global\excel\misc.bin
C patch_d2.mpq
3. I made a .bat file which says:
mpq2k s mymod.txt
4. I runned the bat file
5. The size of the patch_d2.mpq was bigger
6. I coppied the .mpq file in the mod workplace\mods folder to the DII folder
7. I runned my shortcut (C:\Program Files\Diablo II\Game.exe)
8. I could buy mana potions in act 4 and 5!

But now the problem: if I make my own mod with maxstack of the bolts 500, it doesn't work..... HELP PLZ

------------------
Give me fuel, give me fire, give me all that I desire

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 08 December 2001 12:04     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
I think I've suggested this before to you, but didn't Blizz cap the arrows and bolts? I don't know, as I think I have mine set to only 300 or 350 or something like that.

But I'm wondering if perhaps the game is hardcoded at a certain max arrow level.

If that's the case, you'd need to hex edit the .dll files to get what you want.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged


This topic is 2 pages long:   1  2 

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c