Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LunaTranslator + Steam/Proton (Linux)

Run LunaTranslator inside a game's Proton prefix WebView2 + Yomitan work on Linux.


Scripts

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

Prereqs


One-time install

export WEBVIEW2_INSTALLER="/ABS/PATH/MicrosoftEdgeWebView2RuntimeInstallerX64.exe"
export LUNATRANSLATOR="/ABS/PATH/LunaTranslator.exe"
bash install.sh
source ~/.bashrc

This appends a # Proton Luna block with env vars to your ~/.bashrc.


Prepare a game (per AppID)

After you've run the game at least once, you can list detected prefixes / IDs:

protontricks -l

Then prepare the game and install WebView2 into that game's Proton prefix:

export STEAM_APPID=<YOUR_APPID>
bash setup_game.sh

Daily use (launch Luna for that game)

export STEAM_APPID=<YOUR_APPID>
# Start the game in Steam first if you plan to HOOK
bash launch_game.sh

Reset the game's Proton prefix (if broken)

export STEAM_APPID=<YOUR_APPID>
bash restore_game.sh
# Then start the game once in Steam and rerun:
bash setup_game.sh

About

Tools for running LunaTranslator for Steam games in Ubuntu via Proton

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages