HELP!! Build.directory_name still won't cooperate!

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
ColorWheeler
Newbie
Posts: 1
Joined: Sun Oct 21, 2018 10:16 pm
Contact:

HELP!! Build.directory_name still won't cooperate!

#1 Post by ColorWheeler »

Hello Lemma Soft forums! For the past few days I've been using Ren'Py to build a little lesson for a design project. The game itself is finished, but now it refuses to cooperate when I try to export it under Build Distributions.

Here's the error message I get:
Building distributions failed:
The build.directory_name variable may not include the space, colon, or semicolon characters.
Except that my build name doesn't contain spaces, colons, or semicolons.

Code: Select all

## A short name for the game used for executables and directories in the built
## distribution. This must be ASCII-only, and must not contain spaces, colons,
## or semicolons.

define build.name = "color_module"
The folder itself has underscores in place of spaces. I've managed to pack and zip the tutorial games with no issues and I don't know what could be causing the error. This project is due in two days and I need to export it as soon as possible! Any assistance at all would be appreciated.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: HELP!! Build.directory_name still won't cooperate!

#2 Post by Imperf3kt »

That message refers to the name you pick when building the distribution. You should be asked to name your project, that is where the error occurs, I believe.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: HELP!! Build.directory_name still won't cooperate!

#3 Post by Remix »

Are there any non Ascii characters (spaces, colons etc) in the filepath to your game folder?
(e.g. C:\My Docs\renpy = bad, E:\vn\renpy\colour_module\ = good)
Frameworks & Scriptlets:

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: HELP!! Build.directory_name still won't cooperate!

#4 Post by Imperf3kt »

Remix wrote: Mon Oct 22, 2018 7:29 am Are there any non Ascii characters (spaces, colons etc) in the filepath to your game folder?
(e.g. C:\My Docs\renpy = bad, E:\vn\renpy\colour_module\ = good)
spaces in the directory name do not matter, for example, this works perfectly fine:
E:\renpy\menu test

As you can see, building a distribution of this had no trouble.
Image

The issue is this bit:
Image
This cannot have any spaces or non ASCII characters in it.

Ensure build.name found in options.rpy, is named sensibly. Example:
define build.name = "menutest"
instead of
define build.name = "menu test"
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Post Reply

Who is online

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