Community
SCI Programming => SCI Syntax Help => Topic started by: hrvg on March 01, 2019, 11:31:30 AM
-
I know it is not about SCICompanion, but I think you can help me, thanks.
I put all my translated files in a folder named "data". I put the folder "data" in that of "LSL1VGA" game. I opened "RESOURCE.CFG" file and I added this line:
patchDir = data.
Screenshot:
http://zupimages.net/viewer.php?id=19/09/1msh.png
Nada, it does not work.
I did it for other games: "Space Quest 1 VGA", "Police Quest 1 VGA" and "Police Quest 3" and it works.
Why does not it work?
Thank you for your help.
-
Not all versions of SCI support the patchdir setting. I'd be happy to investigate, but I think it's save to say SCI1 (which LSL1 uses) does not.
Thanks, now I have something to do other than bathe.
Edit: okay going by the simple fact that the terps aren't packed¹ and contain the word "patch" at least once, those who support patchdir should contain that as well, near the word videoDrv. As such I can conclude that LSL1 (SCI1-early?) through LSL3 (SCI0) don't support patchdir at all, LSL5 (SCI1-late?) does have patchdir support and LSL6 (SCI11) adds moviedir on top of that.
¹ German LSL5's SCIDHUV was in fact packed but the word was clearly visible in the expected place.
Well, that didn't take long. See ya in the tub folks.
-
Hello Kawa,
I thank you for your answer.
I do not understand you, I am sorry. It is too technical. It is impossible ?
I watched for "Conquest of the Longbow" game. It works.
If I take Spanish/English version (LSL1 VGA). I could edit "RESOURCE.CFG" file?
http://zupimages.net/viewer.php?id=19/09/v2o9.png
I thank you for your help.
-
You can edit the file all you want but early versions of SCI don't support patchDir, simple as that.
-
Hello Kawa,
Yes, you are right. I tried with Spanish/English version. And it works. I thank you for your help.
-
Hi, hrvg
You're writing wrong. The current directory in the DOS is indicated by a dot.
The 'date' directory is subordinate to the current one. You should always start from the current directory when specifying the relative paths of the file location. Or you need to specify an absolute path.
Try writing like this:
patchdir = .\data
-
Hi Daventery,
I thank you for your answer.
I tryed this:
videoDrv = VGA320.DRV
soundDrv = SNDBLAST.DRV
joyDrv = NO
kbdDrv = IBMKBD.DRV
mouseDrv = STDMOUSE.DRV
memoryDrv = ARM.DRV
mode = real
CD = yes
minHunk = 374k
language = 1
cmd = lsl1vga
patchdir = .\data
Nothing. It is English.
I tryed this:
directory = .
videoDrv = VGA320.DRV
soundDrv = SNDBLAST.DRV
joyDrv = NO
kbdDrv = IBMKBD.DRV
mouseDrv = STDMOUSE.DRV
memoryDrv = ARM.DRV
mode = real
CD = yes
minHunk = 374k
language = 1
cmd = lsl1vga
patchdir = .\data
Nothing. It is English.
It is pity because I galley (I am struggling) with Spanish files.
I thank you for your help
-
It doesn't matter if you write the path correctly or not if the entire setting is ignored.
-
It is pity. :)
-
Kawa
You're right.
But I checked the Spanish version and there this option works.
-
As Kawa notes, if the interpreter does not recognize the flag it will be ignored in the CFG file. besides, the SCI interpreter will find a subdirectory without the ".\", so the versions that do recognize the patchDir flag will still find a PATCHES subdirectory with "patchDir = PATCHES" in the CFG.