Hollywood's compiler can either be used from the GUI or by using the -compile argument from the console.
Once invoked, the compiler will read the specified script file, compile it and link a special player-only version of Hollywood to it. All external data that is declared using preprocessor commands is linked, too (unless it is explicitly declared that a file should not be linked). The output executable format can be defined by specifying the -exetype argument. This argument can be set to the following executable types:
In the 68k version of Hollywood, -exetype defaults to
in the AmigaOS4 version -exetype defaults to
amigaos4 and so on.
If your script uses a lot of external data, your executable might become
very big because Hollywood will link all the files declared with preprocessor
commands to it. If you do not want that, you can use the
which all preprocessor commands support to tell the linker not to link
certain files. Alternatively, you could load the files using normal Hollywood
commands instead of preprocessor commands.
The generated executable will accept the same console arguments as the main Hollywood program. Therefore you can start it for example with a borderless window by calling it with the -borderless argument.
You can also link plugins to your executables using the -linkplugins argument but you have to be very careful with the plugin license to see if static linking is allowed and the effect it can have on your project's license. See Console arguments for details.