Posted by: Kulyok
« on: April 13, 2013, 05:49:16 AM »Because the first post of mine probably wasn't good enough for the first-time traifying, I'll add the following:
Traifying the mod from the beginning: all you need is a Weidu.exe and A COPY(you NEED a backup) of your dialogue file in the same directory.
Just run
weidu --traify MyFile.d --nogame --out MyFile.tra
That's all!
For each file, yes, but it's as simple as that. Finally, for your setup file,
weidu --traify Setup-MyMod.tp2 --nogame --out MyMod.tra
Later, you need to create English folder for your new tra files, and place your new d files into Dialogue folder.
And place this in your .tp2:
AUTO_TRA ~MyMod/%s~
LANGUAGE ~English~ ~English~ ~MyMod/English/Setup-MyMod.tra~
Some people use the whole Translations/English/ subfolder, but it's really a pain afterwards. You can create Translations/English, if you want, though. Just use this in your tp2:
LANGUAGE ~English~ ~English~ ~MyMod/Translations/English/Setup-MyMod.tra~
There're more complex cases, like compiling a AAAA.d file which uses lines from BBBB.tra. In this case, write this in your tp2:
COMPILE ~MyMod/Dialogue/AAAA.d~ USING ~MyMod/%s/BBBB.tra~
Traifying the mod from the beginning: all you need is a Weidu.exe and A COPY(you NEED a backup) of your dialogue file in the same directory.
Just run
weidu --traify MyFile.d --nogame --out MyFile.tra
That's all!
For each file, yes, but it's as simple as that. Finally, for your setup file,
weidu --traify Setup-MyMod.tp2 --nogame --out MyMod.tra
Later, you need to create English folder for your new tra files, and place your new d files into Dialogue folder.
And place this in your .tp2:
AUTO_TRA ~MyMod/%s~
LANGUAGE ~English~ ~English~ ~MyMod/English/Setup-MyMod.tra~
Some people use the whole Translations/English/ subfolder, but it's really a pain afterwards. You can create Translations/English, if you want, though. Just use this in your tp2:
LANGUAGE ~English~ ~English~ ~MyMod/Translations/English/Setup-MyMod.tra~
There're more complex cases, like compiling a AAAA.d file which uses lines from BBBB.tra. In this case, write this in your tp2:
COMPILE ~MyMod/Dialogue/AAAA.d~ USING ~MyMod/%s/BBBB.tra~