Ok, I updated the tool
Now it should
fall back to the next best line when the room does not match...
I'm not sure how much more time I will/can put into this...... well.... the source code is as always included. And I cleaned the code up at least a little bit.
Also a value of -2 in the mapping.txt should ignore the sample for the line... i.e. "66,1=-2". But this is untested.