[PR #694] pe_shader_containers: parse and validate multi-image container layouts (OLD-9775) #734

Open
opened 2026-11-26 20:18:52 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/694
Author: @abnalstlll-byte
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: feat/pe-shader-containers-multi-image


📝 Commits (2)

  • 2d6da27 pe_shader_containers: stage --json so a write failure keeps the previous report
  • 9a118b8 pe_shader_containers: sequence container stems sequentially across multi-image extract

📊 Changes

2 files changed (+86 additions, -9 deletions)

View changed files

📝 tests/test_pe_shader_containers.py (+41 -0)
📝 tools/pe_shader_containers.py (+45 -9)

📄 Description

Related issues: #14, #17, #18 (restoring old upstream PR 9775, author restoration for draft PR #53).

What and why

Restores original pull request OLD-9775 authored by @abnalstlll-byte:

  • Extends \ ools/pe_shader_containers.py\ to support multi-image container layout parsing and sequential stem numbering across multi-image extract passes.
  • Fixes stem collision when multiple shader container images are extracted into the same target directory.
  • Fully compatible with \ ools/pe_inspect.py\ and \make_game.py\ extraction pipelines.
  • Comprehensive unit test coverage in \ ests/test_pe_shader_containers.py\ (21/21 PASS).

Tested

  • Windows 11 x64, Python 3.14 / 3.12:
    • \python -I tests/test_pe_shader_containers.py: 21/21 PASS.
    • \python -I scripts/check_no_game_data.py\ on changed files: PASS.
  • Clean merge against \ubi/main\ (0 conflicts).

Checklist

  • No proprietary payloads, game-derived files, keys, or protection workarounds.
  • Standard library only (\python -I).
  • Preserves author attribution and original PR commit provenance.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/694 **Author:** [@abnalstlll-byte](https://github.com/abnalstlll-byte) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/pe-shader-containers-multi-image` --- ### 📝 Commits (2) - [`2d6da27`](https://github.com/ubiquitarianism/leonida/commit/2d6da278465b073a4f70b7de37a476b109e8948d) pe_shader_containers: stage --json so a write failure keeps the previous report - [`9a118b8`](https://github.com/ubiquitarianism/leonida/commit/9a118b856c5a6806a7e29f3172f50d2b93dfc384) pe_shader_containers: sequence container stems sequentially across multi-image extract ### 📊 Changes **2 files changed** (+86 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_pe_shader_containers.py` (+41 -0) 📝 `tools/pe_shader_containers.py` (+45 -9) </details> ### 📄 Description Related issues: #14, #17, #18 (restoring old upstream PR 9775, author restoration for draft PR #53). ### What and why Restores original pull request **OLD-9775** authored by @abnalstlll-byte: - Extends \ ools/pe_shader_containers.py\ to support multi-image container layout parsing and sequential stem numbering across multi-image extract passes. - Fixes stem collision when multiple shader container images are extracted into the same target directory. - Fully compatible with \ ools/pe_inspect.py\ and \make_game.py\ extraction pipelines. - Comprehensive unit test coverage in \ ests/test_pe_shader_containers.py\ (21/21 PASS). ### Tested - Windows 11 x64, Python 3.14 / 3.12: - \python -I tests/test_pe_shader_containers.py\: 21/21 PASS. - \python -I scripts/check_no_game_data.py\ on changed files: PASS. - Clean merge against \ubi/main\ (0 conflicts). ### Checklist - [x] No proprietary payloads, game-derived files, keys, or protection workarounds. - [x] Standard library only (\python -I\). - [x] Preserves author attribution and original PR commit provenance. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#734
No description provided.