robbi5 / annosounds

Home Page:https://annosounds.hop.sh/sounds/anno1602

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

annosounds

Anno 1602 is a very nice simulation and strategy game. It contains announcements that happen at specific points in the game.

This repository makes these announcements easily accessible by browser, thanks to datasette.

The sqlite database is created with sqlite-utils and displayed with datasette, using the following plugins:

creating from scratch

You need:

  • datasette, e.g. by using pipx: pipx install datasette
  • ffmpeg to convert .wav into .mp3
  • vosk-transcriber and the 2 GB big vosk-model-de-0.21 model
  • Anno1602: Königs-Edition

Get the Anno1602 Sounds from your Anno1602: Königs-Edition installation by opening the installation folder and navigation to the Sounds8 folder. Copy the .wav files to a new folder and execute build-transcription.sh, build-csv.sh as well as build-mp3.sh.

Go through the resulting speech.csv and fix the automated transcription errors by hand.

Finally build the sqlite database by executing build-db.sh and the datasette docker container by build.sh.

About

https://annosounds.hop.sh/sounds/anno1602


Languages

Language:Shell 100.0%