Commit graph

37 commits

Author SHA1 Message Date
6ce883eac2 Remove default options in extract script
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-08 07:53:09 -06:00
d619b92504 Make extract script executable on unix
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-08 07:51:51 -06:00
5c366d1f02 Load directory paths from environment if present
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-07 21:26:14 -06:00
cb17043e41 Add "assume yes" option to extraction script
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-07 08:46:15 -06:00
Vsevolod Kremianskii
3563983e5d Refactor Flowtron scripts, fix extraction script 2021-06-01 08:23:46 +07:00
Vsevolod Kremianskii
3a2f631575 Do not show the root window in scripts 2021-06-01 07:18:59 +07:00
Vsevolod Kremianskii
b7acbd448f Streamline extraction and JSON analysis scripts
- If directory is not specified, open a file dialog to choose it
- Extract common code into reo_shared.py
2021-05-31 09:31:22 +07:00
Vsevolod Kremianskii
9afb2745d4 Split scripts into subdirectories 2021-05-31 06:22:29 +07:00
Vsevolod Kremianskii
fc066f743d Add Python script to bootstrap modules from other modules
[ci skip]
2021-05-05 12:27:35 +07:00
Vsevolod Kremianskii
248907fba1 Add Python script to generate LIP files from text 2021-04-22 21:10:20 +07:00
Vsevolod Kremianskii
2a7c19eed9 Rename examine_lip to inspect_lip, improve output 2021-04-22 19:00:34 +07:00
Vsevolod Kremianskii
533f6cf949 In examine_lip.py output shape descriptions, not indices 2021-04-22 16:34:11 +07:00
Vsevolod Kremianskii
66e8a9a0bf Add Python script to examine LIP files 2021-04-22 15:02:02 +07:00
Vsevolod Kremianskii
a25a47c8a4 Cleanup Python scripts 2021-04-22 15:01:41 +07:00
Vsevolod Kremianskii
a9840701c8 Rename analyze.py to count_json_values.py 2021-04-22 14:44:50 +07:00
Vsevolod Kremianskii
0e0f018b5b Add tool to convert LIP to JSON and vice versa 2021-04-22 14:02:43 +07:00
Vsevolod Kremianskii
80b0783915 Add LIP archives extraction step to extract.py 2021-04-22 13:19:35 +07:00
Vsevolod Kremianskii
00b082a253 Make choosing steps in extract.py interactive 2021-04-22 12:52:25 +07:00
Vsevolod Kremianskii
224bead91c Put field types into a separate property when converting GFF to JSON 2021-04-22 12:39:07 +07:00
Vsevolod Kremianskii
b4d4803c7d Tweak filelists.py
- Add copyright notice
- Add generated filelists to .gitignore
2021-04-20 08:23:39 +07:00
Vsevolod Kremianskii
38932c9aef Add Python script to unwrap audio files based on Flowtorn filelists 2021-04-15 12:49:32 +07:00
Vsevolod Kremianskii
852221baf1 Fix erasing double colons from strings 2021-04-15 12:10:28 +07:00
Vsevolod Kremianskii
f356b4704c Fix erasing special characters from strings 2021-04-15 12:05:20 +07:00
Vsevolod Kremianskii
a3fe3960dd Strip double colon surrounded substrings from text
This happens in TSL.
2021-04-15 11:58:31 +07:00
Vsevolod Kremianskii
97237bf713 Make filelists.py accept both Speaker and VO_ResRef
This yields roughly twice as much dialog entries.
2021-04-15 11:53:14 +07:00
Vsevolod Kremianskii
c70d860d4b Explicitly make wav_dir global in get_lines_from_dlg
Somehow the function finds more files this way?
2021-04-15 11:17:38 +07:00
Vsevolod Kremianskii
b99fa9739b Make uniq_sound global when traversing DLG files 2021-04-15 10:10:05 +07:00
Vsevolod Kremianskii
6efd9951c7 Change filelists strategy to search by Speaker, not VO_ResRef 2021-04-15 10:04:30 +07:00
Vsevolod Kremianskii
6ddda21f45 Change wav_dir in filelists to point to wrapped audio files 2021-04-15 09:57:37 +07:00
Vsevolod Kremianskii
e8a9179760 Add extract.py step to extract voices from streamwaves/streamvoice 2021-04-15 08:46:28 +07:00
Vsevolod Kremianskii
5a534bfcfa Rewrite filelists.py to parse DLG files
This is required for TSL support.
2021-04-14 22:30:46 +07:00
Vsevolod Kremianskii
0b226fce6e Add scripts for Flowtron
- Python script to generate Flowtron filelists
- Flowtron patch to enable inference from models
2021-04-14 10:24:17 +07:00
Vsevolod Kremianskii
c3f857a9ee Rename Python scripts to extract.py and analyze.py 2021-04-13 16:02:36 +07:00
Vsevolod Kremianskii
796fc05535 Accept command line arguments in analyze_resources.py 2021-04-13 07:43:43 +07:00
Vsevolod Kremianskii
5b90c6d542 Add Python script to analyze extracted resources 2021-04-12 21:36:17 +07:00
Vsevolod Kremianskii
0523998163 Add NCS disassembling step to extract_resources.py 2021-04-12 16:47:17 +07:00
Vsevolod Kremianskii
e01bc053f3 Add Python script to extract and convert resources 2021-04-12 16:06:53 +07:00