Last week I completed Questa: Narrator Mode. This is a standalone accessibility-focused Windows utility in development for the MMORPG, The Lord of the Rings Online. Its purpose is to bring text based quest dialogue to life through natural-sounding spoken narration. At present there are several similar projects in development. Khazad Voice TTS and LOTRO TTS being two examples. Both broadly do the same thing although there are subtle technical distinctions between them. Questa is by default intended to be used with an English language installation of LOTRO. It is also designed around using the CPU to do most of the heavy lifting, rather than a GPU. The reasoning behind this decision is to try and make the minimum hardware requirements for Questa as broad as possible, thus allowing more LOTRO players to use it. Data regarding what are the average PC specs of LOTRO players are scarce but my gut tells me that not everyone has a top end gaming rig. Hence this needs to be considered.

Narrator Mode is the base version of Questa. It uses Kokoro TTS to read all quest bestowal dialogue, using a single default voice that can be chosen from eight. It runs from a standalone installation folder and is independent of LOTRO. There is a simple settings window where users can choose the voice they wish to use and select which monitor you play LOTRO on, if you have a multi-monitor set up. There is also an OCR correction and pronunciation editor, so that you can train Questa to read words and phrases correctly. Finally the settings menu allows you to toggle the narrator on and off. Questa identifies quest dialogue via OCR and then pulls the full bestowal text from a database that is sourced from the game client itself. To date that database is current with the latest game release. Future releases of Questa: Narrator Mode will have an update facility and a voice preview option.

Questa: Narrator Mode is currently undergoing a closed test before being made available on GitHub. I want to determine what are the best PC specifications for the utility to run optimally. At present TTS generation takes about between 3 to 5 seconds on my own PC which has a AMD Ryzen 7 5700X 8-Core Processor (3.40 GHz and 32.0GB of DDR4 SDRAMM. It works well within this environment, especially when NPCs have a some generic pre-recorded voice dialogue of their own (“the situation is dire”, “Welcome to Khazad-dûm” and such like). However, I recently tested Questa: Narrator Mode on my laptop which has a AMD Ryzen 5 3500U Processor with Radeon Vega 8 Graphics and 8 GB RAM. It worked perfectly but the narration took 30 seconds to be read, which is simply unviable. Not utilising the GPU comes with its own trade off. Users are not inconvenienced by not having a Nvidia graphics card but they will need a fairly robust processor instead.

Moving forward, I am now focusing on Questa: Character Mode. In this version, voices are dynamically assigned to NPCs, again from a library of eight. This number may increase in future builds but for the present keeping the voice pool modest is convenient. Broadening the scope of Questa in this way introduces a new problem to be solved. Specifically identifying the NPC bestowing the quest dialogue and determining what race and sex they are, so the right voice can be assigned. Quest text windows do not include the name of the NPC that is talking. Furthermore the database that provides the quest text does not simply link to a characters name but instead to a numerical ID. The number sometimes can be reconciled against a name but sometimes it is linked to a description of what the NPC does. For example Elrond can be clearly identified by his name in early quests found in Rivendell. Later in the game when he starts a quest chain for an instance in the Vale of Anduin, his numerical ID points to the name “Visitor”.

Hence, to accommodate identifying NPCs, I have had to expand the scope of the database used in Character Mode. The original database constructed to identify quest dialogue was produced via the game client. The expanded database that has to identify NPCs is being augmented with data provided by the LOTRO-Wiki. I believes that LOTRO TTS has done something similar, where as Khazad Voice TTS uses a Lua Plugin to identify NPCs. The expanded database for Character Mode can at present identify 16,161 NPCs out of 18,081 records. However, there remains 1,920 NPCs whose data does not yield obvious details on race and sex. Vendors and Stable Masters fall into these categories. As do some high profile characters such as Elrond, Aragorn and Legolas who bestow multiple quests over the course of the game. Hence a fall back identification method is required.

This is in some ways one of the most interesting aspects of developing Questa. I like brainstorming ideas so that practical solutions can be found. Hence I am currently exploring ideas such as quest region and zone mapping. Certain zones in LOTRO, such as Southern Mirkwood and Moria are broadly race specific as far as NPCs. However Bree is the classic example of a mixed quest hub, so this raises the possibility of race specific dialogue parsing to see if any keywords and phrases can be used to successfully establish race. Another idea was to analyse the pre-recorded dialogue that some NPC use (known as the Greeting Bark). The pitch may be relevant to determine sex. However, this adds a degree of complexity as ambient sound effects may mask the voice dialogue. I even flirted with the idea of using a VLM and training it to visually determine race and sex but it would mean adding a substantial new element to the existing production pipeline. However, an answer may lie within an NPCs Entity / Spawn records or even their animation frames.

Although I enjoy brainstorming potential solutions, it is often the most simplest that work and are used. I think a list of under 2,000 unidentified NPCs can be manually corrected, especially if that process can be partially automated. I would like to get the updated database sorted in the next few weeks. As it stands at present, the one I am currently working with can identify 89% of NPCs in LOTRO, which is more than sufficient for me to test the assignment of voices dynamically. As ever I will continue to record my various tests and post videos on YouTube. I am pleased to announce that there is now a Project Questa website which is being updated as development progresses. It will eventually be the place where all the files and documentation are held and the various versions of Questa can be downloaded. I will also continue to write in more detail about the ongoing development here. Thank you for the ongoing support I have received. It is greatly appreciated.

Roger Edwards
Writer & editor of Contains Moderate Peril. A website about gaming, genre movies & cult TV. Co-host of the Burton & Scrooge podcast.
http://containsmoderateperil.com
Next
Next

How to Bypass Discord Quests