So here's the explanation of what the issue is. So I made a backup of my Pokémon Alpha Sapphire cart using BrainDump and decompressed it as I was supposed to which gave me the romfs and exefs folders. I proceeded to edit the music to those of my liking and re-compressed them, converted it to .3ds, then tried to convert it to .cia after making sure that I had dumped the xorpads for the game. Once it finished converting, I tried to install it on Emunand and it would finish but after unwrapping it, the logo won't appear without the sound and the 3DS would give me the "An error has occurred." message. I even deleted the update data from the 3DS, but same thing happens! Any idea what I'm doing wrong?