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 ... 38
1
SCI Syntax Help / Re: ShakeScreen problems
« on: September 21, 2021, 01:54:52 PM »
I'm hoping someone can clarify an issue I've been struggling with for awhile now. I'm having trouble with calls to ShakeScreen. I can't get them to work on any game I've tested through SCICompanion or DosBox.
I just noticed that you're not a regular. Welcome!

How many parameters do you give to ShakeScreen? All versions of ShakeScreen will accept two, SSCI requires at least one, ScummVM seems to be fine with none, but the latter may cause erratic behavior in SSCI. For best results, specify both.

2
SCI Development Tools / Re: Decompilation Archive
« on: August 07, 2021, 12:41:11 PM »
It still amuses me that they basically rewrote the whole damn game, and still left the "poisonous snake" line.
They did this because even Guybrush Threepwood thinks snakes are poisonous. And he's a mighty pirate.

3
SCI Development Tools / Re: Decompilation Archive
« on: August 01, 2021, 04:54:08 PM »
Code: [Select]
(if (== (inventory indexOf: (theIconBar curInvIcon?)) 28)
And there's one thing that I've wondered about. Making an O(n) pass through a list (calling FirstNode/NextNode) to see what the current item is. Could be done in a single ScriptID call. It doesn't even hit the disk; they know that script 0 is in memory. For even faster execution, special-case (ScriptID 0). There are worse things they could special-case.

4
SCI Development Tools / Re: Decompilation Archive
« on: July 05, 2021, 03:25:30 PM »
Well, it's quite easy to write a vocab file from scratch without the original tools. And the system classes are known, for the most part. So if these weren't just ripped-out parts of games that we can decompile, a custom tool to fill in parts of the puzzle would be quite doable. As it is, I'm not sure it's worth the trouble.

5
EricOakford's new comment in the other thread pretty much settles it, doesn't it? If the KQ7 demo can be compiled from scratch, then with some huffing and puffing, GK1 should as well. I dunno why GKNarrator is broken.

6
SCI Development Tools / Re: Is there a SCI32 compiler? If not - why?
« on: July 04, 2021, 05:11:39 AM »
There are minor changes to the script format in SCI2 (which may or may not prevent SCI Companion from generating code for it as is). SCI3 is a major overhaul of the script format but only comprises the last few games (not GK1).

7
SCI Development Tools / Re: Is there a SCI32 compiler? If not - why?
« on: July 02, 2021, 06:09:03 PM »
I was thinking of descriptions here and here (ok, so the latter one is more like an honorable mention...).

8
If all you want is to mess around with the GK1 class library, I guess you could grab the demo and work with that. It's SCI1.1.

9
SCI Development Tools / Re: Is there a SCI32 compiler? If not - why?
« on: July 02, 2021, 12:09:01 PM »
V56/P56 definitely changed. Kawa has some blog entries about it. CSC is the new script format in SCI3. Very different format, the main advantage seems to be that you can have huge scripts in it (> 64K), somewhat counterbalanced by the fact that scripts simply are bigger in that format. Makes you wonder if it was worthwhile to change it. We used to have a complete list of huge scripts (there aren't many) in ScummVM because we couldn't load them.

10
SCI Development Tools / Re: Is there a SCI32 compiler? If not - why?
« on: July 01, 2021, 08:45:16 AM »
There are opcode differences in SCI32:
Code: [Select]
#ifdef ENABLE_SCI32
// In SCI32, some arguments are now words instead of bytes
if (getSciVersion() >= SCI_VERSION_2) {
g_sci->_opcode_formats[op_calle][2] = Script_Word;
g_sci->_opcode_formats[op_callk][1] = Script_Word;
g_sci->_opcode_formats[op_super][1] = Script_Word;
g_sci->_opcode_formats[op_send][0] = Script_Word;
g_sci->_opcode_formats[op_self][0] = Script_Word;
g_sci->_opcode_formats[op_call][1] = Script_Word;
g_sci->_opcode_formats[op_callb][1] = Script_Word;
}
I don't think anyone has a ready list of what it would take to make Companion compile SCI32 scripts.

11
SCI Development Tools / Wolfenstein 3D fizzlefade (SCI-related)
« on: May 05, 2021, 01:38:33 PM »
So today I learned why Sierra's DISSOLVE algorithm (aka dpOPEN_CHECKBOARD) works. Shame on me for not realizing earlier, but I'm not a graphics guy. It is described here in terms of Wolfenstein 3D, but it is easy to see that it is the same thing.

https://fabiensanglard.net/fizzlefade/index.php

12
Some of the old Sierra games had WORDS.TOK with odd file sizes (KQ3 in particular). If WinAGI couldn't open them, we would have heard about it, right?

13
Hadn't seen the sluicebox blog before. Excellent!

14
OK, so I found the bootscripts for some SCUMM games. And I've decided that if I write a single line of Scumm code in my life, it will be this:
Code: [Select]
object sputm
{
name is "SCUMM interpreter"
verb use
{
shell-execute "SCIV.EXE"
}
}
and then over in SCI I'll do
Code: [Select]
(instance rickroll of Room ... code ...)Maybe I'll figure out how to fly a little banner across the screen in Scumm once SCIV exits: USE SCI INSTEAD

15
Myself, I'd be interested in seeing the bootscripts/UI/lower level scripts. Y'know, is SCUMM really as extensible as SCI, and how do the parts relate. Missed that in the Ron Gilbert video, but I realize it might not appeal to everyone.

Pages: [1] 2 3 ... 38

SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.155 seconds with 21 queries.