dammu / rime_table_bin_decompiler

decompile a rime xxx.table.bin file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rime_table_bin_decompiler

反编译 Rime 的xxx.table.bin文件。

这个项目可以简单的用于反编译Rime的xxx.table.bin以生成xxx.dict.yaml文本文件。

这个项目中的大部分代码是从LIBRIME源代码中copy过来的,因为我没法在我的Macbook上编译librime。

编译方法:(需要安装cmake, make等工具和boost库)

cmake .
make

用法:

rime_table_bin_decompiler xxx.table.bin >xxx.dict.yaml.

注意:因为xxx.table.bin没有元数据信息,所以生成的xxx.dict.yaml的文件头中的元数据是根据常见的元数据填进去的,可能是错误的。用户需要自己进行修改。

About

decompile a rime xxx.table.bin file

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 97.4%Language:CMake 1.6%Language:C 1.1%