site 2.0.1: flash bar stays in place under the mods, tidied up for phones

- The flash bar is a plain card in the page flow (no sticky/floating).
- Head, legend and "What each mod takes" tidied: values no longer break
  mid-number, sizes like "< 0.1 KB" stay on one line, the shared row is set
  apart; on phones each mod's name and size sit over a full-width bar.
- The list stays open when a mod is ticked or unticked.
- Phones: each mod's tags and flash share sit under its text instead of
  spilling out of the checkbox column.
- make_builder_data.py: the boot text stamp leaves the release tags'
  "New in Pionaarr Mods 2.0.0" alone.
- Boot text Pionaarr Mods 2.0.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Thiemo TizianiandClaude Opus 5.5 committed 2026-11-15 20:05:58 +01:00
1 parent ff32f83297
commit d77c7a9dc1
14 files changed
+115 -54

No files matched your search

+1 -1
View File
@@ -1 +1 @@
{"mods/patch_cdj900nxs.py":"#!/usr/bin/env python3\n# SPDX-License-Identifier: GPL-2.0-or-later\n\"\"\"Apply arnoldasr's CDJ-900NXS 1.31 mods to the unpacked MAIN image.\n\n usage: patch_cdj900nxs.py <main_unpacked.bin> <patched.bin> <mod>[,<mod>...]\n patch_cdj900nxs.py --list\n\nThe mods come from https://github.com/arnoldasr/cdj900nxs, read as data from a\ncheckout of it (CDJ900NXS_MODS_SRC, default mods/cdj900nxs/upstream, which is\nnot committed: that repository carries no licence). Nothing of its Python is\nimported; what its build_firmware.py does is redone here:\n\n extended_bpm the BPM with hundredths: the stock tenths moved into a new\n small digit above, the lower one showing hundredths.\n phasemeter the two-line phase meter (orange master, blue this deck, a\n marker each) in place of the four boxes, chosen in UTILITY >\n PHASE METER (SLIP FLASHING relabelled; mods/phase-meter-\n utility.cdjmod.json).\n advanced_waveforms (was rgb_waveform; based on arnoldasr's, updated and\n maintained by us) the big waveform in rekordbox's RGB colours\n (1.0.1: also when its colour detail is a little short,\n cdj900nxs/wavefix.py), and the overview's colour table as a red-to-white\n gradient (mods/waveform-colour.cdjmod.json); with our\n UTILITY > WAVEFORM: BLUE / RGB / 3BAND (cdj900nxs/wavemodes.py,\n left out with public=True).\n\n The three are arnoldasr's code mod (patches/mods.json): hooks\n in the application redirected to SH-4 code appended after it\n (0x08FC1000), plus an asset blob at 0x08FC2D00 generated from\n the stock image (the resource table extended by four phase-meter\n images, then the RGB waveform palette and LUT). Upstream tested\n it as one build, and as one without the RGB waveform\n (patches/bpm-phase-meter.json); one of those two is built and\n checked against its hash first, then the hooks of a feature not\n chosen get their original bytes back. Their shared startup hook\n (0x08C071FC) installs the BPM digits and the phase markers: the\n call of the one not chosen is taken out there.\n beatjump ours, not arnoldasr's (cdj900nxs/beatjump.py): TRACK SEARCH\n jumps 1/2/4/8 beats along the grid, chosen in UTILITY > BEAT JUMP,\n made at once in the DSP's decoded audio (cdj900nxs/dspjump.py, a\n patch of the audio DSP's code),\n which replaces SCREEN SAVER. hotcuekeys' engine makes the jumps,\n so it needs hotcuekeys and cuecolours. Needs no upstream checkout.\n cuecolours ours (cdj900nxs/cuecolours.py): memory cues drawn in their\n rekordbox colour on the overview and the detail waveform, the\n rekordbox hot cues shown as lettered boxes.\n Needs no upstream checkout.\n hotcuekeys ours (cdj900nxs/hotcuekeys.py): UTILITY > HOT CUE KEYS (a new,\n 18th item); with it ON, QUANTIZE briefly pressed switches a hot\n cue key mode shown in a HOT KEYS box, held it is QUANTIZE. In\n the mode the top three BEAT DIVIDE keys play hot cues A-C (held: a\n gate), set one (empty key held while paused) or delete one\n (DELETE held). The hot cues come from cuecolours.\n ledsaver ours (cdj900nxs/ledsaver.py): UTILITY > LED ANIMATION (one more\n item, after the others); with it ON, while the screen saver dims\n the display the button LEDs and the jog's rings play a loop.\n keynotation ours (cdj900nxs/keynotation.py): UTILITY > KEY NOTATION (one\n more item): every track's key in Camelot, Open Key or classic\n notation, whatever rekordbox exported.\n usbautoload ours (cdj900nxs/usbautoload.py): UTILITY > USB AUTO LOAD (one\n more item): a stick's MY SETTINGS are loaded when the player finds\n them, without waiting for MENU.\n quicksearch ours (cdj900nxs/quicksearch.py): BROWSE held opens SEARCH,\n BROWSE twice the list the playing track came from; the screen\n holds its frame while the player walks there, so no step shows.\n browseinfo ours (cdj900nxs/browseinfo.py): every track row in BROWSE shows\n its BPM and key on the right, read from the stick's rekordbox\n export (the key in KEY NOTATION's notation and colour).\n (phasemeter also gets ours from cdj900nxs/phasereverse.py:\n UTILITY > PHASE METER STOCK / V1 / V1 REVERSE / V2, and the beat countdown\n moved clear of the line meter; `phasereverse` is an old name for it.)\n wide_waveform ours (cdj900nxs/widewave.py): the big waveform runs on to the\n right edge (624 columns, the extra ones ahead of the position); the\n ZOOM/GRID wheel gives way to a small grey ZOOM / GRID box.\n divhold ours (cdj900nxs/divhold.pLine truncated
{"mods/patch_cdj900nxs.py":"#!/usr/bin/env python3\n# SPDX-License-Identifier: GPL-2.0-or-later\n\"\"\"Apply arnoldasr's CDJ-900NXS 1.31 mods to the unpacked MAIN image.\n\n usage: patch_cdj900nxs.py <main_unpacked.bin> <patched.bin> <mod>[,<mod>...]\n patch_cdj900nxs.py --list\n\nThe mods come from https://github.com/arnoldasr/cdj900nxs, read as data from a\ncheckout of it (CDJ900NXS_MODS_SRC, default mods/cdj900nxs/upstream, which is\nnot committed: that repository carries no licence). Nothing of its Python is\nimported; what its build_firmware.py does is redone here:\n\n extended_bpm the BPM with hundredths: the stock tenths moved into a new\n small digit above, the lower one showing hundredths.\n phasemeter the two-line phase meter (orange master, blue this deck, a\n marker each) in place of the four boxes, chosen in UTILITY >\n PHASE METER (SLIP FLASHING relabelled; mods/phase-meter-\n utility.cdjmod.json).\n advanced_waveforms (was rgb_waveform; based on arnoldasr's, updated and\n maintained by us) the big waveform in rekordbox's RGB colours\n (1.0.1: also when its colour detail is a little short,\n cdj900nxs/wavefix.py), and the overview's colour table as a red-to-white\n gradient (mods/waveform-colour.cdjmod.json); with our\n UTILITY > WAVEFORM: BLUE / RGB / 3BAND (cdj900nxs/wavemodes.py,\n left out with public=True).\n\n The three are arnoldasr's code mod (patches/mods.json): hooks\n in the application redirected to SH-4 code appended after it\n (0x08FC1000), plus an asset blob at 0x08FC2D00 generated from\n the stock image (the resource table extended by four phase-meter\n images, then the RGB waveform palette and LUT). Upstream tested\n it as one build, and as one without the RGB waveform\n (patches/bpm-phase-meter.json); one of those two is built and\n checked against its hash first, then the hooks of a feature not\n chosen get their original bytes back. Their shared startup hook\n (0x08C071FC) installs the BPM digits and the phase markers: the\n call of the one not chosen is taken out there.\n beatjump ours, not arnoldasr's (cdj900nxs/beatjump.py): TRACK SEARCH\n jumps 1/2/4/8 beats along the grid, chosen in UTILITY > BEAT JUMP,\n made at once in the DSP's decoded audio (cdj900nxs/dspjump.py, a\n patch of the audio DSP's code),\n which replaces SCREEN SAVER. hotcuekeys' engine makes the jumps,\n so it needs hotcuekeys and cuecolours. Needs no upstream checkout.\n cuecolours ours (cdj900nxs/cuecolours.py): memory cues drawn in their\n rekordbox colour on the overview and the detail waveform, the\n rekordbox hot cues shown as lettered boxes.\n Needs no upstream checkout.\n hotcuekeys ours (cdj900nxs/hotcuekeys.py): UTILITY > HOT CUE KEYS (a new,\n 18th item); with it ON, QUANTIZE briefly pressed switches a hot\n cue key mode shown in a HOT KEYS box, held it is QUANTIZE. In\n the mode the top three BEAT DIVIDE keys play hot cues A-C (held: a\n gate), set one (empty key held while paused) or delete one\n (DELETE held). The hot cues come from cuecolours.\n ledsaver ours (cdj900nxs/ledsaver.py): UTILITY > LED ANIMATION (one more\n item, after the others); with it ON, while the screen saver dims\n the display the button LEDs and the jog's rings play a loop.\n keynotation ours (cdj900nxs/keynotation.py): UTILITY > KEY NOTATION (one\n more item): every track's key in Camelot, Open Key or classic\n notation, whatever rekordbox exported.\n usbautoload ours (cdj900nxs/usbautoload.py): UTILITY > USB AUTO LOAD (one\n more item): a stick's MY SETTINGS are loaded when the player finds\n them, without waiting for MENU.\n quicksearch ours (cdj900nxs/quicksearch.py): BROWSE held opens SEARCH,\n BROWSE twice the list the playing track came from; the screen\n holds its frame while the player walks there, so no step shows.\n browseinfo ours (cdj900nxs/browseinfo.py): every track row in BROWSE shows\n its BPM and key on the right, read from the stick's rekordbox\n export (the key in KEY NOTATION's notation and colour).\n (phasemeter also gets ours from cdj900nxs/phasereverse.py:\n UTILITY > PHASE METER STOCK / V1 / V1 REVERSE / V2, and the beat countdown\n moved clear of the line meter; `phasereverse` is an old name for it.)\n wide_waveform ours (cdj900nxs/widewave.py): the big waveform runs on to the\n right edge (624 columns, the extra ones ahead of the position); the\n ZOOM/GRID wheel gives way to a small grey ZOOM / GRID box.\n divhold ours (cdj900nxs/divhold.pLine truncated
+5 -5
View File
@@ -40,7 +40,7 @@
{ id: 'exfatfs', release: '2.0', name: 'exFAT sticks', by: 'ours', state: 'experimental',
what: 'Sticks formatted exFAT (Windows from 64 GB, macOS) work like FAT32 ones: browse, play, and what the player writes to a stick goes onto them too.' },
{ id: 'credit', name: 'Boot text', by: 'ours', state: 'stable',
what: 'The boot screen says “Pionaarr Mods 2.0.0” instead of “Ver 1.31”.' }
what: 'The boot screen says “Pionaarr Mods 2.0.1” instead of “Ver 1.31”.' }
];
var chosen = {};
MODS.forEach(function (m) { chosen[m.id] = true; }); // every mod ticked at the start
@@ -129,18 +129,18 @@
picked.forEach(function (m, i) {
segs += '<span class="fl-seg fl-mod fl-c' + (i % 4) + '" style="width:' + pct(share(m.id)) + '" title="' + m.name + ' ' + kb(share(m.id)) + '"></span>';
});
var zoom = '';
var zoom = '', was = el.querySelector('.fl-zoom'), open = was && was.open; // a tick keeps the list open
picked.slice().sort(function (a, b) { return share(b.id) - share(a.id); }).forEach(function (m) {
zoom += '<span class="fl-row"><span class="fl-name">' + m.name + '</span><span class="fl-track"><span class="fl-fill" style="width:' +
(100 * share(m.id) / Math.max.apply(null, picked.map(function (x) { return share(x.id); }))).toFixed(1) + '%"></span></span><span class="fl-kb">' + kb(share(m.id)) + '</span></span>';
});
el.innerHTML =
'<div class="fl-head"><strong>Flash</strong><span>' + mb(used) + ' of ' + mb(FL.size) + ' used · <strong>' + mb(free) + ' free</strong> (' + (100 * free / FL.size).toFixed(1) + ' %)</span></div>' +
'<div class="fl-head"><strong>Flash</strong><span><span class="fl-nw">' + mb(used) + ' of ' + mb(FL.size) + ' used</span> · <span class="fl-nw"><strong>' + mb(free) + ' free</strong> (' + (100 * free / FL.size).toFixed(1) + ' %)</span></span></div>' +
'<div class="fl-bar" role="img" aria-label="Flash: firmware ' + mb(FL.stock) + ', mods ' + kb(mods) + ', free ' + mb(free) + '">' + segs + '</div>' +
'<div class="fl-legend"><span><i class="fl-fw"></i>Pioneer firmware ' + mb(FL.stock) + '</span><span><i class="fl-mod fl-c0"></i>Mods ' + kb(mods) +
' (' + picked.length + ')</span><span><i class="fl-free"></i>Free ' + mb(free) + '</span></div>' +
(picked.length ? '<details class="fl-zoom"><summary>What each mod takes</summary>' + zoom +
'<span class="fl-row"><span class="fl-name">Shared by all</span><span class="fl-track"><span class="fl-fill fl-common" style="width:' +
(picked.length ? '<details class="fl-zoom"' + (open ? ' open' : '') + '><summary>What each mod takes</summary>' + zoom +
'<span class="fl-row fl-shared"><span class="fl-name">Shared by all</span><span class="fl-track"><span class="fl-fill fl-common" style="width:' +
(100 * common / Math.max.apply(null, picked.map(function (x) { return share(x.id); }).concat([common]))).toFixed(1) + '%"></span></span><span class="fl-kb">' + kb(common) + '</span></span></details>' : '') +
'<p class="hint">Sizes as the player stores the firmware (packed), about: the packer shares a lot between mods. Exact with none and with all; the build’s checks give the exact total.</p>';
}