ffpr - v0.7.0
    Preparing search index...

      ffpr - v0.7.0

      Decoding and encoding of Final Fantasy Pixel Remaster save files from Nintendo Switch, PC and PlayStation.

      Supports save slots, the bestiary and game settings of all six games. Objects that the game nests as JSON strings are unpacked into a plain object tree and packed back. Key names are kept as the game writes them, typos included (owendGil, numberOfButtles and others).

      import { load, save } from '@arelive/ffpr';
      import type { Master } from '@arelive/ffpr';

      const data = (await load('path/to/save', 'pc')) as Master;
      data.userData.owendGil = 9999999;
      await save('path/to/save', data, 'pc');
      config
      master
      Bestiary
      Config
      Data
      Keys
      Master
      Record
      Type
      Value
      load
      pack
      save
      unpack