Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions fast64_internal/z64/f3d/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ def execute(self, context):
filedata = getImportData(paths)
f3dContext = OOTF3DContext(get_F3D_GBI(), [name], basePath)

# Test for "new" (post-ZAPD) assets system.
is_2025_assets_system = "{\n#include" in filedata
# The "new" assets system does not extract TLUTs, they are directly applied to the png images.
# So don't try to apply TLUTs as they can't be found in extracted/ anyway.
f3dContext.ignore_tlut = is_2025_assets_system

scale = None
if not isCustomImport:
filedata = ootGetIncludedAssetData(basePath, paths, filedata) + filedata
Expand Down