Hi Muhammed,
You could adjust the RM text file in an external tool (e.g. some form of text editor, but also python).
As I see in the FreeSurfer documentation [1] there is an unknown region in the atlas. Its Index could be found by looking into the corresponding Connectivity region names array. Thus, once you find that IDX (for the "unknown") you could replace all -1 values with that IDX.
The range in RM files should be 0 based. Also the IDX of the "unknown" should be computed using the 0 based convention.
Best,
Lia.