Page 1 of 1

Fixed list of rpy / py files to parse

Posted: Thu Apr 25, 2024 4:09 am
by LegsWild
A short background:
I've made a game with some kind of lock-code. It's pretty easy to work-around this code by writing a .rpy file, put it in the game directory and overload the checker function.

So my idea would be, when the distribution starts, there should be a .txt file containing all valid importable files. These files would also have an md5 combined with an internal code.
The parser then has to check if a file is listed and valid. It'd be some overhead for the startup and it wouldn't be 100% secure but it would make the overloading much harder.

Ideas on this? Or maybe something like this exists already?

Thanks so far.

Re: Fixed list of rpy / py files to parse

Posted: Sun Apr 28, 2024 4:56 am
by m_from_space
LegsWild wrote: Thu Apr 25, 2024 4:09 am A short background:
I've made a game with some kind of lock-code. It's pretty easy to work-around this code by writing a .rpy file, put it in the game directory and overload the checker function.

So my idea would be, when the distribution starts, there should be a .txt file containing all valid importable files. These files would also have an md5 combined with an internal code.
The parser then has to check if a file is listed and valid. It'd be some overhead for the startup and it wouldn't be 100% secure but it would make the overloading much harder.

Ideas on this? Or maybe something like this exists already?

Thanks so far.
What exactly is your goal here? People not being able to mod your game or being unable to get data out of it, like images? Because hacker's gonna hack and you don't even wanna try protecting it.