rust3ds / cargo-3ds

Cargo command to work with Nintendo 3DS project binaries.
Apache License 2.0
56 stars 10 forks source link

devkitPRO depedencing isn't great #2

Open Meziu opened 2 years ago

Meziu commented 2 years ago

Having dependencies on third party tools that must be in range of the environment commands isn't a good idea. Also, smdhtool isn't designed very well, and misses some features. Rewriting the tools in Rust, in the form of libraries for the main binary, would be the best approach, but it will take quite some time.

Maccraft123 commented 9 months ago

Hey, so the other day I made a Rust library that could make this possible if it gets more support for creating files and not just reading them, currently, out of creating files it only supports making FIRM files, but it could be extended to support making other files. Note that SMDH image format is very annoying to work with and it has been shelved temporarily.

https://github.com/Maccraft123/cytryna/

Meziu commented 9 months ago

Wow, that's some very interesting work! Please update us if you manage to write valid .smdh files, as we could really gain from your contributions.

This could also open the door for .cia or other formats, but I'd like to keep it simple for now.

Maccraft123 commented 9 months ago

Please update us if you manage to write valid .smdh files

Done, already had it on mind for a while so I just grabbed some code that i shelved https://github.com/Maccraft123/cytryna/commit/d97cde5c6231556e7b9a5958347d6d8f2638ed7a