added 3dsx support

This adds 3dsx support
Why are you casting to char* here?