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 scanlines and lay files  (Read 9459 times)

0 Members and 1 Guest are viewing this topic.

MacGyver

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 317
  • Last login:December 18, 2023, 12:49:00 am
    • Project Build
MAME scanlines and lay files
« on: March 02, 2013, 07:09:55 pm »
I spent a long time tonight trying to get perfect scanlines, only to later realize that there is no perfect scanline file and setting, well there is one, there just so happens to be one per original game resolution, that would correlate to your LCDs native monitor resolution.

So I'm asking here, has anyone created ALL the specialty scanline artwork, .ini, and .lay files for ALL the various native game resolutions? 

I'm just sick of seeing 2 or 3 tiny scanlines running through what should be a singular pixel.  Am I missing something.  MAME 148u1 BTW.

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: MAME scanlines and lay files
« Reply #1 on: March 02, 2013, 07:49:55 pm »
Scanlines are obsolete at this point.  Btw, scan lines were never an accurate depiction of a arcade monitor.  Arc Monitors don't have scanlines, they have a large dot pitch. 

Anyway....

google:

 mame +hlsl   

This is where it's at.   ;)

eldiau

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:June 12, 2023, 06:01:40 pm
Re: MAME scanlines and lay files
« Reply #2 on: March 03, 2013, 02:18:49 pm »
HLSL and GLSL on linux do a great job on emulating a CRT but they need a recent Graphic card with the new pixel shader. Many of us use an old PC in the cab...

I use Scanlines75Dx4.png on my 1280x1024 LCD monitor and get quite a pleasing effect on every game, I'm sure the effect depend mainly on you LCD resolution but you have to tell mame not to switch res "switchres 0"


I can't find the original source for Scanlines75Dx4.png so I'm attaching it to this message

MacGyver

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 317
  • Last login:December 18, 2023, 12:49:00 am
    • Project Build
Re: MAME scanlines and lay files
« Reply #3 on: March 03, 2013, 04:17:34 pm »
thanks eldiau,  I might go that route.

Turns out my issue was with not having Directx9 installed on Windows 8.  So hlsl was never really turning on.  Using "effect scanlines" was still working without DX9 so it was confusing me.  It works great now, thanks again.

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: MAME scanlines and lay files
« Reply #4 on: March 03, 2013, 07:02:59 pm »
Again, scanlines are inaccurate and make a horrible screen effect, even if you are limited to using the effect command. 

What eldiau said is all valid, but don't use that file, it's a scanline file, they are inaccurate. 

Try one of the aperture files that should be in your mame artwork directory.  They look like scanlines but if you zoom in on the png file you'll notice that there is a color band with a bunch of vertical rectangles.  What it is doing is splitting the color out to rgb prospers and simulating the odd dotpitch of an arcade monitor.  It's something you have to mess with as they are resolution dependent, but  if you use the proper file (there are tons out there, I think Mr. Do hosts some) and not a simple scanline you'll get a more accurate look. 

I hope some of that helps. 

eldiau

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:June 12, 2023, 06:01:40 pm
Re: MAME scanlines and lay files
« Reply #5 on: March 18, 2013, 06:52:09 am »

Howard you are right, scanlines are definitely inaccurate but I just like the horrible look  ;D

I found the source where I got the Scanlines75Dx4.png, here it is:
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=92158&page=0&view=expanded&sb=5&o=&fpart=1&vc=1

Nice big collection with example screenshots!