Web-site (http://kmfl.sourceforge.net/) states KMFL can use Keyman's keyboards:
You will need to use the source keyboard or recompile it with the supplied KMFL keyboard compiler.
What does it mean to "recompile"? Should I use kmflcomp or other tools to conver KMX to KMN?
Unfortunately there is no way to go from a kmx file to a kmn file. A kmx file has been compiled from a kmn file using keyman developer. You would have to ask the author of the kmx file to provide you with a kmn source file.
kmflcomp is not really needed unless you wanted to test for syntax errors in your kmn keyboard. When kmfl was first developed, kmfl could only load keyboards precompiled with kmflcomp. Fairly early in the development, a feature was added where kmfl could compile a kmn file on the fly, and no longered needed keyboards to be precompile before it could them.
I see. That sentence from the website confused me.
Last edit: Grohmant 2018-05-02
Decompiler:
https://github.com/keymanapp/keyman/tree/master/windows/src/support/kmdecomp
Hardly WinAPI code.
Compiled
kmdecompis in the attach. It works well underwine.Tested on: http://keymankeyboards.com/?id=651
Than convert
Hieroglyphic.kmnfrom UTF-16LE to UTF-8, comment out lines 13 and 16.kmflcompcompiles it without errors.However, if I put file in the
~/.kmfl/, the new keyboard is not recognized byibus-kmfl:Last edit: Grohmant 2018-05-02
kmfl does not support Keyman Version 8. Changing the version to 7 does
allow kmfl to load Hieroglyphic.kmx. I have no idea if it is working
correctly.
SIL Ethiopic (decoding KMX, not the included KMN) is recognized, but not workable — types garbage.
Therefore,
kmdecompis not a ready-to-use tool, but can be a good start point.Last edit: Grohmant 2018-05-02