mirror of
https://github.com/Virtual-World-RE/NeoGF.git
synced 2024-11-15 09:45:33 +01:00
Update gcmtool.py
sort paths in rebuild-fst to be like originals fsts
This commit is contained in:
parent
a4b65f1abc
commit
d547bdca97
|
@ -360,7 +360,8 @@ class GCM:
|
|||
sys_path = folder_path / "sys"
|
||||
fst_tree = FstTree(root_path, self.__get_min_file_offset(sys_path), align=align)
|
||||
|
||||
for path in root_path.glob('**/*'):
|
||||
path_list = sorted([path for path in root_path.glob('**/*')], key=lambda s:Path(str(s).upper()))
|
||||
for path in path_list:
|
||||
fst_tree.add_node_by_path(path)
|
||||
logging.debug(fst_tree)
|
||||
fst_path = sys_path / "fst.bin"
|
||||
|
|
Loading…
Reference in New Issue
Block a user