Files
msime-windows/server
2025-06-10 17:51:37 +08:00
..
2025-03-27 11:25:39 +08:00
2025-05-31 21:38:50 +08:00
2025-06-06 22:28:22 +08:00
2025-06-10 17:16:23 +08:00
2025-06-10 17:18:22 +08:00
2025-06-10 17:18:22 +08:00
2025-06-10 17:18:22 +08:00
2025-04-16 02:03:11 +08:00
2025-06-10 17:18:22 +08:00

MetasequoiaImeServer

This is the server end of MetasequoiaImeTsf.

How to build

Prerequisites

  • Visual Studio 2022
  • CMake
  • vcpkg
  • Nuget
  • Python3

Make sure vcpkg and Nuget are installed by Scoop.

Build steps

First, build IME dictonary and prepare assets,

cd $env:LOCALAPPDATA
mkdir MetasequoiaImeTsf
cd MetasequoiaImeTsf
git clone https://github.com/fanlumaster/FanyDictForIME.git
cd .\FanyDictForIME\makecikudb\xnheulpb\makedb\separated_jp_version
python .\create_db_and_table.py
python .\insert_data.py
python .\create_index_for_db.py
Copy-Item -Path .\out\cutted_flyciku_with_jp.db -Destination $env:LOCALAPPDATA\MetasequoiaImeTsf

Then, clone and build MetasequoiaImeServer,

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

Prepare environment,

cd MetasequoiaImeServer
python .\scripts\prepare_env.py
Copy-Item -Path .\assets\tables\* -Destination $env:LOCALAPPDATA\MetasequoiaImeTsf

Then, build and run,

.\scripts\lcompile.ps1
.\scripts\lrun.ps1

If you want to build and run in one step, run the following command,

.\scripts\llaunch.ps1

Screenshots