ffpr - v0.7.0
    Preparing search index...

    Function load

    • Reads and decodes a save file.

      Parameters

      • filename: string

        Path to the save file.

      • type: Type = 'switch'

        Platform the save file comes from.

      Returns Promise<Data>

      Save data as a plain object tree.

      If the file cannot be read or is not a save file of this platform.