Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] I'm currently trying to port an anim file from a model with skel file.

[DiscordArchive] I'm currently trying to port an anim file from a model with skel file.

[DiscordArchive] I'm currently trying to port an anim file from a model with skel file.

Pages (5): 1 2 3 4 5 Next
rektbyfaith
Administrator
0
11-01-2025, 04:21 PM
#1
Archived author: Morfium • Posted: 2025-11-01T16:21:55.776000+00:00
Original source

I'm currently trying to port an anim file from a model with skel file.
According to https://wowdev.wiki/M2#.anim_files this is chunked. (I checked, it is)
How would I need to unchunk this?

It is with the AFM2 header and inside the AFSA/AFSB.
What is the proper structure wotlk expects, and is there a 010 template for anim files?
rektbyfaith
11-01-2025, 04:21 PM #1

Archived author: Morfium • Posted: 2025-11-01T16:21:55.776000+00:00
Original source

I'm currently trying to port an anim file from a model with skel file.
According to https://wowdev.wiki/M2#.anim_files this is chunked. (I checked, it is)
How would I need to unchunk this?

It is with the AFM2 header and inside the AFSA/AFSB.
What is the proper structure wotlk expects, and is there a 010 template for anim files?

rektbyfaith
Administrator
0
11-01-2025, 04:36 PM
#2
Archived author: Supora • Posted: 2025-11-01T16:36:31.433000+00:00
Original source

In fact it's not necessary
rektbyfaith
11-01-2025, 04:36 PM #2

Archived author: Supora • Posted: 2025-11-01T16:36:31.433000+00:00
Original source

In fact it's not necessary

rektbyfaith
Administrator
0
11-01-2025, 04:37 PM
#3
Archived author: Supora • Posted: 2025-11-01T16:37:38.019000+00:00
Original source

Instead you can find where data starts for each of those blocks and adjust the offsets in m2 file
rektbyfaith
11-01-2025, 04:37 PM #3

Archived author: Supora • Posted: 2025-11-01T16:37:38.019000+00:00
Original source

Instead you can find where data starts for each of those blocks and adjust the offsets in m2 file

rektbyfaith
Administrator
0
11-01-2025, 04:39 PM
#4
Archived author: Morfium • Posted: 2025-11-01T16:39:18.497000+00:00
Original source

Hm I'm not really that familiar with animations. Just started looking into it in detail tbh. Where are the offets for animation data lookups in the m2?
rektbyfaith
11-01-2025, 04:39 PM #4

Archived author: Morfium • Posted: 2025-11-01T16:39:18.497000+00:00
Original source

Hm I'm not really that familiar with animations. Just started looking into it in detail tbh. Where are the offets for animation data lookups in the m2?

rektbyfaith
Administrator
0
11-01-2025, 04:39 PM
#5
Archived author: Supora • Posted: 2025-11-01T16:39:47.486000+00:00
Original source

Wotlk expects a direct offset into an anim file. Which would be in fact the same as it is set originally + chunk position + 8 (cause chunk heqder is 8 bytes)
rektbyfaith
11-01-2025, 04:39 PM #5

Archived author: Supora • Posted: 2025-11-01T16:39:47.486000+00:00
Original source

Wotlk expects a direct offset into an anim file. Which would be in fact the same as it is set originally + chunk position + 8 (cause chunk heqder is 8 bytes)

rektbyfaith
Administrator
0
11-01-2025, 04:41 PM
#6
Archived author: Supora • Posted: 2025-11-01T16:41:04.650000+00:00
Original source

In different blocks ofc. In bones, events and attachments I guess
rektbyfaith
11-01-2025, 04:41 PM #6

Archived author: Supora • Posted: 2025-11-01T16:41:04.650000+00:00
Original source

In different blocks ofc. In bones, events and attachments I guess

rektbyfaith
Administrator
0
11-01-2025, 04:41 PM
#7
Archived author: Morfium • Posted: 2025-11-01T16:41:44.412000+00:00
Original source

So... wouldn't it be easiest to cut those parts out of the anim then? Otherwise I would have to update tons of offsets, no?
rektbyfaith
11-01-2025, 04:41 PM #7

Archived author: Morfium • Posted: 2025-11-01T16:41:44.412000+00:00
Original source

So... wouldn't it be easiest to cut those parts out of the anim then? Otherwise I would have to update tons of offsets, no?

rektbyfaith
Administrator
0
11-01-2025, 04:42 PM
#8
Archived author: Supora • Posted: 2025-11-01T16:42:21.967000+00:00
Original source

Not sure about attachments having it's own animation data since it's parented to bones.
rektbyfaith
11-01-2025, 04:42 PM #8

Archived author: Supora • Posted: 2025-11-01T16:42:21.967000+00:00
Original source

Not sure about attachments having it's own animation data since it's parented to bones.

rektbyfaith
Administrator
0
11-01-2025, 04:42 PM
#9
Archived author: Supora • Posted: 2025-11-01T16:42:42.416000+00:00
Original source

You'd have to do it anyway.
rektbyfaith
11-01-2025, 04:42 PM #9

Archived author: Supora • Posted: 2025-11-01T16:42:42.416000+00:00
Original source

You'd have to do it anyway.

rektbyfaith
Administrator
0
11-01-2025, 04:43 PM
#10
Archived author: Supora • Posted: 2025-11-01T16:43:12.428000+00:00
Original source

If anim file have more than just afm2 chunk
rektbyfaith
11-01-2025, 04:43 PM #10

Archived author: Supora • Posted: 2025-11-01T16:43:12.428000+00:00
Original source

If anim file have more than just afm2 chunk

Pages (5): 1 2 3 4 5 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)