3 ms·
For my Mario Maker 2 level viewer, I used binrw in Rust (compiled to wasm) to parse the level data, it was quite a nice experience, very declarative. Lib: http
by andrewingram 5y ago
For my Mario Maker 2 level viewer, I used binrw in Rust (compiled to wasm) to parse the level data, it was quite a nice experience, very declarative.
Lib: https://github.com/jam1garner/binrw https://github.com/jam1garner/binrw
Example level (a little slow to load): https://www.smm2-viewer.com/courses/BMV-CN5-4DG https://www.smm2-viewer.com/courses/BMV-CN5-4DG
- echelon 5y agoThis is fantastically cool, Andrew! That you reverse engineered Nintendo's API and data model, that you built a lovely and retro visualizer, that you made it a social tool. The technical details. Rust. Wasm. Everything about this rocks. Keep it up!
- andrewingram 5y agoThanks! I can't claim credit for the API and reverse engineering of the data model (https://github.com/0Liam/smm2-documentation https://github.com/0Liam/smm2-documentation), standing on the shoulder of giants here. But the original level viewer was a windows app which I couldn't use (there are since a handful of web ports of it); it seemed like an opportunity to learn a few technologies (Rust, WASM). There were a lot of interesting problems, i'll do a proper write-up one day.