briankendall/devreorder

Reoder not Working in MAME

4thkindenter opened this issue · 8 comments

MAME will only keep the order on player 3, 4, 5 generic controllers and my other devices are ordered fine. Player 1 and 2 sometimes are 1 and 2 but they change almost every time I launch. Sometimes they are 12, and 13 and other 14 and 15.

What kind of controller do you have assigned to players 1 and 2?

Does it work better if you order the controllers using their GUID instead of their name? (Assuming you're not already using their GUIDs.)

They are all zero delay encoders which windows labels "generic". I am using the name and the GUID below. Player 3,4,5 are the same controller types with zero delay encoders and they remain in the same order and have been since I installed it. I just can't figure out why it won' work with player 1 and 2.

You should only use the name or the GUID, not both. What happens if you just use the GUID?

I just tried that and the results were the same. Player 1 is joy13 (I don't even have that many devices connected) and player 2 is joy14

Would you copy / paste your devorder.ini file into a comment here so I can look at it?

; devreorder settings
; Any line starting with ; is a comment and will be ignored

[order]

{ef997f40-6422-11e8-8001-444553540000}
{6bb67630-643e-11e8-8004-444553540000}
{fa90f630-6422-11e8-8002-444553540000}
{175a31a0-6423-11e8-8003-444553540000}
{3d35e4b0-6391-11e8-8002-444553540000}
T.Flight Stick X
VirtuaPin Controller
ATRAK Device #1
ATRAK Device #2

; In this section write the names or GUIDs of your controllers
; in the order you want them to be detected, one per line.
; Make sure any names exactly match the name printed in the
; Game Controllers control panel or in DeviceLister.exe,
; including any capital letters and punctuation. If you use
; a device's GUID instead of its name, make sure the GUID is
; enclosed in curly braces, just like in DeviceLister.exe.
; Example:
; vJoy Device
; Controller (XBOX 360 For Windows)
; {01234567-89ab-cdef-0123-456789abcdef}

[hidden]
Controller (XBOX 360 For Windows)
{dc696f30-1b7d-11e9-8007-444553540000}
Controller (XBOX 360 For Windows)
{e75b49c0-4347-11ea-8001-444553540000}

; In this section, write the names or GUIDs of controllers
; that you want to be hidden. Again their name must exactly
; match the name printed in the Game Controllers control
; panel or in DeviceLister.exe, and GUIDs must be in the
; same format as above.
; Example:
; Wireless Controller
; {01234567-89ab-cdef-0123-456789abcdef}

[visible]
; In this section, write the names or GUIDs of the controllers
; that you want to be the only controllers which are visible.
; If this section is not empty, then all controllers not listed
; in it will be hidden. If this section is left blank, then it
; will have no effect and only the controllers in the [hidden]
; section will be invisible. (This does not affect keyboards,
; mice, and other pointing devices.)
; Example:

[ignored processes]
; In this section, write the names of processes you want
; devreorder to ignore so that the order and visibility of
; their controllers are not changed, as though devreorder is
; not installed. Matches are not case sensitive. Be sure to
; include the file extension as well.
; Example:
; steam.exe

I had to do a restart and they are now joy1 and 2, but that happens sometimes and after a few launches they change again. Its like the reorder for those 2 won't stick

Just as I suspected player 1 and 2 have reordered for no reason. The computer has been on, without any restarts and randomly they are now joy 13 and 14.