Skip to content

feat: add support for P2T archives with LZSS decompression#2

Open
gopicolo wants to merge 1 commit intomalucard:mainfrom
gopicolo:main
Open

feat: add support for P2T archives with LZSS decompression#2
gopicolo wants to merge 1 commit intomalucard:mainfrom
gopicolo:main

Conversation

@gopicolo
Copy link

@gopicolo gopicolo commented Jan 4, 2026

This PR adds support for the P2T archive format used in KID games for the PS2, such as "Mabino x Style" and "Gokujou Seitokai".

Details:

  • Implemented P2T detection and extraction logic.
  • Included LZSS decompression (based on Okumura's algorithm).
  • Handles the 4-byte uncompressed size prefix found in these archives to ensure correct file sizing and palette alignment.

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