I’ve been able to get LunaTranslator to hook into a visual novel by running them both in the same Bottle. Textractor worked in the past too. Not sure about other types of games though, I’ve only tested a few visual novels. And getting the visual novel itself working in the Bottle can be a bit of a crapshoot. So far I’ve had luck using the soda runner for my Bottles, and then in the Bottle settings, add the environment variable LC_ALL=ja_JP.UTF-8 and set the language to “Japanese”.
If you just want translation then LunaTranslator should be enough, but I do sentence mining, so I have LunaTranslator and a VN running inside a Bottle, and LunaTranslator connecting to RenjiXD texthooker page (running in a browser outside Bottles) using the websocket method (in LunaTranslator enable “network service”, then in RenjiXD texthooker page settings connect to ws://localhost:2333/api/ws/text/origin, more info here). Then I can scan words using Yomi-tan and add them to my Anki flashcards. I did have to write some hacky scripts to add screenshots and audio to my flashcards as well, if anybody is interested I can share them.
I’ve been using Linux mint for over a year now. The only problems I’ve ever needed Windows for is
a) playing obscure Japanese games
b) translating said Japanese games
I’ve been able to get LunaTranslator to hook into a visual novel by running them both in the same Bottle. Textractor worked in the past too. Not sure about other types of games though, I’ve only tested a few visual novels. And getting the visual novel itself working in the Bottle can be a bit of a crapshoot. So far I’ve had luck using the soda runner for my Bottles, and then in the Bottle settings, add the environment variable
LC_ALL=ja_JP.UTF-8and set the language to “Japanese”.If you just want translation then LunaTranslator should be enough, but I do sentence mining, so I have LunaTranslator and a VN running inside a Bottle, and LunaTranslator connecting to RenjiXD texthooker page (running in a browser outside Bottles) using the websocket method (in LunaTranslator enable “network service”, then in RenjiXD texthooker page settings connect to
ws://localhost:2333/api/ws/text/origin, more info here). Then I can scan words using Yomi-tan and add them to my Anki flashcards. I did have to write some hacky scripts to add screenshots and audio to my flashcards as well, if anybody is interested I can share them.I coming back to this, thanks for the quick guide :D
What about Windows makes translating easier?
I can’t really find any ocr-based local translators for Linux
Tesseract is a way to get the OCR but the translation is… hmm not sure
Wine?
Doesn’t work. Wine is famously bad at allowing multiple instances to interact within the same container
It took a bit of time, but using a protontricks launcher, I’ve been able to do this for a trainer or two on a game on Steam.
that’s why you use heroic or bottles or a number of other wine/proton manager launchers