Saving all my games in one directory....?

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
Gingerbread&Arsenic
Newbie
Posts: 6
Joined: Wed Dec 15, 2010 9:57 am
Contact:

Saving all my games in one directory....?

#1 Post by Gingerbread&Arsenic » Wed Dec 15, 2010 10:14 am

Alright, so I'm a complete noob when it comes to programming, and it's possible that this glitch is just my horrible computer. I'm using Windows Vista, incidentally.

Basically, I made a game as a test, and when I logged out, went back in and tried to play it it wouldn't start, claiming that "start was defined twice" (I'm sorry, I didn't save the error messages and deleted the game.) After some messing around with the code, I discovered that the problem was that all the games I made were being saved as sub-folders in the "the_question" directory (the demo game that came with Ren'Py. I didn't have time to fix it then and deleted my game because I had messed up my script trying to find the error.

So I tried to make another game, and it did the same thing--the game directory was being saved in the "the_question" directory, and so start was being defined in the "the_question" game script and in my new game script; so naturally it couldn't run. I moved my new script into the Ren'Py folder, but then when I tried to launch it, it gave me the following traceback:

Code: Select all

I'm sorry, but an uncaught exception occurred.

WindowsError: [Error 3] The system cannot find the path specified: "C:\\Users\\Maya Pillay\\renpy-6.11.2\\the_question\\game\\Anandhi's bday/*.*"

Before loading the script.

-- Full Traceback ------------------------------------------------------------

  File "C:\Users\Maya Pillay\renpy-6.11.2\renpy\bootstrap.py", line 270, in bootstrap
  File "C:\Users\Maya Pillay\renpy-6.11.2\renpy\main.py", line 144, in main
WindowsError: [Error 3] The system cannot find the path specified: "C:\\Users\\Maya Pillay\\renpy-6.11.2\\the_question\\game\\Anandhi's bday/*.*"

Before loading the script.

Ren'Py Version: Ren'Py 6.11.2b
I did the rather stupid thing of deleting "the_question"'s game script when the first game wouldn't work so my game would run. So if I make a new game, it is automatically saved in "the_question" directory and can run as it is the only script...but if I try to make a new script, it is also saved in "the question" directory and gives me the "start defined twice" error.

So I can only have one game at a time--writing one game, then writing another, is impossible as they are all being saved in the same directory, and if I try to move them out, ren'py cannot find the file. :cry: Is this a problem with my computer? Or can someone help me with the bug? (I might have to use ren'py on Linux if it's a problem with windows..."

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Saving all my games in one directory....?

#2 Post by PyTom » Wed Dec 15, 2010 11:16 am

My gut feeling is that the projects directory is set wrong. In the launcher, go into Options, Project directory, and pick a new one.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Gingerbread&Arsenic
Newbie
Posts: 6
Joined: Wed Dec 15, 2010 9:57 am
Contact:

Re: Saving all my games in one directory....?

#3 Post by Gingerbread&Arsenic » Thu Dec 16, 2010 3:24 am

I tried it, and it's now working perfectly! Thank you very much PyTom :D

andIfeellikesuchanoobnowiamnotworthy. (shuffles off)

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Saving all my games in one directory....?

#4 Post by PyTom » Thu Dec 16, 2010 7:28 am

Gingerbread&Arsenic wrote:andIfeellikesuchanoobnowiamnotworthy. (shuffles off)
There's nothing wrong with being new, as long as you keep trying to improve.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Gingerbread&Arsenic
Newbie
Posts: 6
Joined: Wed Dec 15, 2010 9:57 am
Contact:

Re: Saving all my games in one directory....?

#5 Post by Gingerbread&Arsenic » Fri Dec 17, 2010 7:18 am

I shall indeed. Thanks again.

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot]