|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
翻译完后重新运行出现找不到字体,但是字体文件是存在的,而且这个游戏没有font文件夹,gui里面也没出现这个这个字体文件,这个字体文件在core文件夹中。具体情况如下:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/core/scenes/scripte01s01.rpy", line 105, in script
Jessie "真是抱歉啊,小可爱。堵车呢,不能再快了。"
File "game/core/scenes/scripte01s01.rpy", line 105, in script
Jessie "真是抱歉啊,小可爱。堵车呢,不能再快了。"
Exception: Could not find font u'Norquay-Regular.ttf'.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\bootstrap.py", line 316, in bootstrap
renpy.main.main()
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\main.py", line 574, in main
run(restart)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\main.py", line 139, in run
renpy.execution.run_context(True)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\execution.py", line 901, in run_context
context.run()
File "game/core/scenes/scripte01s01.rpy", line 105, in script
Jessie "真是抱歉啊,小可爱。堵车呢,不能再快了。"
File "game/core/scenes/scripte01s01.rpy", line 105, in script
Jessie "真是抱歉啊,小可爱。堵车呢,不能再快了。"
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\ast.py", line 708, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\exports.py", line 1345, in say
who(what, *args, **kwargs)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\character.py", line 1142, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\character.py", line 842, in do_display
**display_args)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\character.py", line 591, in display_say
rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\ui.py", line 297, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\core.py", line 2702, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\core.py", line 3194, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\core.py", line 2094, in draw_screen
renpy.config.screen_height,
File "render.pyx", line 490, in renpy.display.render.render_screen
File "render.pyx", line 259, in renpy.display.render.render
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 166, in renpy.display.render.render
File "render.pyx", line 259, in renpy.display.render.render
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 166, in renpy.display.render.render
File "render.pyx", line 259, in renpy.display.render.render
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 166, in renpy.display.render.render
File "render.pyx", line 259, in renpy.display.render.render
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\screen.py", line 675, in render
child = renpy.display.render.render(self.child, w, h, st, at)
File "render.pyx", line 166, in renpy.display.render.render
File "render.pyx", line 259, in renpy.display.render.render
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 166, in renpy.display.render.render
File "render.pyx", line 259, in renpy.display.render.render
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\layout.py", line 1127, in render
st, at)
File "render.pyx", line 166, in renpy.display.render.render
File "render.pyx", line 259, in renpy.display.render.render
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 166, in renpy.display.render.render
File "render.pyx", line 259, in renpy.display.render.render
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\display\layout.py", line 1127, in render
st, at)
File "render.pyx", line 166, in renpy.display.render.render
File "render.pyx", line 259, in renpy.display.render.render
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\text\text.py", line 1996, in render
virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\text\text.py", line 626, in __init__
glyphs = ts.glyphs(s, self)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\text\text.py", line 242, in glyphs
fo = font.get_font(self.font, self.size, self.bold, self.italic, 0, self.antialias, self.vertical, self.hinting, layout.oversample)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\text\font.py", line 699, in get_font
face = load_face(fn)
File "C:\Users\selig\Desktop\NationalParkGirls-1.0-win\renpy\text\font.py", line 640, in load_face
raise Exception("Could not find font {0!r}.".format(orig_fn))
Exception: Could not find font u'Norquay-Regular.ttf'.
不知道什么原因,不是中文的问题,因为我重新换成英文也会这样报错
求大佬给出解决方法
|
|