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: [HELP] Converted wmo error  (Read 2322 times)

Snips

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
[HELP] Converted wmo error
« 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

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [HELP] Converted wmo error
« Reply #1 on: September 17, 2017, 06:18:27 pm »
"*ERROR Line 616: Error on read file. "

impossible to debug without knowing what line 616 (and surrounding) are, and without the input file.

Snips

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [HELP] Converted wmo error
« Reply #2 on: September 17, 2017, 06:50:33 pm »
Huh... i swear i added them to the album, stupid imgur. I have added them now.

Supora

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [HELP] Converted wmo error
« Reply #3 on: September 17, 2017, 07:48:56 pm »
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).
« Last Edit: September 17, 2017, 07:53:50 pm by Supora »

Snips

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [HELP] Converted wmo error
« Reply #4 on: September 17, 2017, 08:01:08 pm »
This could be the problem?. https://imgur.com/a/wl4vx
« Last Edit: September 17, 2017, 08:03:36 pm by Snips »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [HELP] Converted wmo error
« Reply #5 on: September 17, 2017, 08:05:03 pm »
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.

Snips

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [HELP] Converted wmo error
« Reply #6 on: September 17, 2017, 08:13:12 pm »
Arghh this is irritation, well I will keep trying things and let you known if I fix it.

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [HELP] Converted wmo error
« Reply #7 on: September 17, 2017, 08:14:17 pm »
If you upload the unmodified and modified (crashing) wmo I can probably give it a look in an hour or two.

Snips

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [HELP] Converted wmo error
« Reply #8 on: September 17, 2017, 08:56:20 pm »
Oh thank you so much, I have to go out to a wedding right now but I will upload the files tomorrow. Thanks.

Snips

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [HELP] Converted wmo error
« Reply #9 on: September 18, 2017, 09:01:13 am »
Ok i have put the converted and unconverted files into this file.

https://mega.nz/#!ZmwGHQJa!30d4KQAssTwHkvforsTPcBMNaMH-2DqFme1_8qfgogc

Snips

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [HELP] Converted wmo error
« Reply #10 on: September 19, 2017, 02:04:49 pm »
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...

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [HELP] Converted wmo error
« Reply #11 on: September 19, 2017, 09:41:34 pm »
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.

Snips

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [HELP] Converted wmo error
« Reply #12 on: September 20, 2017, 08:38:19 am »
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 :)