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: Adjusted Scanline effects  (Read 4661 times)

0 Members and 1 Guest are viewing this topic.

Daskal

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:December 28, 2009, 11:07:09 am
Adjusted Scanline effects
« on: October 24, 2009, 05:23:55 am »
Hi All! Here is a small tip if you want to have an arcade style look on an LCD or CRT monitor. Mame has some pretty neat and easy to handle visual effects, like the various scanlines etc. However when applying scanlines the screen image will inevitable suffer from brightnes loss. You can try to adjust it manually afterwards via the sliders but for me it never really looked right that way. But - I think there is a workaround for scanlies.

I figured how about adjusting the brightness of the scanlines only and not tinkering with the sliders at all. Since the visal effect files (in the artwork subfolder) are plain PNG files its really easy to play and experiment with them. All you need is a photo/picture editor - open up the scanline file you want to use and adjust the brightness of the file and save it under a different name. For my monitor it looks like the best way is to increase the brightess of the scanlines by 100% - this way the final image in Mame will have scanlines and a proper brightness and contrast at the same time. Here are some pictures for comparison:







I have attached the adjusted version of scanlines that I use if you wanna give it a try, but you can easily tailor the standard one to your needs via Photoshop etc.

DillonFoulds

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 605
  • Last login:August 27, 2019, 05:04:44 am
Re: Adjusted Scanline effects
« Reply #1 on: October 25, 2009, 01:29:05 pm »
40 views and no comments yet. :S

I'd love to test this out, but my mame's on an arcade monitor, sorry bud!

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Adjusted Scanline effects
« Reply #2 on: October 26, 2009, 02:40:34 pm »
This looks like a remarkable epiphany. However, on my 27" monitor, I see no effect. Or maybe hardly any - perhaps because the relatively course dot pitch on it contrasts with the effect, though with regular 'scanlines', I can see an effect. Hmmm.

I'll have to pull up my PC CRT...
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

Daskal

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:December 28, 2009, 11:07:09 am
Re: Adjusted Scanline effects
« Reply #3 on: October 26, 2009, 03:00:55 pm »
40 views and no comments yet. :S

I'd love to test this out, but my mame's on an arcade monitor, sorry bud!

Same here ;)


but still I think it helps quite a lot with 19-21" LCD monitors.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Adjusted Scanline effects
« Reply #4 on: October 28, 2009, 02:17:27 pm »
Okay, I tried this out a bit on my hi-res PC CRT (Dell P1130, capable of 2054x1680 or whatever; native is 1280x1024). Because they were so fine, I could barely see the lines using the scanlines100b file. So I tried out the scanrez2 and SailorSat's triadsl. To alter them, I used Arcsoft Photostudio.

scanrez2: brightness and contrast at 27 (from 0). Looks good for graphics-saturated images, though perhaps a little light. '23' might be better. (I had to start from scratch of course, when re-doing a file, as there is no 'data' recorded, obviously.)

triadsl: b/c = 35 (though a little higher might be better for some games). Might be better for black background games. Alternatively (at '35'), could be good for graphics-saturated images if you want stronger lines.


caveats:

- resolution-dependent on your monitor, ie: the native res of your monitor may best display the image without artifacting.

- the lines 'lining up' are still 'game dependent'...though less apparent in some cases.


I kinda prefer the scanrez2 (particularly as I prefer the scanlines that appear natively on a 25/27" monitor). Also, I got the best results on my 27" multisync at 1024x768. I think one reason is the courser dot pitch naturally smooths things out, whereas with the prescale at '2' in MAME over-emphasizes the fine dot pitch of my Dell, and setting the prescale to '1' makes it look like watery pastels....although, I have to mention this monitor has that issue where the whole display field is over-saturated similar to an LCD. Might look a bunch better, at least on the latter aspect, with a truly dark CRT.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.