Another new utility: AGI2SCI vocab converter

Mokalus_of_Borg Just released here is my AGI to SCI vocabulary file converter, "TOK2VOC". It converts an AGI WORDS.TOK file into an SCI VOCAB.000 file.

Mokalus of Borg

PS - I'm not sure how useful it will be...
PPS - But it's all part of the bigger vision.
AGI1122 Cool. These tools you are making will make it easier to make SCI games. Maybe one day after you finish all the tools maybe you might make a complete AGI to SCI resource converter or something.
Mokalus_of_Borg Yeah, I'm trying to do my part to increase the use of SCI, which should create a bit of demand for BriPro's SCI Studio, too. And maybe one day I'll attempt a full resource converter. We'll see.

Mokalus of Borg

PS - The view converter should be out within about two weeks.
PPS - How's the current PIC2PIC version working for you?
RaDIaT1oN The AGI2SCI LOGIC -> SCRIPT converter will be the tricky one.  I haven't yet figured out that SCI script language (looking at the SCI studio examples), it's like nothing I've ever seen before.

I've always avoided anything labeled "object orientated", but I played SCI games long before this, so it helps me overcome it.
Mokalus_of_Borg Yeah, I'm really dreading that one myself. My current design for that tool calls for writing an AGI-like environment in SCI, which should make the whole translation process a little easier, and could even serve as a way for AGI programmers to start getting into SCI.

Mokalus of Borg

PS - But that's still a month or two away, yet.
PPS - Maybe I'll think of something better before then.
AGI1122 The pic converter works pretty good I noticed a few color bugs but that was about it.

I tried the words.tok converter on our fan game V and it did not work. Then I tried it on SQ2's words.tok file and it worked.

I really do think that making these tools will help people get into SCI. I am trying to learn it as well and these tools should be pretty helpfull in doing that.
Mokalus_of_Borg Could you tell me exactly in what way it "did not work"? That would be more helpful. Thanks.

Mokalus of Borg

PS - Oh, and what kind of colour bugs?
PPS - It might be an overflowing fill.
AGI1122 The problem when I used the words.tok from V is that nothing happened. When I loaded the vocab file into SCI Studio it was empty nothing was in it.

The color problem is that the wrong color is used sometimes when drawing the pics. For instance the brown wall in pic 2 of V was blue instead of brown.
Mokalus_of_Borg I found the problem - the V demo uses a word group number of 9999 for one of the words, but SCI can only handle word group numbers up to 4095. I've uploaded an updated version of TOK2VOC, but it only traps the problem and tells you about it, rather than handling it. The next release, version 1.1.0b will include some code to re-number troublesome words.

Mokalus of Borg

PS - The reason this took so long was that I went away for the weekend.
PPS - But I'm back now, and ready to keep working.
AGI1122 I like all the information you have on the UHS files. I tried making my own encryptor and decryptor. The decryptor works to some extent it can only decrypt it one line at a time. The encryptor does not work at all when I tried it out it the file came out blank. Is there any chance you might make an encryptor and decryptor for making UHS files?
Mokalus_of_Borg I've just uploaded version 1.1.0b, which includes automatic renumbering of words, as appropriate. There still seems to be one bug, though - probably with the file header, so I won't go out of beta yet.

I'm not currently working on UHS stuff right now, because of the AGI2SCI project, but if you like, I can email you the programs I've created so far. They're undocumented, and so might be difficult to use, but you're welcome to them.
There are a couple of decoders, programs to help create keys for the more complex encryption, and an 88a compiler.

Mokalus of Borg

PS - I'll try to include an index, too.
PPS - Just say the word.
AGI1122
I've just uploaded version 1.1.0b, which includes automatic renumbering of words, as appropriate. There still seems to be one bug, though - probably with the file header, so I won't go out of beta yet.


Cool I just downloaded it. I will try it out later on the V words.tok file.

I'm not currently working on UHS stuff right now, because of the AGI2SCI project, but if you like, I can email you the programs I've created so far. They're undocumented, and so might be difficult to use, but you're welcome to them.
There are a couple of decoders, programs to help create keys for the more complex encryption, and an 88a compiler.


I would like to take a look at those programs. Chances are they are better than the ones I made. Mine was made with QBasic. I can't think of why my code for the encryptor did not work. I used the same code used for my password encryption system only modified a little to support the UHS chart on your web site. Oh yeah and my e-mail address is AGISCI@aol.com so send it to that e-mail address.