MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Pages: 1

barito
MAME Fan
Reged: 09/30/20
Posts: 2
Send PM


custom layout file for shifter positions - need help
#388048 - 09/30/20 01:08 PM Attachment: artwork.7z 1 KB (2 downloads)


Hello everybody,

I am trying to figure out how to replace the default rendered elements shifer icon with two images, one for the Hi gear position, the other for the Low gear pos.

I had success in an old MAME version (0.160) with something similar to the following (i changed directly the source code then, now I am trying to made my changes from the user-friendly "artwork" folder):


Code:























This doesnt work: I can see on screen "lowslim.png" image, but when i change gear nothing happens ("highslim.png" is not shown).

Can anyone help me?

Attached is the artwork folder, with both images for outrun and the .lay file

Thanks!



barito
MAME Fan
Reged: 09/30/20
Posts: 2
Send PM


Re: custom layout file for shifter positions - need help new [Re: barito]
#388049 - 09/30/20 02:10 PM Attachment: default.lay 1 KB (0 downloads)


looks like I was declaring wrong values for "inputtag" and "inputmask".

Not sure what they actually do, but it now works. Attached is the working file


Pages: 1

MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

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