Repository navigation
feat: read dumps in place from the user's games folder, zips included (#110) - #111
Merged
Merged
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
OmarAglan
added a commit
that referenced
this pull request
Nov 28, 2026
…nd record past a comment, one JNI class ref, scan failure message
Contributor
Author
|
Still to do: the phone check on the S26 Ultra. |
…nd record past a comment, one JNI class ref, scan failure message
OmarAglan
force-pushed
the
phase2/dump-in-place
branch
from
November 28, 2026 16:13
9c9febb to
7326c1b
Compare
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #110
What changed
The app reads the user's dumps where they live on the phone, zipped or not, and never copies or extracts them (ADR 0019, ADR 0020).
ImportCopy) is gone.ACTION_OPEN_DOCUMENT_TREE, with a lasting read grant) and adds their dumps and BIOS to it..cuefile is a game, and so is every.zipthat holds one; every 512 KiB file is a BIOS.anqa_host_set_root_opener(anqa_host.h, not the plugin ABI) makes a read-only root whose files come from a callback.zip_entry.cpp: it inflates forward and keeps a seek point every 1 MiB (system zlib; ADR 0020 records the license).host/android/main.cppsets the imports root's opener toDumpFiles.openover JNI.DumpFiles.openmapsps1-bios.binandps1-disc.cueto the user's choices, and the CUE's BIN names to files beside it, exact match first, else a unique case-insensitive one.ZipIndexreads a zip's central directory.linux-aarch64preset setsANQA_ZLIB=OFFbecause Ubuntu has no arm64 cross zlib. Deflated entries then refuse to open withPHAL_ERR_UNSUPPORTED, and the test checks exactly that.How it was tested
host_files_test:DumpNamesTest: name resolution and the folder scan;ZipIndexTest: entries, a UTF-8 name, data offsets checked withInflater, a long comment, non-zips.ctest --preset linux-debug: 45/47 pass in WSL. The two license-audit tests fail there only because WSL git can't read a worktree; from Windows,run.pyandtest_run.pypass../gradlew :launcher:assembleDebugand:launcher:testDebugUnitTestpass.Ridge Racer (USA).zipand SCPH1001 are inDownload/AnqaGames.ps1: disc ps1-disc.cue: 14 tracks, and the boot EXE runs at frame 581.filesis 654 KB before and after.Checklist
cmake --build --preset linux-debug,./gradlew :launcher:assembleDebug)python3 tools/license_audit/run.py)/code-reviewrun, every finding fixed or answered (CLAUDE.md Workflow)