Author Topic: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA  (Read 7032 times)

0 Members and 1 Guest are viewing this topic.

Offline hrvg

Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« 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.



Offline Kawa

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #1 on: March 01, 2019, 01:50:36 PM »
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.
« Last Edit: March 01, 2019, 02:04:12 PM by Kawa »

Offline hrvg

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #2 on: March 01, 2019, 03:07:10 PM »
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.

Offline Kawa

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #3 on: March 02, 2019, 06:46:47 AM »
You can edit the file all you want but early versions of SCI don't support patchDir, simple as that.

Offline hrvg

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #4 on: March 02, 2019, 06:53:55 AM »
Hello Kawa,
Yes, you are right. I tried with Spanish/English version. And it works. I thank you for your help.

Offline Daventry

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #5 on: March 02, 2019, 02:28:56 PM »
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

Offline hrvg

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #6 on: March 02, 2019, 03:03:49 PM »
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

Offline Kawa

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #7 on: March 02, 2019, 03:06:51 PM »
It doesn't matter if you write the path correctly or not if the entire setting is ignored.

Offline hrvg

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #8 on: March 02, 2019, 03:17:49 PM »
It is pity.  :)

Offline Daventry

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #9 on: March 02, 2019, 03:42:57 PM »
Kawa
You're right.
But I checked the Spanish version and there this option works.

Offline Collector

Re: Modify "RESOURCE.CFG" file of Leisure Suit Larry 1 VGA
« Reply #10 on: March 02, 2019, 09:06:07 PM »
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.
KQII Remake Pic


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

Page created in 0.046 seconds with 24 queries.