how to hide file in renpy folder

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
chandra123steven
Regular
Posts: 28
Joined: Fri May 13, 2016 7:15 am
Contact:

how to hide file in renpy folder

#1 Post by chandra123steven » Sat Jul 02, 2016 10:45 pm

hello , i want ask
how to hide file in a folder?

ex :
i want hide
folder "MUSIC"
file "music.mp3"

all format .mp3 will hide if that folder open,
how to do that?
i'm so sorry if my language
very bad ,

User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Re: how to hide file in renpy folder

#2 Post by namastaii » Sat Jul 02, 2016 11:04 pm

put this in your options.rpy

Code: Select all

build.classify('**.mp3', 'archive')
or more specifically

Code: Select all

build.classify('game/music/**.mp3', 'archive')
to just hide the mp3 files within that specific folder, I believe.

and when you compile it into a build distribution, the .mp3 files will be archived and won't be accessible.

chandra123steven
Regular
Posts: 28
Joined: Fri May 13, 2016 7:15 am
Contact:

Re: how to hide file in renpy folder

#3 Post by chandra123steven » Sat Jul 02, 2016 11:44 pm

thanks!!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], nyeowmi