Community
SCI Programming => SCI Syntax Help => Topic started by: OmerMor on December 11, 2011, 01:03:45 PM
-
Hi,
I added HWM's FAQ on Sierra SCI Debug Modes to ScummVm's wiki:
http://wiki.scummvm.org/index.php/SCI/Debug_Modes (http://wiki.scummvm.org/index.php/SCI/Debug_Modes)
I'd love to fill in missing information into this.
As a start, I've looked into LSL5 and came to the conclusion that script #10 is the debug script. I just don't know how to enable it. I tried reading through the script disassembly using the excellent SCI Resource Viewer (latest version: http://sierrahelp.com/SCI/Files/SCITools/SCI_Viewer_(CLI).zip (http://sierrahelp.com/SCI/Files/SCITools/SCI_Viewer_(CLI).zip)), but failed to understand it.
From what I saw, 0.scr is the one calling the debug script 10.scr, but I don't know what triggers it. If only we had a decompiler...
Can anyone here help?
-
It would be nice to have this in the SCI Wiki (http://sciwiki.sierrahelp.com/index.php?title=Main_Page), too.
-
I agree. You can copy it from scummvm's wiki, or tell me how I sign up for the SCI wiki.
-
I added you to the Wiki users. You should have an email sent to your Gmail. If you get hwm's 0.94 list, I would love to get a copy of it.
-
Thanks, I'll add it soon. And no problem about HWM's list (still waiting for it).
-
Added the list here: http://sciwiki.sierrahelp.com/index.php?title=SCI_Debug_Modes (http://sciwiki.sierrahelp.com/index.php?title=SCI_Debug_Modes).
I had no idea where to reference it from in the wiki: I didn't get the order of things there.
Perhaps it should be linked from the navigation pane on the left?
-
I think that I'll set a "Debug" category in the navigation pane. The bug information for the template game can be added to it.
-
Done
-
Very nice addition to the wiki. :)
-
HWM just uploaded the updated version. http://agisci.altervista.org/
-
Reviving this old thread, in light of the new script decompiler (thanks troflip!).
I found that in Conquest of the Longbow, you can get a teleport screen at the start of the game by creating an empty 799.SCR file.
The game also check for the existence of an external "magic" script 800.SCR, but since it's nowhere to be found in the internal resource package, I can't test it.
I'll update the wikis later.
-
Would an empty 800.SCR work?
-
Sadly, no.
The game actually calls script 800 if it's present. It serves both as the trigger and the logic of the debug mode.
I guess it could be reconstructed in time, by our sci community experts. :)
-
This is from De Brain 1, which seems to be a debugger script, too. It triggers the debug, but does not release the cursor from the wait cursor, so you cannot select any of the listed scenes. You can however enter a room number to teleport to that room.
-
It's the same selection screen you get with the empty 799.SCR file.
However Dr.Brain's 800.SCR enables few more debug options, like control/priority view (ALT-C, ALT-P), teleport (ALT-T), add item to inventory (ALT-I) and more.
The presence of 800.SCR is also checked by Dr. Brain and enables the (more compelte) debug mode as well.
-
If the attached 800.SCR from Dr Brain was disassembled it might be better adapted to Robin.