Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: Keta on December 09, 2011, 07:50:36 pm
-
Hey Modcraft
I was hoping to see if one/some of you epic C++/C#/Java/Python/whatever, could make a program that would scan through an entire ADT and tell the user what is wrong with the ADT? Cause currently I have one/some ADT's that I can't figure out the error about...
- Wow crashes.
- Noggit can load it just fine.
- The log doesn't report any texture or model missing.
So I can't really seem to figure out the problem, however I really don't feel like making it all over again >.<
Thanks
Keta
-
Most time that are bad model paths or spawns.
Just use loadinfo and fileinfo and delete all models from the adt and test it again. If tis work add again step by step you model patches and spawms.
This way i fixed a lot of adts.
-
The reason such applications do not exist are the same as why there are errors:
The file format is still not completely known.
Users can make errors a lot more often than the applications and applications can't do anything against it.
While actually, the first reason is the ultimate reason anyway. You just can't write an application to fix stuff, when you don't know what is wrong with it, since you don't know how it should be.
How would you fix that?
Noggit tries writing files as "good" as possible. It does not even modify any file but completely rewrites the file upon saving.
Still, if this rewritten file is "bad", there is nothing I can do about it, as as far as I know the files produced are "perfect".
This is an endless circle. You can't fix stuff, if you know nothing more than you do and think you're doing it right. What should be wrong then?
-
I got many noggit adts in the last weeks and the only wrong stuff there was always wrong model pathes :)
-
Well then I don't really know who to blame for this problem, cause... Im using the build 3.279+, and I've only spawned models with the Assist -> Import WMO/M2, and that worked fine every time... :s
Thanks
Keta
PS. Nope, removing all objects didn't fix it. Still crashes.
-
Well, as you only provide, that it crashes, one can't really help you there.
-
You could try to save the stuff from the adt via injection function.
If it works...
-
Well, as you only provide, that it crashes, one can't really help you there.
What do you want me to provide? The log from Noggit? Says NOTHING of value. Neither does the Wow crash. All I can tell is when I walk there ingame, the water doesn't show before it crashes. But already tried without water. No difference.
You could try to save the stuff from the adt via injection function.
If it works...
What exactly are you talking about...? :o Please, do enlighten me xP
Thanks
Keta
-
Wait your client crashes when you walk into water?.... I had that some time ago too....
Whatever. Well you could try to use taliis' injection function. Just have another adt aviable and then extract as much information as you can from the original adt.
That sometimes helps.
-
Nono, it doesn't crash when I walk into water. It crashes when the client tries to load the water on the custom ADTs.
And I have 2 problems.
1) Taliis wont open my ADTs
2) I've never been able to make a successful ground height export and import. Always gave me a totally fcked up ground height.
Thanks
Keta
-
There's something I don't get in your description of the problem... You say the game crashes when it loads water, and earlier you wrote -- if I understand it right -- it's also crashing when you tried without water... So how could it be water ?
For Taliis, you could try re-saving a copy of your corrupted adt with rev104 first, it may work better at least for opening it with Taliis.
-
There's something I don't get in your description of the problem... You say the game crashes when it loads water, and earlier you wrote -- if I understand it right -- it's also crashing when you tried without water... So how could it be water ?
For Taliis, you could try re-saving a copy of your corrupted adt with rev104 first, it may work better at least for opening it with Taliis.
Good point with the Taliis thing.
And yea, I said it crashed. I said it crashed before it loaded water. Though I also tried without water on the ADTs. I just wanted to point out that the water isn't the problem. But if someone knows the pattern for how Wow loads objects, you might be able to determine the problem a little easier :p