Page 1 of 3

Dialogues don't work

Posted: Mon Jan 08, 2024 10:30 pm
by FeMaster
hi there again guys, look, i've translated this part and did'nt work in-game, don't know what may be the problem

Image

Image

Re: Dialogues don't work

Posted: Mon Jan 08, 2024 11:36 pm
by Daneel53
This dialog comes from the file Internal_RSC that, in my translation tutorial, I described as "the most difficult file to deal with because the DFU parser is sensible and it is the file on which [...] I spend the longest time before having a file 100% readable by DFU".

If there is only one syntax error into the translated file, the rest of the file (if not all, don't remember) is rejected by the DFU parser.
The rule is clear: all records that are spread on several lines must begin and end with a " character, and if there is conversation inside a record that must be displayed between quotes, then the internal quotes must be doubled. See for example record 256."

So, sorry, but the only thing to say is: reread and reread again your file, until all syntax errors are fixed.

NB: If I had time, it would be interesting to code a small parser that would analyse this file in order to detect the syntax errors.
You can post your file, may be I will see something...

Re: Dialogues don't work

Posted: Tue Jan 09, 2024 12:48 am
by FeMaster
So, I did a test and took the file without any editing, and only edited this specific dialog, and it didn't work either, could another text file interfere as well?

Image

Image

Re: Dialogues don't work

Posted: Tue Jan 09, 2024 1:08 am
by Daneel53
This line is correct. Must have a syntax error somewherere else.

Stupid question: your file is placed into StreamingAssets/Text?

Post your file, I will have a look.

Re: Dialogues don't work

Posted: Tue Jan 09, 2024 1:18 am
by FeMaster
This test I did was with a text file without any editing, so I basically reset everything and edited just this part to see if it works. And yes, it's on StreamingAssets
https://www.mediafire.com/file/ejhyl7dk ... C.csv/file
this is the file i've made the test, the only line edited is the 3089

Re: Dialogues don't work

Posted: Tue Jan 09, 2024 1:22 am
by FeMaster
https://www.mediafire.com/file/ejhyl7dk ... C.csv/file

this is the one i've been translating

Re: Dialogues don't work

Posted: Tue Jan 09, 2024 1:54 am
by Daneel53
I agree that it is nor present in the English file, but a [/end]" seems missing as very last line.
I have one in my French file.
And in my file the records 9000, 9400 and 9999 are at the very end, after record 9000.40.

Here is how my file finishes:

quand il en voit une et ce n'est pas la peine de perdre[/left]
votre temps à lui en demander la raison.[/left]
[/end]"
9000,Deprecated record.
9400,Reserved to 9912 for Bruce and Co. (do not translate)[/end]
9999,Dummy entry. Must always [/end]

Re: Dialogues don't work

Posted: Tue Jan 09, 2024 3:04 am
by FeMaster
But doesnt' worked even at the english file with just that single part being translated. and editing the end doesn't seem to make nothing :/

Re: Dialogues don't work

Posted: Tue Jan 09, 2024 3:05 am
by FeMaster
And strangely parts right after that one like ''Since I have nothing nice a say'' works well

Re: Dialogues don't work

Posted: Tue Jan 09, 2024 4:34 am
by 높은산_낮은산
I also agree with the syntax error; it happened to me as well.
It is painful to check all lines of CSV, but regular expressions should help.