Skip to content

Extracting Save Data from iOS Client

This guide explains how to extract your save data from the iOS version of KRFN (v3.7.0).

Note

While the extracted offline save data lacks information regarding your town, items, rooms, and weapons, it allows you to migrate your trained characters to the Sparkle server.

No jailbreak or third-party app installations on your iOS device are required!


Requirements

Before starting, ensure you have the following:

  • A computer (Windows or macOS)
  • An iOS device (iPhone, iPad, or iPod Touch) with the KRFN app installed
  • A USB cable capable of data transfer

Warning

If you do not meet these requirements, you cannot extract the save data. In that case, you will need to manually record your character information (e.g., via screenshots) and enter it manually.


Step 1: Create an Encrypted iTunes Backup

  1. Install iTunes on your computer if you haven't already.
  2. Connect your iOS device to your computer using the USB cable.
  3. Launch iTunes.
  4. Click the device icon in the top-left corner to access your device's summary page.
  5. In the Backups section, check the box for "Encrypt local backup".
    • You will be prompted to set a password. Choose a password and remember it, as you will need it in the next step.
  6. Click the "Back Up Now" button under the Manually Back Up and Restore section.
  7. Once the backup process completes, close iTunes.

Step 2: Extract Data from the iTunes Backup

To extract the necessary files from the backup, we will use a backup explorer tool.

  1. Download iTunes-Backup-Explorer (itunes-backup-explorer-1.5.jar).
  2. Install Java JDK (which includes JavaFX) if you don't have it.
  3. Launch the tool:
    • Run itunes-backup-explorer-1.5.jar.
    • macOS Users: You may need to grant execution permissions first by running the following command in Terminal:
      chmod +x itunes-backup-explorer-1.5.jar
      
  4. Select your recently backed-up device from the list in the application.
  5. Click on the "Files" tab.
  6. Enter the backup password you set in Step 1 (5) when prompted.
  7. Navigate through the directory tree, select the following files, and click "Export selected files" to save them to your computer:
    • Database file: ApplicationsAppDomain-com.aniplex.kirarafantasiaDocumentso.d (Note: o.d2 is a local backup file of the primary save file o.d. Unless the primary o.d file is corrupted, you only need o.d)
    • Keychain backup file: KeychainDomainkeychain-backup.plist

Step 3: Extract the Decryption Key (key.d)

Now, we need to retrieve the decryption key (key.d) from the files extracted in the previous step.

  1. Open the following key dumper web utility:
  2. Select and upload the required files:
    • keychain-backup.plist: Upload the file exported in Step 2.
    • Manifest.plist: Locate this file in your device's raw iTunes backup directory.
      • Tip: In iTunes Backup Explorer, you can right-click your device name and select "Open backup directory" to open this folder in File Explorer or Finder.
  3. Click the "Decrypt" button and wait a few moments.
  4. If successful, the key.d file will automatically download.
    • Note: If you encounter any errors in the log console, follow the on-screen instructions and try again.

Step 4: Decrypt and Generate Offline Save Data

Finally, combine your database file and decryption key to generate the decrypted offline save data.

  1. Open the offline data decryptor utility:
  2. Select and upload the required files:
    • o.d: Upload the database file exported in Step 2.
    • key.d: Upload the decryption key file downloaded in Step 3.
  3. Click the "Decrypt" button and wait for the process to complete.
  4. Once completed, your decrypted offline save data will download.
  5. Success! Your save data extraction is complete. You can now use this file to restore your progress on the Sparkle server.