Titan Quest


Go Back   Titan Quest Forums > Modding Titan Quest > Modifications and The Editor
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



If you are having problems logging in, send a mail to webmaster@titanquest.net and we'll try to sort something out.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2008, 12:15 AM
lufe's Avatar
lufe
[User Offline]
 
Join Date: Jan 2008
Posts: 548
Default Can anyone please confirm this? (Database.arz question)

My question is simple, but I need someone that has done this to confirm:

There is 2 database.arz files in Titan Quest:

1) The original Titan Quest database.arz
2) The Titan Quest Immortal Throne database.arz

My question is:

If we create a .dbr file on "Titan Quest Immortal Throne" database.arz with the same name, on the same path as the the one on the original Titan Quest's database.arz, does the TQIT's .dbr take precedence over the TQ's .dbr?

This is very important for the work I'm doing. Many thanks for a based-on-experience question.
__________________
Reply With Quote
  #2 (permalink)  
Old 07-13-2008, 06:04 AM
Sagus
[User Offline]
Citizen
 
Join Date: Jul 2007
Posts: 58
Default Re: Can anyone please confirm this? (Database.arz question)

Quote:
Originally Posted by lufe View Post
If we create a .dbr file on "Titan Quest Immortal Throne" database.arz with the same name, on the same path as the the one on the original Titan Quest's database.arz, does the TQIT's .dbr take precedence over the TQ's .dbr?
Well, I've done a few modifications to the non-IT skills in IT's database (with original TQ pathing inside) and they all work. So, I guess, that's a "yes".

Although, I can't say if IT's files take precedence over original TQ's inside one database (e.g. "xpack\creatures\pc\malepc01.dbr" versus "creature\pc\malepc01.dbr"). But neither can I tell why anyone would try that...
Reply With Quote
  #3 (permalink)  
Old 07-13-2008, 06:27 AM
lufe's Avatar
lufe
[User Offline]
 
Join Date: Jan 2008
Posts: 548
Default Re: Can anyone please confirm this? (Database.arz question)

Hi Sagus,

Yes, inside one database... I also don't see any practical application. But what I believe is that on this specific case, IT executable would search for the "xpack" directory while TQ executable would search for the "creatures" directory.

But what I really needed to know was what you answered Thanks.
__________________
Reply With Quote
  #4 (permalink)  
Old 07-13-2008, 04:15 PM
p0a
[User Offline]
Citizen
 
Join Date: May 2008
Posts: 95
Default Re: Can anyone please confirm this? (Database.arz question)

Okay, so here's the deal. The "database" functions just like your hard drive's file system. The path to the .dbr works exactly like the folders on your disk. The .dbrs are accessed by that path, with the one trick being that entries in the TQIT database overwrite those in the TQ database. This behavior is exactly as if you were to extract two zip files with similar contents to the same location. The entries with the same path would be overwritten by the second one you extracted. So x/y/z.dbr would overwrite x/y/z.dbr ONLY. Keep in mind that XPack is just another folder; x/y/z.dbr is completely unrelated to XPack/x/y/z.dbr.

Now, some .dbrs are loaded by exact name stored directly in one of the executable files. These are the ones that might be perceived as being chosen out of XPack depending on which game is run, but that is NOT the case. The only time XPack/x/y/z.dbr would be used instead of x/y/z.dbr is when it is called out by name. So, tqit executable may say to use XPack/x/y/z.dbr while titanquest may say to use x/y/z/dbr. There is NO case where you could override any x/y/z.dbr by storing the replacement in the XPack folder.
__________________
-- Psych0phobiA
Reply With Quote
Reply


Thread Tools
Display Modes


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 08:59 AM.


Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Titan Quest Forums are not affiliated with THQ/Iron Lore.