YUKI icon indicating copy to clipboard operation
YUKI copied to clipboard

使用Localemulator之后会导致读不出来钩子函数

Open GrandArth opened this issue 4 years ago • 7 comments

如题, 测试用的兰斯10 LE设置: "H:\Rance\LE\LEProc.exe" %GAME_PATH%

GrandArth avatar Mar 15 '20 04:03 GrandArth

不使用启动器就可以正常启动吗?

可以看一下使用le启动时debug的log吗 image 可以将日志中的内容复制上来

luojunyuan avatar Mar 16 '20 11:03 luojunyuan

yuki:ipc request config config +68ms yuki:ipc request config games +0ms yuki:ipc main page load finished. starting apis... +0ms yuki:api external file H:\Rance\YUKI\config\baiduApi.js loaded +0ms yuki:api external file H:\Rance\YUKI\config\youdaoApi.js loaded +0ms yuki:api external file H:\Rance\YUKI\config\qqApi.js loaded +2ms yuki:ipc apis started +4ms yuki:game choose Locale Emulator as locale changer +0ms yuki:game exec string: "H:\Rance\LE\LEProc.exe" "H:\Rance\ランス10\Rance10.exe" +1ms yuki:game finding pid of Rance10.exe... +5ms yuki:game could not find game. retry times... 1 +1s yuki:game found game. pids [ 4556 ] +990ms yuki:hooker trying to access CLI exe at H:\Rance\YUKI\lib\textractor\TextractorCLI.exe +0ms yuki:merger initialized true +0ms yuki:textInterceptor initialized +0ms yuki:textInterceptor initialized +0ms yuki:mecab enabled +0ms yuki:hooker application builded +101ms yuki:hooker injecting process 4556... +2ms yuki:hooker process 4556 injected +0ms yuki:win32 registering process exit callback at pid 4556... +0ms yuki:win32 process handle: 2868 +0ms yuki:win32 process exit callback registered +0ms yuki:translatorWindow alwaysOnTop -> true +0ms yuki:ipc request config config +10s yuki:translatorWindow subscribing hooker events... +366ms yuki:publish webContents YUKI Galgame Translator successfully subscribed type has-hook-text +0ms yuki:translatorWindow hooker events subscribed +0ms yuki:ipc request config config +49ms yuki:ipc request config { name: 'Rance10', code: '', path: 'H:\Rance\ランス10\Rance10.exe', localeChanger: 'localeEmulator' } +0ms yuki:ipc request config gui +1ms

是的, 不用LE的话就可以正常的读出钩子函数

GrandArth avatar Mar 16 '20 11:03 GrandArth

不使用启动器就可以正常启动吗?

可以看一下使用le启动时debug的log吗 image 可以将日志中的内容复制上来

yuki:ipc request config config +71ms yuki:ipc request config games +0ms yuki:ipc main page load finished. starting apis... +0ms yuki:api external file H:\Rance\YUKI\config\baiduApi.js loaded +0ms yuki:api external file H:\Rance\YUKI\config\youdaoApi.js loaded +1ms yuki:api external file H:\Rance\YUKI\config\qqApi.js loaded +2ms yuki:ipc apis started +4ms yuki:game choose No Changer as locale changer +0ms yuki:game exec string: "H:\Rance\ランス10\Rance10.exe" +0ms yuki:game finding pid of Rance10.exe... +5ms yuki:game found game. pids [ 3160 ] +1s yuki:hooker trying to access CLI exe at H:\Rance\YUKI\lib\textractor\TextractorCLI.exe +0ms yuki:merger initialized true +0ms yuki:textInterceptor initialized +0ms yuki:textInterceptor initialized +0ms yuki:mecab enabled +0ms yuki:hooker application builded +94ms yuki:hooker injecting process 3160... +2ms yuki:hooker process 3160 injected +1ms yuki:win32 registering process exit callback at pid 3160... +0ms yuki:win32 process handle: 2496 +0ms yuki:win32 process exit callback registered +1ms yuki:translatorWindow alwaysOnTop -> true +0ms yuki:ipc request config config +8s yuki:translatorWindow subscribing hooker events... +384ms yuki:publish webContents YUKI Galgame Translator successfully subscribed type has-hook-text +0ms yuki:translatorWindow hooker events subscribed +0ms yuki:ipc request config config +54ms yuki:ipc request config { name: 'Rance10', code: '', path: 'H:\Rance\ランス10\Rance10.exe', localeChanger: 'noChanger' } +1ms yuki:ipc request config gui +0ms yuki:filter [3] $幅,n,はば|1,n,いち|9,n,きゅう|6,n,ろく|タイトル,n,たいとる|幅,n,はば|1,n,いち|9,n,きゅう|6,n,ろく|ルート,n,るうと|パーツ,n,ぱあつ +0ms yuki:filter [8] $ルート,n,るうと|パーツ,n,ぱあつ +3ms yuki:filter [6] $ルート,n,るうと|パーツ,n,ぱあつ +0ms yuki:filter [7] $ルート,n,るうと|パーツ,n,ぱあつ +1ms yuki:filter [5] $タイトル,n,たいとる|幅,n,はば|1,n,いち|9,n,きゅう|6,n,ろく +1ms yuki:filter [4] $幅,n,はば|1,n,いち|9,n,きゅう|6,n,ろく|MENU,n,|タイトル,n,たいとる|最初,n,さいしょ|から,p,|タイトルロードタイトル,n,|第,undefined,だい|二,n,に|部,n,ぶ|タイトル,n,たいとる|アフター,n,あふたあ|幅,n,はば|1,n,いち|9,n,きゅう|6,n,ろく|統合,n,とうごう|部隊,n,ぶたい|幅,n,はば|1,n,いち|9,n,きゅう|6,n,ろく|アンケート,n,あんけえと +418ms yuki:filter [3] $システム,n,しすてむ|/,w,|ターン,n,たあん|スタート,n,すたあと +603ms


这个是不用le的启动日志.

GrandArth avatar Mar 16 '20 11:03 GrandArth

  1. 你可不可以尝试下先单独用LE启动游戏,再用yuki的从进程加载游戏功能加载
  2. 或许你可以再试试,其他版本的le,以及其他的转区软件

luojunyuan avatar Mar 16 '20 13:03 luojunyuan

1.已经尝试过了, 结果是一样的 2.嗯 如果有其他情况我会在这个issue下面补充

GrandArth avatar Mar 16 '20 13:03 GrandArth

  1. 你可不可以尝试下先单独用LE启动游戏,再用yuki的从进程加载游戏功能加载
  2. 或许你可以再试试,其他版本的le,以及其他的转区软件

我也有相同的问题

uns3t avatar Apr 16 '20 07:04 uns3t

我这边如果用管理员启动LE的话也会读不到钩子,但换成非管理员启动LE的话就能读到了

Jacob-Yao avatar Jul 24 '20 16:07 Jacob-Yao