Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Level Editor > Tomb Raider Next Generation

Reply
 
Thread Tools
Old 15-09-22, 17:27   #1
justin
Member
 
Joined: Aug 2001
Posts: 4,748
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!
justin is offline   Reply With Quote
Old 18-09-22, 12:53   #2
Alisa97
Member
 
Alisa97's Avatar
 
Joined: Jan 2014
Posts: 249
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
Member
 
jvry's Avatar
 
Joined: Aug 2021
Posts: 116
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
Member
 
Joined: Aug 2001
Posts: 4,748
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.
justin is offline   Reply With Quote
Old 20-09-22, 13:39   #5
Alisa97
Member
 
Alisa97's Avatar
 
Joined: Jan 2014
Posts: 249
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 18:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.