Changing a .rpy file while the .rpa file is still being used.

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
DavidCF77
Newbie
Posts: 9
Joined: Mon Aug 16, 2021 12:45 pm
Deviantart: DavidCF77
Github: DavidCF77
itch: DavidCF
Contact:

Changing a .rpy file while the .rpa file is still being used.

#1 Post by DavidCF77 »

Hi,
If I have a scenario where I am running a game that has .rpa files and has been modded with .rpy and .rpyc files from a Modder.
That works fine.
If I then modify one of the modded .rpy files, when the game is run it gets the follow error

The label v88 is defined twice, at File "v88.rpyc", line 13:
and File "game/v88.rpy", line 13:
label v88:

If I rename the v88.rpy file to v88.rpymod so I do not lose the code and rerun.
The game runs.
If I then rename the .rpymod file back to .rpy it still works, but if I then delete the .rpyc file and run again I am back to the Defined Twice error.
Is this the expected result or am I missing something?
Thank you.
Regards,
David

Post Reply

Who is online

Users browsing this forum: Google [Bot]