Author Topic: Umlauts in Vocab Editor  (Read 35969 times)

0 Members and 1 Guest are viewing this topic.

Offline Shaklin

Umlauts in Vocab Editor
« on: August 06, 2018, 03:47:27 AM »
Hello,

my native language is not english, but I try my best :).

I use SCICompanion and I have a problem with the Vocab Editor.
I can't use "umlauts" (ä,ö,ü and ß).


I also can't properly read german Vocab original files: ( example: Space Quest 3, german):
I open it with SCI Studio 3+, because SCICompanion do not want open it.

(kämpfe = k„mpfe)

If I add "ä", then it does not save..

What I do wrong? Which Editor should I use?


shaklin.com

Offline Daventry

Re: Umlauts in Vocab Editor
« Reply #1 on: August 06, 2018, 06:06:59 AM »
Shaklin.
You're doing the right thing. SCICompanion and SciStudio does not support Extended ASCII Codes (including table CP850).
As far as I know, there are no such editors.
« Last Edit: August 06, 2018, 06:09:51 AM by Daventry »

Offline lskovlun

Re: Umlauts in Vocab Editor
« Reply #2 on: August 06, 2018, 10:25:08 AM »
Extended ASCII is not supported in any SCI0 version. SCI01 does support extended ASCII, but few games were made with it. Some SCI0 games were ported to SCI01 for the German release.

Offline Shaklin

Re: Umlauts in Vocab Editor
« Reply #3 on: August 06, 2018, 11:59:13 AM »
Daventry
Thank you :). Oh that's bad.. I can use umlauts in Text Editor (with modifized Font it works fine in game). But in Vocab Editor it's not allowed to use umlauts.
I wanted to translate a game, but with that restriction, it's not optimal..

lskovlun
I'm not sure, what you mean.
If I open Space Quest 3 (german), SCICompansion say it's SCI0. And it has umlauts (in game).
The Translation is in file vocab.910
The only Problem I can't see the umlauts in the Vocab Editor.

You said SCI01 support extended ASCII.. so I opened Laura Bow II and tried to add umlauts in the Vocab Editor. It does not work. So it's a problem with the Vocab Editor.
(Text Editor works fine).
shaklin.com

Offline Daventry

Re: Umlauts in Vocab Editor
« Reply #4 on: August 06, 2018, 03:04:58 PM »
Shaklin
Version SCI of games:
http://wiki.scummvm.org/index.php/Sierra_Game_Versions#SCI_Games
SQ3 de is SCI01.
The claim that the version SCI0 does not support extended symbols of ASCII is misleading.
Colonel's Bequest is SCI0 game.

The truth is just the translated message text. I have not tried text input (and vocab editing) for SCI0. But I think it should work.
Try this. Write without umlauts in the Vocab, and then in the hex editor replace the individual letters.
hangen - > hängen
« Last Edit: August 06, 2018, 03:15:33 PM by Daventry »

Offline Shaklin

Re: Umlauts in Vocab Editor
« Reply #5 on: August 06, 2018, 04:36:07 PM »
But it doesn't matter, SCI0 or SCI1, I can't add umlauts anyway with the Vocab Editor.
I have to use SCI Studio 3+.

As I said "Text Editor" works fine.
What a coincidence, I work on laura bow 1 :)

Text no problem..

But Vocab Text is a problem.
I already tried it to edit it with a Hexeditor or Notepad++, but it seems compressed or other format, idk.. I can't find any words in there:


Is there a way to export it in a "readable" format?
Or can I "convert" a vocab file to another version (SCI0 to SCI1)?
« Last Edit: August 06, 2018, 05:02:29 PM by Shaklin »
shaklin.com

Offline troflip

Re: Umlauts in Vocab Editor
« Reply #6 on: August 06, 2018, 05:58:38 PM »
You're right that you can't add umlauts with the vocab editor in SCICompanion, and I guess for SCI01 this is an unnecessary limitation (i.e. a bug).

For SCI0 though, Sierra's vocab resource format only supports chars in the range 0-127.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Shaklin

Re: Umlauts in Vocab Editor
« Reply #7 on: August 06, 2018, 06:56:23 PM »
Then I do not understand this limitation, because I thought you can make with that tool your own games or translations...

Anyway, I found for me a solution.. I open the vocab.000 file with SCI Studio 3+, then I write a word with umlaut. Then I use "save as" and save it under a new typ-name (vocab.900).
I reopen it (vocab.900). Now I can use umlauts.
The only problem is, if the umlaut on first position (example: "über"), then it does not save. On other position it works (example "bücher"). My solution is to add a space (example " über") and then I delete the space with a hexeditor.

If I start the game I get now this message:
"WARNING: SCI0: Found SCI01 vocabulary in disguise!"
But it seems the game works fine and I can use german umlauts words.

(I still hope someone has a better solution or an Editor : ) )

EDIT: After editing I rename vocab.900 back to vocab.000 and put it in the game folder.
« Last Edit: August 06, 2018, 07:00:12 PM by Shaklin »
shaklin.com

Offline troflip

Re: Umlauts in Vocab Editor
« Reply #8 on: August 06, 2018, 08:04:51 PM »
Then I do not understand this limitation, because I thought you can make with that tool your own games or translations...


Both SCI Companion and SCI Studio create game packages that run on Sierra's interpreters, hence they are limited to the functionality contained in those interpreters.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Daventry

Re: Umlauts in Vocab Editor
« Reply #9 on: August 07, 2018, 05:18:21 AM »
Shaklin
Try this file. Write, if it works correctly.
« Last Edit: August 07, 2018, 07:47:16 AM by Daventry »

Offline Shaklin

Re: Umlauts in Vocab Editor
« Reply #10 on: August 07, 2018, 08:28:19 AM »
Daventry
Thank you for your help :). But I see no difference.
Vocab.000 still 127 chars limitation and with my solution I still can't save a word with an umlaut on first position..
shaklin.com

Offline Daventry

Re: Umlauts in Vocab Editor
« Reply #11 on: August 07, 2018, 09:02:55 AM »
I just removed the 127-character limit check. Thought it would have an effect. We'll have to deal in detail with the algorithm. :( :)

Offline Shaklin

Re: Umlauts in Vocab Editor
« Reply #12 on: August 07, 2018, 09:25:45 AM »
I tried it now with both files:

vocab.000:
Umlaut on first position: still 127 chars limit message
Word with umlaut on other position: it save, but if I reload the file, all data are corrupt.

And with my vocab.900:
I still can't save a word with an umlaut on first position.

But thanks again for your help :).
shaklin.com

Offline Kawa

Re: Umlauts in Vocab Editor
« Reply #13 on: August 07, 2018, 10:09:07 AM »
A'ight kids, this comes with absolutely no warranties: an SCI Companion build that considers 010/910 to be valid text parser dictionaries, and all characters are considered valid. I altered the checks.

Yes, the preview in the sidebar doesn't recognize 910 as a text parser dictionary, but it will open.

Offline Daventry

Re: Umlauts in Vocab Editor
« Reply #14 on: August 07, 2018, 12:00:39 PM »
Kawa, thanks.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.077 seconds with 22 queries.