RPGMakerDecrypter icon indicating copy to clipboard operation
RPGMakerDecrypter copied to clipboard

Case-sensitive directory preservation in project reconstruction

Open Mabbs opened this issue 10 months ago • 0 comments

Description

During project reconstruction, the current implementation only preserves directories with all-lowercase names (e.g. movie, audio). Some RPG Maker games use capitalized directory names (e.g. Movie, Audio). This causes these directories to be omitted during decryption/reconstruction, potentially breaking game assets.

Expected Behavior

Directory preservation should be case-insensitive. Both audio and Audio should be recognized as valid directories when reconstructing projects.

Suggested Solution

Modify the directory preservation logic to:

  1. Compare directory paths case-insensitively
  2. Preserve original casing in output filesystem

Affected Paths (Examples)

  • Movie/ → Currently ignored
  • Audio/ → Currently ignored

https://github.com/uuksu/RPGMakerDecrypter/blob/465c88c304cac0b1516a3fbfb0b2a87fb0517736/RPGMakerDecrypter.MVMZ/ProjectReconstructor.cs#L8

Mabbs avatar Jun 12 '25 08:06 Mabbs