dec32 / ajemi

An IME (input method) for Toki Pona.
36 stars 2 forks source link

Ajemi only working in discord... #8

Open wojiee opened 8 months ago

wojiee commented 8 months ago

This only seems to be an issue for my laptop, and after hours or troubleshooting I don't even know what's failing.

Both my desktop and my laptop are running windows 10, both have the same Japanese IMEs installed (I found that for some reason that makes a difference). In discord the toki pona IME work perfectly fine, with no issues whatsoever. Anywhere else, it's like nothing has changed at all. Even the period is just a period, where it should be an interpunct.

I have reinstalled multiple times with and without restarting my laptop. I have done so with discord completely closed and everything, and no matter what, every time, it works in discord, but nowhere else. I have looked at the log file and found multiple identical warnings and errors, both of which give me no useful information:

[ERROR] Failed to unregister server. [Error { code: HRESULT(0x80004005), message: "Unspecified error" }] [WARN ] GetModuleFileNameA did not provide the path of the DLL file.

All warnings and errors have timestamps to many hours before I tested just now. This is very mysterious and I have no idea where else to go... (I already asked some people in discord, and they only knew how to find the log file..)

wojiee commented 8 months ago

Update: when I select full width katakana on the Japanese IME (default Microsoft), the Japanese IME infects Ajemi. But only in apps other than discord... (what I mean by infects is that Ajemi literally becomes the Japanese IME...)

dec32 commented 8 months ago

It seems that the 64-bit version of the IME wasn't successfully registered, making the IME only available for 32-bit programs (like Discord). Follow steps below to register the 64-bit version mannually:

  1. Go to C:\Program Files (x86)\Ajemi in the file explorer;
  2. Right click on the background while holding Shift;
  3. Choose "Open PowerShell Here" in the menu;
  4. Paste in command regsvr32 ".\ajemi.dll" and press Enter to execute it.
wojiee commented 8 months ago

That only gives me an error. I've tried again after reinstalling but that didn't work either. It says that the module failed to load and that it could not be found, despite the fact that I can very clearly see it in the folder, and I am certain that powershell is running in the correct path. I have also checked spelling.

dec32 commented 8 months ago

So it's the Microsoft Japanese IME along with some other unknown factors stopping the 64-bit version from registratration...Will look into it.