Page 1 of 1

MiSTer.ini shared settings?

Posted: Mon Feb 08, 2021 7:49 pm
by SwedishGojira
Since it seems impossible to give specific settings to arcade cores that run several games is there a way to concoct settings?
What I mean is to define settings for two or more games at once in the ini?

I now have:

Code: Select all

[mercs*]
video_mode=8
vscale_mode=3
video_mode_ntsc=8
video_mode_pal=9
vfilter_default=Vertical Scanlines (Soft).txt

[commando*]
video_mode=8
vscale_mode=2
video_mode_ntsc=8
video_mode_pal=9
vfilter_default=Vertical Scanlines (Soft).txt
Is there some way to put them together to make the mister.ini more clean?
Something like:

Code: Select all

[mercs*, commando*]
video_mode=8
vscale_mode=3
video_mode_ntsc=8
video_mode_pal=9
vfilter_default=Vertical Scanlines (Soft).txt
I have tried all sorts of combinations with no luck, but I am sure I read about it somewhere in the past that it should be possible...

For games from systems such as the CPS 1, 1.5 and 2 (or any arcade core thatcan run more than one game) it would be better if we could define a base setting directly for the core, but that does not seem to work anymore since they now change according to the setname from the mra.

Re: MiSTer.ini shared settings?

Posted: Sun Feb 21, 2021 5:24 pm
by retrodroid
Hi, I agree with your sentiment.

Was wondering why you have a "*" at the end of your current .ini file entries? Are you wildcarding something? I'm new to MiSTer and haven't found anything that explains the supported format(s) for the per-core ini section entries that would indicate you can use a wildcard character.

Re: MiSTer.ini shared settings?

Posted: Sun Feb 21, 2021 6:47 pm
by XtraSmiley
Great question.

Re: MiSTer.ini shared settings?

Posted: Wed Dec 01, 2021 6:34 am
by keith.f.kelly
See my related proposal here: viewtopic.php?f=28&t=3717

You're talking about a different problem, but our proposed solutions appear to be compatible with each other and could be combined.

Re: MiSTer.ini shared settings?

Posted: Wed Nov 22, 2023 7:43 pm
by justaguy

For anyone who finds this post, multi-core INI sections have been possible for a while now. The syntax:

Code: Select all

[jtcps1]
+jtcps15
+jtcps2
video_info=0
...

Using the RBF file name (technically the core config string name, but they usually match) instead of the MAME name works for me (don't know if this changed since the thread was started).

(To answer an earlier poster's question, the asterisk as a wildcard is indeed valid at the end of section names--but only the end, not the beginning or middle.)