Community
SCI Programming => SCI Development Tools => Topic started by: ZvikaZ on July 21, 2020, 08:56:04 AM
-
Well, another SQ3 question :-)
When I decompile it with latest SCICompanion, there are compilation errors in rm001.sc - it uses unrecognized constants:
Error: (rm001.sc) Undeclared identifier 'dsWIDTH' . Line: 98, col: 6
Error: (rm001.sc) Undeclared identifier 'dsCOORD' . Line: 100, col: 6
and more errors follow.
With Phil's version, it just uses numerical values.
i.e.,
(Display
{^D 1989 Sierra On-Line, Inc.}
106
250
100
instead of:
(Display
{\04 1989 Sierra On-Line, Inc.}
dsWIDTH
250
dsCOORD
Of course, I prefer Kawa's version...
But what is missing?
'grep' didn't help me find where these are defined.
-
They're defined in sci.sh. If you grepped in the game's src folder you wouldn't find it. Are you missing an (include sci.sh) line?
-
They're defined in sci.sh. If you grepped in the game's src folder you wouldn't find it. Are you missing an (include sci.sh) line?
Well, I *do* have the (include sci.sh) line, but it doesn't seem to find the sci.sh file.
That explains another error/warning I got:
Unable to load \.
If I comment the (include sci.sh), this Unable to load \. disappears.
So, my problem is that SCICompanion can't find the sci.sh file.
Solved it, by copying the latest SCICompanion.exe I was using (which was standalone, without any files), to a directory with older installation of SCICompanion.
Now it's working!
Thanks
-
I should put a startup check in...
-
I should put a startup check in...
That would be great.
And also, maybe put a zip file with everything, in your stash, instead of just the .exe file.
-
Done and done.