LoadResource name:Str

Load a resource. You can specify all items you can also specify in cc-res.cfg.

  • name of a *.res file (optionally prefixed by "res:")
  • "wp:" followed by the name of a Winplan "BMP" directory
  • "wpvcr:" followed by the name of a Winplan "WPVCR.DLL" file
  • "dir:" followed by a directory name

File and directory names should be absolute.

If the given name does not refer to a valid resource item, a console message will be printed, but the command will not fail.

Because PCC2 caches loaded resource elements, you should call this command as early as possible (in pcc2init.q, usually).

For loading *.res files, also see the chapter on plugins; loading a *.res file using the ResourceFile plugin directive will also work in PlayVCR which has no script interpreter.

Since: PCC 1.0.19, PCC2 1.99.25

See also: Global Commands