diff --git a/Content/GUN.uasset b/Content/GUN.uasset new file mode 100644 index 0000000..873e921 Binary files /dev/null and b/Content/GUN.uasset differ diff --git a/Content/Python/organize_content.py b/Content/Python/organize_content.py index 7e63947..fd738eb 100644 --- a/Content/Python/organize_content.py +++ b/Content/Python/organize_content.py @@ -1,14 +1,12 @@ import re, unreal FOLDERS = { - "material": "Materials", - "player": "Characters/Player", - "enemy": "Characters/Enemy", - "particle": "Effects", -} -CLASS_FOLDERS = { "World": "Maps", "LevelSequence": "Sequences", + "Material": "Materials", + "MaterialInstanceConstant": "Materials", + "NiagaraSystem": "Effects", + "Blueprint": "Blueprints", } PREFIXES = { "World": "", @@ -38,7 +36,7 @@ for path in lib.list_assets("/Game", recursive=True): name = re.sub(r"^(" + "|".join(p for p in PREFIXES.values() if p) + ")", "", name) name = PREFIXES.get(cls, "") + name - folder = CLASS_FOLDERS.get(cls) or next((f for k, f in FOLDERS.items() if k in name.lower()), "Misc") + folder = FOLDERS.get(cls, "Misc") dest = f"/Game/{folder}/{name}" if path != dest: lib.rename_asset(path, dest)