Metasequoia IME TSF(水杉输入法 TSF 端)

This is TSF end of MetasequoiaIME.

How to build

Prerequisites

  • Visual Studio 2022
  • CMake
  • vcpkg
  • Python3
  • gsudo

Make sure vcpkg and gsudo is installed by Scoop.

Build steps

Build

First, clone the repository,

git clone --recursive https://github.com/fanlumaster/MetasequoiaImeTsf.git

Then, prepare the environment,

cd MetasequoiaImeTsf
python .\scripts\prepare_env.py

Then, build both 64-bit and 32-bit dll files,

.\scripts\lcompile.ps1 64
.\scripts\lcompile.ps1 32

Install

Launch powershell as administrator, make sure you turn on the system Enable sudo option.

Then, create a folder in C:\Program Files\ named MetasequoiaImeTsf, and copy the 64-bit version MetasequoiaImeTsf.dll to it, alse create a folder in C:\Program Files (x86)\ named MetasequoiaImeTsf, and copy the 32-bit version MetasequoiaImeTsf.dll to it.

gsudo
Copy-Item -Path ".\build64\Debug\MetasequoiaImeTsf.dll" -Destination "C:\Program Files\MetasequoiaImeTsf"
Copy-Item -Path ".\build32\Debug\MetasequoiaImeTsf.dll" -Destination "C:\Program Files (x86)\MetasequoiaImeTsf"

Then, install it,

cd "C:\Program Files\MetasequoiaImeTsf"
sudo regsvr32 .\MetasequoiaImeTsf.dll
cd "C:\Program Files (x86)\MetasequoiaImeTsf"
sudo regsvr32 .\MetasequoiaImeTsf.dll

Uninstall

cd "C:\Program Files\MetasequoiaImeTsf"
sudo regsvr32 /u .\MetasequoiaImeTsf.dll
cd "C:\Program Files (x86)\MetasequoiaImeTsf"
sudo regsvr32 /u .\MetasequoiaImeTsf.dll

Screenshots

Roadmap

Currently only support Xiaohe Shuangpin.

Chinese

  • Xiaohe Shuangpin
  • Quanpin
  • Help codes in use of Hanzi Components
  • Dictionary that can be customized
  • Customized IME engine
  • Customized skins
  • Toggle between Simplified Chinese and Traditional Chinese
  • English autocomplete
  • Open-Sourced Cloud IME api
  • Toggle candidate window UI between vertical mode and horizontal mode
  • Feature switches: most features should be freely toggled or customized by users

Japanese Support

Maybe another project.

And maybe some other languages support.

References

S
Description
水杉输入法 Windows 产品:TSF、Server、GUI、设置页与安装器。内测:tg: https://t.me/msimegroup QQ Group: 829919142
https://msime.app
Readme GPL-3.0
24 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 93.5%
Python 2.4%
PowerShell 2%
CMake 0.9%
Inno Setup 0.7%
Other 0.5%