I'm trying to dev a generic Java class ArrayRef<T> (an n&ofs leading to an array of generic type T objects) and a getContent() method that return an actual array of T elements. This is based on http://www.wowdev.wiki/index.php ... animationsYou may say easy, just follow the offset and read what you want.But nooo because there is f*cking type erasure. Depending on T you have to read a different number of bytes and you don't know T at runtime ! This is madness. No, this is JAVAAA.A friend of mine said "I see you create many functions for many types in your C program. If you were using Java, you could make generic things !". Meh.
Don't have anything to really show for it yet, but I too have been working on parsing M2s. My focus is on lights though, because I'm trying to build a visual light editor that hopefully doesn't have the bugs that lightadder has.I'm writing the logic in C++ and the UI in Objective-C. Why Objective-C? Because I'm firstly making the tool for myself and I use a Mac and because making UIs with Cocoa is amazing (even Qt is painful in comparison). I'll see about other platforms once the tool is more complete.
Quote from: "iindigo"Don't have anything to really show for it yet, but I too have been working on parsing M2s. My focus is on lights though, because I'm trying to build a visual light editor that hopefully doesn't have the bugs that lightadder has.I'm writing the logic in C++ and the UI in Objective-C. Why Objective-C? Because I'm firstly making the tool for myself and I use a Mac and because making UIs with Cocoa is amazing (even Qt is painful in comparison). I'll see about other platforms once the tool is more complete.Lightadder does not have bugs. They are client side limits of 3.3.5a. Blizzard lights are also bugged.
Legion map to Wod Map, with m2 wmo and blp_adt without m2 and wmo textures.Going in 7.x adts, take 95% of my processor and make a huge lag, you better have a very good computer if u want to explore.