Author Topic: How does SCI Studio or SCI Companion compile?  (Read 11422 times)

0 Members and 1 Guest are viewing this topic.

Offline MusicallyInspired

Re: How does SCI Studio or SCI Companion compile?
« Reply #15 on: January 18, 2012, 08:43:06 PM »
I wish I knew. So much went undocumented....
Brass Lantern Prop Competition

Offline gumby

Re: How does SCI Studio or SCI Companion compile?
« Reply #16 on: January 28, 2012, 05:53:13 PM »
In case anyone was interested, here is the template for a 'dummy' script appropriate for injection directly into the resource.001 file:

Header:
64 12 14 00 10 00 00 00

Script body:
07 00 08 00 01 00 0C 00 02 00 06 00 48 00 00 00

The header is the standard 4 two-byte values of id, compression size, decompression size & compression type.  The body of this particular script looks like this:

Code: [Select]
(include "sci.sh")
(script 612)
(procedure public (DummyScript))

For each dummy script, the only thing that changes is the header (just the first 2 bytes - and only the bits corresponding to the resource number).  After appending the above hex values into the resource.001 file it is necessary to rebuild the map file.

In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition


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

Page created in 0.027 seconds with 22 queries.