Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Seen texts are broken if game is recompiled from a different directory #1628
AFAICS the "seen texts" are stored in savegames using unique identifiers, that contains the fullpath for each script that contain said texts.
If the developer renames the directory, removes the .rpyc files, and re-releases the game, people updating to that new (identical) version will have their "seen texts" reset, and will have to manually skip them one by one.
It would make sense to store the path from the "game/" folder downwards only, to avoid both breaking seen texts and leaking the developer full path.
Ouch. I missed that part.
No, that won't work.
The reason is the .rpyc files include information in them that helps Ren'Py find the location of a line after a load into a changed game. The alternative would be to use line numbers or something similar, but that would be a huge pain to work with.