• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Accessibility for the blind (speech to text)

  • 115
    Posts
    12
    Years
    • Seen May 17, 2023
    Accessibility script

    This script turns text in the game to speech using a text-to-speech program called eSpeak.

    Download
    Download the demo

    Features:
    - When first running the game (during title screen), eSpeak is auto-installed.
    - You can set the text-to-speech ON/OFF
    - you can control the volume, pitch, speed and choose between 5 male voices and 5 female voices.
    - Speaks out all text in game, including menu options (yes/no etc)

    Compatibility:
    wasn't tested in pokemon Essentials.
    windows only.

    How to install:
    I recommend making one version of your game accessible- release your game with and without this script.*
    otherwise, you'll have to set it on/off , when starting a new game.
    The demo shows how to use an event to set it on/off, change volume, voice, etc.

    1) Add this script in a new page above Main:
    Spoiler:

    2) Copy these files from the demo to your game folder:
    - eSpeak install file
    - espeak.exe


    * if you add text asking the player whether to set accessibility ON, blind people won't see it.
    You can also turn it on/off using a script : TTS.is_on = true / false

    Known bugs:
    - sentences may "overlap", when the player spams the A button. you can raise the speed to fix it.
    - after installing eSpeak, you must restart the game (being fixed)
     
    Last edited:
    #Not Important, can we combine our scripts?
    do you mind showing me what you've got?
     
    #Not Important, can we combine our scripts?
    do you mind showing me what you've got?

    I've mostly been doing edits to pokemon essentials, so I don't have anything too fancy, like queues just speaking and the global boolean to have it on/off. I have the installed check, but I'm focusing on more pokemon-style things, like the battle scene. If you still want my script, I can pm you on discord.
     
    sounds good. let's talk on discord
     
    Hi. I wonder that to, as always, amazing work!
    I am just amazed that people do this vvoluntarily, it's just amazing.
    Even if ther's no new info, I am just glad that people still works on this.
     
    Hi. I just found this topic. Is this still being worked on?
    Accessibility is becoming more and more important and I would really love to play fangames and actually read the text lol.
     
    Back
    Top