Reads BFRES in Rust
Thanks to:
- Custom Mario Kart 8 Wiki for file specification
- BFRESTool on how to use Index Groups
- OBJ Wikipedia Article for exporting OBJ
- GTX-Extractor for the de-swizzling code, I did not come up with that
Run the Basic Info:
> cargo run --release --bin basic_info your_file.sbfresRun the OBJ Exporter:
> cargo run --release --bin obj_exporter your_file.sbfres output_folderRun the Texture Exporter:
> cargo run --release --bin texture_export your_file.sbfres output_folderPossible Improvements:
- Make a more convenient way of using Vertices and related data
- Read Skeleton related data
- DAE Export (Incl. Vertices, Materials, Skeleton)
- OBJ + Material export
- Write documentation
- Get rid of every unimplemented and assert_eq
- Smart Reader for both Big and Little Endian
- Fix UV Export and export more attributes