(Solved) Need help with Renpy - new files

Niteowl

Member
Game Developer
Apr 6, 2018
298
379
So, I recently released my game, finally.....

here's a link if you'd like to check it out.
https://f95zone.to/threads/future-fantasy-harem-v0-1-niteowl-games.44544/

anyways, I"m working on the update now, but I noticed something odd....
I created new files for the new scenes, but Renpy doesn't seem to recognize the new files I added after created the distribution copy of my game....
(When I open all files, I also noticed the new files won't open. I have to open them individually)

Now, I have correct labels in the new files but since the program apparently doesn't recognize them the program crashes....

any advice? How can I fix this issue? There must be a simple solution but can't think of one right now
 

79flavors

Well-Known Member
Respected User
Jun 14, 2018
1,611
2,258
It really isn't clear what the issue is.

Is there something wrong with the version of the game currently available for download? Or is it something that only happens now you've started work on the next section? Because we can't see the new stuff, and it's not clear from what you're saying what new files aren't working. New scripts? New images? New sound files?

If I had to guess, based on the version of the game available for download and the fact you mention crashing when jumping to labels... I think you've created some script files and not added the .rpy file extension to them.

For example, you already have files like Day3, Day3.rpy, FernMenu and FernMenu.rpy. The versions without the correct file extension are older and look like very old versions of the correctly named files. They would be ignored by RenPy, so aren't doing any harm right now - other than looking untidy.

Usually that sort of thing happens when you're using a text editor which doesn't automatically add the file extension on for you. So you save a file as "script", instead of "script.rpy". Or at least, you used to... back in October last year.

I think you've maybe done the same thing again. Maybe you've created a Day4 instead of Day4.rpy and since the extension is missing... RenPy is ignoring the file completely. So when you jump to a label in that new file, it doesn't exist as far as RenPy is concerned.

All of which is a very tenuous guess on my part. If I'm completely wrong and something else is going on... you'll need to give us more information beyond "I added something" and "something isn't working".
 
  • Like
Reactions: anne O'nymous

Niteowl

Member
Game Developer
Apr 6, 2018
298
379
Sorry guys, I resolved the issue as mentioned on the other thread.
I hadn't coded in a bit and forgot to name the files .rpy.

And I apologize about the double post. It won't happen again.