Difference between revisions of "Director"

Jump to navigation Jump to search
387 bytes added ,  08:31, 27 September 2022
Add information about compiling director with `--enable-asan`. The buildbot will error when finding a memory leak.
(Add information about compiling director with `--enable-asan`. The buildbot will error when finding a memory leak.)
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{EngineDescription|
{{EngineDescription|
name=director|
name=director|
         developer=[[User:sev|sev]], [[User:iskrich|iskrich]], [[User:djsrv|djsrv]], [[User:npjg|npjg]]|
         developer=[[User:sev|sev]], [[User:iskrich|iskrich]], [[User:djsrv|djsrv]], [[User:npjg|npjg]], [[User:Mstea|mstea]]|
companies=[[Macromedia]]|
companies=[[Macromedia]]|
usedBy=[[Director/Games|hundreds of games]]|
usedBy=[[Director/Games|hundreds of games]]|
dateAdded=August 4, 2016 |
dateAdded=August 4, 2016 |
release=Since ScummVM 2.5.0|
release=2.5.0|
}}
}}


Line 25: Line 25:


== Versions ==
== Versions ==
The Director player was the basis for the [https://en.wikipedia.org/wiki/Adobe_Shockwave Macromedia Shockwave] web plugin. Shockwave 1.0 was based on Director 4.0. The next release was Shockwave 5.0, based on Director 5.0, and from then on Shockwave's version number was tied to Director.
See [[Director/Versions]]
 
In Japan at least D4+ was released under title マクロメディア ディレクター


== File Format ==
== File Format ==
Line 82: Line 80:
* bytecode -- execute precompiled bytecode instead of compiling Lingo. Lingo Workshop movies have both bytecode and script texts
* bytecode -- execute precompiled bytecode instead of compiling Lingo. Lingo Workshop movies have both bytecode and script texts
* loading -- produces tons of deciphered data from movie files.
* loading -- produces tons of deciphered data from movie files.
=== Compilation ===
We aim for 0 memory leaks in the director engine. The automated tests will error when it detects a memory leak. To enable memory leak checks run `./configure` with `--enable-asan`.


=== Automated Tests ===
=== Automated Tests ===
Line 95: Line 96:


This will show which version of Macromedia Director was used. If this yields nothing, it probably isn't a Macromedia director game.
This will show which version of Macromedia Director was used. If this yields nothing, it probably isn't a Macromedia director game.
== Debugger Commands ==
To open the [[Debugging ScummVM|interactive debugger console]] press the key combination that is set for "Open Debugger" in the "Keymaps" tab from ScummVM options (default should be Ctrl+Alt+d).
=== lingo ===
Opens a lingo language shell.
) lingo on
lingo) set a to "Hello ScummVM"
lingo) put a
-- "Hello ScummVM
lingo) lingo off
)
Arguments:
* lingo on - Start the interactive lingo shell
* lingo off - Stop the interactive lingo shell
When the shell is on when the line starts with `lingo) `.




42

edits

Navigation menu