Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Artwork on/off button assignment, duplicate rom  (Read 1346 times)

0 Members and 1 Guest are viewing this topic.

sshaw10

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
  • Last login:July 11, 2021, 12:51:40 am
  • Oops!
Artwork on/off button assignment, duplicate rom
« 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.

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19960
  • Last login:August 08, 2025, 09:49:26 pm
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: Artwork on/off button assignment, duplicate rom
« Reply #1 on: July 22, 2015, 03:52:53 am »
I'm curious as to why you'd want to do that.
***Build what you dig, bro. Build what you dig.***

big10p

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 698
  • Last login:May 01, 2023, 01:46:23 pm
  • Mmmm, arcade classics!
Re: Artwork on/off button assignment, duplicate rom
« Reply #2 on: July 22, 2015, 06:49:39 am »
I'd guess the only way would be to hack the source code.

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 01, 2025, 09:20:08 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Artwork on/off button assignment, duplicate rom
« Reply #3 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
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

sshaw10

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
  • Last login:July 11, 2021, 12:51:40 am
  • Oops!
Re: Artwork on/off button assignment, duplicate rom
« Reply #4 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.

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19960
  • Last login:August 08, 2025, 09:49:26 pm
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: Artwork on/off button assignment, duplicate rom
« Reply #5 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!
***Build what you dig, bro. Build what you dig.***

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 01, 2025, 09:20:08 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Artwork on/off button assignment, duplicate rom
« Reply #6 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.
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

sshaw10

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
  • Last login:July 11, 2021, 12:51:40 am
  • Oops!
Re: Artwork on/off button assignment, duplicate rom
« Reply #7 on: July 23, 2015, 01:34:02 am »
Good idea Mal, I'll give that a try. 
I kneel before thee.

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Artwork on/off button assignment, duplicate rom
« Reply #8 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