If I'm not mistaken, the script make the game crash because in 00keymap.rpy the line:
Code:
accessibility = [ "K_a" ],
has been already commented (with the '#') or removed and "config.array" has no "accessibility" key (anymore).
Partly it is my fault, I should have put the statement in a try...except block.
Yeah, that was the problem, alright. I tried modifying the 00keymap.rpy file in one game, and it worked. So I then tried creating the no_accessibility file in that same game and copied it around. The reason it crashed my other games is that a lot of them don't have the accessibility line in 00keymap.rpy.
Lesson learned: If I'm going to tinker with something I don't fully understand, be methodical about it, and keep track of what you've done. Also, Python uses indents to mark code blocks (if-then, for/while, init, etc.). I didn't see anything in your example to mark the beginning and end of the if statements, (every other language I've seen uses parentheses, brackets, or some other form of punctuation), so I looked up python if statements and for loops.
Thanks again. Not only can I turn off an annoying feature, I can actually understand .rpy files a lot easier now.