explaingit

elbrad0/night-road-narrator

Analysis updated 2026-05-18

0PythonAudience · generalComplexity · 3/5Setup · hard

TLDR

A local, offline AI voice narrator that reads a specific Steam game aloud with distinct voices for narrator and characters.

Mindmap

mindmap
  root((repo))
    What it does
      Reads game text aloud
      Separate character voices
      Skips menu screens
    Tech stack
      Python
      Ollama
      Piper TTS
    Use cases
      Accessibility for players
      Immersive narration
      Streaming companion audio
    Audience
      Gamers
      Accessibility users
    Setup
      Windows only launcher
      Local AI model download

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Have a specific Steam game narrated aloud with distinct character voices while you play.

USE CASE 2

Give visually impaired or reading-fatigued players an audio version of the game's story.

USE CASE 3

Use it as a template for building a local text-to-speech narrator for other text-heavy games.

What is it built with?

PythonOllamaPiperJavaScript

How does it compare?

elbrad0/night-road-narrator0xhassaan/nn-from-scratch3ks/embedoc
Stars00
LanguagePythonPythonPython
Last pushed2023-06-08
MaintenanceDormant
Setup difficultyhardmoderatehard
Complexity3/54/51/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Needs Ollama, Piper, about 10GB free disk, and ideally a dedicated GPU for reasonable speed.

No license information is provided in the README.

In plain English

Night Road Narrator is a local, offline AI voice narrator built for a specific Steam game, Vampire: The Masquerade, Night Road. It reads the game's on-screen story text aloud as you play, giving the narrator one consistent voice and each character their own distinct voice. Everything runs on your own computer, with no cloud services, no API keys, and no account needed. The project is not affiliated with the game's makers and does not touch or modify any game files, it only reads the visible text and plays audio alongside it. The tool figures out which lines are dialogue and which are narration, matches character voices to their apparent gender based on names and pronouns in the text, and keeps each character's voice consistent for the whole session. It never cuts off long passages, correctly skips over stat and menu screens while still reading any story text on those pages, and lets you skip ahead by simply clicking to the next part of the game, which stops the current narration and jumps to the new text. Volume can be adjusted with keyboard shortcuts during play, and the chosen level is remembered for next time. Numbers, times, and dates are read out in natural spoken form rather than digit by digit. Under the hood, four pieces work together: the game runs as normal with a special launch option enabled, a small script watches for new on-screen text, a local AI model run through Ollama decides who is speaking each line, and a program called Piper turns the labeled text into speech. To use it you need Windows 10 or 11, since the one-click launcher is Windows-only, though the underlying Python code could be adapted to other systems. You also need the game itself on Steam, roughly 10 gigabytes of free disk space, Python, Ollama, and Piper. A dedicated graphics card is strongly recommended, since the speaker-detection AI and speech synthesis run locally on your own machine, though it can run on a processor alone with more delay. Setup involves downloading the project, installing Python and a handful of Python packages, installing Ollama and pulling an AI model, downloading a single voice model, building a voice gender lookup file, and turning on a debug option in the game's Steam launch settings. After that, a single batch file starts everything and launches the game for you.

Copy-paste prompts

Prompt 1
Walk me through installing Ollama and Piper for Night Road Narrator on Windows.
Prompt 2
Help me adjust the LENGTH_SCALE and SENTENCE_SILENCE settings in nightroad.py for slower pacing.
Prompt 3
Explain how Night Road Narrator decides which voice to use for each character.
Prompt 4
Help me switch Night Road Narrator to the faster llama3.2:3b model.

Frequently asked questions

What is night-road-narrator?

A local, offline AI voice narrator that reads a specific Steam game aloud with distinct voices for narrator and characters.

What language is night-road-narrator written in?

Mainly Python. The stack also includes Python, Ollama, Piper.

What license does night-road-narrator use?

No license information is provided in the README.

How hard is night-road-narrator to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is night-road-narrator for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.