resources
Finds resources by name across every source of the install: core, campaign, add-ins, offers, override folders and DAOLib plugins’ overrides. Answers each name with every copy of it (its source, archive or file, size, and whether it can be read), sorted by name, with the count of all matches. Use it to find a name to pass to resource, texture, table or Eluvian’s tools (a creature template for stage_spawn).
Read-only: it writes nothing.
Arguments
| Name | Type | Required | What |
|---|---|---|---|
match | string | Words that must all be in the name, in any case (“ogre default”), or a pattern with * and ? (“abi_*.gda”). Default: every name. | |
type | string | An extension: utc, uti, gda, dlg, dds, tlk… Default: all. | |
source | string | Only resources with a copy in this source (“addin:dao_prc_cp_2”); environment lists them. | |
limit | integer (≥ 1, ≤ 5000) | The most to return. Default 100. | |
offset | integer (≥ 0) | How many to skip first, to page through a long answer. Default 0. |
Call it as resources over MCP, or from a shell as ghilana.exe --call resources '<arguments as JSON>'.