Skip to content

feat(content): add SFX payload extractor and control bar package processor - #395

Open
undead2146 wants to merge 3 commits into
community-outpost:developmentfrom
undead2146:feat/content-sfx-extractors
Open

feat(content): add SFX payload extractor and control bar package processor#395
undead2146 wants to merge 3 commits into
community-outpost:developmentfrom
undead2146:feat/content-sfx-extractors

Conversation

@undead2146

Copy link
Copy Markdown
Member

Summary

Introduces automated extraction for self-extracting mod executables (SFX), Smart Install Maker packages, DAT/BIG archives, and control bar package normalization within the content acquisition pipeline.

Note

This is a self-contained feature PR carved out of #265 and must be merged ahead of #265.

Motivation

Many legacy Command & Conquer Generals/Zero Hour mods distributed via ModDB and other community hubs are packaged inside SFX exe wrappers (e.g. Smart Install Maker, InnoSetup) or DAT files rather than standard ZIP archives. This PR adds deep inspection and lossless unpacking capabilities.

Changes

  • Core Interfaces: Added IArchivePayloadProcessor and IControlBarPackageProcessor.
  • Processors:
    • Implemented ArchivePayloadProcessor with Smart Install Maker signature scanning, binary payload slicing, and recursive decompression.
    • Implemented ControlBarPackageProcessor for normalizing control bar UI asset bundles.
  • DI Registration: Registered processors in ContentPipelineModule.
  • Tests: Added comprehensive test suites in ArchivePayloadProcessorTests.cs and ControlBarPackageProcessorTests.cs.

Verification

Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
Comment thread GenHub/GenHub/Features/Content/Services/Common/ControlBarPackageProcessor.cs Outdated
@community-outpost community-outpost deleted a comment from coderabbitai Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from deepsource-io Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from qodo-code-review Bot Aug 19, 2026
@undead2146
undead2146 force-pushed the feat/content-sfx-extractors branch from fdc62a0 to 0459584 Compare August 19, 2026 11:23
Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated

@kilo-code-bot kilo-code-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review findings for commit 0459584

Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
Comment thread GenHub/GenHub.Core/Constants/CatalogConstants.cs
Comment thread GenHub/GenHub.Core/Interfaces/Content/IArchivePayloadProcessor.cs
Comment thread GenHub/Directory.Packages.props
Comment thread scripts/build-check.ps1
Comment thread scripts/build-check.ps1
@community-outpost community-outpost deleted a comment from deepsource-io Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from coderabbitai Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from qodo-code-review Bot Aug 19, 2026
@undead2146
undead2146 force-pushed the feat/content-sfx-extractors branch from 0459584 to c372d1e Compare August 19, 2026 11:56
@community-outpost community-outpost deleted a comment from kilo-code-bot Bot Aug 19, 2026
Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
Comment thread GenHub/GenHub/Features/Content/Services/Common/ArchivePayloadProcessor.cs Outdated
coderabbitai[bot]

This comment was marked as resolved.

@community-outpost community-outpost deleted a comment from coderabbitai Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from deepsource-io Bot Aug 19, 2026
kilo-code-bot[bot]

This comment was marked as resolved.

@community-outpost community-outpost deleted a comment from kilo-code-bot Bot Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant