Author Topic: [DONE] --Traify-comment  (Read 81 times)

Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1494
  • Gender: Female
[DONE] --Traify-comment
« on: November 21, 2022, 03:26:16 AM »
EDIT: ok, the commend is supposed to be used as:
Code: [Select]
weidu --traify filename.de --traify-commentThen it works as expected. :)

From the weidu readme:
Quote
--traify-comment   | output @1 /*  Hello  */ rather than @1 when traifying
I wanted to traify a d-file so the text lines are preserved inside the d-file. From the weidu readme, I thought "--traify-comment" would do that. But if I try to use it, the lines get written into the game's dialog(F).tlk - the d-file remains untouched.
I used the command
Code: [Select]
weidu --traify-comment filename.dEDIT: this was weidu v249

Am I using the command wrongly or did I miss something?
« Last Edit: November 22, 2022, 08:45:32 AM by jastey »

JohnBob

  • Guest
Re: [DONE] --Traify-comment
« Reply #1 on: November 21, 2022, 02:24:29 PM »
Here is an example of a .bat file, which may help you...

Code: [Select]
:: Create the directory for traified dialogs

if exist "ModFolder"\dialogue_traified goto d_tra_exists
mkdir "ModFolder"\dialogue_traified

:: INFO :: --traify-comment = .d or else are traified (with each files begin at @0) and (keep also the text in .d but "uncommented" inside /*...*/
:: INFO :: --traify# = .d or else are traified (with each files start at @"chosen number", like this "--traify# 1100" or "--traify# 1562") but do not keep the text in .d
:: INFO :: --traify-comment --traify# = .d or else are traified (with each files start at @"chosen number", like this "--traify# 1100" or "--traify# 1562") and (keep also the text in .d but "uncommented" inside /*...*/

:: "Dialogue.d Folder"

weidu --nogame --traify Branwen\dialogue\minscj.d  --traify# 500 --out Branwen\dialogue_traified\minscj
weidu --nogame --traify Anymod\Anyfolder\dialogue\anyfile.d     --traify-comment --out Anymod\dialogue_traified\anyfile
weidu --nogame --traify "ModFolder"\dialogue\".d name".d --traify-comment --traify# --out Anymod\dialogue_traified\".d name"
weidu --nogame --traify "ModFolder"\dialogue\".d name".d --traify-comment --traify# --out Anymod\dialogue_traified\".d name"

pause

Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1494
  • Gender: Female
Re: [DONE] --Traify-comment
« Reply #2 on: November 22, 2022, 08:44:54 AM »
That is helpful, thanks.

I don't have the "programmer's eye", I see the listed commands in the weidu readme but I don't get without trying it out how they are suppposed to be used / in which combination and order.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: