Auto-locate umodel executable
umodel_find_exeSearch common directories for umodel executables when the user does not know or provides an invalid path. Verify the newest candidate and remember it for subsequent use.
Instructions
Search common locations (Downloads/Desktop/Documents/Program Files/PATH...) for umodel executables (umodel.exe, umodel_64.exe, or custom builds like umodel_acl_*.exe). ONLY use this as a fallback when the user does not know the umodel path or provided an invalid one — always ask the user for the path first. With verify=true the newest candidate is tested via -version and remembered. IMPORTANT: different umodel builds/versions support different games (e.g. umodel_acl variants). If more than one candidate is found the remembered exe stays UNCONFIRMED and per-game tools refuse to run until you show the candidate list to the user, ask which version to use for the target game, and confirm it via umodel_session_set { umodelExe }. Never pick a version yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirs | No | Extra directories to search deeply (e.g. a folder the user vaguely remembers). | |
| json | No | Return machine-readable JSON instead of formatted text. | |
| verify | No | Run -version on the newest candidate and remember it if it works. |