Remember session settings
umodel_session_setSet or clear in-memory session settings for umodel, including executable path, output directory, and AES mode, without writing to disk. Use to preconfigure values or clear unwanted settings.
Instructions
Store settings in the in-memory session (nothing is written to disk). NOTE: most values (gamePath/gameTag/aesKeys/pakAesKey/pakAesMode) are auto-remembered whenever you pass them to any tool, so you rarely need this tool — use it only to set values ahead of time, clear them (empty string), or configure pure settings: umodelExe (user-confirmed), outputDir, pakAesMode. IMPORTANT: umodelExe and gamePath must come from the user — ask the user for the umodel executable path and the game/pak directory before setting them; never guess. Only fall back to umodel_find_exe when the user does not know the path or the given path is wrong. Pass an empty string to clear a field. outputDir defaults to the Downloads folder when unset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aesKeys | No | AES keys (-aes=) | |
| gameTag | No | Default game tag (-game=) | |
| gamePath | No | Game / pak directory (ask the user first) | |
| outputDir | No | Export output directory (-out=). Default: Downloads/umodel-export | |
| pakAesKey | No | AES key (hex, 0x prefix optional) for pak index decryption | |
| umodelExe | No | Path to the umodel executable the USER confirmed as the right version for the target game (ask first). Setting this marks the exe as confirmed; auto-discovery alone leaves it unconfirmed. | |
| pakAesMode | No | Pak AES mode: standard, or bitflip for games with custom bit-flipped AES. Pass "" to clear. |