This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Reads the Monkey Island speech.info file and extract the data into several CSVs. | |
*/ | |
const fs = require("fs"); | |
// All the sound file IDs following the file order. E.g.: "GUY_32_alley_1_1". The first three letters are the actor ID. | |
const fileIds = []; | |
// All the lines following the file order | |
const lines = { |