such things can be solved using a hexedytor
Nothing special. It's a simplest way. Just look into your file and try to figure out it's structure. Knowing that it should be brres, it is really simple.
And this *ui file is just a pack of files without any compression.
Sometimes google + hex-editor may help. Sometimes not. In this case it helps - just extract/edit/replace data in your file.