MiSTer.ini shared settings?

User avatar
SwedishGojira
Posts: 64
Joined: Sun May 24, 2020 7:26 pm
Location: Sweden
Has thanked: 26 times
Been thanked: 28 times
Contact:

MiSTer.ini shared settings?

Unread post 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.
retrodroid
Posts: 138
Joined: Tue Feb 02, 2021 5:55 pm
Has thanked: 96 times
Been thanked: 19 times

Re: MiSTer.ini shared settings?

Unread post 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.
XtraSmiley
Posts: 109
Joined: Wed May 27, 2020 11:33 pm
Has thanked: 101 times
Been thanked: 15 times

Re: MiSTer.ini shared settings?

Unread post by XtraSmiley »

Great question.
User avatar
keith.f.kelly
Posts: 90
Joined: Sun May 24, 2020 11:10 pm
Location: Sammamish, WA, USA
Has thanked: 3 times
Been thanked: 8 times
Contact:

Re: MiSTer.ini shared settings?

Unread post 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.
justaguy
Posts: 45
Joined: Thu Jun 18, 2020 5:23 pm
Has thanked: 3 times
Been thanked: 20 times

Re: MiSTer.ini shared settings?

Unread post 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.)

Post Reply