]> FriiDump Source - friidump.git/blob - docs/ChangeLog
f893c7815650782e79638859565f6533082181e6
[friidump.git] / docs / ChangeLog
1 2026-07-18 - FriiDump 0.5.3.15 XGD1 live closure and release cleanup
2
3   * Closed the 0.5.3.14 hardware validation on a modified GDR-8050L revision
4     0012. The 3,820,880-sector output completed successfully and the
5     drive-captured 32-sector game lead-in matched the independent 0.5.3.13
6     geometry evidence at both boundaries.
7   * Recorded final output hashes: CRC32 cc5f0e71, MD5
8     1207b2090701ba1f221d486c83c863e7, SHA-1
9     5ea9b2262ba951afd9a5d2d44cd2b62a4d9decc7, and SHA-256
10     5995f823c6d67b9e3e3b3e1c2b54e1e036793188bec6b5be4220f559305f53b9.
11   * Confirmed NO EXACT MATCH against 2,689 Microsoft Xbox DAT entries. This
12     does not invalidate acquisition: the inaccessible pregame and postgame
13     contents remain zero-filled unresolved placeholders.
14   * Made automatic DAT discovery executable-relative first, with the historical
15     current-working-directory lookup retained as a fallback. Explicit
16     --redump-dat-dir remains authoritative.
17   * Corrected sidecar wording: hardware geometry validation is complete, while
18     filler content remains unresolved.
19   * Replaced 71 local build/probe/debug artifacts with a compact evidence
20     directory containing the final geometry samples, machine-readable closure
21     record, media-layout evidence, and completed live summary.
22   * Added a C resolver test and expanded .gitignore coverage for build outputs,
23     runtime logs, and generated disc images.
24   * No XGD1 output-layout bytes changed after the accepted 0.5.3.14 live dump.
25
26 2026-07-18 - FriiDump 0.5.3.14 drive-captured XGD1 game lead-in
27
28   * Promoted the successful 0.5.3.13 live geometry result: all 13 selected
29     locked/video and unlocked/game raw-sector IDs matched the expected
30     full-output mapping.
31   * Replaced the GDR-8050L full-output synthetic game lead-in with drive reads
32     from unlocked source LBA 0..31 at output LBA 198144..198175.
33   * Kept XDVDFS/game data at unlocked source LBA 32..3431263 and output LBA
34     198176..3629407.
35   * Updated .redump.json, .media.json, and .xdvd.json layout evidence to record
36     the drive-captured lead-in source and the 0.5.3.13 physical-geometry proof.
37   * Pregame and postgame physical locations are now documented as geometry
38     verified, while their inaccessible content remains zero-filled and
39     unresolved.
40   * No claim of Redump identity is made until a new 0.5.3.14 full-disc dump is
41     hashed and compared with the canonical DAT.
42
43 2026-07-18 - FriiDump 0.5.3.13 XGD1 cache-aligned raw-ID geometry correction
44
45   * Corrected the v68 raw-ID probe to mirror the proven modified-GDR-8050L
46     Method 8 cache contract: zero-transfer READ(12) cache flush, 16-sector
47     block-aligned streaming fill, and 2064-byte slot indexing.
48   * Removed raw-cache user-data equality as a geometry criterion. Method 8
49     reconstructs sectors from cache header/EDC plus READ(12) data before
50     unscrambling, so equality is not expected.
51   * Added explicit full-output LBA mapping, layer-bit decoding, 24-bit layer-1
52     PSN normalization, expected raw/normalized PSNs, and per-sample geometry
53     verdicts.
54   * Schema 2 reports now set physical_geometry_resolved only when all 13
55     selected locked/video and unlocked/game samples match exactly.
56   * Retained the v68 live run as negative/diagnostic evidence; it is not a
57     geometry promotion. No reconstruction bytes or filler policy changed.
58
59 2026-07-18 - FriiDump 0.5.3.12 XGD1 raw-sector ID geometry probe
60
61   * Live validation of 0.5.3.11 confirmed that sampled READ(10) and READ(12)
62     sectors are identical in both locked/video and unlocked/game states.
63   * The locked view ends at LBA 6991 and the unlocked view ends at LBA
64     3431263; ordinary logical reads expose no alternate source for the
65     documented synthetic pregame or postgame ranges.
66   * Added --xgd1-raw-id-probe for modified GDR-8050L firmware with HIT 0xE7
67     memdump support. It performs controlled READ(12) cache fills, captures the
68     corresponding 2064-byte raw cache sectors at 0x80000000, and records the
69     decoded DVD physical-sector number from each raw ID field.
70   * XGD1 probe modes now measure real elapsed time and suppress the unrelated
71     HLDS GC/Wii validation summary that previously reported misleading
72     seed/dump/STOP fields for a successful diagnostic run.
73   * No reconstruction mapping changed. Raw IDs are geometry evidence only;
74     inaccessible filler bytes remain unresolved.
75
76 2026-07-18 - FriiDump 0.5.3.11 read-only XGD1 logical-boundary probe
77
78 - Adds `--xgd1-layout-probe <file>` for the GDR-8050L challenge-handshake
79   profile on Windows.
80 - Establishes and verifies the locked/video and unlocked/game views using
81   READ CAPACITY(10), then probes selected XGD1 boundary LBAs with one-sector
82   READ(10) and READ(12) commands.
83 - Records per-command success, Win32 error, SCSI status, sense key/ASC/ASCQ,
84   nullable nonzero-byte/all-zero fields for failed reads, SHA-1, complete
85   2048-byte sector data for successful reads, and explicit READ(10)/READ(12)
86   comparability in an atomic JSON report.
87 - Includes the current output-layout constants and probes the visible video
88   boundaries, synthetic pregame/postgame boundaries, game lead-in/XDVDFS
89   boundary, output layer break mapping, and each reported-capacity edge.
90 - Restores the entry locked/video state when the probe began locked; an
91   already-unlocked entry remains in the game view.
92 - Keeps the existing 0.5.3.10 ISO/XISO output unchanged. The probe explicitly
93   leaves the pregame padding, postgame padding, and game lead-in unresolved
94   until live evidence supports a source mapping.
95 - Uses only logical read commands, the established authentication handshake,
96   tray transitions, volume guard, and STOP UNIT cleanup. No firmware write,
97   flash, erase, 3B06, 3B07, or FLASHUP path was added or changed.
98
99 2026-07-18 - FriiDump 0.5.3.10 state-aware GDR-8050L handshake cleanup
100
101 - Replaces the copied reference bridge's unconditional unlock -> tray cycle ->
102   unlock preamble with state-aware READ CAPACITY(10) classification.
103 - When the bridge enters in the unlocked game view, it skips both the redundant
104   initial handshake and the redundant tray cycle before title/XDVDFS probing.
105 - When the bridge enters in the locked/video view, it performs one direct full
106   handshake without a media transition and verifies the resulting visible
107   sector count before metadata probing.
108 - Retains one explicitly logged tray-cycle recovery only when the direct
109   handshake fails to expose the game view, then retries the full handshake once.
110 - Preserves the one required media transition used later to restore the
111   locked/video view before VIDEO-L0/VIDEO-L1 capture, followed by the final full
112   handshake for game/XDVDFS data.
113 - Corrects XDVD authentication metadata: unlocking does not require a media
114   transition, while restoring the locked/video view does.
115 - Live 0.5.3.9 evidence basis: Red Faction II completed 3,820,880 sectors,
116   produced finalized four-hash/sidecar evidence, wrote the atomic Redump report,
117   issued one final STOP UNIT, and exposed the prior three-handshake/two-tray
118   sequence targeted by this cleanup.
119 - No firmware update, write, flash, erase, 3B06, 3B07, or FLASHUP path was added
120   or modified.
121
122 2026-07-17 - FriiDump 0.5.3.9 Xbox live-summary and cleanup correction
123
124 - Preserves the successful 0.5.3.8 Xbox finalized-hash handoff and shared
125   Redump verification path.
126 - Carries the Xbox title, media ID, finalized output-sector count, and elapsed
127   time across the copied GDR-8050L bridge boundary.
128 - Reports the real Xbox title/media ID and 3,820,880-sector reconstructed output
129   in the final HLDS validation summary instead of the generic pre-bridge values.
130 - Marks the GC/Wii seed field not applicable for the Xbox reference-auth path.
131 - Uses the copied reference dumper's elapsed-time handoff for Xbox runs, eliminating the
132   misleading 0.00-second duration and average-rate output.
133 - Removes the inner DumpXboxGameDisc STOP UNIT call.  Embedded runs now issue
134   exactly one final STOP UNIT from FriiDump after Redump verification; standalone
135   bridge runs retain cleanup ownership before closing their handle.
136 - Live evidence basis: Red Faction II[TQ00501A] completed as a 7,825,162,240-byte
137   reconstructed XGD1 image, produced finalized four-hash evidence, atomically
138   wrote schema-2 NO MATCH evidence against 2,689 Xbox DAT entries, and exposed
139   the summary/duplicate-cleanup defects corrected here.
140
141 2026-07-17 - FriiDump 0.5.3.8 Xbox reference-path Redump evidence handoff
142
143   * Routed successful GDR-8050L/cross-flashed GDR-8163B full-disc ISO results
144     into the shared Redump DAT verifier and atomic schema-2 evidence report.
145   * Added an explicit result contract carrying the actual finalized output path,
146     byte count, output sectors, CRC32, MD5, SHA-1, and SHA-256 from the copied
147     Xbox reference dumper into FriiDump's front end.
148   * Reused the reference dumper's existing finalized full-file hash pass; the
149     7.29 GiB Xbox ISO is not reread solely for DAT verification.
150   * Corrected the copied DumpXboxGameDisc/bridge success handoff so FriiDump now
151     receives the real dump/write result rather than assuming success after the
152     call returns.
153   * Kept the active target log open across the bridge return so shared Redump
154     evidence and the final validation summary remain in the same Xbox run log.
155   * Added `hash_source` and `representation_note` to schema-2 reports. Xbox
156     reports state that successful acquisition and exact Redump hash identity are
157     separate claims because documented synthetic XGD1 ranges may prevent a match.
158   * Confirmed the prior live Red Faction II reconstructed hashes produce the
159     expected `NO EXACT MATCH` result against the current Xbox DAT: 2,626
160     same-size entries and zero CRC32/MD5/SHA-1 correlations.
161   * Kept Xbox `-X` excluded from DAT verification because XISO is not a full
162     Redump disc image.
163   * Recorded the independent Super Smash Bros. Melee (USA) (En,Ja) (Rev 2)
164     live validation: seed retrieval 3 seconds, full dump and STOP UNIT OK, and
165     exact Redump match across size, CRC32, MD5, and SHA-1.
166   * No firmware update, write, flash, erase, 3B06, 3B07, or FLASHUP path was
167     added or modified.
168
169 2026-07-17 - FriiDump 0.5.3.7 PFES-aligned Redump evidence reporting
170
171   * Replaced the compact MATCH/NO MATCH block with a field-by-field evidence
172     presentation for image size, CRC32, MD5, and SHA-1.
173   * Added explicit overall conclusions and confidence statements, including
174     `VERIFIED AGAINST REDUMP` / `Exact archive match` for exact matches.
175   * Added a closest-candidate path only when at least one hash correlates; when
176     no hash correlates, FriiDump reports aggregate field-match counts instead
177     of presenting an arbitrary same-size disc.
178   * Advanced the Redump report to schema 2 while preserving the original
179     top-level status/output/hash fields for compatibility.
180   * Added SHA-256, expected DAT values, per-field PASS/FAIL evidence, match kind,
181     match counts, overall conclusion, and confidence to the JSON report.
182   * Corrected report/log separation: JSON structural writes no longer pass
183     through the logged `fprintf` wrapper, so the run log no longer contains an
184     incomplete mirror with omitted string values.
185   * Reports are now written to a sibling `.tmp` file, flushed/synchronized,
186     closed, and atomically moved over the final path. A failed write leaves the
187     previous complete report untouched.
188   * Documented the existing Xbox scope boundary accurately: the copied
189     GDR-8050L reference-dumper bridge keeps its own full-file hash/sidecar path
190     and is not yet routed through this DAT-verifier report.
191   * Recorded a live GCC4244/B101 Sonic Mega Collection dump: media preflight OK,
192     seed retrieval 3 seconds, full dump OK, STOP UNIT OK, 2324.52 seconds,
193     2156.33 MiB/h, and exact Redump verification. Exact B101 parser metadata
194     remains pending analyzer results; no parser profile was promoted here.
195   * No firmware update, write, flash, erase, 3B06, 3B07, or FLASHUP path was
196     added or modified.
197
198 2026-07-17 - FriiDump 0.5.3.6 automatic Redump DAT verification
199
200   * Added automatic post-dump verification against Redump Logiqx XML DAT files.
201   * Bundled stable GameCube, Wii, and Xbox DAT paths under `redump_dat/`.
202   * A positive match requires output size, CRC32, MD5, and SHA-1 to agree;
203     SHA-256 remains printed as a local integrity hash.
204   * Added `--redump-dat-dir <dir>`, `--redump-report <file>`, and
205     `--no-redump-verify`.
206   * Added JSON reporting with DAT path, entries scanned, exact-match count,
207     Redump game/ROM names, output hashes, size, and status.
208   * DAT absence or a no-match result is reported clearly without deleting the
209     output or changing a completed read into a destructive/error path.
210   * No firmware update, write, flash, erase, 3B06, 3B07, or FLASHUP path was
211     added or modified.
212
213 2026-07-10 - FriiDump 0.5.3.5
214   * Promoted live INQUIRY `HL-DT-ST CDRW/DVD GCC4244/B103` to `known_supported_profile_hardening_live_validated`.
215   * Recorded exact GCC-4244N B103 Stage5B profile evidence: JCS3 tokens, CDB base 0x894, gate 0x900386FB.
216   * Recorded successful media preflight, 4-second seed retrieval, full Sonic Mega Collection dump, STOP UNIT, and Redump-matching hashes.
217   * Recorded 2329.16-second runtime and 2152.04 MiB/h observed average.
218   * Added FriiDump 0.5.3.5 consolidated HLDS live-validation report and advanced the next test target to GCC-4243N.
219
220 2026-07-08 - HLDS profile documentation sync v58
221
222   * README now documents the Stage5B-promoted HLDS 0xE7 profile rows added in
223     v57: GCC-4244N B103 and GDR-8163B revisions 0B30, 0D20, 0E15, 0L20,
224     0L23, 0L30, and 0M26.
225   * README now documents --hlds-profile-report <file> and records the validated
226     GDR-8163B 0L30 Sonic Mega Collection dump in the observed fleet table.
227   * ChangeLog now records the v57 profile-table update so package docs match
228     the code.
229
230 2026-07-08 - HLDS promoted parser-signature profile update v57
231
232   * Added GCC-4244N B103 as a promoted Stage5B E7 parser-signature profile
233     using CDB base 0x894, gate 0x900386FB, and tokens
234     HL;IT;RPC;RPC_JCS3;RPC_SUFFIX.
235   * Promoted the observed GDR-8163B inventory variants from family fallback
236     rows to exact parser-signature profile rows: 0B30, 0D20, 0E15, 0L20,
237     0L23, 0L30, and 0M26.
238   * Recorded the exact GDR-8163B CDB/gate evidence: 0B30 0x5E0/0x90025030,
239     0D20 0x5E0/0x90024AE7, 0E15 0x5D8/0x900247D1, 0L20
240     0x5E0/0x90024C8F, 0L23 0x5E0/0x90024D5A, 0L30
241     0x5E0/0x90025021, and 0M26 0x5E0/0x90024FF7.
242   * Kept the static CDB/gate fields as report/evidence metadata only; FriiDump
243     does not use them as host-side commands or runtime addresses.
244   * No FLASHUP, 3B06, 3B07, updater, write, flash, erase, or commit paths were
245     added or touched.
246
247
248 2026-07-01 - HLDS 0xE7 log-noise cleanup
249
250   * GDR-8050L modified-0xE7 no-prefetch read-schedule logging is now emitted once per run/profile selection instead of once per read chunk.
251   * Accelerated-profile fallback resets the one-shot schedule log so the fallback profile is still visible exactly once.
252 2026-06-30 / GDR-8050L + GDR-8081N probe v2
253
254 * Fixed the modified GDR-8050L speed-probe-pending profile so it defaults to Method 8; the prior combined build could still present/run like the static single-window fallback.
255 * Made seed cracking fail the run when the experimental GDR-8081N cache-profile probe cannot validate any candidate, instead of continuing after a failed probe.
256 * Improved visible probe logging so the first probe line starts on a fresh line after the seed-retrieval prompt.
257
258 2026-06-30 / GDR-8050L speed-probe visibility fix
259
260 * Corrected the GDR-8050L modified-0xE7 speed-probe build so the initial
261   drive info reports an explicit speed-probe-pending profile instead of
262   looking like the old static single-window fallback.
263 * Probe status is now printed with direct visible output even in non-VERBOSE
264   builds, so runs show each GDR-8050L/GDR-8081N candidate and the selected
265   profile during the seed-retrieval phase.
266
267 2026-06-30 / seed-retrieval elapsed timer
268
269 * Added elapsed timing to the GC/Wii seed retrieval line.  The console/log now reports
270   `Retrieving disc seeds, this might take a while... [Elapsed:HH:MM:SS] OK`
271   or the same elapsed marker before `Failed`.
272 * Added `Seed elapsed` to the HLDS 0xE7 validation summary.
273 * Documented seed-retrieval expectations and kept timeout behavior manual/operational
274   rather than adding a hard timeout that could interrupt a blocked optical-drive I/O
275   command unsafely.
276
277 2026-06-30 / combined GDR-8081N probe + GDR-8050L speed-probe update
278
279 * Combined the GDR-8081N experimental 0xE7 cache-profile probe layer with a
280   GDR-8050L modified-firmware speed probe so two fleet tests can be run from the
281   same source package.
282 * GDR-8050L modified 0xE7 now keeps the proven 0x80000000 one-window/no-prefetch
283   profile as fallback, but probes guarded no-prefetch 3-window, 2-window, and
284   5-window candidates before seed cracking.
285 * If an accelerated GDR-8050L profile later fails during dumping, FriiDump logs
286   the failure and falls back to the proven single-window profile for the rest of
287   the run.
288 * GDR-8081N remains experimental: it is recognized as a candidate, enters the
289   seed path, and probes multiple cache profiles rather than being advertised as
290   confirmed GC/Wii support.
291 * README wording now clarifies that GDR-3120L support means the Xbox ripping path
292   is preserved; it is not claimed as a GC/Wii-tested drive.
293
294 2026-06-30 / GDR-8081N experimental 0xE7 probe layer
295
296 * Added GDR8081N/GDR-8081N as an experimental HLDS 0xE7 GC/Wii candidate.
297 * Added a small runtime cache-profile probe before seed cracking: Type4-derived
298   0x80000000/5-window, single-window 0x80000000, Type1-base 0x00a13000,
299   and a moving-cache candidate 0x7fff7f00.
300 * Fixed unsupported-drive HLDS profile display by zero-initializing dvd_drive
301   state and returning zero cache/window fields when no 0xE7 profile is active.
302
303 2026-06-30 / GDR-8050L modified 0xE7 GC/Wii test profile
304
305 * Added a special HLDS profile for GDR8050L/GDR-8050L drives running cross-flashed
306   or modified firmware with 0xE7 memdump support added.
307 * The special profile keeps the Type4 cache geometry, base 0x80000000 and five
308   16-sector memory windows, but defaults GC/Wii tests to Method 8.
309 * Stock GDR-8050L firmware is still documented as Xbox-path only; this GC/Wii
310   path is explicitly a modified-firmware experiment and does not replace the
311   existing GDR-8050L challenge-table Xbox dumper or GDR-3120L vendor-unlock path.
312
313 FriiDump 0.5.3.2 HLDS 0xE7 validation summary and speed-log update
314
315 - Added an end-of-run HLDS 0xE7 validation summary for GC/Wii dumping.
316 - The summary records model, DIC-style profile, cache base, memory-window count, seed-read status, dump status, STOP UNIT status, duration, and observed average ISO-payload speed.
317 - Documented observed Sonic Mega Collection validation speeds for GCC-4244N/B103 and GCC-4243N/A102, with GCC-4160N/0010 left as in-progress pending hash verification.
318
319 2026-06-29 / HLDS 0xE7 AutoPlay warning
320
321 * Added explicit Windows AutoPlay warning before non-Xbox HLDS 0xE7 GC/Wii
322   volume-lock and seed reads.
323 * GCC-4160N Type1 testing confirmed users may need to disable AutoPlay and
324   close File Explorer/"insert a disc" dialogs even when FriiDump applies
325   the shared volume guard.
326
327 FriiDump 0.5.3.2 HLDS 0xE7 DIC profile-layer update
328
329 - Added a DIC-style HLDS 0xE7 profile layer for GC/Wii cache dumping.
330 - Type1 GCC-4160N/GCC-4240N now use cache base 0x00a13000 with one
331   16-sector memory window.
332 - Type3/Type4 retain cache base 0x80000000 with five 16-sector memory windows.
333 - GCC-4241N/GCC-4242N are identified as Type2 experimental profiles but are
334   not yet promoted to DIC-equivalent support.
335 - Command/method logging now prints the selected HLDS 0xE7 profile, cache base,
336   and memory-window count.
337 - GDR-3120L Xbox ripping support remains on the explicit vendor lock/unlock
338   path; unsupported Xbox-forced drives still fail fast rather than falling back
339   to GC/Wii methods.
340
341 0.5.3.2-gcc4243n-method8-split-recovery (29/06/2026)
342 - Added Method 8 split recovery for GCC-4243N/GCC-4244N GC/Wii dumping.
343   After normal Method 8 and dump-level retries fail for a 16-sector block,
344   FriiDump now tries to reconstruct that block using 8-, 4-, 2-, then
345   1-sector streaming chunks, validates the rebuilt block with the existing
346   unscrambler/EDC path, and logs every attempted subrange.
347 - Preserved the shared FriiDump/Xbox log path and the GDR-3120L FF 08 01
348   Xbox vendor lock/unlock path.
349 - Confirmed the DIC source lists TSSTcorp/Samsung Kreon-firmware candidates
350   and GSA-4163B as an Xbox swap candidate; TSST/Kreon candidates remain
351   recognized as vendor-unlock experiment profiles, while GSA-4163B remains
352   documented as a separate swap-workflow target rather than being misrouted
353   into the vendor-unlock path.
354 > jtryba / ChatGPT
355
356 FriiDump 0.5.3.2 GCC-4243/4244 default path and shared logging update
357
358 - Promoted HLDS GCC-4243N/GCC4243* and GCC-4244N/GCC4244* drives to
359   Hitachi command 2 / Method 8 by default for GC/Wii dumping.  GCC-4244N was
360   validated with Sonic Mega Collection; GCC-4243N is routed to the same path
361   for the next fleet test.
362 - Extended the existing Xbox reference logger into a shared FriiDump run logger.
363   Every invocation now creates a log: `<output>.log` when an output file is
364   known, `friidump_<drive>.log` when only a drive is known, otherwise
365   `friidump.log`.
366 - Kept GDR-3120L Xbox ripping support on the FF 08 01 vendor lock/unlock path.
367 - Forced Xbox/XGD mode now refuses non-supported Xbox unlock profiles instead
368   of falling back to GC/Wii dumping methods.
369
370
371 2026-06-29  jtryba
372
373         * libfriidump/xbox_ref/utils.c: Add SHA-256 to the copied GDR-8050L
374           reference full-file hash calculation, console/log summary, and XDVD/media
375           sidecar hash metadata.
376         * src/friidump.c: Suppress the legacy FriiDump hash footer for the GDR-8050L
377           copied-reference path so empty CRC32/MD5/SHA-1/SHA-256 lines are not
378           printed after the authoritative Xbox reference summary.
379
380
381 2026-06-28  jtryba / ChatGPT
382
383         * libfriidump/xbox_ref/xbox_ref_log.[ch], libfriidump/xbox_ref/utils.c:
384           Keep carriage-return progress updates on the console only. The GDR-8050L
385           log now remains a line-oriented diagnostic record with SCSI dumps,
386           phase markers, hash summaries, metadata writes, and final elapsed time,
387           instead of recording every transient progress repaint as a separate line.
388           Full READ DVD STRUCTURE 0xAD payloads remain untruncated in the log.
389
390
391 2026-06-29  jtryba
392
393         * GDR-8050L reference hook: preserve the original dumper timing sleeps
394           exactly (tray-cycle 3000 ms, readiness settle 1500 ms or 10000 ms
395           fallback, RefreshVolume's 1000 ms plus the explicit post-refresh
396           2000 ms settle).
397         * Xbox/GDR-8050L filename behavior now matches the reference dumper: the
398           first unlock/metadata pass derives Title[MediaID].iso/.xiso from the XBE
399           title and DMI media ID by default. Supplying -i <file> or -X <file> is an
400           explicit filename override; bare -i or bare -X uses the derived name.
401         * If FSCTL_LOCK_VOLUME fails, report that the copied reference dumper treats
402           it as fatal before XBE/title probing, instead of collapsing the error into
403           a generic sector 0..15 dump failure.
404
405
406 2026-06-28  jtryba
407
408         * GDR-8050L Xbox redump/XISO path: dispatch native Windows runs directly
409           into a copied-in reference implementation from the original Xbox dumper
410           (main.c/utils.c/unlock.c helpers) instead of approximating the state
411           machine inside FriiDump's generic read loop.
412         * Preserve GDR-3120L on the separate FF 08 01 vendor command path and leave
413           non-native drives on FriiDump's existing command/method fallback behavior.
414         * Keep STOP UNIT/spin-down cleanup after the reference dump attempt.
415
416
417 2026-06-29  jtryba
418
419         * libfriidump/dumper.c, libfriidump/dvd_drive.c, libfriidump/disc.c:
420           Align the GDR-8050L Xbox redump state machine more literally with the
421           reference dumper. UnlockDrive() calls are treated as required state actions
422           rather than fatal capacity gates; RefreshVolume/settle/ready/speed/volume-lock
423           behavior is mirrored for the post-media-change metadata phase; STOP UNIT is
424           reserved for final cleanup.
425         * src/friidump.c:
426           Initialize Xbox dump failure-sector reporting before setup begins.
427 FriiDump 0.5.3.2 GDR-8050L main.c alignment follow-up
428
429 - Relaxed the GDR-8050L UnlockDrive() port to match the original dumper: the
430   final READ CAPACITY observation is diagnostic, not a fatal condition.  This
431   allows the first handshake to prime the drive before the required media-change
432   event instead of failing early while the visible DVD-video view still reports
433   6,992 sectors.
434 - Added visible stage messages for the GDR-8050L redump path: primary handshake,
435   media-cycle, re-handshake, metadata/auth kick, video-view restore, and final
436   game-view handshake.
437 - Changed the GDR-8050L redump 32-sector game lead-in to the original dumper's
438   zero-fill behavior.  The lead-in read/fallback experiment remains for non-8050L
439   Xbox strategies.
440 - Preserved GDR-3120L on the separate FF 08 01 vendor lock-state path and kept
441   non-native drives on FriiDump's original behavior unless Xbox mode is forced.
442 > jtryba
443
444 FriiDump 0.5.3.2 Xbox flow/build follow-up
445
446 - Corrected the GDR-8050L redump-style state machine to follow the original
447   dumper order: unlock/read game metadata, media-cycle back to the visible
448   DVD-video view, capture video L0/L1, unlock again, read game lead-in/game
449   data, then write PFI/DMI/redump JSON.
450 - Added START STOP UNIT LoEj tray-cycle support for the GDR-8050L redump path.
451 - Added unconditional STOP UNIT / spin-down cleanup after dump attempts, on
452   success or failure.
453 - Clarified docs to avoid describing the DVD-video section itself as locked;
454   the video section is the normal visible DVD-video view.
455
456 0.5.3.2 (28/06/2026)
457 - Added Xbox redump retry/recovery kicks around GDR-8050L view-switch reads,
458   mirroring the original dumper cadence: re-trigger auth, set maximum speed,
459   and issue harmless READ(10) probes before retrying game-view reads.
460 - Added visible Xbox failure diagnostics that report the failing phase, source
461   LBA, and reconstructed output LBA even in non-VERBOSE builds.
462 - Improved Xbox redump failure reporting so the generic final sector range no
463   longer always falls back to 0..15 after a later layout phase fails.
464 > jtryba
465
466 0.5.3.2 (28/06/2026)
467 - Fixed forced Xbox/XGD (`-T 4`) routing so GDR-8050L/GDR-3120L dumps use
468   the native Xbox direct MMC/SCSI path instead of displaying or selecting the
469   original GC/Wii Hitachi command 2 / method 9 memdump path.
470 - Reworded the runtime status text: Xbox initialization no longer says
471   "Retrieving disc seeds", because seed cracking is only for GC/Wii paths.
472 - Xbox `-i` now prints that it is writing an Xbox/XGD redump-style ISO.
473 - Added single-sector READ(10) fallback inside Xbox redump range reads so
474   visible DVD-video boundaries and other edge ranges are retried like the original
475   dumper before the dump is declared failed.
476 - Preserved the program version at 0.5.3.2; the preceding MSVC-only build-task
477   refresh did not receive a program version bump.
478 > jtryba
479
480 0.5.3.2 (28/06/2026)
481 - Added `-D` / `--dvd` as a clear standard DVD-ROM mode available to all
482   drives. It is equivalent to forcing disc type `-T 3` and uses FriiDump's
483   original DVD/raw/ISO path rather than Xbox unlock or metadata paths.
484 - Added DiscImageCreator-compatible Original Xbox/XGD1 redump layout constants
485   to the redump JSON: XBOX_SIZE 3,820,880 sectors, layer break LBA 1,913,776,
486   DVD start PSN 0x30000, Xbox/game start PSN 0x60600, and output game start
487   LBA 0x30600 / 198144.
488 - Added a runtime sanity check that the hardcoded Xbox redump layout still
489   matches the DiscImageCreator-compatible XGD1 constants before writing an
490   Xbox redump-style ISO.
491 - Updated README, README.technical, XBOX.md, options, and CLI help to make
492   standard DVD dumping and Xbox redump/XISO dumping commands clearer.
493 > jtryba
494 0.5.3.1 (28/06/2026)
495 - Added GDR-3120L/Kreon-style vendor helpers: get feature list (`FF 08 01 10`),
496   set lock state 0/2 (`FF 08 01 11 xx`), and disable error-skip
497   (`FF 08 01 15 00`) before dumping.
498 - Added Samsung/Kreon-style Xbox-capable candidates TS-H352C, TS-H353A,
499   SH-D162C, SH-D162D, SH-D163A, and SH-D163B for forced Xbox experiments
500   when the drive firmware supports the FF 08 01 command family.
501 - Expanded the Hitachi-LG supported-drive list for GC/Wii profiles to include
502   GDR-8082N/8083N/8084N, GDR-8161B/8162B/8163B/8164B,
503   GCC-4160N/4240N/4243N/4244N/4247N, with notes for probable/error-prone
504   related models; added GSA-4163B as an experimental Hitachi-LG profile.
505 - Added AUTHORS credit for scsi1.pas / The Specialist and the xboxhacker.net
506   contributors for the GDR-8050L challenge-table handshake, and DiscImageCreator
507   reference credit for the FF 08 01 vendor lock-state path.
508 - Added native Xbox/XGD disc support.
509 - Added Xbox disc type selector: `-T 4`.
510 - Added GDR-8050L profile with challenge-table handshake, partition unlock,
511   sticky descramble enablement, and direct 2048-byte READ(10) dumping.
512 - Corrected the GDR-3120L profile to use the DiscImageCreator-style FF 08 01 vendor feature-list and lock-state command family instead of treating it as a plain direct READ(10) drive.
513 - Changed Xbox `-i` output from a simple unlocked host-view copy to a
514   redump-style Original Xbox/XGD1 2048-byte-sector reconstruction with locked
515   video L0/L1, padding, 32-sector game lead-in, and unlocked game/XDVDFS data.
516 - Deferred the GDR-8050L unlock until dump time so redump-style ISO output can
517   capture the visible DVD-video view before switching to the unlocked game view.
518 - Added optional Xbox redump metadata output: `.pfi.bin`, `.dmi.bin`, and
519   `.redump.json` next to Xbox `-i` ISO dumps when the drive exposes PFI/DMI.
520 - Xbox `-i` and `-X` both attempt to read the 32-sector game lead-in and
521   zero-fill only unreadable lead-in sectors.
522 - Confirmed non-Xbox drives remain on FriiDump's original autodetection and
523   command/method paths unless Xbox mode is explicitly forced with `-T 4`.
524 - Added Xbox XISO output mode: `-X <file>` / `--xiso <file>`.
525 - XISO output probes XDVDFS at LBA 306112, falls back to LBA 32, copies
526   dual-layer retail-style images through LBA 1913920, and uses the XDVDFS
527   VolumeSize byte field for single-layer/homebrew-style images.
528 - XISO output attempts to read the 32-sector lead-in from the active drive view
529   and zero-fills only unreadable lead-in sectors.
530 - Added MMC/SCSI helpers for READ CAPACITY(10), READ(10), MODE SENSE(10),
531   MODE SELECT(10), MODE SELECT(6), READ DVD STRUCTURE, and TEST UNIT READY.
532 - Updated documentation for Xbox usage, options, output modes, and the
533   GDR-8050L handshake.
534 - Fixed `-A` / `--allmethods` so each command/method attempt opens a
535   fresh drive/disc object and binds the command-specific memory-dump function
536   before testing the method. The sweep now includes Xbox direct READ(10)
537   method 10.
538 - Fixed progress timing/statistics propagation from the dump routine to the
539   command-line front-end.
540 - Fixed the command-line process return code so successful operations return
541   `EXIT_SUCCESS` and failures return `EXIT_FAILURE`.
542 - Replaced the legacy MD5 and SHA-1 hash implementations with the fixed
543   implementations from the merged hash-upgrade branch.
544 - Added SHA-256 hashing/reporting for raw ISO, unscrambled ISO, and Xbox XISO
545   outputs while preserving existing CRC32/MD5/SHA-1 reporting.
546 - Updated the GDR-8050L challenge-table path to use the fixed SHA-1
547   implementation for its RC4 key derivation.
548 > jtryba
549 0.5.3 (15/03/2010)
550 - Fixed failing after 1st DL media layer with non-Hitachi methods.
551 - Fixed still hashing with 'nohash' parameter when resuming.
552 - Fixed resuming larger files (~4 GB).
553 - Fixed unscrambling larger files.
554 - Faster file unscrambling.
555 - Slight modifications to methods;
556   possible performance increase with Hitachi based devices.
557 - Restructured methods and added some new ones.
558 - Added layer break information.
559 - Added current position output when error occurs.
560 - Added SH-D162A, SH-D162B, SH-D162C & SH-D162D as supported.
561 > Jackal, gorelord4e, themabus
562 0.5.2 (10/01/2010)
563 - Corrected handling of standard DVDs
564   (type should be forced to 3, when dumping or unscrambling).
565 - Better response to 'speed' parameter.
566 - Uniform raw output for all devices: unscrambled data + headers.
567 - Slight performance increase (~1650 MB/h on LH-18A1H).
568 - Added LH-18A1P, LH-20A1H, LH-20A1P to list of supported devices.
569 > Jackal, themabus
570 0.5.1 (01/12/2009)
571 - New command 'vanilla 2384'.
572 - Restructured methods, some now support optional parameters.
573 - Ability to select standard DVDs as source.
574 - Limited recognized Lite-On drives to LH-18A1H.
575 > Jackal, themabus
576 0.5.0 (27/11/2009)
577 - Regions: Italy, France, Germany, Spain, Australia, PAL-X, PAL-Y.
578 - Updated publisher list from http://wiitdb.com/Company/HomePage
579 - Included GDR8082N & GDR8161B as supported Hitachi drives.
580 - Lite-On, Renesas & vanilla memory buffer access commands.
581   Lite-On tested on LH-18A1H, should work on many more
582   (LH*, SH, DH*, DW* & possibly other MediaTek drives)
583 - Shifted methods 1..4 to 0..3 and added new ones 4..6
584   Associated known drives with default methods.
585 - Additional commandline parameters:
586   stop, speed, command, type, size
587 - Some minor changes and fixes.
588 > Jackal, Truman, themabus
589 0.4 (08/03/2008)
590 - Support for DL Wii DVDs.
591 > mado3689
592 0.3 (06/10/2007)
593 - First public release.
594
595 Build packaging note:
596   - Fixed direct MSVC response-file build for copied GDR-8050L reference hook by avoiding duplicate sha1.obj output names and by exporting disc_get_device()/dvd_get_device().
597
598
599 2026-06-29 / HLDS 0xE7 Windows volume guard
600 ---------------------------------------------
601
602 * The existing Xbox FSCTL_LOCK_VOLUME-style guard is now exposed as a shared
603   FriiDump volume lock helper.
604 * HLDS 0xE7 GC/Wii paths apply the guard before disc seed retrieval, so Windows
605   Explorer/AutoPlay is less likely to interrupt GCC-4160N/GCC-4240N Type1 seed
606   reads with an "insert a disc" prompt.
607 * The guard is warning-only: if Windows already owns a transient handle, FriiDump
608   logs the failure and continues so the hardware read result remains authoritative.
609
610
611 2026-06-30 / GCC-4160N Type1 confirmed
612 ---------------------------------------
613
614 * Updated observed Sonic Mega Collection (US) fleet results: GCC-4160N/0010
615   Type1 (0x00a13000, one memory window) completed a verified matching dump.
616 * Recorded observed rate 1613.08 MB/h and total runtime 3127.98 seconds.
617 * Documented that AutoPlay had to be disabled for reliable GCC-4160N seed
618   retrieval even though the shared volume guard succeeded.
619
620 2026-07-01  HLDS 0xE7 GDR-8081N scan mode
621
622         * Added --hlds-e7-scan / --scan-log for fast HIT 0xE7 cache-base discovery without seed cracking or full dumping.
623         * The scan fills the drive cache with tiny reads, tries candidate cache/memdump bases, scores raw-sector ID headers, and writes a JSON report.
624         * Seeded GDR-8081N scan candidates from known HLDS families plus first-pass GDR-8081N firmware/binary constants and aliases.
625         * Preserved GDR-8050L modified-firmware read-quiet behavior and GDR-3120L Xbox-only support wording.
626
627 2026-07-10 - FriiDump 0.5.3.3
628   * Added media-ready preflight before disc detection and GC/Wii seed retrieval.
629   * TEST UNIT READY now blocks vendor seed/cache commands when no disc is present.
630   * Added bounded retry for transient becoming-ready / unit-attention states.
631   * Added clear no-disc and not-ready sense reporting.
632   * Added live INQUIRY alias `GCC4244/B103` for the promoted GCC-4244N B103 profile.
633   * Promoted the successfully validated GDR-8163B 0L20, 0D20, 0B30, 0E15, and 0M26 rows to live-validated status; retained 0L30 live validation.
634   * Added a consolidated real-hardware validation report with Redump comparisons.
635
636
637 2026-07-10 - FriiDump 0.5.3.4
638   * Corrected Windows/Linux MMC error semantics: ignore_errors now suppresses diagnostics only and no longer converts failed commands into success.
639   * Windows SCSI pass-through now treats non-GOOD SCSI status as command failure even when DeviceIoControl succeeds.
640   * Strengthened media preflight: TEST UNIT READY is followed by READ CAPACITY(10), requiring a nonzero 2048-byte logical-block medium before vendor seed/cache commands.
641   * Fixed empty-tray false positive observed on HL-DT-ST CDRW/DVD GCC4244/B103 over USB.
642   * Added completed GDR-8163B 0L23 Redump-matching validation result.