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: MAME Split Screen  (Read 2556 times)

0 Members and 1 Guest are viewing this topic.

Fishinfiend

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:February 12, 2018, 07:44:02 pm
  • I want to build my own arcade controls!
MAME Split Screen
« on: December 27, 2016, 10:32:13 pm »
Is there a way to take a monitor, turn it sideways and while playing a game on MAME have it show the game controls (i.e. 4 way joystick, button1 fire, button2 turbo) on the bottom of the screen?

Locke141

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1692
  • Last login:February 23, 2025, 06:44:01 pm
  • Never grow up.
Re: MAME Split Screen
« Reply #1 on: December 28, 2016, 12:55:46 am »
You may want to look into LED control option.

Here is just a few options, that I have never used, but you should look around at other options or ask about LED control options.

https://www.ultimarc.com/pacdrive.html

http://www.ledblinky.net/ledblinky.htm

LED-Wiz is also an opting but Groovy Game Gear seem's to be down.

Laythe

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 726
  • Last login:July 30, 2025, 03:35:00 pm
  • "-smurfing- delivers." - Yots
    • forum.arcadecontrols.com/index.php/topic,149109.0.html
Re: MAME Split Screen
« Reply #2 on: December 28, 2016, 01:45:38 am »
Is there a way to take a monitor, turn it sideways and while playing a game on MAME have it show the game controls (i.e. 4 way joystick, button1 fire, button2 turbo) on the bottom of the screen?

Sure.  Make a layout file per game, and an image for the game controls per game.

Examine an existing layout to see how they work; they're found in the MAME artwork/ directory.






Fishinfiend

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:February 12, 2018, 07:44:02 pm
  • I want to build my own arcade controls!
Re: MAME Split Screen
« Reply #3 on: December 28, 2016, 10:04:03 pm »
I was meaning something more like this minus the actual joysticks and buttons.

Laythe

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 726
  • Last login:July 30, 2025, 03:35:00 pm
  • "-smurfing- delivers." - Yots
    • forum.arcadecontrols.com/index.php/topic,149109.0.html
Re: MAME Split Screen
« Reply #4 on: December 29, 2016, 12:51:37 am »
I was meaning something more like this minus the actual joysticks and buttons.

OK.  That's a kind of low-res example, but, it would work.  It wouldn't look great, but, it would work.

Crop out whatever part of that image you want to use.  Save the image in your MAME /artwork/ folder, in a new subdirectory named the same as the ROM it corresponds to.  (The name you'd type to launch the game in MAME.) 

Find a simple layout file to see how they work.  You can get some examples from Mr. Do's Arcade at mameworld.info - they are great.

Copy your example layout file into that artwork directory you just made that contains the image you wanted to use.  Name it default.lay and then open it in a text editor. 

Edit it.  You'll probably want to mess with the coordinates to move things around.  You'll want to change the image filename to point at your image.  It's pretty easy to figure out.

Try it by starting the game in MAME.  You might have to enable artwork in the MAME menu. 

If it didn't do what you wanted?  Edit it some more.  If you just get diagonal lines, you probably didn't get the image filename right.

After an hour or two tinkering, you should be able to put any images you want, anywhere on the screen, with the game screen playfield anywhere you want, rotated as you like, at any scaling.  It'll give you total control over how MAME displays your game.  It's quite powerful.

Once you've got the hang of it, do it for all the games you care about.

smass

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 302
  • Last login:December 05, 2024, 06:12:33 pm
  • Cheapskate Arcade
Re: MAME Split Screen
« Reply #5 on: December 29, 2016, 08:57:47 am »
Nice explanation.  :) 

This would also work for creating layout files to fill up the black bar space on the left and right when you use a 16:9 monitor and play traditional 4:3 format games.  Since I am lazy I wonder if anyone has tackled this kind of project for say the top 100 mame games and posted the files?  I will do a google search, but if anyone has some input it would be appreciated.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 09:02:54 am
  • Designated spam hunter
Re: MAME Split Screen
« Reply #6 on: December 29, 2016, 06:21:21 pm »
Since I am lazy I wonder if anyone has tackled this kind of project for say the top 100 mame games and posted the files?
Mr. Do's has 185 widescreen layouts here.

Big10p posted some layouts over at mameworld -- IIRC he may have also posted these to Mr. Do's.   :dunno


Scott

smass

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 302
  • Last login:December 05, 2024, 06:12:33 pm
  • Cheapskate Arcade
Re: MAME Split Screen
« Reply #7 on: December 30, 2016, 01:18:12 pm »
Since I am lazy I wonder if anyone has tackled this kind of project for say the top 100 mame games and posted the files?
Mr. Do's has 185 widescreen layouts here.

Big10p posted some layouts over at mameworld -- IIRC he may have also posted these to Mr. Do's.   :dunno


Scott

Thanks for the links.  I am building a widescreen stand-up arcade mostly for fighters - but I want to add a selection of classics as well.  This smaller list is perfect.  As I have learned - less can definitely be more when it comes to games on a cab.  :)

Fishinfiend

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:February 12, 2018, 07:44:02 pm
  • I want to build my own arcade controls!
Re: MAME Split Screen
« Reply #8 on: December 30, 2016, 10:38:56 pm »
Thanks Laythe,

That is exactly what I wanted, now I just have to start working on it.