Export only the nodes that contain dialogue text

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
dkirwan
Posts: 8
Joined: Wed Jan 04, 2023 9:13 am

Export only the nodes that contain dialogue text

Post by dkirwan »

Hi,

I am wondering if there is a way to only export the nodes in the dialogue system that contain some dialogue text?

We use the dialogue system for our cinematics and controlling other things and only want to localise the nodes that contain the dialogue. Currently exporting will show us all the nodes in each conversation. But we only need the nodes with dialogue text.

Or if removing the blank nodes from the exported sheet and then re-importing without the blank nodes will break the dialogue?

Kind regards,
Daniel Kirwan
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Export only the nodes that contain dialogue text

Post by Tony Li »

Hi,

Which export are you using? The Dialogue Editor window's Database section > Localization Export/Import? If so, you can delete empty nodes from the CSV file. When you reimport the CSV back into the Dialogue System, it will only update the nodes that are still in the CSV, leaving the other nodes untouched.
dkirwan
Posts: 8
Joined: Wed Jan 04, 2023 9:13 am

Re: Export only the nodes that contain dialogue text

Post by dkirwan »

Hi,

yes we're using the export option at the bottom of the localization export/import part of the dialogue system.

I did try deleting the whole row in the CSV file and got errors when importing back, please see attachment.

We will try just deleting the text and not the row and see if that helps when re-importing.

Kind regards.
Attachments
Screenshot_9.png
Screenshot_9.png (89.37 KiB) Viewed 206 times
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Export only the nodes that contain dialogue text

Post by Tony Li »

Would it be possible for you to back up your project, make sure the backup is good, and then update to the current Dialogue System version? Then try the import again. If you're currently on a very old version, you may need to re-export first if the CSV format has changed. There was a small change quite a while ago to support custom ID fields.
dkirwan
Posts: 8
Joined: Wed Jan 04, 2023 9:13 am

Re: Export only the nodes that contain dialogue text

Post by dkirwan »

Hi there,

we're current using version 2.2.32 which I believe is 2 behind the latest.

Could it be this version that doesn't have custom ID fields?

If it is this version we will try updating the dialogue system and get back with any updates.

Kind regards
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Export only the nodes that contain dialogue text

Post by Tony Li »

Custom fields were added in version 2.2.26, a year ago. The error message indicates that some dialogue entries in the CSV file -- such as conversation ID 2, dialogue entry ID 9 -- are no longer in the database. So the import process doesn't know what to do with the translation since it can't find an entry in the database to assign the translation to. It's possible that someone deleted this conversation from the database, in which case you can ignore the message. The next time you export to CSV, the CSV file won't have those rows since they're no longer in the database.
Post Reply