MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

FlightRisk
MAME Fan
Reged: 07/09/18
Posts: 6
Send PM


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? new [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




Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: Will settings set to 0 in raster.ini still overwrite that setting from mame.ini? new [Re: CiroConsentino]
#377659 - 07/17/18 11:41 PM


The official MAME documentation might be useful too...

Multiple Configuration Files
http://docs.mamedev.org/advanced/multiconfig.html



GroovyMAME support forum on BYOAC



FlightRisk
MAME Fan
Reged: 07/09/18
Posts: 6
Send PM


Re: Will settings set to 0 in raster.ini still overwrite that setting from mame.ini? new [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.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 139 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 581