• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Translate games on the fly

Scheduled Pinned Locked Moved Ideas and Development
githubideajapanesescripttranslation
39 Posts 11 Posters 8.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    Folly @DTEAM
    last edited by 2 Jun 2021, 16:34

    @dteam

    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.

    1 Reply Last reply Reply Quote 1
    • M
      mitu Global Moderator @DTEAM
      last edited by 2 Jun 2021, 16:38

      @dteam As @Folly said, you need to add the button's input code, not the name. Look in the .cfg file of your controller (in /opt/retropie/configs/all/retroarch-joypads) and find the input code for the button you want to use, then set the value accordingly for input_ai_service_btn.

      D 1 Reply Last reply 2 Jun 2021, 18:34 Reply Quote 2
      • D
        DTEAM @mitu
        last edited by 2 Jun 2021, 18:34

        @mitu
        Thanks, works well!

        1 Reply Last reply Reply Quote 0
        • T
          TPR @mitu
          last edited by TPR 1 Apr 2023, 20:22 4 Jan 2023, 00:25

          @mitu Nevermind. I started a new topic:
          https://retropie.org.uk/forum/topic/33725/ai-service-auto-translate-question

          L 1 Reply Last reply 20 Nov 2023, 12:47 Reply Quote 0
          • M mitu referenced this topic on 15 Nov 2023, 04:41
          • L
            Lord Vek @TPR
            last edited by Lord Vek 20 Nov 2023, 12:47

            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.

            F 1 Reply Last reply 21 Nov 2023, 10:45 Reply Quote 0
            • F
              Folly @Lord Vek
              last edited by Folly 21 Nov 2023, 10:45

              @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"

              L R 2 Replies Last reply 21 Nov 2023, 14:14 Reply Quote 1
              • L
                Lord Vek @Folly
                last edited by 21 Nov 2023, 14:14

                @Folly Thank you, now it works!

                L 1 Reply Last reply 26 Nov 2023, 12:50 Reply Quote 0
                • L
                  Lord Vek @Lord Vek
                  last edited by Lord Vek 26 Nov 2023, 12:50

                  Hmmm... Translation doesn't work with lr-fuse. Is it because the hotkey (select) is also used for the virtual keyboard?

                  F 1 Reply Last reply 26 Nov 2023, 15:37 Reply Quote 0
                  • F
                    Folly @Lord Vek
                    last edited by 26 Nov 2023, 15:37

                    @Lord-Vek

                    Could be, try another button that does not conflict.

                    L 1 Reply Last reply 28 Nov 2023, 15:28 Reply Quote 0
                    • L
                      Lord Vek @Folly
                      last edited by 28 Nov 2023, 15:28

                      @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).

                      F L 2 Replies Last reply 28 Nov 2023, 18:58 Reply Quote 0
                      • F
                        Folly @Lord Vek
                        last edited by Folly 28 Nov 2023, 18:58

                        @Lord-Vek

                        What language are you trying to translate ?

                        There are system specific retroarch.cfg files.
                        If you cannot use that select button then add some other key in the system specific retroarch.cfg.

                        1 Reply Last reply Reply Quote 0
                        • L
                          Lord Vek @Lord Vek
                          last edited by 29 Nov 2023, 11:15

                          @Lord-Vek OK, Thanks.

                          1 Reply Last reply Reply Quote 0
                          • R
                            Retrodade @Folly
                            last edited by 23 Feb 2024, 20:17

                            @Folly will this work with older versions of retroarch ? Or does it only work on newer versions ?
                            Thanks

                            F 1 Reply Last reply 23 Feb 2024, 21:45 Reply Quote 0
                            • F
                              Folly @Retrodade
                              last edited by Folly 23 Feb 2024, 21:45

                              @Retrodade

                              The first post of this topic is from November 2020.
                              It already worked back then.
                              So indeed it will work with older versions.

                              I have intergraded in my script.
                              If you use my script and installed a system then you can already use Hotkey "T" for translation.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              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.

                                This community forum collects and processes your personal information.
                                consent.not_received