TTS retroarch on switch

Dan-the-Rebirth

Well-Known Member
OP
Member
Joined
Jan 5, 2014
Messages
541
Trophies
1
Age
36
XP
1,528
Country
Australia
so i saw a video that claimed that retroarch has a Text to speech function, that video was from 2019.

what happened to that feature a d is it available on switch?
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States
OK, I know king-fu! (RetroArch AI)

I have set up RetroArch to use both the ztranslate service as well as the Google translate api.

It does language translation and responds in either speech or image (not sure what narration mode is.)

Here it is translating Final Fantasy IV (Japanese) via image mode.

image.jpg

I have installed VGTranlate on my Raspberry Pi (a bit messy because VGT is written in Python 2.7) so if anyone needs a walkthrough on getting it set up, let me know!

Will have VGTranslate offload the translation calls to either z translate or Google To speed things up a little.

This is a pretty cool tool. Thanks for the brain worm!
 

Dan-the-Rebirth

Well-Known Member
OP
Member
Joined
Jan 5, 2014
Messages
541
Trophies
1
Age
36
XP
1,528
Country
Australia
so do i need a google api account or what ever it is called? (as i understand it its only free for a certain amount of text lines?) or did that change by now?
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States
so do i need a google api account or what ever it is called? (as i understand it its only free for a certain amount of text lines?) or did that change by now?
You can use the ztranslate.net version for free. Very straightforward to use and I was thinking of just using it but really wanted to get the google one working due to pride.

I reached out to the Dev on Discord and walked into what I was missing (see graphic below for what you need to enable). Good guy btw.

The google one is supposedly marginally faster and has a very high limit of free use. I'm still not being charged a single cent.

The ztranslate.net version is just as fast and accurate so with all things being equal, I'd probably recommend the author's version.

Here are the three APIs you need to enable to get Google working.

1674863651313.png
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
Country
United States
Do you need your PC acts as a server?
You can if you want to but PC server is not required. ztranslate.net config can bed one directly inside RetroArch using the same (free) account information.

Dev says the small performance boost of offloading to server is almost negligible in ztranslate config and the only real perf boost is marginal w/ offload to server Google config.
 
  • Like
Reactions: cucholix

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,299
Country
Chile
You can if you want to but PC server is not required. ztranslate.net config can bed one directly inside RetroArch using the same (free) account information.

Dev says the small performance boost of offloading to server is almost negligible in ztranslate config and the only real perf boost is marginal w/ offload to server Google config.
the ztranslate method is super simple, got it working in 10 minutes :P
thanks
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
  • K3Nv2 @ K3Nv2:
    Lol McDonald's has a grandma mcflurry
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, furry grandma?
  • BigOnYa @ BigOnYa:
    It sounds good actually, I like butterscotch
  • K3Nv2 @ K3Nv2:
    It sucked don't know wtf these little bits and pieces are they use now
    +1
  • BigOnYa @ BigOnYa:
    I live maybe 3 minutes from a Dairy Queen, so I would just go there for ice cream anything anyways. I usually get the Oreo Blizzard, or a Peanut Buster Parfait.
  • Xdqwerty @ Xdqwerty:
    whats a dairy queen?
  • BigOnYa @ BigOnYa:
    Ice cream shop
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, mmmm ice cream
    +1
  • K3Nv2 @ K3Nv2:
    Uremums a dairy queen
    +2
  • BigOnYa @ BigOnYa:
    Mmmmm uremum
    +1
  • K3Nv2 @ K3Nv2:
    Always shooting that dairy out uremums tiddies
    +1
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=xgBO9c3WKII