darkest_dungeon_tools
v0.1.3
Published
Various tools to work with files used in the game 'Darkest Dungeon'.
Downloads
10
Readme
darkest_dungeon_tools
Various tools to work with files used in the video game 'Darkest Dungeon'.
clean_audio_names
A tool to clean the file names produced by the audio toolchain.
clean_audio_names.clean_path(_path: string / Buffer) -> string
Cleans a file name.
clean_audio_names.clean_paths(_paths: Array / Iterable) -> object
Cleans a list of file names, returns a lookup table of the format orig_path: clean_path
.
clean_audio_names.clean_directory.sync(_directory: string) -> object
Cleans all files in a folder synchronously.
clean_audio_names.clean_directory.async(_directory: string, _callback: (_err, _lookup) -> void) -> void
Cleans all files in a folder asynchronously.
darkest_to_json
A tool to parse .darkest files from the game 'Darkest Dungeon' into a sensible JSON interpretation.
darkest_to_json.convert(_content: string) -> Object
Parses a string containing darkest data.
darkest_to_json.sync(_file: string / Buffer) -> Object
Parses a file synchronously.
darkest_to_json.async(_file: string / Buffer, _callback: (_err, _Object) -> void) -> Object
Parses a file asynchronously.
extract_fsb
A tool to convert a FSB file into a list of wave audio files.
extract_fsb.extract(_infile: string, _outdir: string, _execpath: string) -> subprocess
split_fsb
split_fsb.convert(_buffer: Buffer) -> Buffer
Converts the contents of a BANK file into a valid FSB format.
split_fsb.sync(_infile: string, _outfile: string) -> void
Converts a BANK file synchronously.
split_fsb.sync(_infile: string, _outfile: string, _callback: (err) -> void) -> void
Converts a BANK file asynchronously.