Nucleus handler tools › Docs › Context › ModifySaveFile

Context.ModifySaveFile

Open in the workbench (search, and try it in a handler)

Context.ModifySaveFile(
  installSavePath: string | number | boolean,
  saveFullPath: string | number | boolean,
  type: Nucleus.SaveType | number | boolean,
  ...info: Nucleus.SaveInfo
): boolean

Edits keys in an INI/CFG file. Example: Context.ModifySaveFile(path, path, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("Section", "Key", "Value")]);

✎ AI-written, based on Nucleus GenericContext.cs. Not from the official docs. Is it wrong? Tell us

✎ Parameters: AI-written from the Nucleus source.

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop