Main Woodworking Reviews Software Monitor/Video Maximus Arcade
Audio/Jukebox/MP3 Project Announcements Artwork Consoles Buy/Sell/Trade Meet Up
Arcade Miscellaneous Everything Else Politics n Religion Forum Discussion Wiki Discussion GroovyMAME
DOS/WinCab Merit/JVL Touchscreen Automated Projects Driving & Racing Project Arcade Old Boards
Linux Restorations Pinball MaLa Frontend controls.dat Old Archives
    Retail Vendors    

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


  

Author Topic: Editing Mame's Scanlines.PNG Effect??  (Read 5411 times)

0 Members and 1 Guest are viewing this topic.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1707
  • Make It So!
Editing Mame's Scanlines.PNG Effect??
« on: August 10, 2008, 05:04:35 am »
Is it possible to edit the scanlines.png file what mame uses for one of its effects? Im basically using mame with the setting for prescale set to 2 rather than the default 1, in conjuction with the 'scanlines.png' effect, although this give an almost 99% authentic scanline effect on my monitor, ive noticed that the black pixels inbetween each active pixel (scanline) are not quite thick enough. So i was woundering if it was possible to increase the thickness of the scanline by another row of pixels across the screen thus giving an 100% authentic look?

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1707
  • Make It So!
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #1 on: August 11, 2008, 04:57:24 pm »
Anyone?

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9570
  • Comanche, OK -- USA
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #2 on: August 11, 2008, 05:02:49 pm »
It's a PNG, so it's easy to edit. Just take it into an image editor and increase the size of the image, or increase the thickness of the lines.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1707
  • Make It So!
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #3 on: August 12, 2008, 11:58:22 am »
I was just woundering if there was a quick and esay way to do that, it would take forever to make each scanline on the PNG a pixel thicker

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9570
  • Comanche, OK -- USA
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #4 on: August 12, 2008, 12:19:18 pm »
Just try increasing the size slightly. A pixel or two bigger, then try it.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1707
  • Make It So!
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #5 on: August 12, 2008, 03:37:05 pm »
Ok, ive now noticed that when u add the scanline effect, it seems to washout the colours, and the bightness or contrast doesnt seem to be as bright. I have tried changing the brightness, contrasts and gamma settings in mame, but cant get it anywhere near as it looks without the scanline effect on. Any ideas why this happens?. I know the scanline png has white and grey lines going down, would it make a difference if these white lines where not white and instead transparent??

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9570
  • Comanche, OK -- USA
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #6 on: August 12, 2008, 03:59:38 pm »
Maybe try flipping it negative?

nipsmg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1122
  • ROONEY!! ERRGH!!
    • Arcadia
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #7 on: August 12, 2008, 04:24:15 pm »
This is VERY easy to do.

In photoshop, make an image that is ONE PIXEL wide by TWO tall.

Zoom in as far as you can.

Select the Gray you want, and paint one of the pixels gray.

Select all.

Edit -> Make Pattern.  call it "scanlines"


Create a new image 32x32
Fill using the pattern you created.


You can create a 1x3 pixel image if you want a thicker black/white.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1707
  • Make It So!
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #8 on: August 12, 2008, 04:59:28 pm »
This is VERY easy to do.

In photoshop, make an image that is ONE PIXEL wide by TWO tall.

Zoom in as far as you can.

Select the Gray you want, and paint one of the pixels gray.

Select all.

Edit -> Make Pattern.  call it "scanlines"


Create a new image 32x32
Fill using the pattern you created.


You can create a 1x3 pixel image if you want a thicker black/white.


I cannot find the 'make pattern' option? Also would this remove the washed out effect thats you seem to get with the scanlines.png file?

nipsmg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1122
  • ROONEY!! ERRGH!!
    • Arcadia
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #9 on: August 12, 2008, 05:06:39 pm »
Sorry about that, it's not make pattern, it's DEFINE pattern. :-/

Edit menu. 


Quote
Also would this remove the washed out effect thats you seem to get with the scanlines.png file?
I have no idea.. I'm just telling you how you can create the PNG file.  you'll have to experiment with the overlay yourself.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1707
  • Make It So!
Re: Editing Mame's Scanlines.PNG Effect??
« Reply #10 on: August 12, 2008, 05:19:19 pm »
ok done that and named the patter scan, but how do i apply the pattern to the 32x32 image?

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29