Repository navigation
X-Store 0.2.14g (Direct ZIP->GOD/Folder + 2-Stage Retry Queue + Probe Retry)
X-Store 0.2.14g
Direct Single-Pass Streaming ZIP → GOD & ZIP → Folder
- Direct ZIP → GOD (convertZipToGod): Inflates .iso directly out of split .zip downloads into staged GOD Data0000..Data00xx files, reads metadata back via GodDiscStream, trims unused trailing padding to exact partial-trim size, chains Master Hash Tables, renames into Hdd:\Content\0000000000000000<TitleID><00007000|00005000>, and writes the LIVE header — skipping the 7.3 GiB temp ISO extraction step completely.
- Direct ZIP → Folder (convertZipToFolder): Streams .iso files directly out of .zip downloads into outputFolder (skipping $SystemUpdate) with no temp ISO when GOD mode is toggled off.
- Unconditional Fallback & Multi-Stage Resume: Any non-zero return from direct streaming cleans up staging and automatically falls back to standard ZIP extraction + GOD/ISO extraction. Verified .zip + mp.dl_ok remain intact until completion so Stage 1 / Stage 2 / Stage 3 resume works seamlessly.
Transient HTTPS Probe Retry & Resilient 2-Stage Retry Queue
- Transient Probe Retry (downloadFile.cpp): Automatically retries up to 5 times with backoff (2s–10s, 6s on 429/503) when Archive.org returns transient 408/429/500/502/503/504 errors or dropped headers on the initial Range: bytes=0-0 probe.
- **Enumerated Per-Item Temp Folders (
/ p#):** Normal queue items (
1,
2, …) and Priority queue items (p1, p2, …) each get an isolated folder game:\work\items<id>, so failed items keep their partial data and priority/normal IDs never collide.
- Persistent 2-Stage Retry Queue (game:\work\store_retry_queue.txt): Runs after Priority and Normal queues finish — Retry 1/2 resumes with existing temp data, Retry 2/2 wipes temp and moves to the back of the retry queue for one final fresh attempt, and permanent failures log to game:\work\store_failed_log.txt.
- Disk Space Guard (10 GiB Floor): Automatically purges the oldest Stage 1 retry temp folder (promoting it to Stage 2 fresh retry) if game:\ free space drops below 10 GiB.
- Cancels ≠ Errors & Legacy Auto-Migration: User pause/cancel (B) leaves the item pending in its active queue with temp intact; existing queues and legacy game:\tmp.7z.001 temp files auto-migrate on launch.