feat(web): convert multiple app ZIPs as one bundle #6190

Merged
devavijitsingh merged 10 commits from upstream-pr/6190 into main 2026-10-18 20:18:19 +00:00
devavijitsingh commented 2026-10-15 01:27:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by devavijitsingh on 2026-10-15T01:27:24Z.


What

Add multi-app ZIP conversion to the browser converter. Users can inspect and convert several app archives into one ZIP bundle with a separate numbered output folder per app. Batch output is ZIP-only, applies the memory-download budget to the complete bundle, and reports which archive failed if inspection fails.

Tested

Windows; temporary sample app ZIP fixtures (titles not specified). Browser smoke-tested batch inspection, per-app summaries and warnings, batch save-mode restrictions, the preserved single-app folder option, and invalid-archive filename reporting. Full native/WASM conversion integration was not run because CMake and Emscripten (emcmake) are unavailable.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none
  • GPUs tested: n/a (browser converter change)
  • AI-assisted: yes

Validation:

  • node --check demo/web/app.mjs - passed
  • node --check demo/web/archive.mjs - passed
  • node --check demo/web/batch.mjs - passed
  • node --check demo/web/output-directory.mjs - passed
  • node --check demo/web/worker.mjs - passed
  • node --test demo/web/tests/batch.test.mjs demo/web/tests/output-directory.test.mjs - passed (8 tests)
  • python tools/check_conventions.py --base origin/main - passed
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4866847918 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6190). Originally posted by [devavijitsingh](https://github.com/devavijitsingh) on 2026-10-15T01:27:24Z. --- ### What Add multi-app ZIP conversion to the browser converter. Users can inspect and convert several app archives into one ZIP bundle with a separate numbered output folder per app. Batch output is ZIP-only, applies the memory-download budget to the complete bundle, and reports which archive failed if inspection fails. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Windows; temporary sample app ZIP fixtures (titles not specified). Browser smoke-tested batch inspection, per-app summaries and warnings, batch save-mode restrictions, the preserved single-app folder option, and invalid-archive filename reporting. Full native/WASM conversion integration was not run because CMake and Emscripten (`emcmake`) are unavailable. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none <!-- #PR, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a (browser converter change) <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no --> Validation: - `node --check demo/web/app.mjs` - passed - `node --check demo/web/archive.mjs` - passed - `node --check demo/web/batch.mjs` - passed - `node --check demo/web/output-directory.mjs` - passed - `node --check demo/web/worker.mjs` - passed - `node --test demo/web/tests/batch.test.mjs demo/web/tests/output-directory.test.mjs` - passed (8 tests) - `python tools/check_conventions.py --base origin/main` - passed
github-actions[bot] commented 2026-10-15 01:34:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T01:34:43Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 7332 demo/web/app.mjs L30-31, L33-38, L47-49, L147, L157-159, L229, L233, L240
demo/web/archive.mjs L324-326
demo/web/index.html L14-19
demo/web/worker.mjs L131-134

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 3998 docs/user/USAGE.md
PR 4891 docs/user/USAGE.md
PR 5021 docs/user/USAGE.md
PR 5925 docs/user/USAGE.md
PR 6788 docs/user/USAGE.md
PR 7450 docs/user/USAGE.md
PR 7642 docs/user/USAGE.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6182353823 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6190#issuecomment-6182353823). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T01:34:43Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `demo/web/app.mjs` [L30-31](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/app.mjs#L30-L31), [L33-38](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/app.mjs#L33-L38), [L47-49](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/app.mjs#L47-L49), [L147](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/app.mjs#L147), [L157-159](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/app.mjs#L157-L159), [L229](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/app.mjs#L229), [L233](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/app.mjs#L233), [L240](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/app.mjs#L240)<br>`demo/web/archive.mjs` [L324-326](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/archive.mjs#L324-L326)<br>`demo/web/index.html` [L14-19](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/index.html#L14-L19)<br>`demo/web/worker.mjs` [L131-134](https://github.com/boykopovar/AnyPS5/blob/48d61f53b46f1d0726889e4dd39c5ef2b3eb30cd/demo/web/worker.mjs#L131-L134) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 3998](https://www.github.com/boykopovar/AnyPS5/pull/3998) | `docs/user/USAGE.md` | | [PR 4891](https://www.github.com/boykopovar/AnyPS5/pull/4891) | `docs/user/USAGE.md` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/user/USAGE.md` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `docs/user/USAGE.md` | | [PR 6788](https://www.github.com/boykopovar/AnyPS5/pull/6788) | `docs/user/USAGE.md` | | [PR 7450](https://www.github.com/boykopovar/AnyPS5/pull/7450) | `docs/user/USAGE.md` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `docs/user/USAGE.md` |
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6190
No description provided.