Guide how to run XUnity.AutoTranslator with BepInEx for il2cpp games.
- Download archive with all-in-package.
- Unzip it in the game's root directory (with *Game name*_Data folder and *Game name*.exe file).
- Go to the \BepInEx\config folder and modify AutoTranslatorConfig.ini how you see it fit. (You can check detailed explanation for each option here)
- Run *Game name*.exe and wait for initial BepInEx hooks and settings to apply.
- Enjoy!
You can follow guide here if you just need standard Sugoi Transaltor (no CUDA). Or you can follow my instruction for step by step guide for Sugoi-Toolkit-V6.0 (different version will most likely need another instruction).
- Download Sugoi-Toolkit-V6.0 from Google Drive or mirror server. If links are outdated check out author's patreon.
- Unzip it to a folder with a prefferably short name (i.e. C:/Games/SugoiV6.0/).
- Download CUDA 11.8 and cuDNN 8.8.0 for that version then install both.
- Download archive with script which will install all Python CUDA libs for Sugoi Translator.
- Unzip it to a folder where you extracted Sugoi Translator before (i.e. C:/Games/SugoiV6.0/CudaInstall)
- Run C:/Games/SugoiV6.0/CudaInstall/install-cuda.ps1 from PowerShell and pick "2: Install Cuda". In popup window pick SugoiV6.0 folder (i.e. C:/Games/SugoiV6.0/). It will take some time to download all libs and install them.
- Run that script again and pick "11: Install: Cuda Script". In popup window pick SugoiV6.0 folder (i.e. C:/Games/SugoiV6.0/). Now we will install Ctranslate2 for even better performance.
- Run that script again and pick "5: Install Ctranslate2". In popup window pick SugoiV6.0 folder (i.e. C:/Games/SugoiV6.0/). It will take some time to download all libs and install them.
- Finally, run Sugoi-Translator-Offline-CT2 (click here).bat in C:/Games/SugoiV6.0/, pick "20. Change to cuda" and pick "1.Sugoi Translator Offline CTranslate2" to launch offline server translator.
- For XUnity.AutoTranslator to use Sugoi Translator change Endpoint in \BepInEx\config\AutoTranslatorConfig.ini from GoogleTranslate to SugoiOfflineTranslator (i.e. Endpoint=SugoiOfflineTranslator).
- Run game and enjoy!