Hi. I've been trying to use Jet's AppData Saving script, which is supposed to keep save files in a separate folder, but I keep coming across an error.
The moment I launch the game, I get a script error, saying "Line 42: Errno::ENOTDIR occurred." And then it says 'Not a directory'. I am guessing it's trying to find the AppData directory but is unable to. I've googled the problem and looked everywhere, but it appears nobody else is experiencing this problem and I've been unsuccessful in finding any solution. Has anyone used this script before or does anyone know why this error is occurring and what can be done to fix it?
Thanks.
[Ace] Trouble with Jet's AppData Saving script
● ARCHIVED · READ-ONLY
-
-
The script seems to work fine for me.
Try these :
- Possible script conflict?
Try using the script on an empty, new project to rule out script conflict.
- By default, every Windows account has an AppData folder.
Could you check if your current account has one? You have to enable 'Show hidden files, folders, and drives' to see it.
- Is your folder protected from file-overwriting?
Try running your RM with 'Run as administrator'. -
Thanks for the post Susan. I've been trying out various things and after the whole morning I've finally figured out what's going on. If anyone else is getting this problem, make sure there is no colon ( : ) or any other weird symbol in your project's name. As soon as I removed the colon, it worked fine. The same is also the case for Shaz's Save Location script.
-
Must be all those symbols that Windows prevent you from entering when you are renaming your files :
\ / : * ? " < > | -
I would update the topic with a proper fix, but the forums silly auto-archival system is preventing me from doing it.
-
I don't know if you can 'fix' it, Jet. The root of the problem is Windows, not your script.
-
Right but I can just remove those specific characters from the directory in-script and save it that way, mitigating the issue.