wurstscript / WurstScript

Programming language and toolkit to create Warcraft III Maps
https://wurstlang.org
Apache License 2.0
225 stars 30 forks source link

wurst fails very ungracefully when used with reign of chaos map files #335

Closed Cokemonkey11 closed 9 years ago

Cokemonkey11 commented 9 years ago

If you try to compile a map written in wurst, but the map file is w3m rather than w3x, it produces very obscure errors about missing mpq objects.

Frotty commented 9 years ago

Yes, it is mentioned in the manual. Wurst only supports w3x. https://peq.github.io/WurstScript/installation.html

Cokemonkey11 commented 9 years ago

Indeed, it's also repeated that it's necessary in your tutorials.

Still a bug.

Cokemonkey11 opened this 1 minute ago

peq commented 9 years ago

I agree that it is a bug. If I remember correctly, there was something strange about it. There was a reason why we said that we just support w3x. I will have to look into it again.

Cokemonkey11 commented 9 years ago

In the worst case, providing a useful error, for example

Wurst only supports frozen throne map files (.w3x)

would at least prevent issues like #334 :+1: