Yes I know I did and it works but my point was that it was working by default in the previews MAME 0.229 and I didn't even have to change anything in mame.ini to make it save the ini's in the ini folder
I think there's a bug prevent MAMEUI to find the ini folder by default or there is typo or something in the code