You added too much into rank by the sounds, when you edit it, write your codes in notepad, then open up rank in HxD, fill the section with 00 so the files is completely wiped.
Then open the text file (with codes) into hxd.
Take note of the size of the text file (hex size)
Then whatever size the text file was, select that amount in rank and PASTE WRITE the codes.