Aurora Toolset XML import error

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
harrynz
Posts: 3
Joined: Sun Jan 19, 2020 3:11 am

Aurora Toolset XML import error

Post by harrynz »

Hello Tony
I am new to your dialogue system, but I am trying to import some dialogues from an famous old Neverwinter Night mod.
I followed the manuals on your site, and got XML files ready. But Unity always give me these errors whenever it tried to read them. The XML is already in UTF-8.

Annotation 2020-01-19 212625.jpg
Annotation 2020-01-19 212625.jpg (16.37 KiB) Viewed 367 times

Here is the links to the original NWN mod,

https://neverwintervault.org/project/nw ... s-part-one

And here is one of the converted XML files for your inspection. (all the converted XML produce same error in unity)
terik_conv1.dlg.xml.zip
(8.99 KiB) Downloaded 42 times
What did I do wrong? I tried both nwn modpacker and ruby nwn-lib, there is no different from the results. And the same error appears in unity. Please help.

Cheers!
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Aurora Toolset XML import error

Post by Tony Li »

Hi,

You're doing everything correctly.

I'll provide a patch later today.

Newer versions of Unity use .NET4.6. Older versions of Unity (e.g., Unity 2017, 2018) use .NET3.5. The XML parser in .NET3.5 is able to read Aurora XML files just fine. The XML parser in .NET4.6 doesn't. I'll implement a solution and post the patch here when it's ready.
harrynz
Posts: 3
Joined: Sun Jan 19, 2020 3:11 am

Re: Aurora Toolset XML import error

Post by harrynz »

Tony Li wrote: Sun Jan 19, 2020 9:46 am Hi,

You're doing everything correctly.

I'll provide a patch later today.

Newer versions of Unity use .NET4.6. Older versions of Unity (e.g., Unity 2017, 2018) use .NET3.5. The XML parser in .NET3.5 is able to read Aurora XML files just fine. The XML parser in .NET4.6 doesn't. I'll implement a solution and post the patch here when it's ready.
Thanks for the reply. In that case, I installed Unity 2017 and imported dlg.xml with no problems. Then export back into 2019 seems to be working fine. But a patch would be nice.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Aurora Toolset XML import error

Post by Tony Li »

harrynz
Posts: 3
Joined: Sun Jan 19, 2020 3:11 am

Re: Aurora Toolset XML import error

Post by harrynz »

Patch works, thank you.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Aurora Toolset XML import error

Post by Tony Li »

Glad to help, and thanks for alerting me to the .NET4 issue.
Post Reply