Skip to content

[BUG] PC Engine games fail to run due to missing license folders #4

@ted-devs

Description

@ted-devs

Description:
Currently, PC Engine (PCE) games downloaded through the app are not functional. We need to align our extraction logic with the standard pkg2zip output seen on Windows.

Standard pkg2zip Behavior:
When pkg2zip decrypts a PCE title, it generates a pspemu root folder with the following structure:

  • pspemu/ISO/ ⮕ Contains the Game.iso
  • pspemu/PSP/GAME/[Title ID]/ ⮕ Contains CONTENT.DAT and PSP-KEY.EDAT

The Problem:
Our current "flattening" logic on Android likely only looks for the .iso file and discards the PSP/GAME/[Title ID] directory, which is required by emulators to verify the game license.

Expected Behavior:
The extraction process must be updated to:

  1. Extract the ISO folder content to the user's primary game directory.
  2. Preserve and move the PSP/GAME/[Title ID] folder structure into the user's destination folder.

Implementation Notes:

  • We need to modify _flattenPspemuFolder in DecryptionService to be "recursive-aware" so it doesn't delete the PSP folder if it contains PCE license data.

Category: Compatibility / Bug
Priority: Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions