GitHunt
FA

fanlumaster/MetasequoiaImeTsf

水杉输入法。TSF 端。Metasequoia IME for Windows. An Input Method using pure Windows TSF.

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

Languages

C++96.5%CMake1.7%C0.7%Python0.7%PowerShell0.4%

Contributors

GNU General Public License v3.0
Created October 14, 2023
Updated March 13, 2026
fanlumaster/MetasequoiaImeTsf | GitHunt