Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Order for Dips in Mister/Mist #75

@eubrunosilva

Description

@eubrunosilva

Hi

another request... sorry :)

about the ids of the dips:
we must sort the ids of the dips by its value and not by its name.

giving an example for 1942:

	PORT_DIPNAME( 0xc0, 0x40, DEF_STR( Lives ) )        PORT_DIPLOCATION("SWA:2,1")
	PORT_DIPSETTING(    0x80, "1" )
	PORT_DIPSETTING(    0x40, "2" )
	PORT_DIPSETTING(    0xc0, "3" )
	PORT_DIPSETTING(    0x00, "5" )

the dip will be:

<dip bits="6,7"   name="Lives"        ids="5,2,1,3"></dip>

in osd doesn't make much sense not having the lives sorted. whe should have something like this:

<dip bits="6,7"   name="Lives"        ids="1,2,4,5"></dip>

yes, I know that this doesn't work out of the box :)

So, in mister, we can change the sort order of ids for a "dip" having the values for each id.
you can see how in the end of this page:
https://github.com/MiSTer-devel/Main_MiSTer/wiki/Arcade-Roms#Dip-Switches

the "problem" here is mist that doesn't do this.

My question is:

  • its possible to have the mra with another order and values for each one like this example and the tool sort the ids by their value (like we have today) when it creates the arc?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions