MAMEWorld >> MAME Artwork: Official
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

Nightvoice
MAME Fan
Reged: 03/19/10
Posts: 753
Loc: The Room Next To You
Send PM


Yo Comboman...
#341087 - 06/04/15 08:39 PM


Is there a place to look up control names? -listxml wasn't much help. I'm trying to set up a 4-gear shifter on Speed Freak, but it would be nice to know where to get this info for the future without bothering forum'ers for it.



----------------------
I have officially retired from sucking at everything I do. Life is much easier now.

My MAME/MESS artwork files: https://drive.google.com/open?id=1ABxeKgNIrKlIsyck7dx4V241NFQDWAF4
Related screen shots: https://drive.google.com/open?id=1U5IbvbVzYW97PuOOQuocvZFE_YJz7WIn



Comboman
Can't think of a good title
Reged: 12/30/12
Posts: 431
Loc: Halifax, Canada
Send PM


Re: Yo Comboman... new [Re: Nightvoice]
#341101 - 06/05/15 03:44 AM


You pretty much have to go digging around in the driver source code. Driver for Speed Freak is cinemat.c
I don't want to discourage you, but I can tell you from experience that 4-way shifters are a pain in the arse. Speed Freak seems to have something extra weird going on with the start button and gear 4 using the same port bit.



Nightvoice
MAME Fan
Reged: 03/19/10
Posts: 753
Loc: The Room Next To You
Send PM


Re: Yo Comboman... new [Re: Comboman]
#341113 - 06/05/15 11:06 AM


That was helpful. I was at least able to get it to flash what gear I pressed, but in the driver it's set up in such a way that each gear is its own on/off button as opposed to a 4-position control. Can't say there's much use for a gear shift that won't stay in gear. Looks like this one is dead in the water for now, but now I know where to look for other projects in the future. Cheers!



----------------------
I have officially retired from sucking at everything I do. Life is much easier now.

My MAME/MESS artwork files: https://drive.google.com/open?id=1ABxeKgNIrKlIsyck7dx4V241NFQDWAF4
Related screen shots: https://drive.google.com/open?id=1U5IbvbVzYW97PuOOQuocvZFE_YJz7WIn



Comboman
Can't think of a good title
Reged: 12/30/12
Posts: 431
Loc: Halifax, Canada
Send PM


4-gear shifter artwork new [Re: Nightvoice]
#341135 - 06/06/15 04:39 AM


> That was helpful. I was at least able to get it to flash what gear I pressed, but in
> the driver it's set up in such a way that each gear is its own on/off button as
> opposed to a 4-position control. Can't say there's much use for a gear shift that
> won't stay in gear.

I had the same problem with Drag Race. The only fix I could come up with was to add the output_set_value statements to the function that sets the gear setting so the persistent gear state would be available to the artwork.


Pages: 1

MAMEWorld >> MAME Artwork: Official
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Mr. Do 
0 registered and 4 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1902