Author Topic: A curious fact about game text files  (Read 2384 times)

0 Members and 1 Guest are viewing this topic.

Rated 1 time
Excellent

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 2493
  • Country: bg
  • Karma: +67/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
A curious fact about game text files
« on: 31 October 2020, 04:13:25 »
« Last Rated on: 31 October 2020, 09:07:10 »
For those who are making translations or text repacks for hard mods, there is a trick that can be useful to you:
The game text files with all the tags consist of almost 50 pieces (e.g. commonequipment.txt, dialog.txt, monsters.txt and so on) BUT all these files have a root file and that root is Dialog.txt. That means if you recompile all text files into 1 big text file and you name it dialog.txt, all tags will still display if you've kept the encoding intact.
As proof I give a link to the full Bulgarian translation recompiled in just Dialog.txt:
https://mega.nz/file/xGwkiLqA#_40e5eVax5-kj3woiano_eEZZlDSpucmrsLOe3ZstzY
To test, make a Text_EN folder in your Database folder and put this file in.
Moreover, if the tags in dialog.txt are duplicates with tags from other text file, they will always overwrite them, even for Xpack2 and 3.


Rated 1 time
Excellent

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 2493
  • Country: bg
  • Karma: +67/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
Re: A curious fact about game text files
« Reply #1 on: 24 July 2021, 03:00:20 »
« Last Rated on: 24 July 2021, 12:14:52 »
Ok, i have a little more info, for modders/translators who are modifying the game's text files. I made a list with the text file hierarchy, as it is currently used by the game. Here:

dialog.txt >
xdialog.txt >
x2dialog.txt >
ui.txt >
xui.txt >
x2ui.txt >
monsters.txt >
xmonsters.txt >
x2monsters.txt >
menu.txt >
xmenu.txt >
commonequipment.txt >
xcommonequipment.txt >
x2commonequipment.txt >
uniqueequipment.txt >
xuniqueequipment.txt > 
x2uniqueequipment.txt > 
skills.txt >
xskills.txt >
quest.txt >
xquest.txt >
x2quest.txt >
npc.txt >
xnpc.txt >
x2npc.txt >
install.txt >
xinstall.txt >
tutorial.txt >
xtutorial.txt >
x3mainquest.txt >
x3sidequests.txt >
x3flavournpcs.txt >
x3servicenpcs.txt >
x3tartatus.txt >
x2additionalsidequests.txt >
x3basegame_nonvoiced.txt >
x3mainquest_nonvoiced.txt >
x3sidequests_nonvoiced.txt >
x3nametags_nonvoiced.txt >
x3misctags_nonvoiced.txt >
x3items_nonvoiced.txt


Each file on the list will override all files below it. Dialog.txt will override all, while x3items_nonvoiced.txt will override none. Another thing is, all the tags in x3servicenpcs.txt are used by merchant dialog text and while they are active tags, they are currently unlinked. That means you can dump all the custom tags from your ModStrings.txt file there when making a hard mod. Exception are tags that exist in vanilla, but are modified by you - i recommend you to put those tags in the beginning of Dialog.txt.

Also, there are 4 unused files (do not translate them, they have no effect on the game, actually you're safe to delete them):

x2mainquest.txt
x2sidequest.txt
x2skills.txt
x2tutorial.txt

« Last Edit: 24 July 2021, 03:27:15 by nargil66 »

Tags:
 


SimplePortal 2.3.7 © 2008-2024, SimplePortal