Super Mario Galaxy 2 Tico.bmd (from Tico.arc): mesh couldn't be built (bpy.ops.paint.add_simple_uvs.poll() failed, context is incorrect)
Trying to import said file results in a flat-shaded mesh with no armature, vertex weights, custom normals, Color attributes or UVs.
line 222, replacing it with TexH.newUVLayer(modelMesh, self.model, uv) makes everyhting but the UVs load correctly, although some of the animations have near-360 degree twist for some of the bones, so something's up with that.
checking in J3Dview, there's definitely something wrong with how this imports animations, seems to be an issue where scale and transform are also interpreted as rotation data, but that's a different issue.
I don't know what fixed this, but it's perfectly fine now