mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Tools - Update includes tools, ignore .hemttout in str validator (#9337)
Tools - update includes tools, ignore .hemttout in str validator
This commit is contained in:
parent
d33a158e2e
commit
9c25fea548
@ -1448,6 +1448,9 @@ enum
|
|||||||
#define IDC_OPTIONS_MAPDUCKING_VALUE 119
|
#define IDC_OPTIONS_MAPDUCKING_VALUE 119
|
||||||
#define IDC_OPTIONS_MAPDUCKING_SLIDER 120
|
#define IDC_OPTIONS_MAPDUCKING_SLIDER 120
|
||||||
|
|
||||||
|
#define IDC_OPTIONS_UI_VALUE 121
|
||||||
|
#define IDC_OPTIONS_UI_SLIDER 122
|
||||||
|
|
||||||
// microphone adjustment
|
// microphone adjustment
|
||||||
#define IDC_OPTIONS_MIC_PROGRESS_BAR 1001
|
#define IDC_OPTIONS_MIC_PROGRESS_BAR 1001
|
||||||
#define IDC_OPTIONS_MIC_PROGRESS 1002
|
#define IDC_OPTIONS_MIC_PROGRESS 1002
|
||||||
|
@ -155,6 +155,7 @@ def main():
|
|||||||
|
|
||||||
for root, _, files in os.walk(root_dir):
|
for root, _, files in os.walk(root_dir):
|
||||||
for file in fnmatch.filter(files, "stringtable.xml"):
|
for file in fnmatch.filter(files, "stringtable.xml"):
|
||||||
|
if (".hemttout" in root): continue
|
||||||
stringtable_files.append(os.path.join(root, file))
|
stringtable_files.append(os.path.join(root, file))
|
||||||
|
|
||||||
stringtable_files.sort()
|
stringtable_files.sort()
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
include_base_path = os.path.join(os.path.dirname(os.getcwd()), "include")
|
include_base_path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "include")
|
||||||
p_drive_path = "P:\\"
|
p_drive_path = "P:\\"
|
||||||
|
|
||||||
if not os.path.exists(p_drive_path):
|
if not os.path.exists(p_drive_path):
|
||||||
@ -16,6 +16,10 @@ for root, _dirs, files in os.walk(include_base_path):
|
|||||||
continue
|
continue
|
||||||
file_r_path = os.path.join(include_base_path, relative_path, file)
|
file_r_path = os.path.join(include_base_path, relative_path, file)
|
||||||
file_v_path = os.path.join(p_drive_path, relative_path, file)
|
file_v_path = os.path.join(p_drive_path, relative_path, file)
|
||||||
|
if (file_v_path.endswith(".p3d")):
|
||||||
|
print(f"ignoring p3d {file_v_path}")
|
||||||
|
continue
|
||||||
if not os.path.isfile(file_v_path):
|
if not os.path.isfile(file_v_path):
|
||||||
raise Exception("Missing p-drive file {}".format(file_v_path))
|
raise Exception("Missing p-drive file {}".format(file_v_path))
|
||||||
shutil.copyfile(file_v_path, file_r_path)
|
shutil.copyfile(file_v_path, file_r_path)
|
||||||
|
print(f"copying {file_v_path}")
|
||||||
|
Loading…
Reference in New Issue
Block a user