Skip to content

tm-a-t/speech-cabinet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dice-demo.mp4

Speech Cabinet

Create vertical videos in the style of Disco Elysium dialogues.
speech-cabinet.com


Speech Cabinet is an unofficial fan project inspired by Disco Elysium. I am not affiliated with ZA/UM. Disco Elysium© and all related characters, artwork, and audio are property of ZA/UM. These assets are used here for non-commercial, fan purposes only. The code for this app is open-source (AGPL-3.0), but Disco Elysium assets remain under their original copyright. Generated videos are likewise fan-made and not for commercial use.

Tips

  • Put quotes when characters speak out loud, like the game does.
  • Choose an OST for the right vibes.
  • You won’t lose your dialogue if you close the page, but you can always download the file to share or open it later.
  • Add custom characters and skills; choose portraits for Harry and custom characters.
  • You should build Communism -- precisely *because* it's impossible.

Development

How it works

This is a Next.js app.

Animation is made purely with CSS/JS, but the videos are rendered on server: a worker starts a browser instance and records a webpage.

Running

  1. Create a Postgres database.

  2. Copy .env.example to .env and fill in the variables. (Auth settings are not used for now.)

  3. If you want to enable background music for videos, save OST music files to public/music. They must have a name in form Sea Power - Instrument of Surrender.m4a.

  4. Install dependencies:

    yarn
  5. Run:

    yarn dev
  6. Run the video rendering worker separately:

    yarn dev:work

    (The worker requires maximum Node 20 because the library for rendering videos uses a deprecated function.)

Using Docker

The Docker image should build normally—but not on macOS, apparently? Downloading Chrome in Docker doesn’t work on my macOS for some reason.

Contributions

Suggestions and contributions are welcome!

About

Create vertical videos in the style of Disco Elysium dialogues.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •