I have set my RenPy folder in appdata as read-only to prevent all apps from making saves there and to encourage them to use saves from the main game folder and keep on getting this error.
Any way to change the code or have some script make the files in the main game folder -- I don't want to make my RenPy folder writeable.
Have only seen the error in this game and would want some help.
P.S Tried to decompile files and find out the main issue but decompiling screenshots.rpyc shows some errors.
Traceback is there below
Full traceback:
File "I:\Misc\Project\Temp\Innocent_Witches-0-11-2-beta-fix3-pc\renpy\bootstrap.py", line 359, in bootstrap
renpy.main.main()
File "I:\Misc\Project\Temp\Innocent_Witches-0-11-2-beta-fix3-pc\renpy\main.py", line 541, in main
renpy.game.context().run(node)
File "mechanics/screenshots.rpyc", line 24, in script
File "lib/python3.9/future/utils/__init__.py", line 444, in raise_
File "mechanics/screenshots.rpyc", line 24, in script
File "I:\Misc\Project\Temp\Innocent_Witches-0-11-2-beta-fix3-pc\renpy\ast.py", line 2235, in execute
self.set()
File "I:\Misc\Project\Temp\Innocent_Witches-0-11-2-beta-fix3-pc\renpy\ast.py", line 2249, in set
value = renpy.python.py_eval_bytecode(self.code.bytecode)
File "I:\Misc\Project\Temp\Innocent_Witches-0-11-2-beta-fix3-pc\renpy\python.py", line 1202, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/mechanics/screenshots.rpy", line 24, in <module>
File "game/mechanics/screenshots.rpy", line 444, in __init__
File "<string>", line 6, in __init__
File "game/mechanics/screenshots.rpy", line 241, in __post_init__
File "game/mechanics/screenshots.rpy", line 285, in prune_data
File "lib/python3.9/pathlib.py", line 1252, in open
File "lib/python3.9/pathlib.py", line 1120, in _opener
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Games\\AppData\\Roaming\\RenPy\\persistent\\screenshots.iwz'