added 3dsx support

This adds 3dsx support
Dead code in comments is pretty ugly, please make a proper comment or just remove the code.