mirror of
https://github.com/zeldaret/oot
synced 2026-05-23 06:54:24 -04:00
1e556e3a3d
* wip: New assets system tm
Builds gc-eu-mq-dbg OK from clean after
1) make setup
2) python3 -m tools.assets.extract -j
3) replace 0x80A8E610 with sShadowTex in extracted/gc-eu-mq-dbg/assets/overlays/ovl_En_Jsjutan/sShadowMaterialDL.inc.c
4) make various symbols in extracted data like sTex static
* use variables from config.yml for gMtxClear and sShadowTex addresses
* Write source with static for overlays using `HACK_IS_STATIC_ON` hack
* gc-eu-mq-dbg OK from clean with `make setup && make`
* implement more skeleton-related types, cleanups, fixups
* fix extracted data to no longer produce compilation warnings
* implement more of RoomShapeImage types
* yeet XmlPath from ExternalFile usage
* Implement PlayerAnimationDataResource (link_animetion data)
* fix csdis CS_TIME extra arg
* dmadata file names no longer hardcoded for gc-eu-mq-dbg
* ntsc-1.0 OK
* xml fixes
* slightly improve standard output
* rm extract_assets.py
* generate and use Limb enums (TODO: check Skin skels and implement for Curve skels)
* handle dependencies between xmls
* introduce RawPointers xml attribute to ignore specific pointers and keep them raw
* add tools/extract_assets.sh
* fixups
* only extract if xmls changed or if -f (force) is used
* fixups, gc-eu OK
* all versions OK
* check attributes of xml resources elements
* Implement legacy skelanime resources
* fix ASSET_FILES_BIN_EXTRACTED/COMMITTED: look for .u8.bin specifically instead of just .bin
* implement JFIFResource
* fix png/jpg wildcards: look specifically for .u64.png .u32.png .u64.jpg
* Makefile: Add rules to build .png, .bin and .jpg in assets/ too
* start writing actual docs
* extract sTransCircleDL and sTransWipeDL
* misc cleanup/fixes, pygfxd 1.0.3
* refactor CDataExt.set_write callback args to use a dataclass
* Move {} to in-source
* misc
* more progress on spec
* fix missing braces in n64dd_error_textures.c
* finish xml spec doc
* assets xmls fixes
* some cleanup, use `gNameTex_WIDTH/HEIGHT` macros in dlists
* handle hackmode_syotes_room, fix compile
* C build_from_png
* rm tools/assets/bin2c
* rm ZAPD
* format
* remove rule to generate dmadata_table.py
* CC0 license (and some import cleanup)
* dont try to build zapd (rmd)
* simplify palettes with single user (ci images with a non-shared palette)
* add docs on how images are handled
* bss
* allow -j N
* fix n64texconv python bindings memory management
* move -j at the end of calling extraction script
* with -j, update last_extracts.json as each job completes rather than only if all complete
* make interrupting less jank by making child processes ignore sigint
* use enum names in `SCENE_CMD_SKYBOX_SETTINGS`
* `multiprocessing.get_context("fork")`
* import rich, except ImportError s
* fix optional rich usage
* .bss
* .bss
* .bss
* assets extraction: -j -> -j$(N_THREADS)
* .bss
* change LIMB_NONE/MAX defaults to be FILE_OFFSET instead of SKELNAME
* 0XHEX -> 0xHEX
* fix bss
* Proper includes for assets
mostly proper, some includes like dlists resources always causing a sys_matrix.h include (when not every dlist references gIdentityMtx) could be done better
* rm z64.h
* rm z64.h take two
* bss
* Make .u64 suffix for pngs optional
* fixup: rm .u64 suffix from n64dd image paths
* Remove elemtype suffixes from .bin and .jpg files
* Update images.md
* some build_from_png cleanup, more error handling, comments
* Handle skybox textures
Introduce "sub-format" suffix for pngs, with sub-formats split_lo and split_hi being used for skybox textures
* fixup for older python
* improve collision output some
* fully use SURFACETYPE[01] macros in writing extracted surface types
* use WATERBOX_PROPERTIES in extracted waterboxes
* some SceneCommandsResource cleanup
* format EnvLightSettingsList output
75 lines
5.4 KiB
XML
75 lines
5.4 KiB
XML
<Root>
|
|
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
|
<File Name="object_st" Segment="6">
|
|
<Animation Name="object_st_Anim_000304" Offset="0x304"/>
|
|
<Texture Name="object_st_Tex_000320" OutName="tex_00000320" Format="i4" Width="16" Height="8" Offset="0x320"/>
|
|
<Texture Name="object_st_Tex_000360" OutName="tex_00000360" Format="rgba16" Width="16" Height="8" Offset="0x360"/>
|
|
<Texture Name="object_st_Tex_000460" OutName="tex_00000460" Format="rgba16" Width="8" Height="8" Offset="0x460"/>
|
|
<Texture Name="object_st_Tex_0004E0" OutName="tex_000004E0" Format="i4" Width="16" Height="16" Offset="0x4E0"/>
|
|
<Texture Name="object_st_Tex_000560" OutName="tex_00000560" Format="rgba16" Width="16" Height="16" Offset="0x560"/>
|
|
<Texture Name="object_st_Tex_000760" OutName="tex_00000760" Format="rgba16" Width="8" Height="8" Offset="0x760"/>
|
|
<Texture Name="object_st_Tex_0007E0" OutName="tex_000007E0" Format="rgba16" Width="8" Height="8" Offset="0x7E0"/>
|
|
<DList Name="object_st_DL_001A40" Offset="0x1A40"/>
|
|
<DList Name="object_st_DL_001C30" Offset="0x1C30"/>
|
|
<DList Name="object_st_DL_001FD0" Offset="0x1FD0"/>
|
|
<DList Name="object_st_DL_002068" Offset="0x2068"/>
|
|
<DList Name="object_st_DL_002100" Offset="0x2100"/>
|
|
<DList Name="object_st_DL_002198" Offset="0x2198"/>
|
|
<DList Name="object_st_DL_002230" Offset="0x2230"/>
|
|
<DList Name="object_st_DL_0022C8" Offset="0x22C8"/>
|
|
<DList Name="object_st_DL_002360" Offset="0x2360"/>
|
|
<DList Name="object_st_DL_0023F8" Offset="0x23F8"/>
|
|
<Texture Name="object_st_Tex_002490" OutName="tex_00002490" Format="i8" Width="8" Height="8" Offset="0x2490"/>
|
|
<Texture Name="object_st_Tex_0024D0" OutName="tex_000024D0" Format="rgba16" Width="16" Height="8" Offset="0x24D0"/>
|
|
<Texture Name="object_st_Tex_0025D0" OutName="tex_000025D0" Format="i4" Width="16" Height="16" Offset="0x25D0"/>
|
|
<Texture Name="object_st_Tex_002650" OutName="tex_00002650" Format="rgba16" Width="8" Height="8" Offset="0x2650"/>
|
|
<Array Name="object_st_Vtx_0026D0" Count="398" Offset="0x26D0">
|
|
<Vtx/>
|
|
</Array>
|
|
<DList Name="object_st_DL_003FB0" Offset="0x3FB0"/>
|
|
<DList Name="object_st_DL_0043D8" Offset="0x43D8"/>
|
|
<DList Name="object_st_DL_0045C0" Offset="0x45C0"/>
|
|
<DList Name="object_st_DL_004658" Offset="0x4658"/>
|
|
<DList Name="object_st_DL_0046F0" Offset="0x46F0"/>
|
|
<DList Name="object_st_DL_004788" Offset="0x4788"/>
|
|
<DList Name="object_st_DL_004820" Offset="0x4820"/>
|
|
<DList Name="object_st_DL_0048B8" Offset="0x48B8"/>
|
|
<DList Name="object_st_DL_004950" Offset="0x4950"/>
|
|
<DList Name="object_st_DL_0049E8" Offset="0x49E8"/>
|
|
<DList Name="gSkulltulaTokenDL" Offset="0x4DB0"/>
|
|
<DList Name="gSkulltulaTokenFlameDL" Offset="0x4EB8"/>
|
|
<Limb Name="object_st_Limb_0050C8" LimbType="Standard" Offset="0x50C8"/>
|
|
<Limb Name="object_st_Limb_0050D4" LimbType="Standard" Offset="0x50D4"/>
|
|
<Limb Name="object_st_Limb_0050E0" LimbType="Standard" Offset="0x50E0"/>
|
|
<Limb Name="object_st_Limb_0050EC" LimbType="Standard" Offset="0x50EC"/>
|
|
<Limb Name="object_st_Limb_0050F8" LimbType="Standard" Offset="0x50F8"/>
|
|
<Limb Name="object_st_Limb_005104" LimbType="Standard" Offset="0x5104"/>
|
|
<Limb Name="object_st_Limb_005110" LimbType="Standard" Offset="0x5110"/>
|
|
<Limb Name="object_st_Limb_00511C" LimbType="Standard" Offset="0x511C"/>
|
|
<Limb Name="object_st_Limb_005128" LimbType="Standard" Offset="0x5128"/>
|
|
<Limb Name="object_st_Limb_005134" LimbType="Standard" Offset="0x5134"/>
|
|
<Limb Name="object_st_Limb_005140" LimbType="Standard" Offset="0x5140"/>
|
|
<Limb Name="object_st_Limb_00514C" LimbType="Standard" Offset="0x514C"/>
|
|
<Limb Name="object_st_Limb_005158" LimbType="Standard" Offset="0x5158"/>
|
|
<Limb Name="object_st_Limb_005164" LimbType="Standard" Offset="0x5164"/>
|
|
<Limb Name="object_st_Limb_005170" LimbType="Standard" Offset="0x5170"/>
|
|
<Limb Name="object_st_Limb_00517C" LimbType="Standard" Offset="0x517C"/>
|
|
<Limb Name="object_st_Limb_005188" LimbType="Standard" Offset="0x5188"/>
|
|
<Limb Name="object_st_Limb_005194" LimbType="Standard" Offset="0x5194"/>
|
|
<Limb Name="object_st_Limb_0051A0" LimbType="Standard" Offset="0x51A0"/>
|
|
<Limb Name="object_st_Limb_0051AC" LimbType="Standard" Offset="0x51AC"/>
|
|
<Limb Name="object_st_Limb_0051B8" LimbType="Standard" Offset="0x51B8"/>
|
|
<Limb Name="object_st_Limb_0051C4" LimbType="Standard" Offset="0x51C4"/>
|
|
<Limb Name="object_st_Limb_0051D0" LimbType="Standard" Offset="0x51D0"/>
|
|
<Limb Name="object_st_Limb_0051DC" LimbType="Standard" Offset="0x51DC"/>
|
|
<Limb Name="object_st_Limb_0051E8" LimbType="Standard" Offset="0x51E8"/>
|
|
<Limb Name="object_st_Limb_0051F4" LimbType="Standard" Offset="0x51F4"/>
|
|
<Limb Name="object_st_Limb_005200" LimbType="Standard" Offset="0x5200"/>
|
|
<Limb Name="object_st_Limb_00520C" LimbType="Standard" Offset="0x520C"/>
|
|
<Limb Name="object_st_Limb_005218" LimbType="Standard" Offset="0x5218"/>
|
|
<Skeleton Name="object_st_Skel_005298" Type="Normal" LimbType="Standard" Offset="0x5298"/>
|
|
<Animation Name="object_st_Anim_0055A8" Offset="0x55A8"/>
|
|
<Animation Name="object_st_Anim_005B98" Offset="0x5B98"/>
|
|
</File>
|
|
</Root>
|