I've noticed when I put the character [ in my global messages, I get a line break in game instead of the character showing up. ], on the other hand, shows up fine. Is that er... normal?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Gilbot V7000a on Wed 08/06/2005 11:02:31
The Ctrl-Alphabets can be recognized easily by coutning:
ASCII #1 = Ctrl-A
ASCII #2 = Ctrl-B
...
ASCII #13 = Ctrl-M (Carriage Return)
...
ASCII #16 - Ctrl-P
ASCII #17 - Ctrl-Q
...
ASCII #26 = Ctrl-Z
(I think they're also in AGS manual's ASCII table.)
I can't remember, but possibly Ctrl-P and Ctrl-Q are not important control characters so they may be usable.
Actually normally it's not trivial to enter these control characters directly into a text file (since most text editors simply wouldn't write these characters as raw). Two possible ways are:
1. Use ordinary text editor to enter text, but for characters you can't enter directly, type some other characters as placeholder (like say, typing ^ to represent Ctrl-P, * to represent Ctrl-Q), after that, open up the text file with a hex editor and replace the appropiate characters with the desired values. This can be an annoying task though (not annoying if you just want to replace say, ALL ^ into Ctrl-P, but can be annoying if you do want some of the ^ to be changed and some not).
2. Make a text editor which you can actually enter those values into a text file directly, using technique like:
(if user tells the editor to add character ASCII #16 here)
--> (add the byte with value 16 to a string)
and then save it to a file. (which is exactly how my translators work)
Quote from: Gilbot V7000a on Wed 08/06/2005 01:49:06Quote from: Kinoko on Tue 07/06/2005 13:08:29Yes, something like that. It can make any standard text files with such kind of text
Gil: ...and I WILL try that, but er, I guess what I'm asking is what does the translation file that your translator outputs... look like? For example, say I have a line I type in as "muzukashii naa"... when that's translated in your interpretor and the final file is output, what does that line look like? ie, is it like "ksjaaoe js" (just a random example ^_^;?
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.509 seconds with 15 queries.