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: Share your MAME.ini please for dual monitor w/hlsl enabled  (Read 3196 times)

0 Members and 1 Guest are viewing this topic.

vettetek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 81
  • Last login:July 14, 2025, 01:58:09 pm
Share your MAME.ini please for dual monitor w/hlsl enabled
« on: July 03, 2015, 09:47:05 am »
Hey guys - been forever since Ive been here. I got into real arcade collecting and let my mame machine kinda stagnate. I have since gotten rid of my whole arcade collection and have seen the great advances mame has made in the past 8 years - since ive been into it. So I decided after seeing these awesome multi monitor setups using LCDs and hlsl that its time to rebuild!
So my 50" and 29" w/s monitors are on the way - in the mean time im trying to get the computer set up with a couple 22" screens. Problem  is I cant seem to get it to all work right. I had bezels - then lost them when I finally got hlsl to work. then I had marquees on the second monitor  - ugh - its just alot to take in all at once.
So...
I was hoping you guys with these setups could please share your MAME.ini and maybe a sample .lay file from one of your roms (ive been working with qbert).
Hopefully this will give me something to work off of.
Im trying to get it working with one rom then I can just copy the lay profiles over. 
I realize im at the bottom of the hill right now - got alot of things to relearn and do.
Thanks for any help!
« Last Edit: July 03, 2015, 09:50:47 am by vettetek »

nexusmtz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 489
  • Last login:June 01, 2022, 03:14:22 am
Re: Share your MAME.ini please for dual monitor w/hlsl enabled
« Reply #1 on: July 05, 2015, 04:30:47 am »
Here's what I did that worked:

Download/extract official mame0163b_64bit.exe
Execute mame64.exe -cc
Copy qbert.zip rom to roms
Extract MrDo's qbert.zip artwork to artwork\qbert
Add marquee named qbert_marquee.png to artwork\qbert
Replace qbert.lay in artwork\qbert with:

Code: [Select]
<!-- qbert.lay -->

<mamelayout version="2">
<element name="bezel">
<image file="qbert_bezel.png" />
</element>
<element name="marquee">
<image file="qbert_marquee.png" />
</element>
<view name="Upright_Artwork">
<screen index="0">
<bounds x="836" y="278" width="2250" height="3000" />
</screen>
<bezel element="bezel">
<bounds x="0" y="0" width="4000" height="3524" />
</bezel>
</view>
<view name="Marquee">
<marquee element="marquee">
<bounds x="0" y="0" width="500" height="149" />
</marquee>
</view>
</mamelayout>

<!--

- Artwork type: Bezel
- (Unknown means) bezel provided by mahuti, BYOAC
- Vectorized by mahuti
- Color corrected by Mr. Do
- Converted for MAME by Mr. Do
- Lay file by Mr. Do

-->

Note that the element and view for the marquee have been added. You'll need to change bounds x="0" y="0" width="500" height="149" to match your marquee's resolution/aspect.

Run: mame64 qbert -hlsl_enable -numscreens 2 -view0 Upright -view1 Marquee

If that works properly, add/replace those options to mame.ini (and zip up the artwork, if you'd like)

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 13, 2025, 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Share your MAME.ini please for dual monitor w/hlsl enabled
« Reply #2 on: July 05, 2015, 08:58:12 pm »
Just for the record this method is very time consuming and not worth it if you want the marquees displayed in the proper aspect. 

Download mamehooker, use the marquee example and you are done.  You need to make a single ini file which you can be walked though on the website.

vettetek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 81
  • Last login:July 14, 2025, 01:58:09 pm
Re: Share your MAME.ini please for dual monitor w/hlsl enabled
« Reply #3 on: July 06, 2015, 07:35:59 pm »
Thanks guys!!
I appreciate the help!
Ill give the hooker a shot.
Now I just have to find decent marquee images - most all that Ive found are too small.