Build Distribution Not Working.
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.
- Agumonofalchemy
- Newbie
- Posts: 8
- Joined: Sat Aug 20, 2016 4:06 pm
- Contact:
Build Distribution Not Working.
Hi guys, I seem to be having a small problem with my game. I've been working on this one for a few months, and all the testing I've done has allowed it to work so far. I'm trying to share it with a friend of mine so he can see it before I release it to the general public since he helped make some of the art and story, and I want his approval for it before it's done. So I click on build distributions, create an 'All' version, and a 'mac' version. I put them in dropbox and send him a link. He gets them and they don't work. He can't open the mac version, and the all version doesn't work.
Any suggestions?
Further note, I tested the all version myself, it says it can't find any images despite them being in the image folder, is that a glitch, or am I missing something?
Any suggestions?
Further note, I tested the all version myself, it says it can't find any images despite them being in the image folder, is that a glitch, or am I missing something?
- korova
- Veteran
- Posts: 217
- Joined: Sat Jun 27, 2009 5:15 pm
- Completed: Ivy, Chocolate, Time, Clair Obscur
- Projects: Writing exercises, The House [Nano18]
- Tumblr: korova08
- itch: korova
- Location: Normandie, France
- Contact:
Re: Build Distribution Not Working.
has he (or you) unzipped (or decompressed) your builds before trying to play them ?
- Agumonofalchemy
- Newbie
- Posts: 8
- Joined: Sat Aug 20, 2016 4:06 pm
- Contact:
Re: Build Distribution Not Working.
Yes actually, that's the first thing I tried. While the game starts, it then gives the error message that it can't find any of the associated images.
- Agumonofalchemy
- Newbie
- Posts: 8
- Joined: Sat Aug 20, 2016 4:06 pm
- Contact:
Re: Build Distribution Not Working.
Sorry to bump this, but I really need help, please.
- korova
- Veteran
- Posts: 217
- Joined: Sat Jun 27, 2009 5:15 pm
- Completed: Ivy, Chocolate, Time, Clair Obscur
- Projects: Writing exercises, The House [Nano18]
- Tumblr: korova08
- itch: korova
- Location: Normandie, France
- Contact:
Re: Build Distribution Not Working.
It's kind of hiard to answer with no further details.
Can you copy/paste the error message ? Where are your images ? Can you provide an example of code using the images ? Did you archive assets for the builds ?
Can you copy/paste the error message ? Where are your images ? Can you provide an example of code using the images ? Did you archive assets for the builds ?
- Agumonofalchemy
- Newbie
- Posts: 8
- Joined: Sat Aug 20, 2016 4:06 pm
- Contact:
Re: Build Distribution Not Working.
Right, sure. Here's the error message from the .all file when I try to run it.
My images are located in the folder:
Gamename/game/images
Code? You mean like in the script file yeah?
And no, I don't believe I archived the assests, since I don't know what that means.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While loading <'Image' 'PHC.png'>:
IOError: Couldn't find file 'PHC.png'.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/_layout/screen_main_menu.rpym", line 29, in script
$ ui.interact()
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\ast.py", line 797, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\python.py", line 1448, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/_layout/screen_main_menu.rpym", line 29, in <module>
$ ui.interact()
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\ui.py", line 277, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\core.py", line 2346, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\core.py", line 2683, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\core.py", line 1785, in draw_screen
renpy.config.screen_height,
File "renpy/display/render.pyx", line 394, in renpy.display.render.render_screen (gen\renpy.display.render.c:6190)
rv = render(root, width, height, 0, 0)
File "renpy/display/render.pyx", line 185, in renpy.display.render.render (gen\renpy.display.render.c:2721)
rv = d.render(widtho, heighto, st, at)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\layout.py", line 650, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 103, in renpy.display.render.render (gen\renpy.display.render.c:3104)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 185, in renpy.display.render.render (gen\renpy.display.render.c:2721)
rv = d.render(widtho, heighto, st, at)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\layout.py", line 650, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 103, in renpy.display.render.render (gen\renpy.display.render.c:3104)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 185, in renpy.display.render.render (gen\renpy.display.render.c:2721)
rv = d.render(widtho, heighto, st, at)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\layout.py", line 650, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 103, in renpy.display.render.render (gen\renpy.display.render.c:3104)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 185, in renpy.display.render.render (gen\renpy.display.render.c:2721)
rv = d.render(widtho, heighto, st, at)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\screen.py", line 610, in render
child = renpy.display.render.render(self.child, w, h, st, at)
File "renpy/display/render.pyx", line 103, in renpy.display.render.render (gen\renpy.display.render.c:3104)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 185, in renpy.display.render.render (gen\renpy.display.render.c:2721)
rv = d.render(widtho, heighto, st, at)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\layout.py", line 650, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 103, in renpy.display.render.render (gen\renpy.display.render.c:3104)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 185, in renpy.display.render.render (gen\renpy.display.render.c:2721)
rv = d.render(widtho, heighto, st, at)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\layout.py", line 1015, in render
back = render(style.background, bw, bh, st, at)
File "renpy/display/render.pyx", line 103, in renpy.display.render.render (gen\renpy.display.render.c:3104)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 185, in renpy.display.render.render (gen\renpy.display.render.c:2721)
rv = d.render(widtho, heighto, st, at)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\im.py", line 478, in render
im = cache.get(self)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\im.py", line 200, in get
surf = image.load()
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\display\im.py", line 529, in load
surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
File "C:\Users\grave\Desktop\Project_Horizon-1.0-all\renpy\loader.py", line 517, in load
raise IOError("Couldn't find file '%s'." % name)
IOError: Couldn't find file 'PHC.png'.
Windows-8-6.2.9200
Ren'Py 6.99.6.739
Project_Horizon 0.0
Gamename/game/images
Code? You mean like in the script file yeah?
And no, I don't believe I archived the assests, since I don't know what that means.
Re: Build Distribution Not Working.
Sorry for asking the obvious, but have you checked the images folder to make sure the images are there?
- Agumonofalchemy
- Newbie
- Posts: 8
- Joined: Sat Aug 20, 2016 4:06 pm
- Contact:
Re: Build Distribution Not Working.
Yes. =.= Probably the first thing I did after trying unzipping it.kivik wrote:Sorry for asking the obvious, but have you checked the images folder to make sure the images are there?
- Donmai
- Eileen-Class Veteran
- Posts: 1919
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Build Distribution Not Working.
People are questioning the obvious for a reason. Without having access to your project, we can only try to guess what's going on. Try this: if your program is working on the launcher, make sure you have the lineAgumonofalchemy wrote:Yes. =.=
Code: Select all
config.developer = TrueSee here:
viewtopic.php?f=8&t=29748
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
- Agumonofalchemy
- Newbie
- Posts: 8
- Joined: Sat Aug 20, 2016 4:06 pm
- Contact:
Re: Build Distribution Not Working.
Yeah, it's there. It's exactly the same in both the code and on the image file... would it help if I just upload the project to dropbox, and link it here?Donmai wrote:People are questioning the obvious for a reason. Without having access to your project, we can only try to guess what's going on. Try this: if your program is working on the launcher, make sure you have the lineAgumonofalchemy wrote:Yes. =.=in options.rpy. While the game is running, press shift+D to get to the developer menu. Click on the 'Filename List' button to generate a list of files Ren'Py can find in your project. That list will show how Ren'Py is seeing your files. If 'PHC.png' appears on that list, check that you are invoking it properly in your code.Code: Select all
config.developer = True
See here:
viewtopic.php?f=8&t=29748
- Donmai
- Eileen-Class Veteran
- Posts: 1919
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Build Distribution Not Working.
Yes, it would be easier for people here to find the answer to your problem. Here is another thread I've found: viewtopic.php?f=4&t=33450
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
- Agumonofalchemy
- Newbie
- Posts: 8
- Joined: Sat Aug 20, 2016 4:06 pm
- Contact:
Re: Build Distribution Not Working.
Alright then, here's Project Horizon: (Both 'All' and Mac versions)
All: https://www.dropbox.com/s/2ayi6u067hj6l ... l.zip?dl=0
Mac: https://www.dropbox.com/s/09goz3h8ve413 ... c.zip?dl=0
Fair warning though, the reason I didn't want to upload it is because, well, it's furry. And a lot of people really don't like furries, so sorry for being defensive.
All: https://www.dropbox.com/s/2ayi6u067hj6l ... l.zip?dl=0
Mac: https://www.dropbox.com/s/09goz3h8ve413 ... c.zip?dl=0
Fair warning though, the reason I didn't want to upload it is because, well, it's furry. And a lot of people really don't like furries, so sorry for being defensive.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Build Distribution Not Working.
I gave a quick look into your files.
Two things I noticed:
1) You did not define your images properly.
You have this:
When you should have this:
2) I notice you have some tga file in your images folder...Renpy only accepts jpgs and pngs. So you'll want to convert that.
Two things I noticed:
1) You did not define your images properly.
You have this:
Code: Select all
image Nursery = "Nursery.png"Code: Select all
image Nursery = "images/Nursery.png"A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
- Donmai
- Eileen-Class Veteran
- Posts: 1919
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Build Distribution Not Working.
I would only add that, if you have a PNG or JPEG file inside your images folder, you won't even need to declare it, as explained here: https://www.renpy.org/doc/html/displayi ... -directory
In recent versions of Ren'Py it makes sense to declare images when we want to give them another name. For exampleor when we want to animate/transform them
In recent versions of Ren'Py it makes sense to declare images when we want to give them another name. For example
Code: Select all
image cg revenge = "images/cg/car_explosion.jpg"Code: Select all
image ada_showing:
"images/cg/ada/entering_room.jpg"
zoom 1.5 rotate 30.0 subpixel True truecenter
ease 1.5 zoom 1.0 rotate 0.0 No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
- Agumonofalchemy
- Newbie
- Posts: 8
- Joined: Sat Aug 20, 2016 4:06 pm
- Contact:
Re: Build Distribution Not Working.
I figured it out @.@ I needed to add the 'images/' part to the listed file in the options code as well as to the others, thanks for letting me know about .tga, somehow I managed to do it before, in an earlier project, but I don't know how. (Don't go looking, it was crap I made to try the software out). Thank you all for your help.
Who is online
Users browsing this forum: Google [Bot]

