www.tombraiderforums.com  

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Next Generation Level Editor

Reply
 
Thread Tools
Old 15-09-22, 17:27   #1
justin
Professor
 
Join Date: Aug 2001
Location: CT, USA
Posts: 4,687
Default Strange characters when compiling script through TombIDE

Hullo everyone! Has anyone else encountered randomly appearing in printed texts? It looks like it's when I use @ to call a file, for like a diary page or something. So my diary entries always have at the beginning, and other texts printed will start with

Is there a way to work around this while still calling files? Note that this doesn't happen when compiling the script with NG_Center outside of TombIDE.

Other characters get messed up as well, like ... and ;, but those are less of a concern.

Thanks!
__________________
Nothing is impossible, just impractical
justin is offline   Reply With Quote
Old 18-09-22, 12:53   #2
Alisa97
Student
 
Alisa97's Avatar
 
Join Date: Jan 2014
Location: Japan
Posts: 207
Default

Today I tweaked English.txt for the first time at TE.
(By the way...is this the right thread for this topic? ^^;)
In my case, I entered "@Text_Utopia" in English.txt, but the game screen showed "Text~Utopia".
https://youtu.be/Cc-7yVT8q9g

EDIT
Now I can display the content of the "@"text thanks to you.^^
I tried some characters.

"..." is OK. It is displayed on the screen as it is.
";" erases all subsequent text.
"[" become "" (character after avalanche in the image)
"]" became a character that I don't know how to call. ^^;
(character after road in the image)
https://imgur.com/a/71h9X4h

Last edited by Alisa97; 20-09-22 at 13:47.
Alisa97 is offline   Reply With Quote
Old 19-09-22, 22:32   #3
jvry
Student
 
jvry's Avatar
 
Join Date: Aug 2021
Posts: 102
Default

Quote:
Originally Posted by Alisa97 View Post
Today I tweaked English.txt for the first time at TE.
(By the way...is this the right thread for this topic? ^^;)
In my case, I entered "@Text_Utopia" in English.txt, but the game screen showed "Text~Utopia".
https://youtu.be/Cc-7yVT8q9g

EDIT
Now I can display the content of the "@"text thanks to you.^^
I tried some characters.

"..." is OK. It displays on the screen as it is.
";" erases all subsequent text.
"[" become "" (character after avalanche in the image)
"]" became text that I don't understand. ^^;
(character after road in the image)
https://imgur.com/a/71h9X4h
Try putting a \ in front of those characters, eg \; or \[

The slash is commonly used as an escape character, so a character that is reserved for some function gets printed instead. Might not work in this instance, but it's probably worth a try.
jvry is offline   Reply With Quote
Old 19-09-22, 22:40   #4
justin
Professor
 
Join Date: Aug 2001
Location: CT, USA
Posts: 4,687
Default

Quote:
Originally Posted by jvry View Post
Try putting a \ in front of those characters, eg \; or \[

The slash is commonly used as an escape character, so a character that is reserved for some function gets printed instead. Might not work in this instance, but it's probably worth a try.
That's an interesting idea. I imagine it won't work for @, since it's used to call the file, but i'll try some things.
__________________
Nothing is impossible, just impractical
justin is offline   Reply With Quote
Old 20-09-22, 13:39   #5
Alisa97
Student
 
Alisa97's Avatar
 
Join Date: Jan 2014
Location: Japan
Posts: 207
Default

Quote:
Originally Posted by jvry View Post
Try putting a \ in front of those characters, eg \; or \[

The slash is commonly used as an escape character, so a character that is reserved for some function gets printed instead. Might not work in this instance, but it's probably worth a try.
So this is the result.
https://imgur.com/a/gLQ9O5h

The slash itself is also garbled.
The text after ";" is gone as before.

Last edited by Alisa97; 20-09-22 at 13:52.
Alisa97 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 08:00.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.