Daethas

Downporting BFA models to 7.1

34 posts in this topic

So, I've been trying to downport models from BFA (female zandalari trolls, new Jaina model, zandalari druid forms) to 7.1 Legion. Most of it ends up working, except for the animations, which are either missing a few, or missing many. 

My method for downporting is just by replacing SFIDs in 010 Editor, as it cuts out the need to do weight painting (which i have no idea how to do lol) and is generally quicker.

Any help on how I can get the animations to start functioning fully would be very much appreciated! Thanks!

Share this post


Link to post
Share on other sites

Just using the new grommash model as an example, the uint32playbackspeed is automatically 150-- the animations still don't work.

Screenshot_1.png

Share this post


Link to post
Share on other sites
On 5/21/2018 at 4:05 PM, Aurarius said:

This works... 

I'm not quite sure if I understood what he was doing. What is he deleting to make the animations work?

Share this post


Link to post
Share on other sites
4 hours ago, Aurarius said:

Yes, you need to delete the first 7 bytes in every anim

That's it.

That's my problem, unfortunately; I've deleted the headers before, all 7 bytes, for every anim file; but the animations continue to not work. And, unless I forgot to rename them all the exact same - which I don't /think/ is the issue - I'm doing it correctly.

I'll try it again, and make doubly sure I'm right in all of this.

Share this post


Link to post
Share on other sites
Just now, wungasaurus said:

Even if it was an easily delectable header, it would be 8 bytes, not 7.

Any .skel based model won’t be „easily deletable“ though.

8 BYTES?

I thought it was 7, like with weapon/armor downporting!!

None of the creatures I'm using are .skels, don't worry.

Okay. I'm going to try deleting 8 bytes, and if that works, I am immensely thankful.

Share this post


Link to post
Share on other sites

Also, do I need to rename the anim files to that of the original model's, or am I good with keeping them as they are, and putting them in the new model's folder/old model's?

Share this post


Link to post
Share on other sites

So, little update:

I went and tried downporting the zandalari troll bear form, replacing the new legion troll bear form, and instead of deleting 7 bytes, I deleted 8 bytes. I then moved every anim file into the zandalari troll bear form folder - where i put all the hardcoded textures - and then the old troll bear form folder, once with the files unchanged, and then with them renamed. Nothing worked.

I also deleted just 7 bytes, and did the process again, and the anims still didn't work. Is there any other way to do this with SFID downporting?

Share this post


Link to post
Share on other sites

Deleting 7 bytes makes NO sense at all. The thing you’re deleting is four bytes chunk name and four bytes chunk size. It always has been. For this “technique“ to work, the second four bytes need to be file size - 8, so you can easily check if it even could work.

They need to be renamed. 

Do all animations not work or only those with anim files?

Does your target version already have AFID chunks? (Then renaming them or moving them has no effect unless you replace the right ones.)

Share this post


Link to post
Share on other sites

Renamed them, still didn't work.

I'm not sure I get what you mean with the animations, haha-- uh, nono, some animations /do/ work. Like, some combat animations *do* work, or at least the ones that I tested. However, animations such as sitting or talking, do not work at all. When my character talks during movement, the moving animation may break.

TThis is the .m2 for the Legion Druid bear form for Trolls. There are AFID chunks.

9iRvN6C.png

Same for the Zandalari Troll bear form.

vuUfWqa.png

Share this post


Link to post
Share on other sites

I have no idea what you mean.

If the client of that version reads those chunks, then it is going to load the files by id, not name. Are the correct .anim/.skin/.whatever files visible with the given file data id?

Share this post


Link to post
Share on other sites

I meant, like, replacing the new model's AFID bytes with that of the old model's AFID bytes, like you do with SFIDs.

 

I don't know what you mean on this part.

Could we, by chance, discuss this over discord? I feel it would be supremely easier (and quicker) if we had a better form of communication.

Night Elf#1000

Share this post


Link to post
Share on other sites

Just replacing the contents will not work if the chunk size is not identical or if when interpreting the contents in pairs of 4 byte values, the first value of each pair in both files does not match. 

Or when expressed using https://wowdev.wiki/M2#AFID_.28Legion.2B.29: anim_id and sub_anim_id need to match when just replacing. Otherwise, only file_id shall be replaced with ids linked to filenames that are overwritten. It doesn’t matter what file is overwritten. if the count of entries in the new file is bigger than the old, more files have to be overwritten, again it is irrelevant which, as long as the file id you give in the chunk and the id for your replaced file name match up.

 

Share this post


Link to post
Share on other sites
10 hours ago, wungasaurus said:

Just replacing the contents will not work if the chunk size is not identical or if when interpreting the contents in pairs of 4 byte values, the first value of each pair in both files does not match. 

Or when expressed using https://wowdev.wiki/M2#AFID_.28Legion.2B.29: anim_id and sub_anim_id need to match when just replacing. Otherwise, only file_id shall be replaced with ids linked to filenames that are overwritten. It doesn’t matter what file is overwritten. if the count of entries in the new file is bigger than the old, more files have to be overwritten, again it is irrelevant which, as long as the file id you give in the chunk and the id for your replaced file name match up.

 

Right. That's-.. all quite confusing, apologies. I'll try and do my best to understand, however.

xkmgXe2.png

 

myhnT38.png

It seems the chunk size is larger in Aggramar's file than with the stonekeeper, but the the first value is the same.

I'm assuming by anim_id and sub_anim_ids, you mean these:

Xwn4AD9.png

1QV6BIM.png

 

Aggramar's model has more animations, and when going into the "stand" anims, I see this:

MA3WZDA.png

However, the stonekeeper model only has 1 stand anim:

5VCbHRz.png

Share this post


Link to post
Share on other sites

I

5 minutes ago, wungasaurus said:

Everything I said relates to the AFID chunk only. You do not need to look at the rest of the file.

I'm not sure I'm understanding what you're asking me to do - again, my apologies, my understanding of downporting's really quite limited to items, haha. Creatures are entirely new for me. Like I said before, if you've a discord, perhaps we could discuss this in more detail there?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now