Skip to content

Rustfoil generates extra characters #13

@TheExpertNoob

Description

@TheExpertNoob

When running rustfoil with the --compression off flag, it generates the TINFOIL header plus extra characters outside of the main brackets. After manually adding what I need to (themes and retro ROMs sections), I then use the encrypt.py script provided on the tinfoil.io website using the public.key and using its (python's) zstd compression, Tinfoil will not pick it up. Oddly enough, using just the plain text file originally created by rustfoil (and manually adding my extra sections) it works fine with Tinfoil.
Now I can manually remove those extra characters in Notepad++ then compress/encrypt and Tinfoil picks it up just fine.
So what I am getting at, what is writing the TINFOIL header and is it needed, as well as the (Mostly) NUL characters, (I assume padding maybe?) and are they needed.
Bonus feature request: can we also get some line returns so it isn't all one line?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions