Modcraft - The community dedicated to quality WoW modding!
Community => Random => Topic started by: Snips on September 17, 2017, 06:07:47 pm
-
Hi modcraft, i am in the process of converting the legion stormwind wmo files, all of the files work and are shown in game, modelviewer and noggit just fine. However when i try to open sw_tradedistrict.wmo in 010 editor to check what textures it uses, it shows me but also produces an error *ERROR Line 616: Error on read file.
I think this is causing my game to crash when i try to look at certain places of the wmo.
Here is a visual understanding of what i am talking about: https://imgur.com/a/JA2zi
-
"*ERROR Line 616: Error on read file. "
impossible to debug without knowing what line 616 (and surrounding) are, and without the input file.
-
Huh... i swear i added them to the album, stupid imgur. I have added them now.
-
Modelviewer show those textures like this just because it's a two-layered material. BTW theme might be some errors with the flags in root wmo when you use materials that required more than one mocv chunk. So maybe you can upload yours root files(no need for me in group files).
-
This could be the problem?. https://imgur.com/a/wl4vx
-
Welp, that error as is is still undebuggable as it is in a completely generic function with zero indication what it currently is parsing, sorry.
Your suspicion about it being missing things might be misleading: after all the template stopped being evaluated so there sure is some part of the file not handled. Likely the last block of data that is visible is somehow corrupted.
-
Arghh this is irritation, well I will keep trying things and let you known if I fix it.
-
If you upload the unmodified and modified (crashing) wmo I can probably give it a look in an hour or two.
-
Oh thank you so much, I have to go out to a wedding right now but I will upload the files tomorrow. Thanks.
-
Ok i have put the converted and unconverted files into this file.
https://mega.nz/#!ZmwGHQJa!30d4KQAssTwHkvforsTPcBMNaMH-2DqFme1_8qfgogc
-
I have just tried to use the cataclysm trade district WMO, and that works better than the legion WMO, but it still crashes when you look at it for a while. Something is very weird with this WMO...
-
No idea why it would be crashing after some time. That doesn't sound like something that a WMO could cause.
The only difference between sw_cathedraldistrict.wmo and sw_tradedistrict.wmo in your zip is that sw_cathedraldistrict.wmo has a MOSB chunk that just contains 4x 00 bytes. This is also why your 010 editor template shows bogus data.
I don't see why that would crash anything though.
-
Well this is certainly strange. I have just converted the cataclysm version of sw_tradedistrict. And i get almost the same error, except this time i can look at it for about 7 seconds before wow crashes without error. Maybe 3.3.5 just doesn't work with this wmo?
Thanks for looking anyway :)