Giter Site home page Giter Site logo

iheuzio / pathfindertexttospeechmod Goto Github PK

View Code? Open in Web Editor NEW

This project forked from osmodium/pathfindertexttospeechmod

0.0 1.0 0.0 342 KB

A mod that introduces text to speech in various parts of the game.

License: MIT License

C++ 7.79% C 0.29% C# 91.91%

pathfindertexttospeechmod's Introduction

SpeechMod

By Osmodium

This mod is made for Pathfinder: Wrath of the Righteous and introduces TTS (TextToSpeech) in most places.

Version: 1.0.9

Disclaimer: Works on Windows and macOS only

Works with all languages as long as you have a voice in that language installed.

How to unlock more voices in Windows 10

How to install

  1. Download and install Unity Mod Manager, make sure it is at least version 0.23.0 (I use 0.23.3)
  2. Run Unity Mod Manger and set it up to find Pathfinder: Wrath of the Righteous (Second Adventure)
  3. Download the SpeechMod-mod
  4. Install the mod by dragging the zip file from step 3 into the Unity Mod Manager window under the Mods tab. Alternatively locate the zip file after clicking the "Install" button in Unity Mod Manager.

*If running on OSX 64-bit you might need to use the mono console.exe command (see UMM documentation for further)

Known issues / limitations

If you find issues or would like to request features, please use the issues tracker in GitHub here

Limitations:

  • Working on a UI to control playback.

Issues todo:

  • No support for chapter changes (although they seem to be narrated).

How to use

1) Dialog

When in dialog mode you can now press the play button next to the left image to listen to the current block of dialog. If autoplay is enabled, you don't have to push the playbutton.

Playbutton for the current dialog

2) Book text

When inspecting a book (through right-click->Info) hover over the text and left click.

Here the hover behaviour is set to underline the text, see the settings for more custumization

3) Item text

When inspecting an item (through right-click->Info) hover over text (not all text is currently supported) and left click.

Some of the texts are not supported yet. Try hovering different parts to see which are supported

4) Journal Quest text

In the journal, each of the bigger text blocks and important stuff can be played through the play button adjacent to the text.

The most important parts of the journal text is supported.

5) Encyclopedia text

In the encyclopedia the text blocks (defined by Owlcat) can be played by pressing the play button adjacent to the text.

All text parts in the encyclopedia is supported.

6) Book Event text

When encountering a book event, the text can be played by hovering the text part (it will apply the chosen hover effect) and left-clicking.

All text parts in a book event is supported. You might even get to know what the cut text says ;)

7) Messagebox text

The various pop-up boxes that eventually shows up throughout the game, can be played when hovered and left-clicked.

Some texts might be so important that I decided to add support for them.

8) Combat Results text

When your amy has defeated an enemy, the resulting message text is also supported for playback when hovered and left-clicked.

Some of the combat results from armies might be important.

9) Tutorial Windows text

Both big and small tutorial windows text is supported and can be played by hovering and left-clicking.

Tutorials can be helpful to learn more.

10) Character story under summary and biography

When inspecting a character, the story of that character is displayed both under Summary and under Biography, and are both supported by hovering and left-clicking.

Stories give companions depth.

Settings

The different settings (available through ctrl+f10 if not overridden in the UMM) for SpeechMod

  • Narrator Voice: The settings for the voice used for either all or non-gender specific text in dialogs when Use gender specific voices is turned on.
    • Nationality: Just shows the selected voices nationality.
    • Speech rate: The speed of the voice the higher number, the faster the speech.
      • Windows: from -10 to 10 (relative speed from 0).
      • macOS: from 150 to 300 (words per minute).
    • Windows Only:
      • Speech volume: The volume of the voice from 0 to 100.
      • Speech pitch: The pitch of the voice from -10 to 10. -Preview Voice: Used to preview the settings of the voice.
  • Use gender specific voices: Specify voices for female and male dialog parts. Each of the voices can be adjusted with rate, volume and pitch where available.
  • Windows Only:
    • Interrupt speech on play: 2 settings: Interrupt and play or Add to queue, hope this speaks for itself.
  • Auto play dialog: When enabled, dialogs will be played automatically when theres no voice acted dialog.
  • Auto play ignores voiced dialog lines: Only available when using auto play dialog. This option makes the auto play ignore when there is voiced dialog, remember to turn dialog off in the settings.
  • Enable color on hover: This is used only for the text boxes when inspecting items, and colors the text the selected color when hovering the text box.
  • Enable font style on hover: As above this is only used for text boxes, but lets you set the style of the font.
  • Phonetic Dictionary Reload: Reloads the PhoneticDictionary.json into the game, to facilitate modificaton while playing.

Settings for SpeechMod

Motivation

Why did I create this mod? I have come to realize that I spend alot of my energy through the day on various activities, so when I get to play a game I rarely have enough energy left over to focus on reading long passages of text. So I thought it nice if I could get a helping hand so I wouldn't miss out on the excellent stories and writing in text heavy games. After I started creating this mod, I have thought to myself that if I struggle with this issue, imageine what people with genuine disabilities must go through and possibly miss out on, which motivated me even more to get this mod working and release it. I really hope that it will help and encourage more people to get as much out of the game as possible.

Contribute

If you find a name in the game which is pronounced funny by the voice, you can add it to the PhoneticDictionary.json in the mod folder (don't uninstall the mod as this will be deleted). I don't have a great way of submitting changes to this besides through GitHub pull requests, which is not super user friendly. But let's see if we can build a good pronounciation database for the voice together. Also feel free to hit me up with ideas, issues and PRs on GitHub or NexusMods :)

Acknowledgments

pathfindertexttospeechmod's People

Contributors

iheuzio avatar osmodium avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.