Sound Effect bug when compressing game data.

Testing around I tried compressing the game data of my game just to see how it works.
While playing the compressed version I noticed that some of my custom sound effects in combat got replaced with default sound effects.
After digging a bit to figure out the problem, I discovered that the sound effects that got changed had the same name as a default sound effect.
For example, I have custom sound effects with names like "Up", "Up2", "Up3" and so on. And if there existed a default sound effect with the same name, the default sound effects would override my custom sound effects.

What can be done to prevent this?

Right now my only theory is to rename all of my sound effects to names that will definitely not have duplicates. But I have a ton of sound effects and I'd have to modify every skill and event in the game to make sure they are using the correct sound effects. And that just sounds unreasonably time consuming. And who knows what else might be affected in a similar way besides sound effects.
First of all, edit your Game.ini, and remove the dependency to RTP by making the option RTP= empty, so your project will not need the RTP to open and run.

Second of all, import manually all necessary RTP resources to your project.
Thanks a lot. I will try that as soon as I can.
First of all, edit your Game.ini, and remove the dependency to RTP by making the option RTP= empty, so your project will not need the RTP to open and run.

Second of all, import manually all necessary RTP resources to your project.

Original thread: https://forums.rpgmakerweb.com/threads/sound-effect-bug-when-compressing-game-data.143004/