Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: sshaw10 on July 22, 2015, 01:07:35 am

Title: Artwork on/off button assignment, duplicate rom
Post by: sshaw10 on July 22, 2015, 01:07:35 am
I'd like to be able to turn artwork off/on with a button assignment, maybe have mame cycle through the video options with the push of a button.  I thought about cloning a rom and adding art to the end of the rom and artwork files so you would have two versions of the same game in the list, one without artwork and one with but that involves editing the mame xml and gets complicated and time consuming.  Don't think there's a way but thought I'd check.

Thanks.
Title: Re: Artwork on/off button assignment, duplicate rom
Post by: yotsuya on July 22, 2015, 03:52:53 am
I'm curious as to why you'd want to do that.
Title: Re: Artwork on/off button assignment, duplicate rom
Post by: big10p on July 22, 2015, 06:49:39 am
I'd guess the only way would be to hack the source code.
Title: Re: Artwork on/off button assignment, duplicate rom
Post by: Malenko on July 22, 2015, 07:28:34 am
I'd guess the only way would be to hack the source code.

for the rom thing, yeah

To toggle art on or off, it could theoretically be done with an autohotkey script.
Easiest solution? 2 MAME configs, 1 with art, 1 without
Title: Re: Artwork on/off button assignment, duplicate rom
Post by: sshaw10 on July 22, 2015, 09:12:49 pm
yotsuya,

I wanted to do this because some of the artwork makes the game really small and sometimes I'd want to play with and sometimes without all the artwork, or maybe with just an overlay and not the bezel.  What I'm ultimately trying to do is make the experience as easy as possible without having to go through menus or use a keyboard.  Pushing a button to cycle through art setups would be the easiest.

Malenko,
when you say 2 configs, do you mean two of each rom or two different mame installs all together and then just switch emulators?  I tried duplicating roms then adding art to the end of the duplicated name and doing the same for the artwork file.  I then had to edit the mame xml file to have the duplicate listed as a game and that got complicated, not as easy as making a duplicate of the game and changing the name.

Thanks for the responses.
Title: Re: Artwork on/off button assignment, duplicate rom
Post by: yotsuya on July 22, 2015, 09:16:38 pm
yotsuya,

I wanted to do this because some of the artwork makes the game really small and sometimes I'd want to play with and sometimes without all the artwork, or maybe with just an overlay and not the bezel.  What I'm ultimately trying to do is make the experience as easy as possible without having to go through menus or use a keyboard.  Pushing a button to cycle through art setups would be the easiest.

Malenko,
when you say 2 configs, do you mean two of each rom or two different mame installs all together and then just switch emulators?  I tried duplicating roms then adding art to the end of the duplicated name and doing the same for the artwork file.  I then had to edit the mame xml file to have the duplicate listed as a game and that got complicated, not as easy as making a duplicate of the game and changing the name.

Thanks for the responses.
Cool, I get it. I play with the artwork cropped so I don't have the size issue. I see it as screen filler.

Good luck!
Title: Re: Artwork on/off button assignment, duplicate rom
Post by: Malenko on July 22, 2015, 10:21:01 pm
Malenko,
when you say 2 configs, do you mean two of each rom or two different mame installs all together and then just switch emulators?  I tried duplicating roms then adding art to the end of the duplicated name and doing the same for the artwork file.  I then had to edit the mame xml file to have the duplicate listed as a game and that got complicated, not as easy as making a duplicate of the game and changing the name.

Thanks for the responses.

2 MAME installs sharing the same ROM directory.  1 MAME install with art, one without.  switch which MAME you use based on if you want art or not.
Title: Re: Artwork on/off button assignment, duplicate rom
Post by: sshaw10 on July 23, 2015, 01:34:02 am
Good idea Mal, I'll give that a try. 
I kneel before thee.
Title: Re: Artwork on/off button assignment, duplicate rom
Post by: keilmillerjr on July 23, 2015, 04:44:29 am
Core Artwork Options

-artwork_crop
-use_backdrops
-use_overlays
-use_bezels
-use_cpanels
-use_marquees

Create an autohotkey (assuming you are using windows) that will:

Accept params
Determine if your service button is pressed
Add additional params if necessary
Launch mame with params