Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
3cc4a7f
feat: add Mii (gen2) decoder/encoder
jonbarrow Feb 7, 2025
c06db1c
chore: fix MiiGen2 field validation error messages
jonbarrow Feb 7, 2025
855d93f
chore: port MiiGen2 to real class names
jonbarrow Sep 20, 2025
6458004
feat(mii): switch to binary-parser for FFLiMiiDataCore
jonbarrow Sep 20, 2025
a88984b
feat(mii): use official field names in FFLiMiiDataCore
jonbarrow Sep 21, 2025
82098a3
feat(mii): add createID to FFLiMiiDataCore
jonbarrow Sep 21, 2025
dcc3a6a
feat(mii): add TSDoc comments to FFLiMiiDataCore fields
jonbarrow Sep 21, 2025
307fff1
fix(mii): correct bit orders in FFLiMiiDataCore
jonbarrow Sep 21, 2025
8dde330
feat(mii): add mii class aliases for v3 miis
jonbarrow Sep 21, 2025
8e869e5
feat(mii): add enums for FFLiMiiDataCore
jonbarrow Sep 21, 2025
21332ba
feat(mii): replace binary-parser with custom parser
jonbarrow Sep 23, 2025
dcbdb0e
feat(binary-parser): add min/max options for number fields
jonbarrow Sep 23, 2025
c8a5089
feat(binary-parser): add custom validation function
jonbarrow Sep 23, 2025
72a14c9
feat(mii): add MiiStudioEncoder
jonbarrow Sep 23, 2025
b520d94
feat(mii): export FFLiMiiDataCore enums
jonbarrow Sep 23, 2025
b653522
chore(mii): note that FFLiMiiDataCore.creationDate is seconds divided…
jonbarrow Sep 23, 2025
7c0bb0d
chore(mii): fix order of FFLiMiiDataCore "createID" sub-fields
jonbarrow Sep 23, 2025
03a0337
chore(binary-parser): rename "structure" to "commands"
jonbarrow Sep 23, 2025
b688256
chore(binary-parser): remove unnecessary extra uint command type
jonbarrow Sep 23, 2025
e7c9b6c
chore(binary-parser): remove unnecessary "bits: 0" sections
jonbarrow Sep 23, 2025
ed1ea2c
chore(binary-parser/mii): make parser BE by default to match original…
jonbarrow Sep 23, 2025
5dcf550
feat(binary-parser): add signed int support
jonbarrow Sep 23, 2025
4c67797
feat(binary-parser): simplify signed/unsigned support
jonbarrow Sep 23, 2025
61ef44e
chore: update @types/node
jonbarrow Sep 23, 2025
09c4660
chore(stream): check if input is of type Stream
jonbarrow Sep 23, 2025
532ddbb
chore: add "skipLibCheck": true to tsconfig
jonbarrow Sep 23, 2025
715486e
feat: add license
jonbarrow Sep 23, 2025
0855890
chore(mii): rename fields to "official" and "core", as per official n…
jonbarrow Sep 23, 2025
414f48d
feat: move to tsup
jonbarrow Sep 23, 2025
979074d
feat(mii): start of browser support
jonbarrow Sep 23, 2025
73f4923
feat: add .DS_Store to .gitignore
jonbarrow Sep 30, 2025
5708396
feat(miis): add TSDoc comments where missing
jonbarrow Sep 30, 2025
71ddef3
chore(binary-parser): make TypeScript accept data.buffer in BitStream
jonbarrow Sep 30, 2025
776f771
feat(miis): add Mii class exports to package.json
jonbarrow Sep 30, 2025
879134a
chore(miis): mark Mii data as supported in README
jonbarrow Sep 30, 2025
cb86c31
fix(file-stream): fix conditional fs module import for browsers
jonbarrow Sep 30, 2025
52d1268
chore(file-stream): remove unused fs field
jonbarrow Sep 30, 2025
63959bc
chore(binary-parser): simplify encode/parse methods
jonbarrow Sep 30, 2025
c3c5881
feat(binary-parser): prettify generated types
jonbarrow Sep 30, 2025
b8a1104
chore(binary-parser): move lastField from instance to local
jonbarrow Sep 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ test
*.cia
*.tmd
*.tik
*.app
*.app
.DS_Store
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Some classes support encoding the data back into a buffer. This is done through
- [x] Ticket. Does not decrypt title key
- [ ] Encrypted title parts (`.app` files)
- [ ] Title hashes (`.h3` files)
- [ ] Mii data
- [x] Mii data
- [x] MSBT. Parses:
- [x] LBL1
- [x] ATR1
Expand All @@ -76,7 +76,7 @@ Some classes support encoding the data back into a buffer. This is done through
- [x] Ticket. Does not decrypt title key
- [ ] Encrypted title parts (`.app` files)
- [ ] Title hashes (`.h3` files)
- [ ] Mii data
- [x] Mii data
- [ ] MSBT
- [ ] BYML/BYAML
- [ ] SARC
Expand Down
Loading