Frontend Tech + >> MAMEUI & IV/Play
View all threads Index   Flat Mode Flat  

MAME Groupie
Reged: 04/26/11
Posts: 114
Send PM
Interesting problem with .ini files
03/31/16 01:04 AM

In the new MAME 0.172, this is the path for .ini files


inipath            .;ini;ini/presets

MAMEUI changes configurations, so it likes that path to be just:


inipath             ini

and it will change the mame.ini in the /ini directory to read just that, eliminating all the presets.

With no mame.ini in the /ini directory, MAMEUI reads the mame.ini in the root directory, and the ini path is set to ini/presets. It then puts mame.ini in the presets directory.

My solution so far is to have a mame.ini file in the ini directory, along with copies of all the presets. MAMEUI seems to be able to handle this.

If anyone is still maintaining the code, however, it might be better to allow MAMEUI to accept multiple inipath variables, and know to drop its .ini changes into the /ini directory, or perhaps the first directory in the list: no reason the variable can't be set to -


inipath           ini;.;ini/presets

In any event, the code may need an update. The current workaround is to have a mame.ini in the /ini directory that sets inipath to just ini, and one in the root directory that sets the multiple paths for vanilla MAME.

(MAMEUI fortunately handles diff ini's just fine. I have a couple of games where the only line is HLSL_enable 0, and MAMEUI reads it just fine.)

Any thoughts? It took me a while to figure out what was going on.

Entire thread
Subject Posted by Posted on
* Interesting problem with .ini files Zaghadka 03/31/16 01:04 AM
. * Re: Interesting problem with .ini files Robbbert  03/31/16 01:08 AM
. * Re: Interesting problem with .ini files Zaghadka  03/31/16 02:33 AM
. * Re: Interesting problem with .ini files R. Belmont  04/08/16 05:17 PM

Extra information Permissions
Moderator:  John IV 
0 registered and 8 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2070