Post by aesir on Jan 24, 2022 9:40:54 GMT -8
Hi everyone,
Days ago I finished Mask of Arcadius, so, naturally, I wanted to play Liberation Day.
Everything went fine (installing, launching ...) until I got into the first battle, and renpy showed the following:
After several attempts I was about to open a thread here asking for support, when I remembered that I downloaded a version of renpy's sdk.
[How I solved it]
Simply I made a copy of Liberation Day into the folder of renpy-7.3.5-sdk and launched the game from the sdk's launcher.
Hope that this helps somebody in trouble.
Days ago I finished Mask of Arcadius, so, naturally, I wanted to play Liberation Day.
Everything went fine (installing, launching ...) until I got into the first battle, and renpy showed the following:
I'm sorry, but an uncaught exception occurred.
While loading <'Image' 'Battle UI/start_hexgrid.png'>:
File "game/combatlabels.rpy", line 104, in script
python:
File "game/combatlabels.rpy", line 116, in <module>
BM.start()
File "game/classes.rpy", line 1201, in start
self.formation_phase()
File "game/classes.rpy", line 484, in formation_phase
self.result = ui.interact()
error: Error reading the PNG file.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/combatlabels.rpy", line 104, in script
python:
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/ast.py", line 805, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/python.py", line 1461, in py_exec_bytecode
exec bytecode in globals, locals
File "game/combatlabels.rpy", line 116, in <module>
BM.start()
File "game/classes.rpy", line 1201, in start
self.formation_phase()
File "game/classes.rpy", line 484, in formation_phase
self.result = ui.interact()
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/ui.py", line 277, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/core.py", line 2424, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/core.py", line 2765, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/core.py", line 1849, 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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/layout.py", line 1484, in render
surf = render(self.child, child_width, child_height, 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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "renpy/display/accelerator.pyx", line 104, in renpy.display.accelerator.transform_render (gen/renpy.display.accelerator.c:1905)
cr = render(child, widtho, heighto, st - self.child_st_base, 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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/im.py", line 478, in render
im = cache.get(self)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/im.py", line 200, in get
surf = image.load()
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/im.py", line 529, in load
surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/pgrender.py", line 142, in load_image
surf = pygame.image.load(f, renpy.exports.fsencode(filename))
File "pygame_sdl2/image.pyx", line 86, in pygame_sdl2.image.load (gen/pygame_sdl2.image.c:1574)
error: Error reading the PNG file.
Linux-5.11.0-35-generic-x86_64-with-glibc2.2.5
Ren'Py 6.99.8.959
Release 3.01
While loading <'Image' 'Battle UI/start_hexgrid.png'>:
File "game/combatlabels.rpy", line 104, in script
python:
File "game/combatlabels.rpy", line 116, in <module>
BM.start()
File "game/classes.rpy", line 1201, in start
self.formation_phase()
File "game/classes.rpy", line 484, in formation_phase
self.result = ui.interact()
error: Error reading the PNG file.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/combatlabels.rpy", line 104, in script
python:
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/ast.py", line 805, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/python.py", line 1461, in py_exec_bytecode
exec bytecode in globals, locals
File "game/combatlabels.rpy", line 116, in <module>
BM.start()
File "game/classes.rpy", line 1201, in start
self.formation_phase()
File "game/classes.rpy", line 484, in formation_phase
self.result = ui.interact()
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/ui.py", line 277, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/core.py", line 2424, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/core.py", line 2765, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/core.py", line 1849, 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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/layout.py", line 1484, in render
surf = render(self.child, child_width, child_height, 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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/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 "renpy/display/accelerator.pyx", line 104, in renpy.display.accelerator.transform_render (gen/renpy.display.accelerator.c:1905)
cr = render(child, widtho, heighto, st - self.child_st_base, 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 "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/im.py", line 478, in render
im = cache.get(self)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/im.py", line 200, in get
surf = image.load()
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/im.py", line 529, in load
surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
File "/sysroot/home/eduardo/.local/share/Steam/steamapps/common/Sunrider Liberation Day/renpy/display/pgrender.py", line 142, in load_image
surf = pygame.image.load(f, renpy.exports.fsencode(filename))
File "pygame_sdl2/image.pyx", line 86, in pygame_sdl2.image.load (gen/pygame_sdl2.image.c:1574)
error: Error reading the PNG file.
Linux-5.11.0-35-generic-x86_64-with-glibc2.2.5
Ren'Py 6.99.8.959
Release 3.01
After several attempts I was about to open a thread here asking for support, when I remembered that I downloaded a version of renpy's sdk.
[How I solved it]
Simply I made a copy of Liberation Day into the folder of renpy-7.3.5-sdk and launched the game from the sdk's launcher.
Hope that this helps somebody in trouble.