Dialogues don't work

Discuss translation of Daggerfall Unity and the required Daggerfall installation. Help other communities learn how to translate Daggerfall using any available tools and processes.
FeMaster
Posts: 66
Joined: Mon Nov 13, 2023 5:33 pm
Location: Chestercroft (Dwynnen)

Dialogues don't work

Post 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
Shy necromancer

User avatar
Daneel53
Posts: 107
Joined: Wed Jul 15, 2020 11:15 pm
Contact:

Re: Dialogues don't work

Post 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...
In charge of Project French Daggerfall and DaggerfallSetup, dev. of DFTools in English.
French translator for many Warband mods and Bannerlord.

FeMaster
Posts: 66
Joined: Mon Nov 13, 2023 5:33 pm
Location: Chestercroft (Dwynnen)

Re: Dialogues don't work

Post 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
Shy necromancer

User avatar
Daneel53
Posts: 107
Joined: Wed Jul 15, 2020 11:15 pm
Contact:

Re: Dialogues don't work

Post 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.
In charge of Project French Daggerfall and DaggerfallSetup, dev. of DFTools in English.
French translator for many Warband mods and Bannerlord.

FeMaster
Posts: 66
Joined: Mon Nov 13, 2023 5:33 pm
Location: Chestercroft (Dwynnen)

Re: Dialogues don't work

Post 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
Shy necromancer

FeMaster
Posts: 66
Joined: Mon Nov 13, 2023 5:33 pm
Location: Chestercroft (Dwynnen)

Re: Dialogues don't work

Post by FeMaster »

https://www.mediafire.com/file/ejhyl7dk ... C.csv/file

this is the one i've been translating
Shy necromancer

User avatar
Daneel53
Posts: 107
Joined: Wed Jul 15, 2020 11:15 pm
Contact:

Re: Dialogues don't work

Post 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]
In charge of Project French Daggerfall and DaggerfallSetup, dev. of DFTools in English.
French translator for many Warband mods and Bannerlord.

FeMaster
Posts: 66
Joined: Mon Nov 13, 2023 5:33 pm
Location: Chestercroft (Dwynnen)

Re: Dialogues don't work

Post 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 :/
Shy necromancer

FeMaster
Posts: 66
Joined: Mon Nov 13, 2023 5:33 pm
Location: Chestercroft (Dwynnen)

Re: Dialogues don't work

Post by FeMaster »

And strangely parts right after that one like ''Since I have nothing nice a say'' works well
Shy necromancer

높은산_낮은산
Posts: 40
Joined: Mon Apr 17, 2023 11:33 am

Re: Dialogues don't work

Post 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.

Post Reply