Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lskovlun

Pages: 1 2 3 [4] 5 6 ... 61
46
SCI Syntax Help / Re: SCI0: Implementing bike riding system
« on: December 14, 2025, 02:27:18 PM »
You can use a Region for the bike-specific code.

47
I looked into it some more, and it turns out (which I had forgotten) that Insets replace the cast list temporarily. This is why your script works, because it gives the original cast list (which contains the safe door) a chance to update.

You could try replacing
Code: [Select]
(gCurRoom setInset: inDial)with
Code: [Select]
(Animate gCast 0)
(gCurRoom setInset: inDial)
(maybe change the 0 to 1 here if that doesn't work)

48
safeDoor is stopUpdated. You need to kick off a forceUpd or something, I think. Or accept that safeDoor can't be stopUpdated anymore and remove the stopUpd:

49
SCI Development Tools / Re: Sierra's Internal SCI Tools
« on: November 05, 2025, 11:36:56 AM »
Yes, obviously the BWT algorithm I was talking about would have to be a performed by the interpreter. A new addition to the resource volume format.

50
SCI Development Tools / Re: Sierra's Internal SCI Tools
« on: November 01, 2025, 12:56:08 AM »
I would assume that something with a Burrows-Wheeler Transform stage would be good for SCI0 pics. I tried bzip2, but it somehow was worse than expected.

51
SCI Development Tools / Re: Sierra's Internal SCI Tools
« on: October 26, 2025, 06:57:09 PM »
Could it be certain versions of makevols.exe only work with SCI0 resources?
Regards,
I don't think so. After all, makevols is agnostic of the types of resources that the interpreter uses. As we've seen, the programmer specifies that in resource.txt. On the other hand, the interpreter might well barf at the resulting files (because SCI0 and SCI01 are different in that respect). How did the conversion to SCI01 go?

EDIT: This is not true of SCI1, where you have the preprocessing steps that improve the compression ratio. And possibly not in SCI11 either.

52
SCI Development Tools / Re: Sierra's Internal SCI Tools
« on: October 26, 2025, 06:46:36 PM »
It looks like you're not specifying the section to "execute" on your command line. Again, from LSL3:
Code: [Select]
makevols LL3%1 -F..\floppy.src -st >> ..\%1.err
The idea was that you would specify either 360 or 720 on the command line and MAKEVOLS would execute either section LL3360 or LL3720 (MAKEVOLS is not case sensitive, as I have just confirmed by inspection of resource.txt). I don't know what MAKEVOLS does in the absence of that first argument, but selecting the first one would be a good guess. And if that is your setpaths section, that would lead to an empty output file (and hence a divide-by-zero exception).

53
SCI Development Tools / Re: Sierra's Internal SCI Tools
« on: October 24, 2025, 03:28:48 PM »
MAKEVOLS doesn't use a where file as far as I know (it's possible that some versions do). Instead you need to have a section in your resource.txt that defines the resource types:
The one from LSL3 looks like this:
Code: [Select]
(setpaths
        resource        view            0x80    ../../view/view
        resource        pic             0x81    ../../pic/pic
        resource        script  0x82    ../../script/script
        resource        text            0x83    ../../script/text
        resource        sound           0x84    ../../sound/sound
;       resource memory 0x85    ;       (can not be loaded from disk)
        resource        vocab           0x86    ../../script/vocab
        resource        font            0x87    s:font
        resource        cursor  0x88    s:cursor
        resource        patch           0x89    ../../sound/patch
)
Then you reference that in your main section before actually building any volumes.

54
SCI Syntax Help / Re: SCI Tetris
« on: October 23, 2025, 11:15:35 PM »
Antara had PWADs in it. And some kind of Doom engine that I have no clue about. Never owned the game, never played it.

55
SCI Syntax Help / Re: SCI Tetris
« on: October 23, 2025, 06:27:04 PM »
Hi Rainer. I had no idea that was you.  :)

56
You can always have a dummy pic with just those commands in it, and force that picture to draw first on a room change before the real pic. Sierra used this technique sometimes (in KQ1 GAL!).

57
SCI Syntax Help / Re: SCICompanion compile issues with LB2CD
« on: October 09, 2025, 11:03:06 PM »
Talking Bear.sco
I find that rather hard to believe. Talking_Bear.sco contains only one object, and it's an instance, not a class. It doesn't have a class number of its own. Similar for some of the other talkers.

58
SCI Syntax Help / Re: SCICompanion compile issues with LB2CD
« on: October 09, 2025, 05:57:50 PM »
Does simply swapping the two class definitions help? (I'm talking about the location in the source file)

59
SCI Development Tools / Re: SCI Script Compiler - Open Sourced!
« on: October 03, 2025, 05:05:42 PM »
There was a guy who worked on improving the code (CMake, STL, some Google library, memory cleanups...), but apparently that project fizzled out. It has not been updated since January:

https://github.com/naerbnic/da-sci-compiler-pub

60
SCI Syntax Help / Re: Heap Space Fun
« on: September 22, 2025, 07:13:12 PM »
I don't know that in detail, but I would assume it's pretty much the same? But QfG2 (the game, not the interpreter) does some fairly disgusting things with creating polygons on the fly - corpses and rocks in the desert - (said specs get some hairy treatment as well). Maybe that code is not optimal.

Pages: 1 2 3 [4] 5 6 ... 61

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

Page created in 0.042 seconds with 19 queries.