Forum > Software Development

[WIP] LK to BC M2 converter in C (aka The Endless Nightmare)

(1/4) > >>

spik96:
Hi =)
First of all, sorry for my mistakes in the English language.

A week ago I started a converter in ANSI C between two M2 model formats : Wrath of the Lich King and The Burning Crusade. I used Stan84's converter as a reference. I will try to keep it well documented.

I want to load the whole model in structures. This is a different approach of what most people tried in the past (copying the file THEN modify it). I want to be able to, step by step
1) Parse it
2) Convert it
3) Write it

So when the day will come more converting options could be added.

I'm still at the parsing stage...
So far I have passed on Cameras, Ribbons and Partcles.. but Animations should be parsed properly. This was really hard due to the "layer" nature of animations (a suite of number and file-relative offsets) and the lack of templates in C.
I'm just a beginner student. In some parts, the code could be an algorithmic heresy.

I'm alone and I find this really difficult. If you know C programming and want to review the code and/or contribute, here is the GitHub page :

https://github.com/Koward/LKBC_Converter

Skarn:
That's nice to know that someone is actually contributing to some software. Though, I've never understood why people stick with TBC or Vanilla. If you don't want LK content you can just remove or block it inside 3.3.5a and make 70 lvl cup. And you get achievements and all cool LK stuff and also better graphics. Also there is a bunch of tools for 3.3.5a, so modding it is much more easier.

spik96:
I don't know about the others, but my reasons for sticking with an old version are clear.
First of all, I like the old gameplay better. Without LFG tools and some convenience things Blizzard added (=>No LK). And I don't like flying mounts (they are a design error imo)(=>No BC).

"Just remove them from a 3.3.5a version then !" you may say.
Well, I don't think a custom server can reach the population of "stock" versions server. That's why I'm mainly playing on private vanilla servers.

I like the gameplay, that doesn't mean I can't like the new graphics Blizzard added later. So I'm trying to bring them on my old client. There is already a pretty good TBC>Classic converter, but no LK>BC, so I try to code one. If I succeed, I will be able to use the powerful tools existing for 3.3.5a models and then convert the models to TBC and after that to Vanilla.

Yeah, I kind of like hardcore things.

Skarn:
Here you go. http://www.ownedcore.com/forums/attachm ... -lk2bc.rar

spik96:
The converter you linked is limited. It can't convert creatures with a lot of animations. Its collision writing can bug when there is no collision in the original model (easy to fix tho, just a check on header values).
I have the source of this converter however and it has been really useful to start (even if most things have to be rewritten from scratch).

Navigation

[0] Message Index

[#] Next page

Go to full version