Skip to content

docs: state what conversion actually does to assets at transfer - #39

Merged
antoinevalentinHA merged 1 commit into
masterfrom
claude/readme-formats-regression-tuco9f
Aug 21, 2026
Merged

docs: state what conversion actually does to assets at transfer#39
antoinevalentinHA merged 1 commit into
masterfrom
claude/readme-formats-regression-tuco9f

Conversation

@antoinevalentinHA

Copy link
Copy Markdown
Owner

The regression

The sentence "formats marked with asterisks are automatically converted when transferring to the device" was added upstream in November 2019, together with the markers it explains — the list then read MP3\*\*, OGG/Vorbis \*\*, and on the image side PNG\*\*, JPEG\*\*. The rewrite readme commit of 24 May 2021 removed the markers and kept the sentence.

All four lists are affected — images and audio, in README.md and in README_fr.md. Since then the text points at marks that are not there: a reader cannot tell which formats are converted and which the device consumes as they are. The information is not badly presented, it is absent.

Why not just put the asterisks back

Restoring them would restore an approximation. In PackAssetsCompression, what triggers a conversion depends on the pack format being written, and BMP is not exempt:

  • Raw (firmware v1.x, withUncompressedAssets) — PNG/JPEG become 24-bit BMP, OGG/MP3 become WAVE. A BMP or a WAVE is written out as it stands; its bit depth and sample parameters are never checked.
  • FS (firmware v2.x, withPreparedAssetsFirmware2dot4) — everything becomes 4-bit RLE BMP and MP3. A 24-bit BMP is re-encoded here, and an MP3 that is not mono/44100 Hz is re-encoded too; an MP3 kept as it is has its ID3 tags removed.

So "BMP = no conversion" is false in general, and the honest form is a sentence, not a mark.

What this changes

  • The dangling parenthetical is removed from the four list intros; the lists themselves are untouched.
  • A new Conversion when transferring subsection (both languages) states what each pack format carries, that anything else is converted while the transfer is prepared, and that the Raw path enforces nothing — meeting the listed constraints is the user's job, not something the conversion will fix.
  • The upstream-README inventory in Relationship to upstream / Relation avec le projet amont gains this divergence, so the file keeps telling the truth about what it has edited.

Documentation only — no code touched.


Generated by Claude Code

The sentence "formats marked with asterisks are automatically converted
when transferring to the device" was added upstream in November 2019
together with the markers it explains (MP3**, OGG/Vorbis**, PNG**,
JPEG**). The "rewrite readme" commit of 24 May 2021 removed the markers
and kept the sentence, so all four lists -- images and audio, in both
READMEs -- have since pointed at marks that are not there. The reader
could no longer tell which formats are converted and which are not.

Restoring the asterisks would restore an approximation. What triggers a
conversion in PackAssetsCompression depends on the pack format being
written, and BMP is not exempt: on the FS path a 24-bit BMP is
re-encoded into 4-bit/RLE, and an MP3 that is not mono/44100 Hz is
re-encoded too. Conversely the Raw path writes a BMP or a WAVE out as it
stands, without checking bit depth or sample parameters.

So state it as a paragraph rather than a mark: what each pack format
carries, that anything else is converted while the transfer is prepared,
and that the Raw path enforces nothing -- meeting the listed constraints
is the user's job. The format lists themselves are left as they were,
minus the dangling parenthetical.

The upstream-README inventory in "Relationship to upstream" gains this
divergence, so the file keeps telling the truth about itself.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TkkVuQpm7gwzfT43tyoPR3
@antoinevalentinHA
antoinevalentinHA marked this pull request as ready for review August 21, 2026 19:09
@antoinevalentinHA
antoinevalentinHA merged commit 937f1eb into master Aug 21, 2026
3 checks passed
@antoinevalentinHA
antoinevalentinHA deleted the claude/readme-formats-regression-tuco9f branch August 21, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants