Open jiang068 opened 4 months ago
一些调试的配置忘记改回来了,可以到复制我新的main.py的源码覆盖,这样应该就没问题了
感谢大佬,现在可以进入游戏了,但是还是没有声音和画面 o(TヘTo) 我感觉还是自己的Stable Diffusion的api没有接入导致的,您可以帮忙看一下是哪里出了问题吗?非常感谢! 附上日志: I'm sorry, but an uncaught exception occurred.
While loading <renpy.display.im.Image object ('new_page_background.jpg') at 0x0000000006be8a30>:
File "renpy/common/00gamemenu.rpy", line 174, in script
$ ui.interact()
File "renpy/common/00gamemenu.rpy", line 174, in
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00gamemenu.rpy", line 174, in script
$ ui.interact()
File "D:\AIGAL-1.1-win\renpy\ast.py", line 823, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\AIGAL-1.1-win\renpy\python.py", line 1178, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/00gamemenu.rpy", line 174, in
感谢提醒,我设置了重启剧情功能,如果story.txt有内容则不会启动,需要清空story.txt程序才会开始生成剧情。之前我的剧情忘记清空了。
没有配置的时候日志是这样的 I'm sorry, but an uncaught exception occurred.
While running game code: File "game/script.rpy", line 1, in script init python: File "game/script.rpy", line 5, in
import main
NoSectionError: No section: 'AI绘画'
-- Full Traceback ------------------------------------------------------------
Full traceback: File "game/script.rpy", line 1, in script init python: File "D:\AIGAL-1.1-win\renpy\ast.py", line 823, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "D:\AIGAL-1.1-win\renpy\python.py", line 1178, in py_exec_bytecode exec(bytecode, globals, locals) File "game/script.rpy", line 5, in
import main
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 "D:\AIGAL-1.1-win\renpy\loader.py", line 876, in load_module
exec(code, mod.dict) # type: ignore
File "main.py", line 72, in
File "lib/python3.9/configparser.py", line 781, in get
File "lib/python3.9/configparser.py", line 1152, in _unify_values
NoSectionError: No section: 'AI绘画'
在config中,仅将云端模式的True改成了False,key我想应该不用填吧(?)