the Phrozen Forums
  General Mod Making
  Beginning with Moding

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

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Beginning with Moding
AzzieZeLuckylessOne
Squire

Posts: 32
From: Hell: North Discomfort 405
Registered: Jan 2002

posted 14 January 2002 08:40     Click Here to See the Profile for AzzieZeLuckylessOne   Click Here to Email AzzieZeLuckylessOne        Reply w/Quote   
Hello there!
Once I knew how to extract files from an archive with MPQ2K, I thought I was ready to create my first own mod. Following the tutorials, I tried to make a very simple one, in which the only modification is a new 3 parts expansion set. But I miserabily failed! So, I've got a few questions for you, skilly moders!
-If I correctly understood, patchstring.tbl, string.tbl and expansionstring.tbl work together, but patchstring.tbl is the latest reference for the game in the case where keys are similar in both tbl files... So, if I want to add 4 new keys for my set, have I to add them to patchstring.tbl or to expansionstring.tbl (this way will be more difficult. It's hard to work with d2data.mpq and d2exp.mpq coz they are 250megs each! In these conditions, it's difficult to make backups!)?
-When I launch a game with the txt extension in order to create my bin files, I can choose a character, but after that, the game crash, why?
Um, I think that's all for the moment...

PS: My english is always as poor as before, so please scuse me if you can't understand what Itry to say...

IP Logged

KieferHub
Lord

Posts: 109
From: Germany
Registered: Nov 2001

posted 14 January 2002 09:43     Click Here to See the Profile for KieferHub   Click Here to Email KieferHub        Reply w/Quote   
---------
If I correctly understood, patchstring.tbl, string.tbl and expansionstring.tbl work together, but patchstring.tbl is the latest reference for the game in the case where keys are similar in both tbl files...
---------

right but not in all cases sometimes you have to edit strings in string.tbl or expansionstring.tbl because it's hardcoded to be there. That means editing it in patchstring.tbl dosn't work.

---------
-When I launch a game with the txt extension in order to create my bin files, I can choose a character, but after that, the game crash, why?
Um, I think that's all for the moment...
---------

use the "-txt -direct -w" "-w" will run the game into a window so that you will get the error message. maybe it's just a problem with big and small letters. always make sure that you will use the exact spelling if you use "Sigons" in one file and in the other "sigons" it will not work. Maybe you post the line you have changes here into the forum ...

IP Logged

AzzieZeLuckylessOne
Squire

Posts: 32
From: Hell: North Discomfort 405
Registered: Jan 2002

posted 14 January 2002 10:33     Click Here to See the Profile for AzzieZeLuckylessOne   Click Here to Email AzzieZeLuckylessOne        Reply w/Quote   
Re-reading the tutorials, I've finally changed my mind and decided to mod the runewords. I tried to enabled a new runeword (n#23) called Momoche's Boss (Chef des Momoches in french). So, I follow the tutorial step by step. I've extracted runes.txt and runes.bin from d2exp.mpq and added them to my patch_d2.mpq Then, I've edited runes.txt and made these changes:
change runename column from Desire to Momoche's Boss
put 1 in column "complete"
use r02 and r01 to complete the runeword
T1Code1 T1Param1 T1Min1 T1Max1
res-all 33 33
T1Code2 T1Param2 T1Min2 T1Max2
lifesteal 15 15
T1Code3 T1Param3 T1Min3 T1Max3
manasteal 15 15
T1Code4 T1Param4 T1Min4 T1Max4
ac% 200 200
T1Code5 T1Param5 T1Min5 T1Max5
nofreeze 1 1

In patchstring.tbl, I've added key: Runeword23 with string: Chef des Momoches

Then, I've added these files to my patch_d2.mpq, using a batch file(with a command line for runes bin), copy runes.txt to my Diablo2\data\global\excel\, then launched the game with -direct -txt -w... Fiouh! And all I get from that mess when I tried to run a game with a new char is this poor error message:
Assertion Failure
Location: Fog\Src\Excel\Excel.cpp line#259
Expression: *data == SYM_EOL
Is my runeword test so strong that the game can't deal with it!

AARRGGHH!!

------------------
"Ne sois pas si défaitiste, comme tant de jeunes démons. Beaucoup d'entre eux sont paresseux, ils se contentent de traîner, de se droguer, de se raconter des histoires, d'aller au plus facile sur le chemin de l'eternité. Tu n'es pas comme ça, toi. Tu es intelligent, astucieux, tu as des principes, de l'initiative. Secoues-toi un peu! Tu pourrais réellement avoir une chance."

IP Logged

KieferHub
Lord

Posts: 109
From: Germany
Registered: Nov 2001

posted 14 January 2002 10:52     Click Here to See the Profile for KieferHub   Click Here to Email KieferHub        Reply w/Quote   
well first at all you haven't have to add a string to patchstring.tbl because for all incompleted runeword there is allready a string within the expansionstring.tbl

and have you written something to the "itypeX" columns? You have to add at least one itemtype the runeword is working on. For example put to "itype1" column:
"tors" to enable it within socked armors

use
"miss" for missile weapons
"weap" for any weapon
"swor" for swords
and so on whatever you want it to be a runeword for

IP Logged

AzzieZeLuckylessOne
Squire

Posts: 32
From: Hell: North Discomfort 405
Registered: Jan 2002

posted 14 January 2002 10:52     Click Here to See the Profile for AzzieZeLuckylessOne   Click Here to Email AzzieZeLuckylessOne        Reply w/Quote   
The numbers I wrote in my last reply should have been under Min and Max column

------------------
"Ne sois pas si défaitiste, comme tant de jeunes démons. Beaucoup d'entre eux sont paresseux, ils se contentent de traîner, de se droguer, de se raconter des histoires, d'aller au plus facile sur le chemin de l'eternité. Tu n'es pas comme ça, toi. Tu es intelligent, astucieux, tu as des principes, de l'initiative. Secoues-toi un peu! Tu pourrais réellement avoir une chance."

IP Logged

KieferHub
Lord

Posts: 109
From: Germany
Registered: Nov 2001

posted 14 January 2002 10:55     Click Here to See the Profile for KieferHub   Click Here to Email KieferHub        Reply w/Quote   
and a general hint

don't make mpq files while creating the mod only for public releases. better creat that folders and rune the game with "-txt -direct -w" command. it saves alot of time. But always make sure that the files are copied to the right folders (the folders are the same like the ones in the mpqs)

IP Logged

KieferHub
Lord

Posts: 109
From: Germany
Registered: Nov 2001

posted 14 January 2002 10:57     Click Here to See the Profile for KieferHub   Click Here to Email KieferHub        Reply w/Quote   
-----------
The numbers I wrote in my last reply should have been under Min and Max column
-----------

I know. It's nearly imposible to format the txt in the forum

IP Logged

AzzieZeLuckylessOne
Squire

Posts: 32
From: Hell: North Discomfort 405
Registered: Jan 2002

posted 14 January 2002 10:58     Click Here to See the Profile for AzzieZeLuckylessOne   Click Here to Email AzzieZeLuckylessOne        Reply w/Quote   
Yeah, I don't change itype, it was helm, I thougt it was. Then, the error should probably come from my add to patchstring.tbl
If I understood you, all I need to do with tbl's is to modificate the string associated to Runeword23 in expansionstring.tbl
Once it's done, can I replace expansionstring.tbl in patch_d2.mpq or am I obligated to re-add it to D2exp.mpq?

------------------
"Ne sois pas si défaitiste, comme tant de jeunes démons. Beaucoup d'entre eux sont paresseux, ils se contentent de traîner, de se droguer, de se raconter des histoires, d'aller au plus facile sur le chemin de l'eternité. Tu n'es pas comme ça, toi. Tu es intelligent, astucieux, tu as des principes, de l'initiative. Secoues-toi un peu! Tu pourrais réellement avoir une chance."

IP Logged

AzzieZeLuckylessOne
Squire

Posts: 32
From: Hell: North Discomfort 405
Registered: Jan 2002

posted 14 January 2002 11:04     Click Here to See the Profile for AzzieZeLuckylessOne   Click Here to Email AzzieZeLuckylessOne        Reply w/Quote   
---------------------------------------------
don't make mpq files while creating the mod only for public releases. better creat that folders and rune the game with "-txt -direct -w" command. it saves alot of time. But always make sure that the files are copied to the right folders (the folders are the same like the ones in the mpqs)
---------------------------------------------

You want to say like D2\data\global\excel and all that sort of directories? Thx, pretty cool to know!
Do I still need to repack the files in my mpq, or must this operation only be done when your mod is complete?

Thx for your help

------------------
"Ne sois pas si défaitiste, comme tant de jeunes démons. Beaucoup d'entre eux sont paresseux, ils se contentent de traîner, de se droguer, de se raconter des histoires, d'aller au plus facile sur le chemin de l'eternité. Tu n'es pas comme ça, toi. Tu es intelligent, astucieux, tu as des principes, de l'initiative. Secoues-toi un peu! Tu pourrais réellement avoir une chance."

IP Logged

KieferHub
Lord

Posts: 109
From: Germany
Registered: Nov 2001

posted 14 January 2002 12:20     Click Here to See the Profile for KieferHub   Click Here to Email KieferHub        Reply w/Quote   
you can add string.tbl and expansionstring.tbl to the patch_d2.mpq like every other file.

-------------
You want to say like D2\data\global\excel and all that sort of directories? Thx, pretty cool to know!
Do I still need to repack the files in my mpq, or must this operation only be done when your mod is complete?
-------------

year creat "data\global\excel" and creat "data\local\lng\fra" and put your moded tbl file into this folder.

you don't need to repack the files to the mpqs just run with "-txt -direct" only if the mod is finished it easier for other people to handel just one file the patch_d2.mpq so you will have to creat it.

---------
Thx for your help
---------
np

IP Logged

AzzieZeLuckylessOne
Squire

Posts: 32
From: Hell: North Discomfort 405
Registered: Jan 2002

posted 16 January 2002 05:59     Click Here to See the Profile for AzzieZeLuckylessOne   Click Here to Email AzzieZeLuckylessOne        Reply w/Quote   
Hello there!
I'm now more in trouble with extracting, repacking and making simples modifications in my files, but I still have a problem... Every time I try to launch a game with a character in order to create bin files and to test my mod, the game crash! The error message is still the same than in my last reply, but I made a mistake, line is 529 and no 259... If someone has an idea...

------------------
"Ne sois pas si défaitiste, comme tant de jeunes démons. Beaucoup d'entre eux sont paresseux, ils se contentent de traîner, de se droguer, de se raconter des histoires, d'aller au plus facile sur le chemin de l'eternité. Tu n'es pas comme ça, toi. Tu es intelligent, astucieux, tu as des principes, de l'initiative. Secoues-toi un peu! Tu pourrais réellement avoir une chance."

IP Logged

Thogrim
Squire

Posts: 34
From: Karaz-a-Karak,The Worlds Edge Mountains
Registered: Jan 2002

posted 16 January 2002 08:23     Click Here to See the Profile for Thogrim   Click Here to Email Thogrim        Reply w/Quote   Visit Thogrim's Homepage!
I think it means that you somewere in one of the txt files added some data which diablo doesn't allow you to do

------------------
There's nothin' as sure in the world as the glitter of gold and the treachery of Elves - Old Dwarf Saying

IP Logged

AzzieZeLuckylessOne
Squire

Posts: 32
From: Hell: North Discomfort 405
Registered: Jan 2002

posted 17 January 2002 15:26     Click Here to See the Profile for AzzieZeLuckylessOne   Click Here to Email AzzieZeLuckylessOne        Reply w/Quote   
It seems me strange coz the only modifications I did in a txt files are the ones that I listed before...
I can't understand! I tried many others modifications and always get the same error message! Grrrrrr Moding the game is hell! Kill Baal is a lot easier lol

------------------
"Ne sois pas si défaitiste, comme tant de jeunes démons. Beaucoup d'entre eux sont paresseux, ils se contentent de traîner, de se droguer, de se raconter des histoires, d'aller au plus facile sur le chemin de l'eternité. Tu n'es pas comme ça, toi. Tu es intelligent, astucieux, tu as des principes, de l'initiative. Secoues-toi un peu! Tu pourrais réellement avoir une chance."

IP Logged

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