|
Will settings set to 0 in raster.ini still overwrite that setting from mame.ini?
#377657 - 07/17/18 06:04 PM
|
|
|
I was trying to figure out the .ini hierarchy. Do I have to delete any unchanged settings from down the chain of .ini files so they don't overwrite the one before it? IOW, if I have this:
mame.ini - scanline_alpha .5 raster.ini - scanline_alpha 0
will scanline alpha be .5 or 0?
I will use mame.ini, raster.ini and horizont.ini, for example. So for HLSL, I would either have to copy the entire section from mame.ini and copy it to both raster.ini and horizont.ini so they are all the same and then change just the things at each point that should be different, or copy only the settings I want changed into each file to make sure nothing unintended gets overridden. So horizont.ini might only have 3 or 4 lines in it. Is that correct?
|
|
|
CiroConsentino |
Frontend freak!
|
|
|
Reged: 09/21/03
|
Posts: 6211
|
Loc: Alien from Terra Prime... and Brazil
|
|
Send PM
|
|
|
Re: Will settings set to 0 in raster.ini still overwrite that setting from mame.ini?
[Re: FlightRisk]
#377658 - 07/17/18 08:34 PM
|
|
|
According to src\frontend\mame\emuopts.h source https://github.com/mamedev/mame/blob/b19...mame/mameopts.h
mame.ini is first, then its settings are overwritten by following .ini files (gamename.ini is the last one):
Code:
mame.ini debug.ini horizont.ini or vertical.ini arcade.ini or console.ini or computer.ini or othersys.ini raster.ini or vector.ini or lcd.ini or svg.ini source\sourcefile.ini sourcefile.ini biosname.ini parentgame.ini (if current game is clone) gamename.ini
|
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]
|
|
|
Re: Will settings set to 0 in raster.ini still overwrite that setting from mame.ini?
[Re: CiroConsentino]
#377659 - 07/17/18 11:41 PM
|
|
|
|
|
Re: Will settings set to 0 in raster.ini still overwrite that setting from mame.ini?
[Re: krick]
#377669 - 07/18/18 03:55 PM
|
|
|
Excellent. Thanks to you both. I chose to have each .ini file down the chain include ONLY the changed lines so as not to get confused by (and have to keep track of) all the settings that don't change across each file.
|
|
|