CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Ren'Py MODed Renpy Engine Support auto translating to Chinese

sksugar

New Member
Nov 19, 2022
10
0
godoftheearth,帖子:15375145,会员:2564054 said:
你把游戏目录下那个错误记录文件traceback.txt发上来我看看
[/引用]感谢你的回答,下面是出错文件
 

godoftheearth

Member
Jul 6, 2020
219
157
我重现不了你的错误,确认一下以下的操作步骤
1. 重新解压游戏的源文件到一个新的空目录,然后将你需要的MOD,例如Incest MOD,WalkThroughMOD解压到同一个目录下
2. 运行一下游戏,确保未汉化游戏可以正常运行
3. 将从MEGA下载的 ,解压到游戏i目录,覆盖已有文件(应该会覆盖8xx个文件)
4. 将游戏的配置和预翻译包,解压到游戏目录,覆盖已有文件 (同样应该会覆盖几百个文件)
5. 双点运行"设置为中文.bat",按回车确认提示,运行游戏。
6. 不管汉字能否正确显示,你都可以选择退出游戏,以后使用游戏自己的ShutUpAndDanceSpecial.exe运行游戏即可。
 
Last edited:

sksugar

New Member
Nov 19, 2022
10
0
我重现不了你的错误,确认一下以下的操作步骤
1. 重新解压游戏的源文件到一个新的空目录,然后将你需要的MOD,例如Incest MOD,WalkThroughMOD解压到同一个目录下
2. 运行一下游戏,确保未汉化游戏可以正常运行
3. 将从MEGA下载的 ,解压到游戏i目录,覆盖已有文件(应该会覆盖8xx个文件)
4. 将游戏的配置和预翻译包,解压到游戏目录,覆盖已有文件 (同样应该会覆盖几百个文件)
5. 双点运行"设置为中文.bat",按回车确认提示,运行游戏。
6. 不管汉字能否正确显示,你都可以选择退出游戏,以后使用游戏自己的ShutUpAndDanceSpecial.exe运行游戏即可。
再次感谢您的回复,我又按照你的步骤重新操作了下,发现我错在第一步,没有把mod的加进去,现在已经可以玩了。再次感谢你的无私翻译,说实话体验下来比现有的机翻好百倍了,而且现在都是严重压缩图片的本体机翻,感谢您我们这些不懂English黄油爱好者有个美好的体验。
 

godoftheearth

Member
Jul 6, 2020
219
157
游戏: Lab Rats 2 - Reformulate [Tristim/LZ_Starbuck/Trollden]
注意:本游戏汉化非常复杂,故无法做到任意版本通用,仅使用于本帖说明内的指定版本(Gitlabs 2024-11-13日版本)
1. 该版本安装方法:首先从游戏官方帖子下载(或此 链接)2024.8版本
2. 建议此时运行一下游戏,确保未汉化前的游戏是可以正常运行的
3. 下载该游戏的Git labs ,解压覆盖到游戏目录
4. 建议此时运行一下游戏,确保未汉化前的游戏是可以正常运行的
4. 由于2024-11-13升级包是用Renpy 8.3.3版本打包的,所以在未覆盖下面两个汉化包升级引擎之前是无法运行的,故此步骤只能跳过
5. 下载通用翻译引擎MOD,说明见首帖
6. 下载配置+翻译包(预翻译文本版本Gitlabs 2024-11-13): Lab Rats 2 Chinese MOD 覆盖到游戏目录
7. 运行“设置为中文.BAT"脚本程序

从BETA33开始本体预翻译包直接内置了Kina MOD的内容,Kina MOD的作者是本体的维护者之一,其MOD与本体兼容性很好而且风格也与本体比较一致,但由于它没有稳定的发布链接(仓库网站只提供最新版链接),让我提供覆盖式的差异更新比较麻烦,幸好它的体积很小,所以我直接将整个KINA MOD集成到了本体的翻译包内,以前自行安装过KINA MOD的朋友注意路径是否一致避免装了两套KINA MOD产生冲突,最简单的解决办法就是直接删了以前的KINA MOD安装,直接覆盖本体预翻译包即可。

新增VTMOD 3.0汉化支持!!当前仅支持2024/11/17发布的版本的汉化!

下载那个LR2R-VTMOD.zip,解压到game\mods\目录下,注意将解压后的LR2R-VTMOD目录名改名为LR2R

VTMOD 3.0可在汉化前或后安装,与本体汉化包无文件冲突,在本体汉化包(至少版本BETA26以上)均安装好后,下载附件中的VTMOD汉化包覆盖到游戏game\mods\目录下,覆盖VTMOD的文件即可(VTMOD汉化包包含VTMOD本体的最新更新,覆盖后会将VTMOD更新到与开发版同步的最新版本)。

本层汉化包都包含了到本层更新时为止的官方或VTMOD最新开发版改动(抓取自官方仓库),以后尽量做到与官方同步更新,若是本人长时间没有更新了,也欢迎回帖催更。

【注意】该MOD暂时无法兼容打MOD前的存档,汉化后需要开新档进行游戏,即使汉化后再设置为英文也不行,需要彻底恢复游戏原本文件(重新安装)才可以再使用老存档

该汉化包目前在非常早期的测试阶段,本人尚未有精力对其进行完整测试,因为修改了大量原脚本代码,不可避免会带来潜在的不稳定风险,报错弹出之类的,欢迎各位在本帖回复报告遇到的错误,帮助完善该汉化包,报告错误请附带游戏目录下的traceback.txt报错文件,会对排查错误非常有用。
 
Last edited:

badkant

New Member
Nov 13, 2024
13
0
Lab Rats2弄了半天终于成功汉化了,说一下经验吧,建议直接下载gitlabs上的完整包 ,然后解压覆盖翻译引擎mod,覆盖汉化补丁,运行设置为中文就可以了
 

godoftheearth

Member
Jul 6, 2020
219
157
View attachment 2961729 Thanks to you the game is playable for me again as I was stuck waiting for Dwayne visit. Both of the class and mall fix files give the parsing error.
Lab Rats2弄了半天终于成功汉化了,说一下经验吧,建议直接下载gitlabs上的完整包 ,然后解压覆盖翻译引擎mod,覆盖汉化补丁,运行设置为中文就可以了
View attachment 4238487 出现了图案显示错误,应该如何解决
图像对象改为原始英文应该就没问题了
我更新了汉化包,Renpy 8.3.3官方源码里头有个bug, 我在新上传的beta03版汉化包里作了修复
8.3.3刚发布,我也是刚刚才用上,还有不少问题要摸,其实Renpy官方高版本是无法直接覆盖支持低版本生成的游戏的,我也是MOD过,加了不少兼容性支持,所以我的MOD版引擎可以直接覆盖到低版本游戏中使用,这样我可以避免支持过多版本的引擎,一套8,x一套7.x就搞定所有游戏。
 
Last edited:

a798452992

Newbie
Sep 13, 2022
48
2
我更新了汉化包,Renpy 8.3.3官方源码里头有个bug, 我在新上传的beta02版汉化包里作了修复
8.3.3刚发布,我也是刚刚才用上,还有不少问题要摸,其实Renpy官方高版本是无法直接覆盖支持低版本生成的游戏的,我也是MOD过,加了不少兼容性支持,所以我的MOD版引擎可以直接覆盖到低版本游戏中使用,这样我可以避免支持过多版本的引擎,一套8,x一套7.x就搞定所有游戏。
win10上面安装补丁会报错。
I'm sorry, but an uncaught exception occurred.

While loading the script.
Exception: Could not load from archive bugfix_additions/action_mod_core.rpyc.

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

Full traceback:
File "E:\LabRats2-Reformulate-2024.08-pc\renpy\bootstrap.py", line 275, in bootstrap
renpy.main.main()
File "E:\LabRats2-Reformulate-2024.08-pc\renpy\main.py", line 492, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "E:\LabRats2-Reformulate-2024.08-pc\renpy\script.py", line 310, in load_script
self.load_appropriate_file(".rpyc", [ "_ren.py", ".rpy" ], dir, fn, initcode)
File "E:\LabRats2-Reformulate-2024.08-pc\renpy\script.py", line 785, in load_appropriate_file
raise Exception("Could not load from archive %s." % (lastfn,))
Exception: Could not load from archive bugfix_additions/action_mod_core.rpyc.

Windows-10-10.0.19041 AMD64
Ren'Py 8.1.3.23091805

Sat Nov 16 22:24:24 2024
 

godoftheearth

Member
Jul 6, 2020
219
157
win10上面安装补丁会报错。
I'm sorry, but an uncaught exception occurred.

While loading the script.
Exception: Could not load from archive bugfix_additions/action_mod_core.rpyc.

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

Full traceback:
File "E:\LabRats2-Reformulate-2024.08-pc\renpy\bootstrap.py", line 275, in bootstrap
renpy.main.main()
File "E:\LabRats2-Reformulate-2024.08-pc\renpy\main.py", line 492, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "E:\LabRats2-Reformulate-2024.08-pc\renpy\script.py", line 310, in load_script
self.load_appropriate_file(".rpyc", [ "_ren.py", ".rpy" ], dir, fn, initcode)
File "E:\LabRats2-Reformulate-2024.08-pc\renpy\script.py", line 785, in load_appropriate_file
raise Exception("Could not load from archive %s." % (lastfn,))
Exception: Could not load from archive bugfix_additions/action_mod_core.rpyc.

Windows-10-10.0.19041 AMD64
Ren'Py 8.1.3.23091805

Sat Nov 16 22:24:24 2024
查了一下,是那个升级rpa文件是用8.3.3打包的,旧版本有兼容问题,所以未覆盖我的两个汉化MOD之前用不了
另外还有一处新旧Renpy代码混合导致的错误需要修复,我再发了一版Beta03翻译包,用这个再试试看
 

a798452992

Newbie
Sep 13, 2022
48
2
查了一下,是那个升级rpa文件是用8.3.3打包的,旧版本有兼容问题,所以未覆盖我的两个汉化MOD之前用不了
另外还有一处新旧Renpy代码混合导致的错误需要修复,我再发了一版Beta03翻译包,用这个再试试看
选择设置提示缺少字体,补全字体后在打开程序就未响应了
 

a798452992

Newbie
Sep 13, 2022
48
2
选择设置提示缺少字体,补全字体后在打开程序就未响应了
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
Exception: Could not find font 'fonts/sarasa-gothic-sc-regular.ttf'.

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

Full traceback:
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "E:\renpy-8.3.3-sdk\LabRats2-Reformulate-2024.08-pc\renpy\ast.py", line 821, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\renpy-8.3.3-sdk\LabRats2-Reformulate-2024.08-pc\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
    python hide:
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
    ui.interact()
  File "E:\renpy-8.3.3-sdk\LabRats2-Reformulate-2024.08-pc\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "E:\renpy-8.3.3-sdk\LabRats2-Reformulate-2024.08-pc\renpy\display\core.py", line 2215, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "E:\renpy-8.3.3-sdk\LabRats2-Reformulate-2024.08-pc\renpy\display\core.py", line 2879, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "E:\renpy-8.3.3-sdk\LabRats2-Reformulate-2024.08-pc\renpy\display\core.py", line 1381, in draw_screen
    surftree = renpy.display.render.render_screen(
  File "render.pyx", line 486, in renpy.display.render.render_screen
  File "render.pyx", line 260, in renpy.display.render.render
  File "E:\renpy-8.3.3-sdk\LabRats2-Reformulate-2024.08-pc\renpy\display\layout.py", line 900, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  F
 

a798452992

Newbie
Sep 13, 2022
48
2
我不知道我应该用哪一个引擎打开它,
I'm sorry, but an uncaught exception occurred.

While loading the script.
Exception: Could not load file E:\renpy-8.1.3-sdk\LabRats2-Reformulate-2024.08-pc\game/bugfix_additions/action_mod_core.rpyc.

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

Full traceback:
File "E:\renpy-8.1.3-sdk\renpy\bootstrap.py", line 275, in bootstrap
renpy.main.main()
File "E:\renpy-8.1.3-sdk\renpy\main.py", line 492, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "E:\renpy-8.1.3-sdk\renpy\script.py", line 310, in load_script
self.load_appropriate_file(".rpyc", [ "_ren.py", ".rpy" ], dir, fn, initcode)
File "E:\renpy-8.1.3-sdk\renpy\script.py", line 880, in load_appropriate_file
raise Exception("Could not load file %s." % lastfn) # type: ignore
Exception: Could not load file E:\renpy-8.1.3-sdk\LabRats2-Reformulate-2024.08-pc\game/bugfix_additions/action_mod_core.rpyc.

Windows-10-10.0.19041 AMD64
Ren'Py 8.1.3.23091805

Sun Nov 17 01:49:53 2024
 

a798452992

Newbie
Sep 13, 2022
48
2
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/ChineseTranlator.rpy", line 15, in script
    python:
  File "game/ChineseTranlator.rpy", line 22, in <module>
    from renpy.text.font import replace_chn_font
ImportError: cannot import name 'replace_chn_font' from 'renpy.text.font' (E:\renpy-8.3.3-sdk\renpy\text\font.py)

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

Full traceback:
  File "game/ChineseTranlator.rpy", line 15, in script
    python:
  File "E:\renpy-8.3.3-sdk\renpy\ast.py", line 821, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\renpy-8.3.3-sdk\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/ChineseTranlator.rpy", line 22, in <module>
    from renpy.text.font import replace_chn_font
ImportError: cannot import name 'replace_chn_font' from 'renpy.text.font' (E:\renpy-8.3.3-sdk\renpy\text\font.py)

Windows-10-10.0.19041 AMD64
Ren'Py 8.3.3.24111502
Lab Rats 2 - Down to Business 2024.09-beta
Sun Nov 17 01:52:32 2024
 

badkant

New Member
Nov 13, 2024
13
0
进入合同管理面板时报错
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 460, in script call
    $ picked_option.call_action()
  File "game/script.rpy", line 460, in script call
    $ picked_option.call_action()
  File "game/general_actions/location_actions/business_actions.rpy", line 77, in script
    call screen manage_contracts_ui()
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 1, in execute
    screen manage_contracts_ui(show_available = True):
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 1, in execute
    screen manage_contracts_ui(show_available = True):
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 11, in execute
    hbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 56, in execute
    if show_available:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 57, in execute
    fixed:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 61, in execute
    frame xfill True:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 64, in execute
    vbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 67, in execute
    viewport:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 70, in execute
    vbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 73, in execute
    for new_contract in mc.business.offered_contracts:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 74, in execute
    use contract_select_button(new_contract):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 1, in execute
    screen contract_select_button(contract, allow_create = False):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 1, in execute
    screen contract_select_button(contract, allow_create = False):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 2, in execute
    frame:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 5, in execute
    hbox:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 7, in execute
    vbox:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 13, in execute
    use contract_aspect_grid(contract)
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 140, in execute
    screen contract_aspect_grid(contract):
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 140, in execute
    screen contract_aspect_grid(contract):
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 155, in execute
    hbox:
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 161, in execute
    text "Payout: $[contract.pay_out:,]" style "menu_text_style" size 16 color "#85bb65"
ValueError: Cannot specify ',' with 's'.

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

Full traceback:
  File "game/script.rpy", line 460, in script call
    $ picked_option.call_action()
  File "game/script.rpy", line 460, in script call
    $ picked_option.call_action()
  File "game/general_actions/location_actions/business_actions.rpy", line 77, in script
    call screen manage_contracts_ui()
  File "E:\Games\Lab Rats\renpy\ast.py", line 1974, in execute
    self.call("execute")
  File "E:\Games\Lab Rats\renpy\ast.py", line 1953, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "E:\Games\Lab Rats\renpy\statements.py", line 374, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "E:\Games\Lab Rats\renpy\exports\statementexports.py", line 345, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "E:\Games\Lab Rats\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "E:\Games\Lab Rats\renpy\display\core.py", line 2215, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "E:\Games\Lab Rats\renpy\display\core.py", line 2745, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "E:\Games\Lab Rats\renpy\display\displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "E:\Games\Lab Rats\renpy\display\displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "E:\Games\Lab Rats\renpy\display\displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "E:\Games\Lab Rats\renpy\display\screen.py", line 480, in visit_all
    callback(self)
  File "E:\Games\Lab Rats\renpy\display\core.py", line 2745, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "E:\Games\Lab Rats\renpy\display\screen.py", line 491, in per_interact
    self.update()
  File "E:\Games\Lab Rats\renpy\display\screen.py", line 697, in update
    self.screen.function(**self.scope)
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 1, in execute
    screen manage_contracts_ui(show_available = True):
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 1, in execute
    screen manage_contracts_ui(show_available = True):
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 11, in execute
    hbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 56, in execute
    if show_available:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 57, in execute
    fixed:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 61, in execute
    frame xfill True:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 64, in execute
    vbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 67, in execute
    viewport:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 70, in execute
    vbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 73, in execute
    for new_contract in mc.business.offered_contracts:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 74, in execute
    use contract_select_button(new_contract):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 1, in execute
    screen contract_select_button(contract, allow_create = False):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 1, in execute
    screen contract_select_button(contract, allow_create = False):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 2, in execute
    frame:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 5, in execute
    hbox:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 7, in execute
    vbox:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 13, in execute
    use contract_aspect_grid(contract)
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 140, in execute
    screen contract_aspect_grid(contract):
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 140, in execute
    screen contract_aspect_grid(contract):
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 155, in execute
    hbox:
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 161, in execute
    text "Payout: $[contract.pay_out:,]" style "menu_text_style" size 16 color "#85bb65"
  File "E:\Games\Lab Rats\renpy\text\text.py", line 2063, in __init__
    self.set_text(text, scope, substitute) # type: ignore
  File "E:\Games\Lab Rats\renpy\text\text.py", line 2196, in set_text
    i, did_sub = renpy.substitutions.substitute(i, scope, substitute) # type: ignore
  File "E:\Games\Lab Rats\renpy\substitutions.py", line 373, in substitute
    s = interpolate(s, variables) # type: ignore
  File "E:\Games\Lab Rats\renpy\substitutions.py", line 97, in interpolate
    rv += format(value, fmt)
ValueError: Cannot specify ',' with 's'.

Windows-10-10.0.22621 AMD64
Ren'Py 8.3.3.24111502
Lab Rats 2 - Down to Business 2024.09-beta
Sun Nov 17 10:15:16 2024
 

godoftheearth

Member
Jul 6, 2020
219
157
选择设置提示缺少字体,补全字体后在打开程序就未响应了
进入合同管理面板时报错
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 460, in script call
    $ picked_option.call_action()
  File "game/script.rpy", line 460, in script call
    $ picked_option.call_action()
  File "game/general_actions/location_actions/business_actions.rpy", line 77, in script
    call screen manage_contracts_ui()
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 1, in execute
    screen manage_contracts_ui(show_available = True):
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 1, in execute
    screen manage_contracts_ui(show_available = True):
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 11, in execute
    hbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 56, in execute
    if show_available:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 57, in execute
    fixed:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 61, in execute
    frame xfill True:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 64, in execute
    vbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 67, in execute
    viewport:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 70, in execute
    vbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 73, in execute
    for new_contract in mc.business.offered_contracts:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 74, in execute
    use contract_select_button(new_contract):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 1, in execute
    screen contract_select_button(contract, allow_create = False):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 1, in execute
    screen contract_select_button(contract, allow_create = False):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 2, in execute
    frame:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 5, in execute
    hbox:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 7, in execute
    vbox:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 13, in execute
    use contract_aspect_grid(contract)
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 140, in execute
    screen contract_aspect_grid(contract):
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 140, in execute
    screen contract_aspect_grid(contract):
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 155, in execute
    hbox:
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 161, in execute
    text "Payout: $[contract.pay_out:,]" style "menu_text_style" size 16 color "#85bb65"
ValueError: Cannot specify ',' with 's'.

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

Full traceback:
  File "game/script.rpy", line 460, in script call
    $ picked_option.call_action()
  File "game/script.rpy", line 460, in script call
    $ picked_option.call_action()
  File "game/general_actions/location_actions/business_actions.rpy", line 77, in script
    call screen manage_contracts_ui()
  File "E:\Games\Lab Rats\renpy\ast.py", line 1974, in execute
    self.call("execute")
  File "E:\Games\Lab Rats\renpy\ast.py", line 1953, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "E:\Games\Lab Rats\renpy\statements.py", line 374, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "E:\Games\Lab Rats\renpy\exports\statementexports.py", line 345, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "E:\Games\Lab Rats\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "E:\Games\Lab Rats\renpy\display\core.py", line 2215, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "E:\Games\Lab Rats\renpy\display\core.py", line 2745, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "E:\Games\Lab Rats\renpy\display\displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "E:\Games\Lab Rats\renpy\display\displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "E:\Games\Lab Rats\renpy\display\displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "E:\Games\Lab Rats\renpy\display\screen.py", line 480, in visit_all
    callback(self)
  File "E:\Games\Lab Rats\renpy\display\core.py", line 2745, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "E:\Games\Lab Rats\renpy\display\screen.py", line 491, in per_interact
    self.update()
  File "E:\Games\Lab Rats\renpy\display\screen.py", line 697, in update
    self.screen.function(**self.scope)
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 1, in execute
    screen manage_contracts_ui(show_available = True):
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 1, in execute
    screen manage_contracts_ui(show_available = True):
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 11, in execute
    hbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 56, in execute
    if show_available:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 57, in execute
    fixed:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 61, in execute
    frame xfill True:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 64, in execute
    vbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 67, in execute
    viewport:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 70, in execute
    vbox:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 73, in execute
    for new_contract in mc.business.offered_contracts:
  File "game/game_screens/business_screens/manage_contracts_ui.rpy", line 74, in execute
    use contract_select_button(new_contract):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 1, in execute
    screen contract_select_button(contract, allow_create = False):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 1, in execute
    screen contract_select_button(contract, allow_create = False):
  File "game/game_screens/subscreens/contract_select_button.rpy", line 2, in execute
    frame:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 5, in execute
    hbox:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 7, in execute
    vbox:
  File "game/game_screens/subscreens/contract_select_button.rpy", line 13, in execute
    use contract_aspect_grid(contract)
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 140, in execute
    screen contract_aspect_grid(contract):
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 140, in execute
    screen contract_aspect_grid(contract):
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 155, in execute
    hbox:
  File "game/game_screens/tooltip_screens/trait_tooltip.rpy", line 161, in execute
    text "Payout: $[contract.pay_out:,]" style "menu_text_style" size 16 color "#85bb65"
  File "E:\Games\Lab Rats\renpy\text\text.py", line 2063, in __init__
    self.set_text(text, scope, substitute) # type: ignore
  File "E:\Games\Lab Rats\renpy\text\text.py", line 2196, in set_text
    i, did_sub = renpy.substitutions.substitute(i, scope, substitute) # type: ignore
  File "E:\Games\Lab Rats\renpy\substitutions.py", line 373, in substitute
    s = interpolate(s, variables) # type: ignore
  File "E:\Games\Lab Rats\renpy\substitutions.py", line 97, in interpolate
    rv += format(value, fmt)
ValueError: Cannot specify ',' with 's'.

Windows-10-10.0.22621 AMD64
Ren'Py 8.3.3.24111502
Lab Rats 2 - Down to Business 2024.09-beta
Sun Nov 17 10:15:16 2024
已经又发布了新一版BETA,请重新下载尝试