This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TOOL][TUTORIAL] How to port models from Cata to WOTLK  (Read 51282 times)

Zim4ik

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 407
    • View Profile
[TOOL][TUTORIAL] How to port models from Cata to WOTLK
« on: September 13, 2011, 06:44:01 pm »
UPDATE:
Thanks  to Mjollna, we all have a good working converter!
http://www.mjollna.org/docs/misc/CataToLkM2.zip


Hi all.

In this tutorial i'll tell you how to port models from cataclysm 4.03a to wrath of the lich king 3.35
Let's start.
What we need:
  • 010 editor
  • 010 templates (m2)
  • Time

Open our *.m2 file in 010 editor. We could see this. It`s hex code of m2 file.


Now open m2 template


We have smth like this


Now, change version from 272 to 264
(10 01 00 00 to 08 01 00 00)
Go to the "nTexUnit" section. Change 0 to 1
In "ofsTexUnit" section copy Value from "ofsTransLookup" for example.

Now we should edit camera. When we load m2 template on model which have version 10 we got error.
Lets fix it.
Change the all -camera values to , and then try to reload template

Zim


---------------
Quote from: "Mjollna"
Little addition to tutorial :

If you have problems with (dynamic) shadows "moving" and following your character's movement, that trick seems to fix it :

- Open the Cata/mop skin file associated with the model in 010 Editor.
- Apply the skin template.
- Go to submeshes (each of them).
- Change "unknown" field 0x10 (between startbones and rootbone) from 0 to 1.

I have no idea why, but it works xD


This attachment is the same but as rtf document.
---------------

Thanks Mjollna, Vellear and Arid for help and motivation
« Last Edit: November 05, 2013, 04:22:50 pm by Admin »

adrug

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #1 on: October 09, 2011, 06:20:10 pm »
Which line to change items?
---------------------------------------------------
Pleas make video manual!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #2 on: October 26, 2011, 12:23:46 am »
I've just found, that this tutorial breaks models while doing the camera fix.

There has been some change in the structure of models with cataclysm. one of them has been fov now being animatable.

In order to fix this, copy the data behind ofsCameras to the end. You should copy quite some bytes as you need to make sure, you're copying all of it.
After copying the data to the end of the file, adjust ofsCameras in the header to the offset where you just inserted your copy.

Now, apply the template again and navigate to the first camera. go to fov. now, INSERT 4 bytes at that place and change the value of fov to 0.7 if the camera is a portrait camera or  0.97 if its the charselect one. (you may want to try around with these values a bit later, if the outcome is not perfect).
Reapply the template.

If there is more than one camera, now go to the next camera. It will show up bad values in the template and most likely will have caused an error once again. Go to the beginning of the camera and DELETE 20 bytes there. The data in the template should now look "normal" again. Repeat what you just have done for the fov.

Repeat this for all cameras in the file.

It should now work with 3.*.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Arid

  • Contributors
  • Loreweaver
  • *****
  • Posts: 100
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #3 on: October 26, 2011, 10:06:30 am »
Schu. I honestly have no idea what version you're doing this one or what you just said, Picutres and/or Laymans terms of 'Behind' Cameras. Do you mean copy before and up from the start of them or after and down?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

equertez

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 8
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #4 on: October 26, 2011, 05:34:33 pm »
sorry im newbie for hex editing, for mod pls delete my other post on this thread.

ok i follow the step.
1. open .m2 file with 010 editor (i use v3.2.2)
2. and then open M2Template1.bt

and then show like this:


help pls im confused, what should i be do next?
my 010 editor not same like zim4ik screen shot
« Last Edit: October 29, 2011, 12:20:33 pm by Admin »

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #5 on: October 29, 2011, 02:50:14 am »
Alright I made version 264, changed uint nTexUnits changed 0 to 1 changed uint ofsTexunits's value to the one of ofsTranslookup what I don't understand is the cameras?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Everon Mightbane

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 89
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #6 on: October 29, 2011, 10:38:49 am »
Change all the cameras to 00 00 00 00
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ProfVice

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 60
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #7 on: November 07, 2011, 08:28:51 pm »
got the same problem as equertez, any solutions?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

adrug

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #8 on: December 03, 2011, 05:36:44 pm »
does work?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

detonatorss

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 233
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #9 on: March 29, 2012, 04:41:29 pm »
can anyone help me with porting the worgen male  and female from wow 4.0.6a ¿? thank you or anyone .m2 model from wow cata 4.3.x ¿?

Tjank You ^^  ;)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Desktop


Laptop

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #10 on: April 30, 2012, 07:51:02 am »
Little addition to tutorial :

If you have problems with (dynamic) shadows "moving" and following your character's movement, that trick seems to fix it :

- Open the Cata/mop skin file associated with the model in 010 Editor.
- Apply the skin template.
- Go to submeshes (each of them).
- Change "unknown" field 0x10 (between startbones and rootbone) from 0 to 1.

I have no idea why, but it works xD
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Zim4ik

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 407
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #11 on: April 30, 2012, 10:19:36 am »
Thanks) BBut i have problem like that only with mop models
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

znailla

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #12 on: April 30, 2012, 01:55:59 pm »
how do i get the 010 templates?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Eluo

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 509
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #13 on: April 30, 2012, 08:02:16 pm »
viewtopic.php?f=59&t=828

@download section
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
One is a genius, the other\'s insane!

lemex

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 1
    • View Profile
Re: [TUTORIAL] How to port models from Cata to WOTLK
« Reply #14 on: May 03, 2012, 07:43:02 am »
*ERROR Line 433: Template passed end of file at variable 'timestamp'. WTF ???
« Last Edit: January 01, 1970, 01:00:00 am by Admin »