28
edits
m (added page category) |
(added AS commands section) |
||
Line 1: | Line 1: | ||
'''ASB''' ('''A'''nimation '''S'''equence '''B'''inary) is a file format used to store animation sequences for actors in recent Nintendo EPD games such as ''The Legend of Zelda: Tears of the Kingdom'' and ''Nintendo Switch Sports''. This article is primarily aimed at the version that appears in ''Tears of the Kingdom'' (v0x0417). ASB files can be found in the AS folder of the romfs as well as the AS folder of certain pack files. | '''ASB''' ('''A'''nimation '''S'''equence '''B'''inary) is a file format used to store animation sequences for actors in recent Nintendo EPD games such as ''The Legend of Zelda: Tears of the Kingdom'' and ''Nintendo Switch Sports''. This article is primarily aimed at the version that appears in ''Tears of the Kingdom'' (v0x0417). Other ASB versions include 0x304 (''Ring Fit Adventure''), 0x3FB (''Labo Toy-Con 04'' and ''Game Builder Garage''), 0x407 (''Animal Crossing: New Horizons''), 0x40F (''Nintendo Switch Sports''), 0x410 (''Splatoon 3''), and 0x418 (''Super Mario Bros. Wonder''). ASB files can be found in the AS folder of the romfs as well as the AS folder of certain pack files. | ||
=== File Structure === | === File Structure === | ||
Line 20: | Line 20: | ||
# Command Groups | # Command Groups | ||
# Local Blackboard Parameters | # Local Blackboard Parameters | ||
# | # Partial Slots | ||
# Bone Groups | # Bone Groups | ||
# Calculation Presets | # Calculation Presets | ||
Line 74: | Line 74: | ||
|0x04 | |0x04 | ||
|u32 | |u32 | ||
|Slot Count | |Partial Slot Count | ||
|- | |- | ||
|0x1C | |0x1C | ||
Line 109: | Line 109: | ||
|0x04 | |0x04 | ||
|u32 | |u32 | ||
| | |Partial Slots Offset | ||
|- | |- | ||
|0x38 | |0x38 | ||
Line 176: | Line 176: | ||
|0x68 Section Offset (version 0x417 only) | |0x68 Section Offset (version 0x417 only) | ||
|} | |} | ||
=== ASB Parameter === | |||
{| class="wikitable" | |||
|+ Parameter<T> | |||
!Offset | |||
!Size | |||
!Type | |||
!Description | |||
|- | |||
|0x00 | |||
|0x04 | |||
|s32 | |||
|Flags and Index | |||
|- | |||
|0x04 | |||
|0x04 or 0x0C | |||
|T | |||
|Value | |||
|} | |||
If the parameter flags are negative, then the bottom two bytes of flag are an index value. | |||
==== AS Commands ==== | |||
{| class="wikitable" | |||
|+AS Command | |||
!Offset | |||
!Size | |||
!Type | |||
!Description | |||
|- | |||
|0x00 | |||
|0x04 | |||
|u32 | |||
|Name Offset | |||
|- | |||
|0x04 | |||
|0x04 | |||
|u32 | |||
|Tag Entry Offset (version 0x417+) | |||
|- | |||
|0x08 | |||
|0x04 | |||
|u32 | |||
|Filename Offset | |||
|- | |||
|0x0C | |||
|0x08 | |||
|Parameter<float> | |||
| | |||
|- | |||
|0x14 | |||
|0x08 | |||
|Parameter<s32> | |||
| | |||
|- | |||
|0x1C | |||
|0x04 | |||
|u32 | |||
| | |||
|- | |||
|0x20 | |||
|0x02 | |||
|u16 | |||
|Child Node Index | |||
|- | |||
|0x22 | |||
|0x04 | |||
|u16 | |||
| | |||
|} | |||
[[Category:File formats]] | [[Category:File formats]] |
edits