Documentation

makesis

  1. Usage

Usage

Syntax: makesis.lua [options] <pkg-file> [<output>]

Create a SIS file based on a PKG file. If <output> is not specified, runs
dumpsis on the resulting SIS data without writing to disk.

Options:

    --manifest, -m
        If specified, only parse the pkg file and print the parsed data
        structures to stdout. <output> is ignored.

    --path <oplpath>=<realpath>
        Provide custom mapping of file source paths given in <pkg-file>. The
        file source path will be recorded as specified in <pkg-file> but the
        contents will be from <realpath>.

    --verbose, -v
        Include verbose output, particularly when combined with --manifest.

    --version <major>.<minor>
        Override the version specified in the package file.

Path Rewriting

  Source paths in the package file that are different to the on-disk filesystem
  can be used by specifying one or more --path arguments. Each path argument
  can specify either a single file, for example:

    makesis.lua [...] --path '\epoc32\RELEASE\MARM\REL\Sysram1.opx'=c/SYSTEM/OPX/Sysram1.opx

  or a directory (note the <oplpath> must end in a backslash):

    makesis.lua [...] --path '\epoc32\RELEASE\MARM\REL\'=c/SYSTEM/OPX

  Directory substitutions are not done recursively, eg the above would not
  match a file in a subdirectory of REL.

EPOC16 Support

  If makesis finds a the special comment `; target: epoc16` in a package file,
  it will generate a SIS file with the installer version 0x10 to mark it as
  being suitable for EPOC16 devices.