Translate games on the fly
-
@folly I'll have to find an untranslated game that I don't have too many expectations for, so I can gauge the quality of the translation and make sure I can actually get the gist of things ;)
-
@zering said in Translate games on the fly:
@folly I'll have to find an untranslated game that I don't have too many expectations for, so I can gauge the quality of the translation and make sure I can actually get the gist of things ;)
Well, It already makes a big difference for menu's.
That I know. -
Mine doesn't seem to work - I've tried putting it into the /all/ retroarch.cfg, and then I tried the pc98 and pc88 ones as well, just in case that works.
It is literally just putting the text into that file isn't it? Or are there other steps also?
Here is my retroarch.cfg:
-
@adambegood I think you have to replace
HEREISMYKEY
with the actual key that you get when you register to the website. -
@saccublenda said in Translate games on the fly:
@adambegood I think you have to replace
HEREISMYKEY
with the actual key that you get when you register to the website.Great shout! I've amended that now, and still no joy. I am focusing on PC98 so far as that is where I have a few games I'd like to try. I tried putting the code into /pc98/retroarch.cfg also, but that didn't do it.
Here's my PC98 config: https://pastebin.com/GNisWHPH
I am pressing the keyboard hotkey and the 't' key.
Edit: let me have a look at this in the morning, I have had a read around the issue now and hopefully can try some things out.
-
@adambegood said in Translate games on the fly:
Here's my PC98 config: https://pastebin.com/GNisWHPH
3rd line from the config says:
ai_service_enable = false
So the translation service is disabled.
-
@mitu said in Translate games on the fly:
@adambegood said in Translate games on the fly:
Here's my PC98 config: https://pastebin.com/GNisWHPH
3rd line from the config says:
ai_service_enable = false
So the translation service is disabled.
Derp.
This is why I said I'd look tomorrow, I knew I would have done something stupid.
In my defence, my daughter is sleeping poorly so I am not at 100% over here.
I need to work out if I need to enable this for each system then, surely if the global settings are being overridden by this false line on each individual system setting then I need to edit each system config that I want to use. Don't answer that! I'll work it out.
Thanks very much, @mitu !
Edit: I haven't worked out the global/individual system issue yet, but I have this working on PC98. Clever stuff!
-
Hi all !
ai_service_mode = "1" ai_service_pause = "false"
I was experimenting with translation option again.
When changing the above settings it does not pause and speaks directly the translation to you.It's also possible to choose many input/output languages.
ai_service_source_lang = "0" ai_service_target_lang = "1"
0= not set
1= English
2= Spanish
3= French
4= Italian
5= German
6= Japanese
7= Dutch
etc.... and much more.Perhaps also interesting for you @dmmarti !
-
@folly Ah nice!!!
I've got a few other computer systems I'm wanting to try .. so this translate tool is awesome.
-
@folly @mitu
Hi Folly and mituIf I wanna use a gamepad button to start the translation, what should I do. I've try :
input_ai_service = "nul" # I tried ---> r3 , r3_btn 14 (#associated with this button) input_ai_service_axis = "nul" input_ai_service_btn = "nul" # I tried ---> r3 , r3_btn 14 (#associated with this button) input_ai_service_mbtn = "nul"
nothing works
-
I added this in /opt/retropie/configs/all/retroarch.cfg :
input_ai_service_btn = "11"
Worked perfectly !
You should then use
14
instead, I think. -
-
@mitu
Thanks, works well! -
@mitu Nevermind. I started a new topic:
https://retropie.org.uk/forum/topic/33725/ai-service-auto-translate-question -
-
Hello,
I am trying to use the AI Service to translate Japanese games. I read all the previous postings and I gave these settings into retroarch.cfg:
ai_service_enable = "true"
ai_service_mode = "0"
ai_service_pause = "true"
ai_service_source_lang = "6"
ai_service_target_lang = "1"
ai_service_url = "http://ztranslate.net/service?api_key=ECRCQTSA9D"I gave as button from within Retroarch/Hotkeys the "11" button of my controller.
It doesn't work for me. What did I do wrong? And, what settings I have to give to have an effect like in Folly's picture in the previous page?Thank you in advance.
-
@Lord-Vek said in Translate games on the fly:
Hello,
I am trying to use the AI Service to translate Japanese games. I read all the previous postings and I gave these settings into retroarch.cfg:
ai_service_enable = "true"
ai_service_mode = "0"
ai_service_pause = "true"
ai_service_source_lang = "6"
ai_service_target_lang = "1"
ai_service_url = "http://ztranslate.net/service?api_key=ECRCQTSA9D"I gave as button from within Retroarch/Hotkeys the "11" button of my controller.
It doesn't work for me. What did I do wrong? And, what settings I have to give to have an effect like in Folly's picture in the previous page?Thank you in advance.
I used all your settings and added :
input_ai_service = "t"
input_ai_service_btn = "11"I works over here.
When using a hotkey enable key/button then also use that key/button.
So check your retroarch.cfg for these :
#input_enable_hotkey =
#input_enable_hotkey_btn =
When commented they are off.
Otherwise you will see something like this :
input_enable_hotkey = "ctrl"
input_enable_hotkey_btn = "10" -
@Folly Thank you, now it works!
-
Hmmm... Translation doesn't work with lr-fuse. Is it because the hotkey (select) is also used for the virtual keyboard?
-
Could be, try another button that does not conflict.
-
@Folly I mean you have to press hotkey (select) together with the translation key, which in my case is 11 (left analog stick pressed down).
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.