Giter VIP home page Giter VIP logo

dialogue-to-anki's Introduction

Dialogue-To-Anki

โš ๏ธ Note - This project is not currently being maintained, but may be picked back up in the future!

Dialogue-To-Anki (DtA) converts dialogue from Bethesda games into Anki-friendly formats.

DtA currently only supports .txt and .csv files.

Games Supported

  • Skyrim (Vanilla) / Skyrim Special Edition (SE)
  • Fallout 4
  • Fallout New Vegas

Unsupported (May work)

  • Fallout 3

Python Requirements

  • openpyxl

Game-specific Requirements

  • Skyrim/Skyrim SE, Fallout 4
    • Creation Kit
  • Fallout New Vegas
    • GECK

Optional Requirements

  • B.A.E (optional โ€” If you want audio)
  • Unfuz (optional โ€” If you want audio)
  • TES5Edit
    • (optional โ€” Needed if language contains special characters {non-latin})
    • i.e, Russian, Japanese, Chinese, etc

Instructions

Step 1

DtA needs the dialogue set from your game to work.

  1. Go to your steamapps common folder (..\Steam\SteamApps\common\GAME_NAME)
  2. Open Creation Kit/GECK and load in your game's main .esm file using File > Data
  3. Export the dialogue through Character > Export Dialogue
  4. Move exports to Dialogue-To-Anki/dialogues

Repeat step one for other languages that you need. (I.e, Spanish > English) Be sure to rename each language file to a different name!

Note: With Skyrim SE, you will have to create a file named 'CreationKitCustom.ini' for Creation Kit to work.

Copy and paste the line below into the file:

sLanguage=LANGUAGE # English
# Replace 'LANGUAGE' with a language that's supported for your game

Step 2

Generate the Anki file(s):

python core.py -g skyrim -l english spanish -t txt -f dialogues/export1.txt dialogues/export2.txt -a
  • g = The games title
  • l = Languages, be sure to put these in the same order as the -f argument!
  • t = Format to give out (See supported files)
  • f = The dialogue export .txt files
  • a = (optional) Process audio files โ€” Required for Audio

After that, you're all set! You can import the generated file into Anki.

Any audio files (see below), will be exported to folder GAMENAME_AUDIO_LANGUAGE1_LANGUAGE2. Move this folder into Unfuz for audio to work. Aaudio in Anki should be placed within collection.media.

--


Optional Step โ€” Audio

Skip this step if you don't want audio, or if have already done it previously

Download BAE;

Once installed open it and you should see a screen like this:

--

Depending on the language you need, change your game's language in Steam by right clicking it and selecting properties and click the 'language' tab and set the language you want to get the audio from

--

After its done downloading go to your game's data folder ...\Steam\SteamApps\common\GAME_NAME\Data.

You should see .bsa files, locate the 'Voices' .bsa file. Usually it'll have the languages prefix tagged along to it

  • i.e, 'Skyrim- Voices_ru0.bsa'

Open that file up in bae and extract it. Note, this may take a while. You can uncheck any characters you don't want to extract in BAE

Place the folder within Dialogue-To-Anki/dialogues/audio and rename sound to the language you downloaded. (Be sure to name it correctly!)

Just like step 1, you'll have to repeat this if you want audio for other languages.

dialogue-to-anki's People

Contributors

jsonyeung avatar tylerjcodes avatar tylerjdev avatar

Stargazers

 avatar  avatar

Forkers

clayne

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.