(for a commercial game) Hard Core mode

I'm sure almost everyone who plays RPGs here knows what hardcore mode is but for those who don't know, It's basically a game mode where if you die it's all over. Basically a Perma-death mode. Normally if you die in an RPG you respawn but at a cost or you get a game over screen then taken back to the title screen where you can wither choose to continue from where you last saved OR simply rage quit.

I already have a difficulty plugin now I would like a hardcore mode plugin to where if the entire party dies (assuming the player chose to enable hardcore mode) then upon detecting gameover it deletes the save associated with that session and then after a set number of frames that I specify it automatically takes the user to the screen. In order to prevent this from being abused the plugin must also force the user to first select a slot when starting a new game and when saving while in-game stop them from saving to any other slot. I use Yanfly's save core plugin as well as its extension New Game+ so it must be compatible with those.


Execution:
When starting a game I will ask the player if they want to enable hardcore mode, if they choose yes, a plugin command will be called. I will set up a conditional branch so that in New game plus the option will not come up.
I just wonder, have you thought about players backing up their saves(if they back their saves to a flash drive, there's no way for any plugin to erase them when that flash drive's not connected to anything) to prevent them from being deleted in hardcore mode(like, in order to falsely claim bragging rights)?
I just wonder, have you thought about players backing up their saves(if they back their saves to a flash drive, there's no way for any plugin to erase them when that flash drive's not connected to anything) to prevent them from being deleted in hardcore mode(like, in order to falsely claim bragging rights)?



I have actually thought about this before I typed up my request and I'm well aware of the problem and I don't think there is anyway to prevent that unless someone knows something I don't.
Well, one possibility would be if you do not save the games locally but on a server instead. But I think this is out of the question, right?
Well, one possibility would be if you do not save the games locally but on a server instead. But I think this is out of the question, right?


Yeah, especially considering that what would essentially require it to be always online.

I am against the idea of single player games always requiring an internet connection.

In fact I got into a heated debate about that due to HITMAN being that way.
Nvm.
A good solution to prevent cheating the hardcore difficulty might be to create an obfuscated file that records gameovers. The game will look at the


obfuscated file and if it has a record that the player got a gameover while on a hardcore save, it will prevent loading that save. You could detect whether it's the same save file by looking at the timestamp or something else.


If the player deletes the obfuscated file then no hardcore save files can be loaded and the game will have to generate a new one forcing the player to start a new game


Exactly how could such a feat be done? Could you make the plugin create such a file? Because I like this idea.
A good solution to prevent cheating the hardcore difficulty might be to create an obfuscated file that records gameovers. The game will look at the


obfuscated file and if it has a record that the player got a gameover while on a hardcore save, it will prevent loading that save. You could detect whether it's the same save file by looking at the timestamp or something else.


If the player deletes the obfuscated file then no hardcore save files can be loaded and the game will have to generate a new one forcing the player to start a new game

The key of this approach is to place that file into places that players will never ever suspect. It's because:


1. For players backing up save files, if they realize their backups are kept being deleted, they'll immediately suspect there are some hidden files checking the save files.


2. If those hidden files are placed at obvious locations, like the game's folder, my documents folder/application data folder(and the Mac counterparts) or the browsers launching the game, those hidden files will be quickly discovered by players.


It's because they can simply keep track of the last modified time of files in those common locations right before and after saving.


Those hidden files will be immediately revealed by spotting the changes of the last modified time.


3. Once all those hidden files are found, players can simply backup those hidden files as well as the save files.


On a side note: To play safe, those players will also backup the whole game itself, because such approach normally also changes some portions of the database files of the game to further reduce the chance for the hardcore mode to be cheated.


The only such place I can think of is the Windows registry(and the Mac counterpart, as Android and iOS apps using internal storages to store save files won't have such problems at all), because creating any file for the game at any other places just for the sake of countering cheating in the hardcore mode is generally considered an extremely bad practice.
 

Exactly how could such a feat be done? Could you make the plugin create such a file? Because I like this idea.

Using a plugin to create a file's easy(just check how the default RMMV codebase does so and/or search the internet for tons of answers).


But to make it obfuscated, the real questions are what type of that file should be(for instance, using cookie/json would be too captain obvious), what name that file should be, and where it should be placed.


Normally, these questions will become configurable by the plugin users.


P.S.: The game should consider how many players will be likely to insist on cheating in the hardcore mode with such a high cost, and how serious the consequences are once some players managed to cheat in the hardcore mode.
The key of this approach is to place that file into places that players will never ever suspect. It's because:


1. For players backing up save files, if they realize their backups are kept being deleted, they'll immediately suspect there are some hidden files checking the save files.


2. If those hidden files are placed at obvious locations, like the game's folder, my documents folder/application data folder(and the Mac counterparts) or the browsers launching the game, those hidden files will be quickly discovered by players.


It's because they can simply keep track of the last modified time of files in those common locations right before and after saving.


Those hidden files will be immediately revealed by spotting the changes of the last modified time.


3. Once all those hidden files are found, players can simply backup those hidden files as well as the save files.


On a side note: To play safe, those players will also backup the whole game itself, because such approach normally also changes some portions of the database files of the game to further reduce the chance for the hardcore mode to be cheated.


The only such place I can think of is the Windows registry(and the Mac counterpart, as Android and iOS apps using internal storages to store save files won't have such problems at all), because creating any file for the game at any other places just for the sake of countering cheating in the hardcore mode is generally considered an extremely bad practice.
 


Using a plugin to create a file's easy(just check how the default RMMV codebase does so and/or search the internet for tons of answers).


But to make it obfuscated, the real questions are what type of that file should be(for instance, using cookie/json would be too captain obvious), what name that file should be, and where it should be placed.


Normally, these questions will become configurable by the plugin users.


P.S.: The game should consider how many players will be likely to insist on cheating in the hardcore mode with such a high cost, and how serious the consequences are once some players managed to cheat in the hardcore mode.


OK considering all of what you said above, what would be the absolute best way to tackle the problem of cheating hardcore mode?
OK considering all of what you said above, what would be the absolute best way to tackle the problem of cheating hardcore mode?

I'd consider using save points only in hardcore mode, instead of deleting saves upon game over 🙂
I'd consider using save points only in hardcore mode, instead of deleting saves upon game over 🙂


I'm afraid that idea is completely out of the question. I prefer to allow players the option to save anytime, anywhere.
I'm afraid that idea is completely out of the question. I prefer to allow players the option to save anytime, anywhere.

Then you may simply want to pray that only an extremely small portions of players will put forth that much effort to cheat in the hardcode mode, by making most players feel/think that the outputs(fake bragging rights) aren't worth the inputs at all.


After all, pinpointing all those hidden files are likely really costly, and backing up the whole game, save file and all the hidden files are probably rather painful, especially when they're doing that quite frequently 🙂
Well if we come up with a plan to counter cheating it'll need to work across every operating system including Linux. It's possible to export MV games to linux. 

It needs to be something most people would never think of.
 
Basically, there are 3 directions countering cheats:


1. Makes it outright impossible


2. Makes it impossible without specified knowledge and techniques(and those knowledge and techniques are extremely hard to acquire)


3. Makes it so costly that almost no one will ever want to do so, especially when the gain's so small


As far as I know:


- The 1st direction must be done using a server to check the save files(which is what Accendor already suggested)


- The 2nd direction will most likely lead to extremely bad practices(like placing some hidden files in the downloads folder lol)


- The 3rd direction's the most feasible one(especially when all those players can get is a fake bragging right)
maybe saving the save files in the %appdata%/roaming/fakeflooder/0341248321849089321403210847531294890132/savefile.savefile

Original thread: https://forums.rpgmakerweb.com/threads/for-a-commercial-game-hard-core-mode.63744/