What is the difference in formats?

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
User avatar
Trafagal
Regular
Posts: 100
Joined: Mon Apr 29, 2019 9:32 am
Contact:

What is the difference in formats?

#1 Post by Trafagal » Sat May 09, 2020 3:27 am

Hi,

So I was applying some VN game, and I began to find something strange.

I notice that when I open my Renpy, the folders were like in the attachement.

One is a folder with lots of python files, and another with little or no python files.

Question 1 : how can I access those with Python files?
Question 2 : Is there a framework where I can copy those Python files?
Question 3 : When will i need to shift my game from those normal Ren'Py files to Python ones?

Thank you everyone for your kind guidance~!

Trafalgar.
Attachments
err.JPG
err1.JPG
err1.JPG (15.68 KiB) Viewed 270 times
Check out some of my stuffs here:https://linktr.ee/theartofjoshlab

Art Portfolio: https://www.instagram.com/theartofjoshlab/

Working on a personal Visual Novel~

drKlauz
Veteran
Posts: 237
Joined: Mon Oct 12, 2015 3:04 pm
Contact:

Re: What is the difference in formats?

#2 Post by drKlauz » Sat May 09, 2020 5:35 am

First screen is renpy internals, don't touch them, unless you really know what you doing.
Second screen is your game files, rpyc files are compiled rpy files, they used for faster game starting and some rudimentary obfuscation.

When making game you add/remove/edit rpy files in your game project folder, you generally never touch rpy/py files in renpy folders.
When you ready to release game you "Build Distribution" thru renpy launcher and it will automatically copy all necessary files to appropriate places.

While you can use py files/packages in game https://www.renpy.org/dev-doc/html/pyth ... d-packages i would recommend to avoid it and use "init python", unless you really know what you doing.
I may be available for hire, check my thread: viewtopic.php?f=66&t=51350

User avatar
Trafagal
Regular
Posts: 100
Joined: Mon Apr 29, 2019 9:32 am
Contact:

Re: What is the difference in formats?

#3 Post by Trafagal » Sat May 09, 2020 8:57 pm

drKlauz wrote:
Sat May 09, 2020 5:35 am
First screen is renpy internals, don't touch them, unless you really know what you doing.
Second screen is your game files, rpyc files are compiled rpy files, they used for faster game starting and some rudimentary obfuscation.

When making game you add/remove/edit rpy files in your game project folder, you generally never touch rpy/py files in renpy folders.
When you ready to release game you "Build Distribution" thru renpy launcher and it will automatically copy all necessary files to appropriate places.

While you can use py files/packages in game https://www.renpy.org/dev-doc/html/pyth ... d-packages i would recommend to avoid it and use "init python", unless you really know what you doing.
Hi drKlauz, noted. Thanks for your help!
Check out some of my stuffs here:https://linktr.ee/theartofjoshlab

Art Portfolio: https://www.instagram.com/theartofjoshlab/

Working on a personal Visual Novel~

Post Reply

Who is online

Users browsing this forum: Google [Bot]