Custom ini entries for arcade games

mario64
Posts: 119
Joined: Sun May 24, 2020 6:50 pm
Has thanked: 18 times
Been thanked: 10 times

Custom ini entries for arcade games

Unread post by mario64 »

Hi all,

I know that you can have custom core settings by adding entries to mister.ini but how do you do this for arcade cores? Double Dragon and Double Dragon 2 only work on my Samsung Q60R if I set vsync_adjust to 0 (normally it's 1). I don't want to change my global setting just for these two games.

Is there a way I can set vsync_adjust = 0 for each game or at the very least for all arcade cores? If so, what would be the correct syntax?

Thanks,
mario64
Lightwave
Posts: 237
Joined: Sun May 24, 2020 10:06 pm
Has thanked: 114 times
Been thanked: 68 times

Re: Custom ini entries for arcade games

Unread post by Lightwave »

By creating an entry in mister.ini the same way you would for console cores.

Look in the config folder for the internal core names.
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Custom ini entries for arcade games

Unread post by LeftEmpty »

The simplest way to describe it is for you to look up the name of the core in the MRA file of the game you want to launch with a special parameter.
For instance for Double Dragon, you'll see something like:

Code: Select all

<misterromdescription>
	<name>Double Dragon (Japan)</name>
	<mameversion>0216</mameversion>
	<setname>ddragon</setname>
	<mratimestamp>201911270000</mratimestamp>
	<year>1987</year>
	<manufacturer>Technos Japan</manufacturer>
	<category>Fighter / Hero</category>
	<rbf>jtdd</rbf>
That part between the rbf tags is what is important.

Then, in this instance, I would add at the end of the Mister.ini:

Code: Select all

[jtdd]
vsync_adjust=0

Edit: all BS! Ignore me!
mario64
Posts: 119
Joined: Sun May 24, 2020 6:50 pm
Has thanked: 18 times
Been thanked: 10 times

Re: Custom ini entries for arcade games

Unread post by mario64 »

LeftEmpty wrote: Sat May 30, 2020 1:31 am The simplest way to describe it is for you to look up the name of the core in the MRA file of the game you want to launch with a special parameter.
For instance for Double Dragon, you'll see something like:

Code: Select all

<misterromdescription>
	<name>Double Dragon (Japan)</name>
	<mameversion>0216</mameversion>
	<setname>ddragon</setname>
	<mratimestamp>201911270000</mratimestamp>
	<year>1987</year>
	<manufacturer>Technos Japan</manufacturer>
	<category>Fighter / Hero</category>
	<rbf>jtdd</rbf>
That part between the rbf tags is what is important.

Then, in this instance, I would add at the end of the Mister.ini:

Code: Select all

[jtdd]
vsync_adjust=0
Perfect thank you!
User avatar
Zichio
Posts: 9
Joined: Sun May 24, 2020 9:30 pm

Re: Custom ini entries for arcade games

Unread post by Zichio »

mario64 wrote: Sat May 30, 2020 2:05 am
LeftEmpty wrote: Sat May 30, 2020 1:31 am The simplest way to describe it is for you to look up the name of the core in the MRA file of the game you want to launch with a special parameter.
For instance for Double Dragon, you'll see something like:

Code: Select all

<misterromdescription>
	<name>Double Dragon (Japan)</name>
	<mameversion>0216</mameversion>
	<setname>ddragon</setname>
	<mratimestamp>201911270000</mratimestamp>
	<year>1987</year>
	<manufacturer>Technos Japan</manufacturer>
	<category>Fighter / Hero</category>
	<rbf>jtdd</rbf>
That part between the rbf tags is what is important.

Then, in this instance, I would add at the end of the Mister.ini:

Code: Select all

[jtdd]
vsync_adjust=0
Perfect thank you!
This is the way i did it before, but now I find it uses setname, if that is found as "internal corename" (<setname>ddragon</setname>).
So use that instead.

You can also use * to describe more variants.

[ddragon*]
vsync_adjust=0

This will catch all Alternative versions of Double Dragon (also DD2).
mario64
Posts: 119
Joined: Sun May 24, 2020 6:50 pm
Has thanked: 18 times
Been thanked: 10 times

Re: Custom ini entries for arcade games

Unread post by mario64 »

Zichio wrote: Sat May 30, 2020 7:55 am
mario64 wrote: Sat May 30, 2020 2:05 am
LeftEmpty wrote: Sat May 30, 2020 1:31 am The simplest way to describe it is for you to look up the name of the core in the MRA file of the game you want to launch with a special parameter.
For instance for Double Dragon, you'll see something like:

Code: Select all

<misterromdescription>
	<name>Double Dragon (Japan)</name>
	<mameversion>0216</mameversion>
	<setname>ddragon</setname>
	<mratimestamp>201911270000</mratimestamp>
	<year>1987</year>
	<manufacturer>Technos Japan</manufacturer>
	<category>Fighter / Hero</category>
	<rbf>jtdd</rbf>
That part between the rbf tags is what is important.

Then, in this instance, I would add at the end of the Mister.ini:

Code: Select all

[jtdd]
vsync_adjust=0
Perfect thank you!
This is the way i did it before, but now I find it uses setname, if that is found as "internal corename" (<setname>ddragon</setname>).
So use that instead.

You can also use * to describe more variants.

[ddragon*]
vsync_adjust=0

This will catch all Alternative versions of Double Dragon (also DD2).
I checked and Double Dragon 2 has no setname in its MRA file. If it is missing which value should I use, core name?
User avatar
Zichio
Posts: 9
Joined: Sun May 24, 2020 9:30 pm

Re: Custom ini entries for arcade games

Unread post by Zichio »

Yes, use corename if no setname is present in the mra (in this case jtdd2)

Also, as Bits n Stuff mentioned, the name that is used as "corename" will always be listed down the left-hand side of the OSD when it is active in the core (might be hard to see if there is no image on screen tough, hehe).
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Custom ini entries for arcade games

Unread post by LeftEmpty »

You can also customize the mra and add your own setname. The format was made with flexibility in mind.
User avatar
lomdar67
Posts: 184
Joined: Sun May 24, 2020 8:27 pm
Has thanked: 14 times
Been thanked: 8 times

Re: Custom ini entries for arcade games

Unread post by lomdar67 »

When there is a setname in the mra you have to use the setname in the MiSTer.ini file. Otherwise you have to use the core name (rbf). At least this is how it works in the latest MiSTer releases.
We raise hopes here...until they're old enough to fend for themselves.
--Mike Callahan
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Custom ini entries for arcade games

Unread post by LeftEmpty »

Actually that's what I was told, and it's not!
The setname is what is being used and it is set to reflect the name of the romset used by the core, which is what it actually is using!
I had issues with most arcade cores and custom settings, trying to use RBF as a basis as I was told, and today @paisleyboxers on Jotego's channel told me all about it.
Setname (or rom's setname as displayed in the OSD on the left band when running the game) is the only way to get it working.
Sorry for the misinformation earlier!
User avatar
lomdar67
Posts: 184
Joined: Sun May 24, 2020 8:27 pm
Has thanked: 14 times
Been thanked: 8 times

Re: Custom ini entries for arcade games

Unread post by lomdar67 »

I agree, but there are mra files out there without a xml tag setname. And for those mra files the rbf tag is working fine.
We raise hopes here...until they're old enough to fend for themselves.
--Mike Callahan
Post Reply