Skip to content

Provide Example Save / Cross-Platform #3

Description

@ReverseTelnet

In release 1.1.5, you mentioned fixing the base64 padding error from earlier releases.
In your _quarantine folder, you have a save file that appears to still be in that broken state.

If that is the "before", could you please check in a fixed "after" file?
I was reading through your commitmsg.txt text, and I understand most of it, but a before and after would help really solidify it.

Thanks for the great work. I was recently working on trying to port KiameV editor from Go to Python so it would run on macOS.

By the way, you make your editor work with PS4 saves with an easy tweak:

For PC Decrypt:

  • Strip BOM
  • Base64 Decode
  • Decrypt JSON Bytes
  • Uncompress to JSO

For PS4 Decrypt:

  • Decrypt JSON Bytes
  • Uncompress to JSON

For PC Encrypt:

  • Compress JSON
  • Encrypt JSON Bytes
  • Base64 Encode
  • Add BOM (or write as utf-8-sig)

For PS4 Encrypt:

  • Compress JSON
  • Encrypt JSON Bytes
  • Write as Binary

Based on the work from turtle-insect, it looks like the Nintendo Switch uses the same save format as PC.
We already have cross-save compatibility between PC and PS4, and it may also be possible with the switch as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions