Ini settings for Mame core

Hi everybody, I am trying to get per-system and per-game setting to work with the mame core, but it they don’t seem to be read. I have those files located in system/mame/ini/. Did anybody manage to get those inis to work with the mame core?

It works here.

Machines ini like cps1/cps2 need to be put into system/mame/ini/source folder. Some systems work for me in system/mame/ini like x68000.ini or neogeo.ini. I’m not sure what is the rule there.