added 3dsx support

This adds 3dsx support
should be `delete[]` instead of `delete`, because you are deleting an array.