bug with DS to i2 and multiple text tables?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Strook
Posts: 70
Joined: Fri Nov 08, 2019 10:51 am

bug with DS to i2 and multiple text tables?

Post by Strook »

Hello!

I'm having an issue with the DS To i2 tool, when using multiple text tables:

When adding multiple text tables, only the fields of the last text table added appear in the "TextTable" rollout in this windows.
When copying the field using the "To i2" button, only the fields of that last text table will be added. (the available fields in the rollout get cleared and replaced with the last texttable's field from the list, when the text table list is changed, it seems that everything other than the last Texttable'sfields are never added to the i2 database)

When exporting the spreadsheet from i2 (I used the "Text Table Name as Term), the sheet created will have one tab with the DS stuff (conversation, quest, etc), and only one extra tab with the fields of the last text table added to the list, where you I would expect one tab per text table added!


Hope that makes sense! I can make a video if you need more info,
Thanks!

Using V 2.2.25.1
Currently working on ->Squeakross: Home Squeak Home<- Using Dialogue System Save System and other features.
Previous game made with Dialogue system ->The Spirit and The mouse<-
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: bug with DS to i2 and multiple text tables?

Post by Tony Li »

Hi,

There's an update for that:

DS_I2LocalizationSupport_2022-05-03.unitypackage

After importing, click Refresh and then review which fields are ticked in all of the foldouts.

This update will be in DS version 2.2.28.
User avatar
Strook
Posts: 70
Joined: Fri Nov 08, 2019 10:51 am

Re: bug with DS to i2 and multiple text tables?

Post by Strook »

Amazing, thanks for that!
Currently working on ->Squeakross: Home Squeak Home<- Using Dialogue System Save System and other features.
Previous game made with Dialogue system ->The Spirit and The mouse<-
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: bug with DS to i2 and multiple text tables?

Post by Tony Li »

Glad to help!
User avatar
Strook
Posts: 70
Joined: Fri Nov 08, 2019 10:51 am

Re: bug with DS to i2 and multiple text tables?

Post by Strook »

Hello Tony!

I think I found a bug with the DS to I2 package:


When importing the data from i2 to DS, and checking "Update primary fields" it creates an issue with text tables:

It will replace the key (left column) instead of the value in the right column, breaking all references


here is an example:
Image

after importing with "Update Primary fields":
Image




My current workaround is to to import everything, except Text tables with "Update Primary Fields" checked in, and then import only Text Tables with the field unchecked.




Thanks!
Currently working on ->Squeakross: Home Squeak Home<- Using Dialogue System Save System and other features.
Previous game made with Dialogue system ->The Spirit and The mouse<-
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: bug with DS to i2 and multiple text tables?

Post by Tony Li »

Good catch. This updated version doesn't do that:

DS_I2LocalizationSupport_2022-05-04.unitypackage
Post Reply