Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added support for folder structure via
-t
-argument to resolve #6Forced the page length to 135, longer or shorter seems to always fail. This should fix #5
Skipping anything after, padding zeroes where shorter. I've had success with generating working .nfc-files after this fix, where it previously failed. The .bins I've imported in Ally that was shorter, is also 135 pages (appended zeroes at end) when written to NTAG215 and read by flipper, so it seems Ally also does something like this.
Edit: NTAG capacity is 540 bytes (135pages), so I suppose this is why the larger files fail.
Updated README.md to reflect on how the script is actually run, resolves #2
Some minor tweaks and adjustments in text.
If you want to test for the page length, look for .bin-files that differs from 540bytes, so far I've seen 572bytes and 532bytes.
Look in the folders of
PowerUpBands
,Power Pros
,Mario Sports Superstars - Golf and Soccer
,Box Boy
,Diablo
, and some of the files inSuper Smash Bros
-if you're sitting on the same .bins as me. I've testet most of them in BOTW on my Switch.