added 3dsx support

This adds 3dsx support
No need to use `struct` here.