Page 1 of 1

Error when importing ships

Posted: Sat Nov 17, 2007 10:15 pm
by Beowulf
Hi,

for some ships that I try to import into Vegastrike I get errors like this:

Code: Select all

vegastrike-bin: src/gfx/mesh_gfx.cpp:178: Texture* Mesh::TempGetTexture(MeshXML*, int, std::string) const: Assertion `index<(int)xml->decals.size()' failed.
I took a look at the Vegastrike sourcecode but I have no idea what this assertion means. Does anybody know? Maybe it would make sense to add an error message here that gives modders a clue about what went wrong ;)

Posted: Tue Nov 27, 2007 8:49 am
by ace123
That means somewhere it's referencing some texture (a "decal"?) that you don't have.

Not too much idea what this error means either.
What version are you running? 0.4.3? or 0.5.0?

Can you post your mesh files and the corresponding unit CSV row(s), or at least a simplified version so maybe I can figure out exactly what is happening?

Looks like it could be an attribute to the <MESH> tag (if you mesher convert to XML)... not sure about the BXM specifically?

Posted: Wed Nov 28, 2007 3:27 pm
by Beowulf
I'm running the latest subversion head. I'm using bfxm, not xmesh files in the game. You can download the relevant files from
http://www.hawo.stw.uni-erlangen.de/~si ... ceptor.csv
http://www.hawo.stw.uni-erlangen.de/~si ... tor.tar.gz
and
http://www.hawo.stw.uni-erlangen.de/~si ... esh.tar.gz