Run LunaTranslator inside a game's Proton prefix WebView2 + Yomitan work on Linux.
| Script | What it does | When to run |
|---|---|---|
install.sh |
Installs protontricks/winetricks and saves env vars | Once per machine |
setup_game.sh |
Prepares one game's Proton prefix and launches Luna | Per game (first time) |
launch_game.sh |
Launches Luna inside the game’s Proton prefix | Per game (every time) |
restore_game.sh |
Backs up & resets that game's Proton prefix | If the prefix breaks |
- Native Steam with Proton installed.
- WebView2 Evergreen Standalone (offline) x64 installer
- Original LunaTranslator release
export WEBVIEW2_INSTALLER="/ABS/PATH/MicrosoftEdgeWebView2RuntimeInstallerX64.exe"
export LUNATRANSLATOR="/ABS/PATH/LunaTranslator.exe"
bash install.sh
source ~/.bashrcThis appends a # Proton Luna block with env vars to your ~/.bashrc.
After you've run the game at least once, you can list detected prefixes / IDs:
protontricks -lThen prepare the game and install WebView2 into that game's Proton prefix:
export STEAM_APPID=<YOUR_APPID>
bash setup_game.shexport STEAM_APPID=<YOUR_APPID>
# Start the game in Steam first if you plan to HOOK
bash launch_game.shexport STEAM_APPID=<YOUR_APPID>
bash restore_game.sh
# Then start the game once in Steam and rerun:
bash setup_game.sh