the Phrozen Forums
  General Mod Making
  Naming in string tables

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:   Naming in string tables
Chineseman
Honorary Warlord

Posts: 357
From: The Philippines
Registered: Mar 2002

posted 04 February 2002 03:13     Click Here to See the Profile for Chineseman   Click Here to Email Chineseman        Reply w/Quote   
Hey guys!
I've got a question on .tbl files. Can I just use the patchstring.tbl file instead of string.tbl if I want to add new item names?
I realized that if I add .txt files in D2X's patch_d2.mpq that aren't usually there, the mpq file gets bigger by a lot. My patch_d2.mpq file is already 2.5 Mb, and the only ones I changed so far are the misc.txt, cubemain.txt, itemtypes.txt, automagic.txt, inventory.txt, treasureclassex.txt, and armor.txt. Whew! Come to think of it, I think I've already done a lot! Hehehe. I just started modding last week, and I've already learned a lot. Speacial thanks to Axalon and JBouley!
I wanna use oatchstring.tbl only, so that I'll avoid having a very big mpq file. Sanctuary In Chaos is in a whopping 9.3 Mb, which is not that portable if you're gonna use stone-age-saving-equipments like microfloppy disks.
Hope to have your replies soon!

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

IP Logged

Wyvern
Honorary Warlord

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

posted 04 February 2002 06:35     Click Here to See the Profile for Wyvern   Click Here to Email Wyvern        Reply w/Quote   
you sure can but to see the changes u must insert it =)

IP Logged

Myhrginoc
Honorary Warlord

Posts: 1326
From: Percussion U
Registered: Dec 2001

posted 04 February 2002 18:37     Click Here to See the Profile for Myhrginoc   Click Here to Email Myhrginoc        Reply w/Quote   
And Jeff will warn you to stay out of Patchstring.tbl as much as possible. Apparently that is one of the touchy files VERY sensitive to mis-editing. I added a few keys early on, read his advice and moved my stuff to string.tbl.

So you might consider: new strings in string.tbl, changes in patchstring.tbl which would override anything in the other two .tbls...and then you don't need expansionstring.tbl which will help keep size down.

IP Logged

Chineseman
Honorary Warlord

Posts: 357
From: The Philippines
Registered: Mar 2002

posted 05 February 2002 02:06     Click Here to See the Profile for Chineseman   Click Here to Email Chineseman        Reply w/Quote   
Thanks a lot guys. I'll keep them in mind.
Actually I've tried adding new strings to patchstring.tbl. They worked fine for my new armors. I also tried overriding some names. The "Fallen" I changed to "Wendell" and it worked fine. I changed "Malah" to "Ate May" and it also worked fine. Well I guess if I add too much overriding, it will eventually crash, but I'm not onto that yet.
I'll try adding new set item names to patchstring.tbl and then we'll know...

IP Logged

Wyvern
Honorary Warlord

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

posted 05 February 2002 08:27     Click Here to See the Profile for Wyvern   Click Here to Email Wyvern        Reply w/Quote   
patchstring works great for me though i am new to modding and have only added a few new names to items

IP Logged

Ancient_WarMage
Squire

Posts: 29
From:
Registered: Feb 2002

posted 05 February 2002 11:53     Click Here to See the Profile for Ancient_WarMage   Click Here to Email Ancient_WarMage        Reply w/Quote   
You could also use a batch file to run only the files with changes, its a lot easier than keepin instertin items in that .mpq, and u also dont need to back up/overwrite anything

IP Logged

Chineseman
Honorary Warlord

Posts: 357
From: The Philippines
Registered: Mar 2002

posted 07 February 2002 01:10     Click Here to See the Profile for Chineseman   Click Here to Email Chineseman        Reply w/Quote   
Well, I've got another problem. Everytime I use "-direct -txt" to generate my .bin files, the names of my new uniques change to "an evil force". I've added their names to string.tbl. But when I run the game normally, everything's fine. The names are all there.

My new armors' names work fine in "-direct -txt". It's only the uniques that are affected. Please help.

IP Logged

Axalon
Honorary Warlord

Posts: 2243
From: New England, USA
Registered: Dec 2001

posted 07 February 2002 01:16     Click Here to See the Profile for Axalon   Click Here to Email Axalon        Reply w/Quote   
Did you add your new unique to the very bottom row of the unique.txt? Not in the middle or in-between ... they have to be in the bottom rows

------------------
"To dream a life, or to live a dream ... only through desire shall the sleeper awaken."

IP Logged

Chineseman
Honorary Warlord

Posts: 357
From: The Philippines
Registered: Mar 2002

posted 07 February 2002 03:21     Click Here to See the Profile for Chineseman   Click Here to Email Chineseman        Reply w/Quote   
I tried naming more in patchstring.tbl and it worked fine.

Then I tried moving the new names to string.tbl and then removing them from patchstring.tbl.

What I get is this: when I use -direct -txt, my new unique's names change to "an evil force". But when I play without -direct -txt the names work fine. Is there something wrong here?

Sorry if I had to post this question again. It's related to the topic.

IP Logged

justanothermodder
Knight

Posts: 76
From: Somewhere, Il, USA
Registered: Jul 2001

posted 07 February 2002 06:03     Click Here to See the Profile for justanothermodder   Click Here to Email justanothermodder        Reply w/Quote   
Playting with -direct -txt don't work but
mpq does.

Are the string tables in your
diablo ii/data/local/lng/eng directory?

IP Logged

Chineseman
Honorary Warlord

Posts: 357
From: The Philippines
Registered: Mar 2002

posted 07 February 2002 18:47     Click Here to See the Profile for Chineseman   Click Here to Email Chineseman        Reply w/Quote   
Yes, Axalon I added them all at the bottom of the file (uniqueitems.txt).

I don't think I have the .tbls in my data\local\lng\eng subdirectory. Does that make the problem?

IP Logged

Myhrginoc
Honorary Warlord

Posts: 1326
From: Percussion U
Registered: Dec 2001

posted 07 February 2002 21:10     Click Here to See the Profile for Myhrginoc   Click Here to Email Myhrginoc        Reply w/Quote   
Yes. Any file you alter needs to be in its appropriate place in the directory structure, EXACTLY as it would be when packed in the mpq...or the game won't see it. Look at the data file for MPQView available on the Keep, that will have the complete directory structure in it, and where any file needs to go.

IP Logged

Chineseman
Honorary Warlord

Posts: 357
From: The Philippines
Registered: Mar 2002

posted 10 February 2002 17:46     Click Here to See the Profile for Chineseman   Click Here to Email Chineseman        Reply w/Quote   
Thanks to Axalon, justanothermodder, and Mhyrgonic. Now I know what to do, and the problem's gone.

IP Logged

Deathscythe
Moderator

Posts: 1185
From: The Darkest Part of Hell (Shadow Land)
Registered: Oct 2001

posted 10 February 2002 21:39     Click Here to See the Profile for Deathscythe   Click Here to Email Deathscythe        Reply w/Quote   Visit Deathscythe's Homepage!
hi there chineseman im also from the phillipines and im working on the string tbl... im editing diablo2 in Filipino version and it works fine...ive change all the names in town, the talkings, and monsters items, even the character names like the Barbarian ,amazon,etc'' i change them all to filipino style...

even the Difficultys are change to

mahirap
mas mahirap
pinakamahirap.


i now half finish... you can ask some probelems dealing with this...

------------------

quote:
Beware... for your nightmare is here.....death...

Deathscythe

Visit me @ this site...
www.deathscythe@isgreat.net

IP Logged

Chineseman
Honorary Warlord

Posts: 357
From: The Philippines
Registered: Mar 2002

posted 12 February 2002 07:24     Click Here to See the Profile for Chineseman   Click Here to Email Chineseman        Reply w/Quote   
I'm already posting a new topic for you. Filipino language.

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