Mame LCD + HLSL arcade look

The place for all discussion on gaming hardware
Post Reply
LRa
Posts: 112
Joined: Thu Mar 17, 2005 1:29 pm

Mame LCD + HLSL arcade look

Post by LRa »

Hey guys,

What are your HLSL settings to get as close as possible to an arcade look on mame?

Thanks
User avatar
Overkill
Posts: 513
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: Mame LCD + HLSL arcade look

Post by Overkill »

Im using this settings i copy/paste from the user "Cools"

brightness 1.01
hlsl_enable 1
hlsl_prescale_x 0
hlsl_prescale_y 0
hlsl_preset -1
hlsl_snap_width 2048
hlsl_snap_height 1536
shadow_mask_alpha 0.100000
shadow_mask_texture aperture.png
shadow_mask_x_count 480
shadow_mask_y_count 288
shadow_mask_usize 0.093750
shadow_mask_vsize 0.109375
curvature 0.000000
pincushion 0.020000
scanline_alpha 1.000000
scanline_size 1.000000
scanline_height 1.000000
scanline_bright_scale 1.000000
scanline_bright_offset 0.000000
scanline_jitter 0.050000
defocus 0.500000,0.500000
converge_x 0.000000,0.000000,0.000000
converge_y 0.000000,0.000000,0.000000
radial_converge_x 0.000000,0.000000,0.000000
radial_converge_y 0.000000,0.000000,0.000000
red_ratio 1.000000,0.000000,0.000000
grn_ratio 0.000000,1.000000,0.000000
blu_ratio 0.000000,0.000000,1.000000
saturation 1.000000
offset 0.000000,0.000000,0.000000
scale 1.000000,1.000000,1.000000
power 1.000000,1.000000,1.000000
floor 0.000000,0.000000,0.000000
phosphor_life 0.050000,0.050000,0.050000
yiq_enable 0
yiq_cc 3.597545
yiq_a 0.500000
yiq_b 0.500000
yiq_o 0.000000
yiq_p 1.000000
yiq_n 1.000000
yiq_y 6.000000
yiq_i 1.200000
yiq_q 0.600000
yiq_scan_time 52.599998
yiq_phase_count 2
User avatar
Fudoh
Posts: 13041
Joined: Mon Mar 06, 2006 3:29 am
Location: Germany
Contact:

Re: Mame LCD + HLSL arcade look

Post by Fudoh »

Are the HLSL options documented somewhere ? I don't mean the obvious ones, but lines like "yiq_a" ?
User avatar
Overkill
Posts: 513
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: Mame LCD + HLSL arcade look

Post by Overkill »

User avatar
shmuppyLove
Posts: 3708
Joined: Thu Apr 07, 2011 1:44 pm
Location: Toronto

Re: Mame LCD + HLSL arcade look

Post by shmuppyLove »

These look pretty good on my screen, is there a way to make it 'glow' more like a real CRT?

I guess you'd need to maybe increase the saturation a bit, and tweak the focus to blur it a bit?
jdubs
Posts: 218
Joined: Tue May 15, 2012 5:18 pm

Re: Mame LCD + HLSL arcade look

Post by jdubs »

I really wish MAME wasn't so laggy. HLSL looks pretty remarkable.

-Jim
User avatar
Ed Oscuro
Posts: 18654
Joined: Thu Dec 08, 2005 4:13 pm
Location: uoıʇɐɹnƃıɟuoɔ ɯǝʇsʎs

Re: Mame LCD + HLSL arcade look

Post by Ed Oscuro »

ShmupMAMEqt has HLSL, doesn't it?
User avatar
Drachenherz
Posts: 1555
Joined: Fri Oct 22, 2010 5:03 pm
Location: Zürich, Switzerland
Contact:

Re: Mame LCD + HLSL arcade look

Post by Drachenherz »

Ed Oscuro wrote:ShmupMAMEqt has HLSL, doesn't it?
Yes. I guess I have to finally try it now. :-)
Truth - Compassion - Tolerance
LRa
Posts: 112
Joined: Thu Mar 17, 2005 1:29 pm

Re: Mame LCD + HLSL arcade look

Post by LRa »

shmuppyLove wrote:These look pretty good on my screen, is there a way to make it 'glow' more like a real CRT?

I guess you'd need to maybe increase the saturation a bit, and tweak the focus to blur it a bit?
There is. One of the config's I found on the net has it, but I don't know which exact settings do this. I can post it entirely if you want.
User avatar
Drachenherz
Posts: 1555
Joined: Fri Oct 22, 2010 5:03 pm
Location: Zürich, Switzerland
Contact:

Re: Mame LCD + HLSL arcade look

Post by Drachenherz »

A stupid question maybe: can I simply copy those settings and paste them in the mame-ini?
Truth - Compassion - Tolerance
LRa
Posts: 112
Joined: Thu Mar 17, 2005 1:29 pm

Re: Mame LCD + HLSL arcade look

Post by LRa »

Drachenherz wrote:A stupid question maybe: can I simply copy those settings and paste them in the mame-ini?

That's what you do. But you have to make sure you've got a hlsl folder in mame and aperture.png(or whichever is set) file in the artwork folder.
User avatar
Drachenherz
Posts: 1555
Joined: Fri Oct 22, 2010 5:03 pm
Location: Zürich, Switzerland
Contact:

Re: Mame LCD + HLSL arcade look

Post by Drachenherz »

Ah, thanks for the tips. Another stupid questions: does HLSL add any lag to MAME?
Truth - Compassion - Tolerance
LRa
Posts: 112
Joined: Thu Mar 17, 2005 1:29 pm

Re: Mame LCD + HLSL arcade look

Post by LRa »

Drachenherz wrote:Ah, thanks for the tips. Another stupid questions: does HLSL add any lag to MAME?
Not really sure, but I've read that it does take some processing power.
User avatar
cools
Posts: 2057
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: Mame LCD + HLSL arcade look

Post by cools »

I seem to remember defocus didn't work quite how I'd like it to in HLSL. Need to check again before coming up with better settings.

Perfectly aligned shadowmask + scanlines + pixels isn't how an arcade CRT looks. Would be fun to try with a Macbook Pro or something else with a similarly high resolution screen.
Image
User avatar
lettuce
Posts: 1336
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: Mame LCD + HLSL arcade look

Post by lettuce »

My HLSL settings....

http://youtu.be/akJGN03O13c
LRa
Posts: 112
Joined: Thu Mar 17, 2005 1:29 pm

Re: Mame LCD + HLSL arcade look

Post by LRa »

lettuce wrote:My HLSL settings....

Can you share?
User avatar
lettuce
Posts: 1336
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: Mame LCD + HLSL arcade look

Post by lettuce »

Here you go, these are by no means advanced settings and im sure there's alot better examples out there.....

hlsl_enable 1
hlslpath hlsl
hlsl_ini_read 0
hlsl_ini_write 0
hlslini %g
hlsl_prescale_x 0
hlsl_prescale_y 0
hlsl_preset -1
hlsl_write
hlsl_snap_width 1920
hlsl_snap_height 1080
shadow_mask_alpha 0.15
shadow_mask_texture aperture.png
shadow_mask_x_count 512
shadow_mask_y_count 384
shadow_mask_usize 0.09375
shadow_mask_vsize 0.09375
curvature 0.05
pincushion 0.0
scanline_alpha 1.00
scanline_size 0.90
scanline_height 1.00
scanline_bright_scale 1.50
scanline_bright_offset 0.60
scanline_jitter 0.05
defocus 0.0,0.0
converge_x 0.0,0.0,0.0
converge_y 0.0,0.0,0.0
radial_converge_x 0.0,0.0,0.0
radial_converge_y 0.0,0.0,0.0
red_ratio 1.0,0.0,0.0
grn_ratio 0.0,1.0,0.0
blu_ratio 0.0,0.0,1.0
saturation 1.75
offset 0.0,0.0,0.0
scale 1.0,1.0,1.0
power 1.0,1.0,1.0
floor 0.0,0.0,0.0
phosphor_life 0.0,0.0,0.0
yiq_enable 0
yiq_cc 3.59754545
yiq_a 0.5
yiq_b 0.5
yiq_o 0.0
yiq_p 1.0
yiq_n 1.0
yiq_y 3.0
yiq_i 1.2
yiq_q 0.6
yiq_scan_time 52.6
yiq_phase_count 2

Hopefully in the future there will be preset HLSL settings to select, based on different monitors
User avatar
Overkill
Posts: 513
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: Mame LCD + HLSL arcade look

Post by Overkill »

Do i have to change something on it, if i use a 2048 x 1536 resolution instead of 1920 x 1080?
User avatar
cools
Posts: 2057
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: Mame LCD + HLSL arcade look

Post by cools »

Not really, HLSL is resolution independent. It should simply look better at higher resolutions.
Image
jdubs
Posts: 218
Joined: Tue May 15, 2012 5:18 pm

Re: Mame LCD + HLSL arcade look

Post by jdubs »

Ed Oscuro wrote:ShmupMAMEqt has HLSL, doesn't it?
Nice! Thank you sir. I didn't know it was still being developed.

I really hope they get CPS3 games to work with it as well as work out the background graphical glitches that still pop up. The HLSL addition, though, is worth its weight in gold!

-Jim
User avatar
Ed Oscuro
Posts: 18654
Joined: Thu Dec 08, 2005 4:13 pm
Location: uoıʇɐɹnƃıɟuoɔ ɯǝʇsʎs

Re: Mame LCD + HLSL arcade look

Post by Ed Oscuro »

jdubs wrote:
Ed Oscuro wrote:ShmupMAMEqt has HLSL, doesn't it?
Nice! Thank you sir. I didn't know it was still being developed.
Thank Nimitz, he popped in here just days ago with the new version :P
User avatar
lettuce
Posts: 1336
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: Mame LCD + HLSL arcade look

Post by lettuce »

Does ShumupMAME 4 now support the cave sh3 driver again then as i notice DoDonpachi 2 was listed??
User avatar
cools
Posts: 2057
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: Mame LCD + HLSL arcade look

Post by cools »

DDP2 isn't SH3, it's PGM
Image
User avatar
Overkill
Posts: 513
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: Mame LCD + HLSL arcade look

Post by Overkill »

where can i set my HLSL to be in 4:3 on my 16:9 screen? Don't see anything on the .ini file, and if i change on the mameui settings it will crash everytime i launch a game.
fagin
Posts: 1654
Joined: Fri Mar 19, 2010 2:29 pm
Location: UK

Re: Mame LCD + HLSL arcade look

Post by fagin »

lettuce wrote:My HLSL settings....

http://youtu.be/akJGN03O13c

I assume you realise those scanlines are not aligned properly.
User avatar
lettuce
Posts: 1336
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: Mame LCD + HLSL arcade look

Post by lettuce »

The joys of YT encoding im afraid
fagin
Posts: 1654
Joined: Fri Mar 19, 2010 2:29 pm
Location: UK

Re: Mame LCD + HLSL arcade look

Post by fagin »

lettuce wrote:The joys of YT encoding im afraid
What's that got to do with the scanline overlay?
Post Reply