- Jun 14, 2018
- 1,607
- 2,256
I've been looking at one of the VN's from a spelling/grammar point of view, trying to clean up some of the more egregious spelling mistakes and such for a game released in chapters. In the hope that I can eventually get the list of corrections to the author somehow in a form they can use.
But in the process I've also started to look at the underlying .rpy files and have started straying into actual coding errors territory.
I don't have a RenPy programming background, but have done some coding experience in other languages. I started to look at some of the more obvious bugs, then caught myself when I realised I don't actually know the implications of fixing RenPy code.
The most obvious one to me is how RenPy keeps track of where it is up to within a save file. If I add a few lines of code, then any sense of line numbering goes out of the window. The RenPy wiki talks about saving the actual statement, but then what happens if the statement being changed/fixed happens to be the same statement that the save file is trying to sync to.
Then there's the whole mess of variables (I assume variable states are saved in the save file). Doesn't the episodic nature of previous releases mean that variables being set/absent/renamed in ancient save files could effectively break the "current" release.
And that's long before I start to worry about potential improvements to get around things like Patreon's morality clampdown. Changing/adding variables for Mother/Landlady Sister/Roommate, etc.
I'm going to go digging and experimenting anyway, but while I do that - I thought it might be useful to ask here too.
Chances are, I just accept "I don't know" as being where my level of skill is currently at. Then forget any ideas of trying to start something I clearly don't understand. But still... it's nice to plan ahead...
So if anyone has any cautionary tales or recommended reading... please shout up.
Links to topics here on the forums are especially welcome.
But in the process I've also started to look at the underlying .rpy files and have started straying into actual coding errors territory.
I don't have a RenPy programming background, but have done some coding experience in other languages. I started to look at some of the more obvious bugs, then caught myself when I realised I don't actually know the implications of fixing RenPy code.
The most obvious one to me is how RenPy keeps track of where it is up to within a save file. If I add a few lines of code, then any sense of line numbering goes out of the window. The RenPy wiki talks about saving the actual statement, but then what happens if the statement being changed/fixed happens to be the same statement that the save file is trying to sync to.
Then there's the whole mess of variables (I assume variable states are saved in the save file). Doesn't the episodic nature of previous releases mean that variables being set/absent/renamed in ancient save files could effectively break the "current" release.
And that's long before I start to worry about potential improvements to get around things like Patreon's morality clampdown. Changing/adding variables for Mother/Landlady Sister/Roommate, etc.
I'm going to go digging and experimenting anyway, but while I do that - I thought it might be useful to ask here too.
Chances are, I just accept "I don't know" as being where my level of skill is currently at. Then forget any ideas of trying to start something I clearly don't understand. But still... it's nice to plan ahead...
So if anyone has any cautionary tales or recommended reading... please shout up.
Links to topics here on the forums are especially welcome.