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
|
private readonly string[] _directories = { |
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
audioandAudioshould be recognized as valid directories when reconstructing projects.Suggested Solution
Modify the directory preservation logic to:
Affected Paths (Examples)
Movie/→ Currently ignoredAudio/→ Currently ignoredRPGMakerDecrypter/RPGMakerDecrypter.MVMZ/ProjectReconstructor.cs
Line 8 in 465c88c