Author
|
Topic: A question on .tbl files
|
JaxB Serf
Posts: 11 From: Cashmere, WA USA Registered: Jan 2002 |
posted 04 February 2002 01:11
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

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 04 February 2002 01:52
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).]

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 04 February 2002 18:26
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).]

|
JaxB Serf
Posts: 11 From: Cashmere, WA USA Registered: Jan 2002 |
posted 04 February 2002 18:36
Thinks, I thought that if patch_d2 overrides the other two, this would be safe to do but wanted to know for sure...

|
jbouley Forum Admin.
    
Posts: 4907 From: Portland, Maine, USA Registered: Jan 2001 |
posted 05 February 2002 20:00
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

|
Gomez Serf
Posts: 11 From: Taipei, Taiwan Registered: Nov 2001 |
posted 05 February 2002 22:14
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?

|
Alkalund Honorary Warlord
   
Posts: 964 From: Florianópolis, Santa Catarina, Brazil Registered: Apr 2001 |
posted 05 February 2002 22:18
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

|
Gomez Serf
Posts: 11 From: Taipei, Taiwan Registered: Nov 2001 |
posted 05 February 2002 22:32
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...

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 06 February 2002 17:42
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).]

|