diff --git a/tools/assets/descriptor/__main__.py b/tools/assets/descriptor/__main__.py index 2fb89f6eba..0d3f4e6dc3 100644 --- a/tools/assets/descriptor/__main__.py +++ b/tools/assets/descriptor/__main__.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from pprint import pprint as vanilla_pprint try: diff --git a/tools/assets/descriptor/base.py b/tools/assets/descriptor/base.py index 0295947057..a0833ec093 100644 --- a/tools/assets/descriptor/base.py +++ b/tools/assets/descriptor/base.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import abc import dataclasses from functools import cache diff --git a/tools/assets/descriptor/n64resources.py b/tools/assets/descriptor/n64resources.py index 42b2aca9a5..53030c6630 100644 --- a/tools/assets/descriptor/n64resources.py +++ b/tools/assets/descriptor/n64resources.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import dataclasses import enum from xml.etree.ElementTree import Element diff --git a/tools/assets/descriptor/xml_errors.py b/tools/assets/descriptor/xml_errors.py index 6a5e94ee39..7d7f6e0197 100644 --- a/tools/assets/descriptor/xml_errors.py +++ b/tools/assets/descriptor/xml_errors.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from xml.etree import ElementTree diff --git a/tools/assets/descriptor/z64resources.py b/tools/assets/descriptor/z64resources.py index 8f6c8090f1..fba264151f 100644 --- a/tools/assets/descriptor/z64resources.py +++ b/tools/assets/descriptor/z64resources.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import dataclasses import enum from typing import Optional diff --git a/tools/assets/extract/__main__.py b/tools/assets/extract/__main__.py index 8fecdd4d1e..62676350b5 100644 --- a/tools/assets/extract/__main__.py +++ b/tools/assets/extract/__main__.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from . import extract_xml_z64 if __name__ == "__main__": diff --git a/tools/assets/extract/extase/__init__.py b/tools/assets/extract/extase/__init__.py index 039603751a..87579edf18 100644 --- a/tools/assets/extract/extase/__init__.py +++ b/tools/assets/extract/extase/__init__.py @@ -1,4 +1,6 @@ -from __future__ import annotations +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from pathlib import Path import abc from dataclasses import dataclass diff --git a/tools/assets/extract/extase/cdata_resources.py b/tools/assets/extract/extase/cdata_resources.py index 626268c4cd..3576229b08 100644 --- a/tools/assets/extract/extase/cdata_resources.py +++ b/tools/assets/extract/extase/cdata_resources.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import abc import dataclasses import io diff --git a/tools/assets/extract/extase/memorymap.py b/tools/assets/extract/extase/memorymap.py index 4e6b5566f1..0e519f60ed 100644 --- a/tools/assets/extract/extase/memorymap.py +++ b/tools/assets/extract/extase/memorymap.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import abc from dataclasses import dataclass diff --git a/tools/assets/extract/extase/repr_c_struct.py b/tools/assets/extract/extase/repr_c_struct.py index 75cba12c41..3548ede370 100644 --- a/tools/assets/extract/extase/repr_c_struct.py +++ b/tools/assets/extract/extase/repr_c_struct.py @@ -1,4 +1,6 @@ -from __future__ import annotations +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import struct import abc from typing import Sequence, Any diff --git a/tools/assets/extract/extase_oot64/animation_resources.py b/tools/assets/extract/extase_oot64/animation_resources.py index 14dbda4c3c..a05b5eb912 100644 --- a/tools/assets/extract/extase_oot64/animation_resources.py +++ b/tools/assets/extract/extase_oot64/animation_resources.py @@ -1,5 +1,6 @@ -from __future__ import annotations -import io +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from typing import TYPE_CHECKING if TYPE_CHECKING: diff --git a/tools/assets/extract/extase_oot64/collision_resources.py b/tools/assets/extract/extase_oot64/collision_resources.py index 32559e5111..f6ababd0c8 100644 --- a/tools/assets/extract/extase_oot64/collision_resources.py +++ b/tools/assets/extract/extase_oot64/collision_resources.py @@ -1,5 +1,5 @@ -from __future__ import annotations -import io +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 from typing import TYPE_CHECKING, Optional diff --git a/tools/assets/extract/extase_oot64/dlist_resources.py b/tools/assets/extract/extase_oot64/dlist_resources.py index f2b111a70c..228553e91f 100644 --- a/tools/assets/extract/extase_oot64/dlist_resources.py +++ b/tools/assets/extract/extase_oot64/dlist_resources.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import enum import io from pathlib import Path diff --git a/tools/assets/extract/extase_oot64/misc_resources.py b/tools/assets/extract/extase_oot64/misc_resources.py index 30e94338bf..c160bb3942 100644 --- a/tools/assets/extract/extase_oot64/misc_resources.py +++ b/tools/assets/extract/extase_oot64/misc_resources.py @@ -1,4 +1,6 @@ -from __future__ import annotations +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import struct from ..extase import ( diff --git a/tools/assets/extract/extase_oot64/playeranim_resources.py b/tools/assets/extract/extase_oot64/playeranim_resources.py index b3fa17a4bc..ddebc662ed 100644 --- a/tools/assets/extract/extase_oot64/playeranim_resources.py +++ b/tools/assets/extract/extase_oot64/playeranim_resources.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from typing import TYPE_CHECKING if TYPE_CHECKING: diff --git a/tools/assets/extract/extase_oot64/room_shape_resources.py b/tools/assets/extract/extase_oot64/room_shape_resources.py index f7a65285fa..c023803572 100644 --- a/tools/assets/extract/extase_oot64/room_shape_resources.py +++ b/tools/assets/extract/extase_oot64/room_shape_resources.py @@ -1,7 +1,7 @@ -from __future__ import annotations -import enum -import io +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 +import enum from typing import TYPE_CHECKING from .. import oot64_data diff --git a/tools/assets/extract/extase_oot64/scene_commands_resource.py b/tools/assets/extract/extase_oot64/scene_commands_resource.py index 37d1f36d91..279b45e771 100644 --- a/tools/assets/extract/extase_oot64/scene_commands_resource.py +++ b/tools/assets/extract/extase_oot64/scene_commands_resource.py @@ -1,7 +1,8 @@ -from __future__ import annotations +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import enum import struct -import io from typing import TYPE_CHECKING if TYPE_CHECKING: diff --git a/tools/assets/extract/extase_oot64/scene_rooms_resources.py b/tools/assets/extract/extase_oot64/scene_rooms_resources.py index 43bb44a341..94fb29530b 100644 --- a/tools/assets/extract/extase_oot64/scene_rooms_resources.py +++ b/tools/assets/extract/extase_oot64/scene_rooms_resources.py @@ -1,14 +1,13 @@ -from __future__ import annotations -import io +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from typing import TYPE_CHECKING if TYPE_CHECKING: from ..extase.memorymap import MemoryContext from ..extase import ( - RESOURCE_PARSE_SUCCESS, ResourceParseWaiting, - ResourceParseInProgress, ) from ..extase.cdata_resources import ( diff --git a/tools/assets/extract/extase_oot64/skelanime_legacy_resources.py b/tools/assets/extract/extase_oot64/skelanime_legacy_resources.py index 56fdf065d1..ba902dd3f3 100644 --- a/tools/assets/extract/extase_oot64/skelanime_legacy_resources.py +++ b/tools/assets/extract/extase_oot64/skelanime_legacy_resources.py @@ -1,4 +1,6 @@ -import io +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from typing import TYPE_CHECKING from ..extase import RESOURCE_PARSE_SUCCESS diff --git a/tools/assets/extract/extase_oot64/skelcurve_resources.py b/tools/assets/extract/extase_oot64/skelcurve_resources.py index eacde3e854..e422542777 100644 --- a/tools/assets/extract/extase_oot64/skelcurve_resources.py +++ b/tools/assets/extract/extase_oot64/skelcurve_resources.py @@ -1,5 +1,6 @@ -from __future__ import annotations -import io +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from typing import TYPE_CHECKING if TYPE_CHECKING: diff --git a/tools/assets/extract/extase_oot64/skeleton_resources.py b/tools/assets/extract/extase_oot64/skeleton_resources.py index 1d67213783..446e067db1 100644 --- a/tools/assets/extract/extase_oot64/skeleton_resources.py +++ b/tools/assets/extract/extase_oot64/skeleton_resources.py @@ -1,5 +1,7 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import abc -import io from typing import TYPE_CHECKING from ..extase import ( diff --git a/tools/assets/extract/extase_oot64/skeleton_skin_resources.py b/tools/assets/extract/extase_oot64/skeleton_skin_resources.py index 8d6ef20b4b..e5a1d58635 100644 --- a/tools/assets/extract/extase_oot64/skeleton_skin_resources.py +++ b/tools/assets/extract/extase_oot64/skeleton_skin_resources.py @@ -1,4 +1,6 @@ -import io +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from typing import TYPE_CHECKING from ..oot64_data.misc_ids import SKIN_LIMB_TYPES diff --git a/tools/assets/extract/extract_xml_z64.py b/tools/assets/extract/extract_xml_z64.py index 7e504d3d9f..18d5047cea 100644 --- a/tools/assets/extract/extract_xml_z64.py +++ b/tools/assets/extract/extract_xml_z64.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import dataclasses from pathlib import Path diff --git a/tools/assets/extract/oot64_data/Makefile b/tools/assets/extract/oot64_data/Makefile index d0d8d749f1..b36b6542f3 100644 --- a/tools/assets/extract/oot64_data/Makefile +++ b/tools/assets/extract/oot64_data/Makefile @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + ROOT := ../../../../ DATA_FILES := actor_ids.py object_ids.py entrance_table_mini.py scene_table_mini.py diff --git a/tools/assets/extract/oot64_data/__init__.py b/tools/assets/extract/oot64_data/__init__.py index 6240fb133a..270b7158fc 100644 --- a/tools/assets/extract/oot64_data/__init__.py +++ b/tools/assets/extract/oot64_data/__init__.py @@ -1,4 +1,6 @@ -from __future__ import annotations +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from typing import Sequence diff --git a/tools/assets/extract/z64_resource_handlers.py b/tools/assets/extract/z64_resource_handlers.py index cc04022322..a3ae3c77ac 100644 --- a/tools/assets/extract/z64_resource_handlers.py +++ b/tools/assets/extract/z64_resource_handlers.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + from typing import Callable from ..descriptor.base import ResourceDesc diff --git a/tools/assets/n64.py b/tools/assets/n64.py index 165639e8e8..e3ebf70528 100644 --- a/tools/assets/n64.py +++ b/tools/assets/n64.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2025 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + import enum