the Phrozen Forums
  General Mod Making
  A question on .tbl files

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:   A question on .tbl files
JaxB
Serf

Posts: 11
From: Cashmere, WA USA
Registered: Jan 2002

posted 04 February 2002 01:11     Click Here to See the Profile for JaxB   Click Here to Email JaxB        Reply w/Quote   
I reading through the tutorals, it says that the tbl files ar located at:

data\local\LNG\ENG\string.tbl (in the d2data.mpq file from your D2 directory)

data\local\LNG\ENG\expansionstring.tbl (in the d2exp.mpq file from your D2 directory - LoD only)

data\local\LNG\ENG\patchstring.tbl (in the patch_d2.mpq file from your D2 directory)

But in looking thru Jeff Bouleys SIC mod all three are located in Patch_d2.mpq????? Will they work if they are all in Patch_d2.mpq??

Thanks for your help. Jack

IP Logged

Wyvern
Honorary Warlord

Posts: 1137
From: A very large cave
Registered: Jan 2002

posted 04 February 2002 01:52     Click Here to See the Profile for Wyvern   Click Here to Email Wyvern        Reply w/Quote   
i wonder how he did that and why he would. Care to tell us =)

[This message has been edited by Wyvern (edited 04 February 2002).]

IP Logged

Myhrginoc
Honorary Warlord

Posts: 1326
From: Percussion U
Registered: Dec 2001

posted 04 February 2002 18:26     Click Here to See the Profile for Myhrginoc   Click Here to Email Myhrginoc        Reply w/Quote   
You can have all sorts of files in patch_d2.mpq. They'll override any file in the other mpqs of the same filename, as long as you put them in the right virtual directories.

The reason he has all three .tbl files in there is he made changes in all three.

BTW, never ever pack your modded files into any of the other mpqs, ONLY in patch_d2.mpq. Aside from possible crashes due to mpq size on some of the release files, you will find it easier to manage your mods if you make all your changes happen in the same place each time.

[This message has been edited by Myhrginoc (edited 04 February 2002).]

IP Logged

JaxB
Serf

Posts: 11
From: Cashmere, WA USA
Registered: Jan 2002

posted 04 February 2002 18:36     Click Here to See the Profile for JaxB   Click Here to Email JaxB        Reply w/Quote   
Thinks, I thought that if patch_d2 overrides the other two, this would be safe to do but wanted to know for sure...

IP Logged

jbouley
Forum Admin.

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

posted 05 February 2002 20:00     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Myhrginoc is right on the money...I had to make changes to all of them for my mod (why patchstring.tbl, you ask? Well, because there are a couple entries in there that duplicate entries in the other two .tbl files, and patchstring.tbl overrides both of them...I found that out when I made the changes in expansionstring.tbl but they never showed up in the game).

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.1 of Sanctuary in Chaos

- Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

Gomez
Serf

Posts: 11
From: Taipei, Taiwan
Registered: Nov 2001

posted 05 February 2002 22:14     Click Here to See the Profile for Gomez   Click Here to Email Gomez        Reply w/Quote   
I'm editing the .TBL files also, and I have a similar problem.

First of all, why do you need to edit ALL three .TBL files (string.tbl, expansionstring.tbl, patchstring.tbl) to get results? If patchstring.tbl (supposedly) overrides the other two, why not just add/edit the entries in patchstring.tbl alone?

Does D2 recognized added entries? I have read somewhere that the game searches strings by index number, and would it work if I added additional entries? Or does only editing existing ones work?

IP Logged

Alkalund
Honorary Warlord

Posts: 964
From: Florianópolis, Santa Catarina, Brazil
Registered: Apr 2001

posted 05 February 2002 22:18     Click Here to See the Profile for Alkalund   Click Here to Email Alkalund        Reply w/Quote   
quote:
Originally posted by Gomez:
If patchstring.tbl (supposedly) overrides the other two, why not just add/edit the entries in patchstring.tbl alone?

Mainly because if blizzard released another patch with a new pathstring.tbl we would have a hard time to type EVERYTHING again in the new patchstring.tbl

------------------
"Get me a balrog attack-1 hand-to-hand animation, and I want it yesterday, the paladin is almost here!" ---> DMA1HTH @ offset 0006A480h. - Myhrginoc

IP Logged

Gomez
Serf

Posts: 11
From: Taipei, Taiwan
Registered: Nov 2001

posted 05 February 2002 22:32     Click Here to See the Profile for Gomez   Click Here to Email Gomez        Reply w/Quote   
Huh?

Well, the reason I'm editing .TBL files is because I have the Chinese version, and the company responsible for translating from english did a really crappy job on it. There are many mistakes, and they confuse my little cousin who plays D2 over at my house.
For example: targe and rondache (paladin shields) are just xlated as 'buckler' and amulets and charms have the same word. And someone was blind enough to xlate the suffix 'of Blight' as 'of Bright'

I edited (and also added) entries in patchstring.tbl since I assumed it would override the other two, but changes do not show up. Maybe I should edit the other two .TBL files...

IP Logged

Myhrginoc
Honorary Warlord

Posts: 1326
From: Percussion U
Registered: Dec 2001

posted 06 February 2002 17:42     Click Here to See the Profile for Myhrginoc   Click Here to Email Myhrginoc        Reply w/Quote   
A foreign language version stores the string tables in language-specific directories. You probably have read a bunch of advice about strings being in data/local/lng/eng...that's the english version. You have to look for and load files into the directory specific to your language version. The Chinese files would be in data/local/lng/chi. When you pack in string.tbl and expansionstring.tbl, they have to go to that language's location too.

What Alkalund was referring to is the (distant) possibility Blizzard releases another patch. If so, you would get a new patch_d2.mpq file which will overwrite your mod. You can easily re-insert the other files, but you would need THEIR copy of patchstring.tbl to get any new strings or string overrides they release. So if you mod that file extensively, you would have to re-enter every single one in the new copy. One at a time, too...<sigh>, unless you use Enquettar. Better to mod string.tbl, since that file is done in Blizzard's eyes. Only mod patchstring.tbl if it overrides something you want to mod in the other tables. The fact that patchstring.tbl is another cranky file like runes.txt is extra incentive to avoid it.

[This message has been edited by Myhrginoc (edited 06 February 2002).]

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