asfdfdfd / renpy-live2d

Live2D module for RenPy
78 stars 13 forks source link

The application couldn't find "live2d/" file path #8

Open Rezar0Fura opened 2 months ago

Rezar0Fura commented 2 months ago

I already know at this extension is outdated and will not run. However, for my project I needed physics.json support which renpy's official integration wouldn't support. I also assume that I need to downgrade my renpy version if I need this to work.

I just followed the instructions given here and the the launcher hits me with:

[code] I'm sorry, but an uncaught exception occurred.

While running game code: File "game/script.rpy", line 8, in script init python: File "game/script.rpy", line 9, in from live2d.displayable import Live2DDisplayable Exception: Couldn't find file 'live2d/'.

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

Full traceback: File "game/script.rpy", line 8, in script init python: File "E:\renpy-8.1.3-sdk\renpy\ast.py", line 823, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "E:\renpy-8.1.3-sdk\renpy\python.py", line 1178, in py_exec_bytecode exec(bytecode, globals, locals) File "game/script.rpy", line 9, in from live2d.displayable import Live2DDisplayable File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 627, in _load_backward_compatible File "E:\renpy-8.1.3-sdk\renpy\loader.py", line 876, in load_module exec(code, mod.dict) # type: ignore File "live2d/init.py", line 11, in File "E:\renpy-8.1.3-sdk\renpy\loader.py", line 749, in transfn raise Exception("Couldn't find file '%s'." % name) Exception: Couldn't find file 'live2d/'.

One of the reasons It might not work is that I copied the version 4 "core" of sdk. I tried to find the 3rd version but I couldn't. Either that, or something else is problematic here.

How do I fix this?