RPGMakerDecrypter
RPGMakerDecrypter copied to clipboard
Case-sensitive directory preservation in project reconstruction
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:
- Compare directory paths case-insensitively
- 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