Closed Flowersclouds closed 2 years ago
IOError: Couldn't find file 'mod_assets/location/coffee_shop/coffee_shop.png'.
Either you didn't install this correctly, or whoever made it didn't put the files in the right place
Im pretty sure I did it right? I put both the folder with the images and the coding inside the submods folder
Well the background specifies the location for the images, as shown by the error there and the line quoted, it can't find anything at that path --which it's looking for
Well.. I searched up locations in the MAS foler ( Where DDLC.exe is ) And added the Coffee_shop folder there, Yknow with the images? And I put the text file with the coding in the submods folder
Send a screenshot of the locations
folder please?
I don't see a coffee_shop
folder.
'mod_assets/location/coffee_shop/coffee_shop.png'.
states that it expects one in location
with the actual image files in there
Thats because I deleted it for the sake of loading my game
...The fact it's not there are what's causing your crashes.
If it was there, you wouldn't have those crashes
Having it there is the reason it crashes
If you remove the background's code (or change the current background to something which does work), it will stop. Yes.
Because there's no code trying to load it. Otherwise if it's just the images, it will not as there's still code which can and will try to load those files which are not present
Both images and codes are present, Just in diffrent folders, The code in the submods folder and the images in the locations folder
Okay but the location for the images is clearly incorrect. Code being in submods is irrelevant, the code specifies where it expects the files to be. If they are not there, the game will crash.
Ah, So ur telling me I should Put both the images and code inside the submods folder?
No.
Make sure all image files are at this path: game/mod_assets/location/coffee_shop/
They should be nowhere else.
All code files, will go in the Submods
folder.
Hm, Sorry for the late reply, Tho ill try it
I GOT IT TO WORK! Tho Non of the things u said was correct- But it was very helpful! Thank you so much!!
The only backgrounds that seem to work are the ones with the folder " game " inside of them, The one without them just wont add, Like the elegant bedroom
Holy. WHAT U SAID WORKED FOR THE BACKGROUNDS WITHOUT THE " game " FOLDER!
HOLY SH*T UR AMAZING <3
THANK YOU SO MUCH
I'm sorry, but an uncaught exception occurred.
While loading <'Image' u'mod_assets/location/coffee_shop/coffee_shop.png'>: File "game/script-ch30.rpy", line 1510, in script call File "game/event-handler.rpy", line 2530, in script call File "game/zz_backgrounds.rpy", line 3286, in script call File "game/zz_backgrounds.rpy", line 3344, in script call File "game/script-ch30.rpy", line 998, in script File "game/script-ch30.rpy", line 998, in
File "game/script-ch30.rpy", line 438, in mas_drawSpaceroomMasks
File "game/definitions.rpy", line 216, in mas_with_statement
IOError: Couldn't find file 'mod_assets/location/coffee_shop/coffee_shop.png'.
-- Full Traceback ------------------------------------------------------------
Full traceback: File "game/script-ch30.rpy", line 1510, in script call File "game/event-handler.rpy", line 2530, in script call File "game/zz_backgrounds.rpy", line 3286, in script call File "game/zz_backgrounds.rpy", line 3344, in script call File "game/script-ch30.rpy", line 998, in script File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/script-ch30.rpy", line 998, in
File "game/script-ch30.rpy", line 438, in mas_drawSpaceroomMasks
File "game/definitions.rpy", line 216, in mas_with_statement
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\core.py", line 2096, in do_with
clear=clear)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\core.py", line 2526, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\core.py", line 2883, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\core.py", line 1955, in draw_screen
renpy.config.screen_height,
File "renpy/display/render.pyx", line 427, in renpy.display.render.render_screen (gen\renpy.display.render.c:6806)
rv = render(root, width, height, 0, 0)
File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
rv = d.render(widtho, heighto, st, at)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\layout.py", line 693, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
rv = d.render(widtho, heighto, st, at)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\transition.py", line 361, in render
top = render(self.new_widget, width, height, st, at)
File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
rv = d.render(widtho, heighto, st, at)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\layout.py", line 693, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
rv = d.render(widtho, heighto, st, at)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\layout.py", line 693, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
rv = d.render(widtho, heighto, st, at)
File "renpy/display/accelerator.pyx", line 108, in renpy.display.accelerator.transform_render (gen\renpy.display.accelerator.c:2027)
cr = render(child, widtho, heighto, st - self.child_st_base, at)
File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
rv = d.render(widtho, heighto, st, at)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\image.py", line 387, in render
return wrap_render(self.target, width, height, st, at)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\image.py", line 208, in wrap_render
rend = render(child, w, h, st, at)
File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
rv = d.render(widtho, heighto, st, at)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\im.py", line 473, in render
im = cache.get(self)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\im.py", line 200, in get
surf = image.load()
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\display\im.py", line 524, in load
surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
File "d:\Users\rambl\Desktop\Monika\DDLC-1.1.1-pc\renpy\loader.py", line 543, in load
raise IOError("Couldn't find file '%s'." % name)
IOError: Couldn't find file 'mod_assets/location/coffee_shop/coffee_shop.png'.
Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 Monika After Story 0.12.6
Tryna add a background, This appeared when I tried to load it