A complete English guide for setting up the Phi plugin on TRSS-Yunzai with Discord bot integration and TapTap account binding.
Warning
Under construction ! Will be ready in a week or two . Under construction !
- Set up TRSS-Yunzai (a multi-functional bot framework).
- Install and configures the Phi plugin.
- Integrate TapTap API to fetch phigrOS stats automatically.
- Link everything to Discord for smooth, automated updates.
- Explains international TapTap login workaround for non-CN players.
- Node.js ≥ 18.x
- npm ≥ 9.x
- pnpm ≥ 8.x (used by TRSS-Yunzai)
- msys2 (required for gcc/g++)
- gcc & g++ compilers (install via msys2 pacman)
- Git (Earlier stable versions will do)
- VirtualBox / VMware + Windows 10 ISO (keeps your main OS safe)
- Discord Bot Token (for integration)
- TapTap Global Account (for phigrOS binding)
Caution
Any VM is recommended while using a 3rd paty code. Any VM is recommended while using a 3rd party code.
If you’re running directly on Windows, skip this step.
- Download and install VirtualBox or VMware.
- Mount the Windows 10 ISO and install inside a VM.
- Allocate 3GB RAM or more (improves performance by ~30%) with atleast 3+ cores (recommended for octa core CPUs, if you have more than 8 cores you can allot more).
- Take a snapshot right after Windows boots successfully.
Tip
Check this YT video if you need help
- Install Node + npm + pnpm. LTS version is recommended.
We will use Chocolatey for installing Node
Open Power Shell as administrator and paste these commands one by one.
# Download and install Chocolatey:
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
# Download and install Node.js:
choco install nodejs
Close powershell ; open command prompt and do the following one by one:
Download and install pnpm:
npm install -g pnpm
Verify the Node.js version:
node -v
Verify pnpm version:
pnpm -v
- Install MSYS2
Tip
For installing check for correct version, for Intel based PCs use x86-64 version otherwise for Apple and Qualcomm based PCs use ARM version under windows enviroment.
+After Installation open MSYS2 UCRT64, run the following command
pacman -S mingw-w64-ucrt-x86_64-gcc base-devel git cmake