Bug or incompatibility with newline in script text (e.g. messagebox)

Everything about development and the OpenMW source code.
Post Reply
x79
Posts: 6
Joined: 05 Feb 2018, 22:34

Bug or incompatibility with newline in script text (e.g. messagebox)

Post by x79 » 06 Feb 2018, 02:45

I have searched all over and haven't found a discussion about this though I did find a reference to using \n and tested and it works :)

The issue: I installed Save Skill Books from modhistory.com and the script attached to each skill book includes a messagebox with a newline (0x0a) enclosed in "". Morrowind.exe wraps to next line. OpenMW fails. OpenMW-cs shows Error "Incomplete String or Name ()" It's easy enough for someone like me to edit all 226 scripts to replace LF with \n but maybe openmw should work with this? Another option could be for openmw-cs to automatically make the replacements and show a message that it was done?

User avatar
akortunov
Posts: 220
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Re: Bug or incompatibility with newline in script text (e.g. messagebox)

Post by akortunov » 06 Feb 2018, 06:02


x79
Posts: 6
Joined: 05 Feb 2018, 22:34

Re: Bug or incompatibility with newline in script text (e.g. messagebox)

Post by x79 » 06 Feb 2018, 07:02

Glad I asked before creating a duplicate bug :)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests