llde / xOBSE

Oblivion Script extender source
243 stars 35 forks source link

[xOBSE22.2-xOBSE22.9]Input functions are not functioning properly with obcn_12416.dll, a Chinese localization plugin #208

Closed qq2424711328 closed 10 months ago

qq2424711328 commented 1 year ago

The two localized plugins have been uploaded to Mega Drive. https://mega.nz/folder/8Wk2HahL#uPKwxt6wGeBKO_bu4k9x2g

qq2424711328 commented 1 year ago

just like this issue https://github.com/llde/xOBSE/issues/198

llde commented 1 year ago

what version of OBJA is this? 198 was reported fixed with TES4JaPatch016_beta3

Is by chance OBCN source code public?

qq2424711328 commented 1 year ago

what version of OBJA is this? 198 was reported fixed with TES4JaPatch016_beta3

Is by chance OBCN source code public?

I sincerely apologize for the issue with my report. I admit that there were shortcomings in my research as I did not read the entire xOBSE page, and I became aware of the fix for the Japanese patch in xOBSE 22.8 only after being reminded. Furthermore, despite my best efforts, I have been unable to locate the source code for the Chinese localization plugin. The website where the plugin was originally published has been closed, and I have been unable to contact the developer. I will continue my search for the source code. For now, the only thing I can provide is the Chinese localized plugin that has been uploaded to Mega Drive. https://mega.nz/file/ZGN2haQL#g7C9nEJC2EAg1R51a0mWRNCcvMCspxfxx0_Pu1MrSBA

My issue seems to be exactly the same as described in the post below, but since I don't have a programming background, I cannot provide more specific information. However, I can confirm that when I rolled back the xOBSE version to 22.1, all the key-related problems disappeared, whereas they reappeared with xOBSE versions 22.2 and later. post: https://github.com/llde/xOBSE/issues/198

llde commented 1 year ago

It's possible OBCN is doing a similar hook of what was done with OBJA. If OBCN is frozen (as in not anymore updated) I could try to provide a similar compatibility shim. If OBCN is still developed, differently from OBJA, then it's better to make a compatibility patch on OBCN side

qq2424711328 commented 1 year ago

It's possible OBCN is doing a similar hook of what was done with OBJA. If OBCN is frozen (as in not anymore updated) I could try to provide a similar compatibility shim. If OBCN is still developed, differently from OBJA, then it's better to make a compatibility patch on OBCN side

It seems there is a ray of hope. Can I have a chance to give it a try?

llde commented 10 months ago

Hi @qq2424711328 I finally found a bit of time to tackle this issue. Unfortunatly OBCN doesn't work for me (it cause the game to crash on start) and this seems a wine regression I would need to debug too (as even OBJA that I know previously was working (I know I tested in directly)) However the good new is that OBCN is strictly linked from OBJA, they share most of the codebase and the compiled result is often very similar (probably they used the same toolchain), with just the offsets (and OBJA strings being replaced with OBCN strings). So I think I can mimick my fix for OBJA, and call it a day, I will however need your assistance to test

kuroko137 commented 10 months ago

Hi @llde, would you like me to help with testing the issues related to OBCN as well? I've been able to get OBCN working (confirmed with the Chinese version of the Unofficial Patch, where characters are displayed correctly. However, I can read Chinese characters but can't understand Chinese at all). If you're okay with a simple test, please let me know.

qq2424711328 commented 10 months ago

Hi @qq2424711328 I finally found a bit of time to tackle this issue. Unfortunatly OBCN doesn't work for me (it cause the game to crash on start) and this seems a wine regression I would need to debug too (as even OBJA that I know previously was working (I know I tested in directly)) However the good new is that OBCN is strictly linked from OBJA, they share most of the codebase and the compiled result is often very similar (probably they used the same toolchain), with just the offsets (and OBJA strings being replaced with OBCN strings). So I think I can mimick my fix for OBJA, and call it a day, I will however need your assistance to test

Hi @llde, Thank you so much for your hard work. I am truly eager to collaborate with you, and I'm ready to begin today! Additionally, I want to sincerely apologize for just now noticing your response. I have been quite busy with my studies recently, which is why I didn't see your message earlier.

qq2424711328 commented 10 months ago

Hi @llde, would you like me to help with testing the issues related to OBCN as well? I've been able to get OBCN working (confirmed with the Chinese version of the Unofficial Patch, where characters are displayed correctly. However, I can read Chinese characters but can't understand Chinese at all). If you're okay with a simple test, please let me know.

Haha, thank you for your kindness and help.

llde commented 10 months ago

@kuroko137 a simple test should be enough

qq2424711328 commented 10 months ago

Hi @llde, xOBSE 22.10beta runs perfectly in my Chinese game environment, and the input functionality is working flawlessly! I greatly appreciate your assistance to us Chinese players!

kuroko137 commented 10 months ago

Sorry, I might have been a nuisance. I tested whether each input function works in 22.10beta + OBCN, and it seems to work perfectly as @qq2424711328 said. I also tested it again in 22.10beta + OBJA, and it seems to be working fine as well, just like before.

paulbph commented 7 months ago

Unfortunately, xOBSE 22.10beta is not working for my Chinese game environment, I mean input functionality of OBCN.

Actually it's not working correctly. OBCN have 3 in-game hotkeys can set,

  1. input chinese (simple) UI
  2. open vanilla console (I don't know Why Origin Author designed this)
  3. OBCN setup UI in game

MY Test reasult

  1. not work
  2. Even I don't use it , just try, then i got CTD
  3. vanilla console is open (0_o !!!?)

MY environment Windows 10 64bit 22H2 Oblivion 1.2.0416 (Steam version) xOBSE 22.2~xOBSE 22.10beta (not work correctly) xOBSE 22.1 (work perfectly)

Sorry for bother and my poor english.

llde commented 7 months ago

@paulbph this was reported fixed for 2 different people, so I believe that this is an issue on your end. I would need more information: launch the game with the last beta and provide the obse.log

Also check that the OBCN version is the same version reported here

paulbph commented 7 months ago

@llde I'm sure OBCN version is the same, even i change my OBCN provided by qq2424711328, the situation is no different. https://github.com/llde/xOBSE/issues/208#issuecomment-1617142229

Here is my last obse log, Thanks. obse.log

llde commented 7 months ago

Umh, I wonder if another plugin is interfering. Can you try with all plugins excpet OBCN off?

paulbph commented 7 months ago

even enable vanilla plugins + OBSE 22.10 + OBCN only still not work.

here is obse log obse.log 1702653123701

qq2424711328 commented 7 months ago

even enable vanilla plugins + OBSE 22.10 + OBCN only still not work.

here is obse log obse.log 1702653123701

我重新进入游戏测试了一遍,按键输入确实正常阿

paulbph commented 7 months ago

@qq2424711328 這就很詭異 另外除了按键输入 我想確認一下 你能在遊戲中 叫出 OBCN的設定畫面嗎? 我是不行 Orz 就這個 1702653123701

qq2424711328 commented 7 months ago

@qq2424711328 這就很詭異 另外除了按键输入 我想確認一下 你能在遊戲中 叫出 OBCN的設定畫面嗎? 我是不行 Orz 就這個 1702653123701

当我按下F11键想要呼出obcn菜单时,像你描述的那样呼出了游戏内的控制台,当我按下f8键时游戏则发生了闪退。 值得一提的事情是,当我在obse22.10beta+obcn+enb+combat addition(一个战斗模组)的纯净游戏里,按键仍然生效

qq2424711328 commented 7 months ago

@qq2424711328 這就很詭異 另外除了按键输入 我想確認一下 你能在遊戲中 叫出 OBCN的設定畫面嗎? 我是不行 Orz 就這個 1702653123701

Oblivion Log.zip 这里是我的日志文件 可能会有用

paulbph commented 7 months ago

好的 感謝 我等下看看 剛剛嘗試 obse22.10beta+obcn+enb 的純淨環境 依舊是不行 Orz