I cannot create a game!!!
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.
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.
-
- Newbie
- Posts: 4
- Joined: Wed Oct 04, 2017 10:22 pm
- Contact:
I cannot create a game!!!
So, I was trying to make my game file for the first time, but after I picked my custom theme, I get an error message saying "/usr/share/renpy/gui/game does not appear to be a Ren'Py game."! I can't figure this out!!! I use Manjaro Linux, and there doesn't seem to be a "gui" folder in my ren'py folder. I downloaded that folder from github and placed it in my main folder, but when the file was being created, an exception occurred, and I cannot run my game! HOW CAN I DO THIS?!???
-
- Newbie
- Posts: 4
- Joined: Wed Oct 04, 2017 10:22 pm
- Contact:
Re: I cannot create a game!!!
I think this problem has to do with me picking the newer GUI option instead of Legacy. Is there any way for me to start projects under the newer GUI option at all?
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3792
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: I cannot create a game!!!
You mention you got an exception message. Please post that in full as text and explain what you did to make your game and somebody will be able to help.
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
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Newbie
- Posts: 4
- Joined: Wed Oct 04, 2017 10:22 pm
- Contact:
Re: I cannot create a game!!!
It read...
I'm sorry, but an uncaught exception occurred.
While running game code:
File "launcher/game/translations.rpy", line 286, in <module>
renpy.translation.extract.extract_strings_core(language, STRINGS_JSON)
IOError: [Errno 2] No such file or directory: u'/usr/share/renpy/tmp/strings.json'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "/home/rusty/gui7.rpyc", line 418, in script call
File "/home/rusty/translations.rpyc", line 280, in script
File "/usr/share/renpy/renpy/ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/usr/share/renpy/renpy/python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/translations.rpy", line 286, in <module>
renpy.translation.extract.extract_strings_core(language, STRINGS_JSON)
File "/usr/share/renpy/renpy/translation/extract.py", line 45, in extract_strings_core
with open(destination, "wb") as f:
IOError: [Errno 2] No such file or directory: u'/usr/share/renpy/tmp/strings.json'
Linux-4.9.51-1-MANJARO-x86_64-with-glibc2.2.5
Ren'Py 6.99.12.4.2187
Ren'Py Launcher 6.99.12.4.2187
As I said, I decided to choose "New GUI Interface" instead of "Legacy Theme Interface", which alone caused the whole thing. But I wanted to do this new GUI theme because of widescreen! Then I gave my project my name, chose 720 as my resolution, then picked my accent and background colors. Then it spent a few seconds creating the thing before that error message appeared.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "launcher/game/translations.rpy", line 286, in <module>
renpy.translation.extract.extract_strings_core(language, STRINGS_JSON)
IOError: [Errno 2] No such file or directory: u'/usr/share/renpy/tmp/strings.json'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "/home/rusty/gui7.rpyc", line 418, in script call
File "/home/rusty/translations.rpyc", line 280, in script
File "/usr/share/renpy/renpy/ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/usr/share/renpy/renpy/python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/translations.rpy", line 286, in <module>
renpy.translation.extract.extract_strings_core(language, STRINGS_JSON)
File "/usr/share/renpy/renpy/translation/extract.py", line 45, in extract_strings_core
with open(destination, "wb") as f:
IOError: [Errno 2] No such file or directory: u'/usr/share/renpy/tmp/strings.json'
Linux-4.9.51-1-MANJARO-x86_64-with-glibc2.2.5
Ren'Py 6.99.12.4.2187
Ren'Py Launcher 6.99.12.4.2187
As I said, I decided to choose "New GUI Interface" instead of "Legacy Theme Interface", which alone caused the whole thing. But I wanted to do this new GUI theme because of widescreen! Then I gave my project my name, chose 720 as my resolution, then picked my accent and background colors. Then it spent a few seconds creating the thing before that error message appeared.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3792
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: I cannot create a game!!!
So this happened while making a new project?
Looks like it hung on the launcher translations, which language is your default?
Can't say I know whats the go with this one.
Just incase you are not aware though, the old gui / legacy is capable of widescreen, you just need to set the size from within options.rpy
Looks like it hung on the launcher translations, which language is your default?
Can't say I know whats the go with this one.
Just incase you are not aware though, the old gui / legacy is capable of widescreen, you just need to set the size from within options.rpy
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
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Newbie
- Posts: 4
- Joined: Wed Oct 04, 2017 10:22 pm
- Contact:
Re: I cannot create a game!!!
First of all, English is my default language.Imperf3kt wrote: ↑Thu Oct 05, 2017 3:18 am So this happened while making a new project?
Looks like it hung on the launcher translations, which language is your default?
Can't say I know whats the go with this one.
Just incase you are not aware though, the old gui / legacy is capable of widescreen, you just need to set the size from within options.rpy
Second of all, thank you for giving me this resolution change suggestion for the Legacy GUI! I would never have thought of it! According to the create new project menu, it says "The new GUI supports wide screens", but now I realize that it's only for non-coders!
In a way, my problem is solved! I can just change the resolution by changing the code in the options file of the game when using the old gui method, but I guess the modern gui method is not compatible with Linux systems (It's only a guess). I have to use a Windows machine in order to use the modern gui method (even though I haven't used Ren'Py on there at all).
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3792
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: I cannot create a game!!!
It works on linux systems, I know this 100% for sure.
Perhaps try reinstalling or recompiling renpy from source code. There may have been an error during the install.
The new gui and the legacy gui are the same code, the new GUI just has different theme styling and wraps a lot of styling into gui.rpy
Perhaps try reinstalling or recompiling renpy from source code. There may have been an error during the install.
The new gui and the legacy gui are the same code, the new GUI just has different theme styling and wraps a lot of styling into gui.rpy
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
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- qirien
- Miko-Class Veteran
- Posts: 541
- Joined: Thu Jul 31, 2003 10:06 pm
- Organization: Metasepia Games
- Deviantart: qirien
- Github: qirien
- itch: qirien
- Location: New Mexico, USA
- Discord: qirien
- Contact:
Re: I cannot create a game!!!
It could also be a problem with your working directory when running Ren'Py? I also use linux and haven't had problems with the new GUI system, but before I changed my working directory to be the Ren'Py directory, I would sometimes get errors about files not being found.
Re: I cannot create a game!!!
You don't use the official Ren'Py package, but an package supplied by your distribution. Some distributions remove files while packaging Ren'Py.avidsonicfan1991 wrote: ↑Wed Oct 04, 2017 10:26 pm I get an error message saying "/usr/share/renpy/gui/game does not appear to be a Ren'Py game."!
Possible solution:
- download the official Ren'Py package here (the 'tar.bz2' file)
- extract it into a folder of your choice in your user directory (do not install in /usr/share/somewhere/xyz)
- execute 'renpy.sh'
Who is online
Users browsing this forum: Karrion