RMMZ Anti-Save swapping (possible anti-save tamper) idea.

thekenbaum

Villager
Member
Joined
Mar 7, 2015
Messages
23
Reaction score
2
First Language
English
Primarily Uses
RMMV
I had an idea for a plugin that would make swapping saves (Or maybe even loading a previous save if you want that for whatever reason) impossible. And all it would require is a plugin that can write the value of a variable to an external file, such as a TXT file or a JSON file (preferably encrypted) and also be able to re-read from said file. For example...
Upon starting a new game, the game would run an auto event that does two things, creates a variable with a random number (let's say a random 6-digit number, 654321) and after creating the random number it calls the plugin to write what that number to an external file. Upon loading the game, another auto event would go off (either set up in each map or in each save point) which would call the plugin to read the variable from the external file and store it into another variable. The auto event would then check to see if the two variables are the same; if so, the game would know the save file is legit and would continue as normal; if not, well, you can set up the auto event to basically do anything you want it to do. To make it so it prevents loading previous saves, you can set up auto-events to create new value and call the plugin to write it to the external file (or maybe just make it so the plugin has the option to do this whenever a player saves).
This won't prevent piracy of RPG Maker games at all; and it won't stop save editing unless it was made to essentially backup the whole save file instead of just a single variable. But it would stop %100 saves from being shared, or if you're making a hardcore story-heavy game to not allow players to load a previous save and do something differently. I just think a plugin like this would be interesting and I see the potential for it.
I know this isn't really a request, I just didn't know where else to put this... Albeit I would love to use a plugin like this for my game I'm working on.
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
378
Reaction score
351
First Language
german
Primarily Uses
RMMZ
So I worked in a security department for 6 months as trainee, so I can give some tips. First, your plugin could just be turned off or manipulated, so any encryption itself is skipped and the Game would follow the default flow to save and load save files.

Let's assume this problem wouldn't exist.

Preventing direct Save File manipulation:
Usually you would use Hash functions with a secret key to save and validate check sums. You would need to have some secret keys here, but how to save a secret key in a Desktop game? As far as I know, impossible :o

Preventing revert decisions:
Nothing stops a player to just copy-paste the whole game including all the stored save games and any checksums, so I don't know a solution here.

Preventing sharing:
Maybe we can consider the Computer's name or something similar into the hash function, but that also won't be a strong encryption.


I'm afraid such a request is not possible.
 

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
797
Reaction score
350
First Language
English
Primarily Uses
N/A
You can try my permadeath plugin Here.
You might need a little more to make it work like @Aerosys said but it's hopefully a start.

Also note that I made this for mv although it should work on mz ok.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top