Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新翻译器好像不支持modding script hooks #200

Closed
BarbChosen opened this issue May 5, 2024 · 4 comments
Closed

新翻译器好像不支持modding script hooks #200

BarbChosen opened this issue May 5, 2024 · 4 comments
Assignees

Comments

@BarbChosen
Copy link

data目录添加了hooks和hx_breditor这俩mod,使用新翻译器,翻译顺利完成。但用旧启动器开玩,屏幕黑屏,不显示界面了。
删去两个mod,旧启动器才能正常游戏。
附日志和mod文件:
mod_hooks.zip-42-20-1-1621709174.zip
mod_hx_breditor_VANILLA-294-4-31-1664773426.zip

23:52:14IO
Unexpected file or directory found: mod_hooks.zip-42-20-1-1621709174.zip
23:52:14IO
Unexpected file or directory found: mod_hx_breditor_VANILLA-294-4-31-1664773426.zip
23:52:14IO
Unexpected file or directory found: zdata_cn.zip
23:52:14IO
The game uses modified files or files that are not part of the official release. If you encounter any issues, please first remove any mods and try again before contacting support.
23:52:14Resource
Unloading: shaders/fow.vs
23:52:14Resource
Unloading: shaders/fow.fs
23:52:15Texture
Texture "gfx/fow.png" (ID: 5) took up approximately 16384kb in video memory.
23:52:15Resource
Unloading: shaders/water.vs
23:52:15Resource
Unloading: shaders/water.fs
23:52:15Texture
Texture "gfx/water.png" (ID: 6) took up approximately 16384kb in video memory.
23:52:15Texture
Texture "gfx/world_tiles.png" (ID: 7) took up approximately 43680kb in video memory.
23:52:15Texture
Texture "gfx/world_special.png" (ID: 8) took up approximately 256kb in video memory.
23:52:15Texture
Texture "gfx/terrain.png" (ID: 9) took up approximately 10912kb in video memory.
23:52:15Texture
Texture "gfx/transitions.png" (ID: 10) took up approximately 5456kb in video memory.
23:52:15Resource
Parsed Resource Package "preload/on_start.txt" with 5 items.
23:52:15Resource
Started loading Resource Package "preload/on_start.txt".
23:52:15Texture
Compressed texture "gfx/effects_0.png" from 16384kb to 4096kb.
23:52:15Texture
Compressed texture "gfx/world_weather.png" from 32768kb to 8192kb.
23:52:15Texture
Texture "gfx/ui.png" (ID: 13) took up approximately 10922kb in video memory.
23:52:15Texture
Texture "gfx/fonts/cinzel_bold_20.png" (ID: 14) took up approximately 512kb in video memory.
23:52:15Texture
Texture "gfx/fonts/cinzel_bold_100.png" (ID: 15) took up approximately 8192kb in video memory.
23:52:16SQ
mod_hooks: Redirecting core functions
23:52:16SQ
mod_hooks: mod_hooks (modding script hooks) version 21.1 registered.
23:52:16SQ
mod_hooks: mod_breditor (Breditor) version 1 registered.
23:52:16SQ
mod_hooks: Executing queued script for mod_breditor (Breditor).
23:52:17UI
Screen 'RootScreen' successfully registered.
23:52:17UI
Screen 'ConsoleScreen' successfully registered.
23:52:17UI
Screen 'LoadingScreen' successfully registered.
23:52:17UI
Screen 'TooltipScreen' successfully registered.
23:52:17UI
Screen 'DialogScreen' successfully registered.
23:52:17UI
Screen 'TacticalScreen' successfully registered.
23:52:17UI
Screen 'TacticalCombatResultScreen' successfully registered.
23:52:17UI
Screen 'TacticalDialogScreen' successfully registered.
23:52:17UI
Screen 'WorldScreen' successfully registered.
23:52:17UI
Screen 'WorldTownScreen' successfully registered.
23:52:17UI
Screen 'WorldGameFinishScreen' successfully registered.
23:52:17UI
Screen 'WorldEventPopupScreen' successfully registered.
23:52:17UI
Screen 'WorldEventScreen' successfully registered.
23:52:17UI
Screen 'WorldCombatDialog' successfully registered.
23:52:17UI
Screen 'WorldRelationsScreen' successfully registered.
23:52:17UI
Screen 'WorldObituaryScreen' successfully registered.
23:52:17UI
Screen 'WorldCampfireScreen' successfully registered.
23:52:17UI
Screen 'MainMenuScreen' successfully registered.
23:52:17UI
Screen 'WorldMenuScreen' successfully registered.
23:52:17UI
Screen 'TacticalMenuScreen' successfully registered.
23:52:17UI
Screen 'WorldCharacterScreen' successfully registered.
23:52:17UI
Screen 'TacticalCharacterScreen' successfully registered.
23:52:17UI
JS coui://ui/screens.js:105:63: ReferenceError: Can't find variable: WorldBreditorScreen
23:52:17Script
VM collected 4 object(s) and deleted them.
23:52:32Core
Shutting down engine core.
@shabbywu
Copy link
Owner

shabbywu commented May 7, 2024

可能是 mod 挂载的顺序有些问题,我看下

@shabbywu shabbywu self-assigned this May 7, 2024
@shabbywu
Copy link
Owner

shabbywu commented May 7, 2024

@BarbChosen 修复了旧版本的翻译器报错的问题,建议目前继续使用旧版本。

新版本翻译器因为重构了,所以有可能出现表现不一致。我需要将翻译后的文件逐个对比确认下。

@shabbywu
Copy link
Owner

确认了是Mod挂载的逻辑写反了。。。等修复其他问题后更新新的

@shabbywu
Copy link
Owner

问题理论上已修复, 我在自测中.
https://github.com/shabbywu/Battle-Brothers-CN/releases/tag/v20240525

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants