MV Export/Import Encrypted Text Files

Hello! I am creating a series of games that tie into each other. However, there's a problem: Normally, when you transfer data over, the data MUST have the same database.

A way to circumvent this, I think (correct me if I'm wrong) is to be able to export a save file from a prequel containing the stats of the character and their skills, everything you want from the character, then import it into the sequel.

After that, you're free to continue to next phase of the game with that character.

The caveat with this method is: editing.

While text files are a great way to store information, they are exposed to and prone to tampering. And if your text file has character stats, skills, equip, etc, they can easily edit and change this information to suit their needs.

If your game is an online game, this is really bad. It's a form of cheating, which causes your own delight in your gameplay at the expense of others.

One way to get around this is to password protect your file. But most basic text files cannot be password protected.

You can possibly have the program zip your file, password protect it, then unzip it and read the inner contents, but if a person figures out the password, that's it, your contents are wide open.

A better way to get around this is encrypting the text file. Make the code gibberish upon opening it directly, so that any edits will be rendered null and void. Only the game can encrypt and re-encrypt the file(s).

Which comes down to my plugin request:

Can anyone make a plugin to export and import Encrypted text files?
You can use the same compression as when saving the game, which will produce a file that looks like it's just random characters.
Anyone that looks at your code will be able to tell how it's done and reverse it, but the same is true for any other way of compression or encryption (if you use a password, people can just check your code to see what the password is).

If your game is an online game, this is really bad. It's a form of cheating, which causes your own delight in your gameplay at the expense of others.
Anyone can see the full code of any RPG Maker game, and freely change it however they like. If you care about people not cheating in an online game, RM (or any other entirely client-side engine) is not a very good choice.
Anyone can see the full code of any RPG Maker game, and freely change it however they like. If you care about people not cheating in an online game, RM (or any other entirely client-side engine) is not a very good choice.
Well, I am not a brilliant learner, I've gotten far with RPGmaker, too far to turn back now. I require a prebuilt click and play engine with minimal setup and lots of already made plugins to make my game work, since I am very bad a creating something from scratch, so RPGmaker is my best bet for this. This is my dream project we're talking about here, and I'm not gonna give it up and make my life miserable.

I am willing to pay someone to make this happen, if that is any influence.

You can use the same compression as when saving the game, which will produce a file that looks like it's just random characters.
Anyone that looks at your code will be able to tell how it's done and reverse it, but the same is true for any other way of compression or encryption (if you use a password, people can just check your code to see what the password is).
I'm not sure I'm following here, your saying that the program already has built-in code encryption? But it's lacking in security as stated in many websites, so it would be easy enough to simply use a different encryption method?
If that's the case, I'd highly recommend rethinking how you handle its online aspect (however that works) so that people cheating won't negatively impact other players. Trust me, it's better to do that right now than after you launch your game.

It's not really a problem with exporting things to a text file specifically, just that in general RM games are trivially easy to cheat on in every possible way. You change one line in the core files to allow opening the console outside of playtest, and can then freely change any variables/equipment to whatever you want to. Fixing that would basically require rewriting the entirely engine, which was deliberately created in a way that's as easy to modify as possible (great thing if you're a plugin developer, worst thing possible if you want to prevent cheating).

Original thread: https://forums.rpgmakerweb.com/threads/export-import-encrypted-text-files.177657/