1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-30 18:55:54 +00:00

handle dependencies between xmls

This commit is contained in:
Dragorn421 2025-02-09 11:39:24 +01:00
commit 6b857c6c71
No known key found for this signature in database
GPG key ID: 381AEBAF3D429335
108 changed files with 215 additions and 54 deletions

View file

@ -247,7 +247,7 @@ def register_resource_handlers():
def texture_resource_handler(
file: File, resource_desc: n64resources.TextureResourceDesc
):
return dlist_resources.TextureResource(
res = dlist_resources.TextureResource(
file,
resource_desc.offset,
resource_desc.symbol_name,
@ -256,6 +256,9 @@ def register_resource_handlers():
resource_desc.width,
resource_desc.height,
)
if "hackmode_ignore_orphaned_tlut" in resource_desc.hack_modes:
res.HACK_ignore_orphaned_tlut = True
return res
def ci_texture_resource_handler(
file: File, resource_desc: n64resources.CITextureResourceDesc