Build the game but don't grab .psd files? *solved*

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
SquittenKitten
Newbie
Posts: 16
Joined: Wed Jul 17, 2019 8:51 am
Contact:

Build the game but don't grab .psd files? *solved*

#1 Post by SquittenKitten » Fri Jul 19, 2019 1:45 pm

Hello,

how do I make it so that when I build a game for distribution, it doesn't put in files with a .psd ending?

I'd like to keep .psd files inside of the game folder, but don't want that they get into the final build.
Last edited by SquittenKitten on Sat Jul 20, 2019 3:44 pm, edited 1 time in total.

trajano
Regular
Posts: 60
Joined: Sun Jun 16, 2019 7:59 pm
Github: trajano
Contact:

Re: Build the game but don't grab .psd files?

#2 Post by trajano » Fri Jul 19, 2019 3:12 pm

Why don't you put it in the folder under game?

SquittenKitten
Newbie
Posts: 16
Joined: Wed Jul 17, 2019 8:51 am
Contact:

Re: Build the game but don't grab .psd files?

#3 Post by SquittenKitten » Fri Jul 19, 2019 3:21 pm

trajano wrote:
Fri Jul 19, 2019 3:12 pm
Why don't you put it in the folder under game?
Because I have those .psd files inside my image folder

I have it like images > character1 > ch1sceene1 > door.psd

If they are all in a different folder, I can't have access to them that easily :(

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

Re: Build the game but don't grab .psd files?

#4 Post by drKlauz » Fri Jul 19, 2019 3:51 pm

Find and edit lines in options.rpy

Code: Select all

    build.classify('**~', None)
    build.classify('**.bak', None)
    build.classify('**/.**', None)
    build.classify('**/#**', None)
    build.classify('**/thumbs.db', None)
    build.classify('**.psd', None)
I may be available for hire, check my thread: viewtopic.php?f=66&t=51350

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], minyan