A-SCI: Difference between revisions

From Sierra Wiki
Jump to navigationJump to search
Andrew Branscom (talk | contribs)
No edit summary
Andrew Branscom (talk | contribs)
No edit summary
Line 26: Line 26:
==<br /> Description ==
==<br /> Description ==


<div class="Quote">
<div class="NarrowQuote">
{{Quote|Attrib = Enrico Rolfi<ref>https://erolfi.wordpress.com/2009/06/19/a-sci-assembler-for-sci1-1sci32/</ref>
{{Quote|Attrib = {{EnricoRolfiQ}}<ref>https://erolfi.wordpress.com/2009/06/19/a-sci-assembler-for-sci1-1sci32/</ref>
}}
}}
Enrico Rolfi's A-SCI A.SCI, the first Assembler for the Sierra Creative Interpreter versions 1.1 and 2 (SCI32), entirely written in C++.
Enrico Rolfi's A-SCI A.SCI, the first Assembler for the Sierra Creative Interpreter versions 1.1 and 2 (SCI32), entirely written in C++.


IMPORTANT NOTE: This is not a compiler; basically, it’s a disassembler with an assembler to reverse the process, which allows for minor changes to games. Use at your own risk! Double check your game after doing deep modifications to it!</div>
IMPORTANT NOTE: This is not a compiler; basically, it’s a disassembler with an assembler to reverse the process, which allows for minor changes to games. Use at your own risk! Double check your game after doing deep modifications to it!</div>
<blockquote>
A-SCI is no longer actively maintained.
</blockquote>


==<br /> Features ==
==<br /> Features ==


kernels.pre: Default Kernel call names for SCI 1.1 (16-bit) games. See below.
<blockquote>
 
* kernels.pre: Default Kernel call names for SCI 1.1 (16-bit) games. See below.
rdkernel.exe: Extracts Kernel call names from SIERRA.EXE to standard output.
*rdkernel.exe: Extracts Kernel call names from SIERRA.EXE to standard output.
 
*scasm11.exe: Assembler for SCI 1.1 (16-bit) scripts (SCH+SCS -> HEP+SCR).
scasm11.exe: Assembler for SCI 1.1 (16-bit) scripts (SCH+SCS -> HEP+SCR).
*scasm20.exe: Assembler for SCI 2.x (32-bit) scripts (SCH+SCS -> HEP+SCR).
 
*scdasm11.exe: Disassembler for SCI 1.1 (16-bit) scripts (HEP+SCR -> SCH+SCS).
scasm20.exe: Assembler for SCI 2.x (32-bit) scripts (SCH+SCS -> HEP+SCR).
*scdasm20.exe: Disassembler for SCI 2.x (32-bit) scripts (HEP+SCR -> SCH+SCS).
 
*The heap sources are saved in a separate source file because I found
scdasm11.exe: Disassembler for SCI 1.1 (16-bit) scripts (HEP+SCR -> SCH+SCS).
 
scdasm20.exe: Disassembler for SCI 2.x (32-bit) scripts (HEP+SCR -> SCH+SCS).
 
The heap sources are saved in a separate source file because I found
that this makes it easier for me to find my way through it, and because
that this makes it easier for me to find my way through it, and because
it's easier for the assembler to handle as well. It pays off having a
it's easier for the assembler to handle as well. It pays off having a
text editor that can open multiple files, I guess... :)
text editor that can open multiple files, I guess... :)
 
*Old SCI0 and SCI1 games, where heap and code are combined, are not supported.
Old SCI0 and SCI1 games, where heap and code are combined, are not supported.
</blockquote>


==<br /> Requirements ==
==<br /> Requirements ==
Line 66: Line 58:


<blockquote>
<blockquote>
&nbsp;<!-- Place version history here
<!-- Place version history here -->
<span class="Inactive">N/A</span> -->
</blockquote>
</blockquote>


Line 73: Line 64:


<blockquote>
<blockquote>
Unmaintained
A-SCI is no longer actively maintained.
</blockquote>
 
==<br /> Usage ==
 
<blockquote>
See included documentation
</blockquote>
</blockquote>


Line 79: Line 76:


<blockquote>
<blockquote>
<!-- Add requirements here -->
<!-- Add options here -->
</blockquote>
</blockquote>


<div id="DL">
==<br /> Download ==
==<br /> Download ==


Line 99: Line 97:


* [[Enrico Rolfi]]
* [[Enrico Rolfi]]
==<br /> Legal ==
This is not a compiler; basically, it’s a disassembler with an assembler to reverse the process, which allows for minor changes to games. Use at your own risk! Double check your game after doing deep modifications to it! A-SCI was released with no license.


==<br /> References ==
==<br /> References ==
Line 106: Line 108:
==<br /> Also See ==
==<br /> Also See ==


* [[:Category:SCI Disassemblers|SCI Disassemblers]]
* [[Script Resource (SCI)]]
* [[:Category:SCI Assemblers|SCI Assemblers]]
* [[SCI Specifications: Chapter 1 - Introduction#SCRIPT|SCRIPT in the SCI Specifications]]
* [[:Category:Script Resources|Script Resource Articles]]
* [[HEAP Resource (SCI)]]
* [[SCI Specifications: Chapter 1 - Introduction##The SCI Heap|SCI Heap in the SCI Specifications]]
* [[:Category:Heap Resources|Heap Resource Articles]]
* [[:Category:SCI Disassembler Tool|SCI Disassembler Tool]]
* [[:Category:SCI Assembler Tool|SCI Assembler Tool]]
* [https://erolfi.wordpress.com/2009/06/19/a-sci-assembler-for-sci1-1sci32/ A.SCI on Enrico Rolfi's Gaming Tools]
* [https://erolfi.wordpress.com/2009/06/19/a-sci-assembler-for-sci1-1sci32/ A.SCI on Enrico Rolfi's Gaming Tools]
&nbsp;
&nbsp;
[[Category:Development]]
[[Category:SCI Development]]
[[Category:Development Tools]]
[[Category:SCI Development Tools]]
[[Category:Technical Info]]
[[Category:SCI Technical Info]]
[[Category:Scripting Articles]]
[[Category:SCI Scripting Articles]]
[[Category:Script Resources]]
[[Category:SCI Script Resources]]
[[Category:Heap Resources]]
[[Category:SCI Heap Resources]]
[[Category:Disassemblers]]
[[Category:Disassemblers]]
[[Category:Assemblers]]
[[Category:Assemblers]]

Revision as of 11:04, 6 September 2025

A-SCI
Author: Enrico Rolfi
2006-09-19
  This article is a tool stub page. You can
help the Sierra Wiki by expanding it.
A-SCI
Latest Version:  —
Release Date:  2006-09-19[1]
Company: N/A
Development Status:  Unmaintained
Publication Status:  Published
Developer(s): Enrico Rolfi
Interface: CLI
Language: C++
Open Source: Closed
Source Availability:  No
License: None
Type: Disassembler, Assembler
Relevant Engine: SCI1.1, SCI2, SCI2.1
Platform: Windows
Localization: English
Website: Enrico Rolfi's Gaming Tools




Description

Enrico Rolfi's A-SCI A.SCI, the first Assembler for the Sierra Creative Interpreter versions 1.1 and 2 (SCI32), entirely written in C++.

IMPORTANT NOTE: This is not a compiler; basically, it’s a disassembler with an assembler to reverse the process, which allows for minor changes to games. Use at your own risk! Double check your game after doing deep modifications to it!


Features

  • kernels.pre: Default Kernel call names for SCI 1.1 (16-bit) games. See below.
  • rdkernel.exe: Extracts Kernel call names from SIERRA.EXE to standard output.
  • scasm11.exe: Assembler for SCI 1.1 (16-bit) scripts (SCH+SCS -> HEP+SCR).
  • scasm20.exe: Assembler for SCI 2.x (32-bit) scripts (SCH+SCS -> HEP+SCR).
  • scdasm11.exe: Disassembler for SCI 1.1 (16-bit) scripts (HEP+SCR -> SCH+SCS).
  • scdasm20.exe: Disassembler for SCI 2.x (32-bit) scripts (HEP+SCR -> SCH+SCS).
  • The heap sources are saved in a separate source file because I found

that this makes it easier for me to find my way through it, and because it's easier for the assembler to handle as well. It pays off having a text editor that can open multiple files, I guess... :)

  • Old SCI0 and SCI1 games, where heap and code are combined, are not supported.


Requirements


Version History


Development Status

A-SCI is no longer actively maintained.


Usage

See included documentation


Options


Download

Download from here:


Known issues

  • Object overloading (i.e. having both Actor "FreshHound" and Talker "FreshHound" in the same script) is not supported. Fortunately, I've never come across a game that needed this.
  • Don't do any fancy stuff within strings --- "\n" is supported. OEM special accented characters are supported, too, but don't try things like "\0" or "blah\x22\x34".
  • The assembler does not always use the most efficient coding form --- for example, jumps are ALWAYS 3-byte instructions, even if a 2-byte one would do the job. This is because the jump distance is only known once symbol references are resolved, which happens after assembly.
  • The LEA instruction is not disassembled into clear text. It is however reassembled properly. Therefore you shouldn't mess around with it. :)


Credits


Legal

This is not a compiler; basically, it’s a disassembler with an assembler to reverse the process, which allows for minor changes to games. Use at your own risk! Double check your game after doing deep modifications to it! A-SCI was released with no license.


References


Also See