TALES of the VALIANT
  1. #1

    Story and Reference Manual Text to Speech (for visually impaired)

    I made this extension for a player that has a visual impairment. This extension is designed mainly to help you take the text from a reference manual inside Fantasy Grounds and add it to your clipboard (properly formatted) . As you may know reference manuals are locked and do not contain story entries so just copy paste is not an option.

    https://forge.fantasygrounds.com/shop/items/213/view

    I tested it extensively with 5E reference manuals using https://ttsreader.com/. It will also work with NPC notes tab and story entries.

    Here is a short video on how it works inside FG.

    https://youtu.be/qJGzseOWCok

    The parser attempts to remove all special formatting, tables and images. The 5E ref manuals use a specific frame for tables so it will exclude that when it searches the DB but I also added some separate code that does a decent job. I have placed the code in Data so if anyone wants to provide any feedback I would most welcome it.

    If your a user and need something added please just ask. I also made a few substitutions like change a "-" to "to", fixing a few of the special character types I found (&) and you might see some extra periods but that usually follows a header or title chapter to ensure the reader pauses and doesn't run the lines together.

    If you find a bug let me know but please include the ref manual and page it occurred. I am still learning to code!

  2. #2
    Fantastic idea! Great work and thanks for the contribution to the community!
    My Forge creations: https://forge.fantasygrounds.com/crafter/9/view-profile
    My GitHub: https://github.com/MeAndUnique
    Buy me a coffee: https://ko-fi.com/meandunique
    Discord: MeAndUnique#6805

  3. #3
    Thanks a player was discussing this in a Discord channel so I thought it might be fun to do this to see if it can help.

  4. #4
    Thanks for the MOD it was helpful in the past. I recently tried it and it gives me this error.

    [12/22/2024 7:07:17 PM] [ERROR] Script execution error: [string "Text To speech:scripts/manager_desktop.lua"]:3: attempt to call field 'registerSidebarStackButton' (a nil value)

    And I do not see the ear icon any longer.

    Thank you
    Gaming on I7 13700K RTX 4090
    Fantasy Grounds Ultimate in HD
    member_gqwebb

  5. #5
    You can now copy and paste story and ref manual entries which allow you to use a web based reader. I discontinued updates

  6. #6

    That shall work,

    Quote Originally Posted by bayne7400 View Post
    You can now copy and paste story and ref manual entries which allow you to use a web based reader. I discontinued updates
    Thanks for the update. It was helpful when I was last doing sessions. Have a blessed and Merry Christmas.
    Gaming on I7 13700K RTX 4090
    Fantasy Grounds Ultimate in HD
    member_gqwebb

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (1 members and 1 guests)

  1. Dalamarmdq

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in