Mame LCD + HLSL arcade look
Mame LCD + HLSL arcade look
Hey guys,
What are your HLSL settings to get as close as possible to an arcade look on mame?
Thanks
What are your HLSL settings to get as close as possible to an arcade look on mame?
Thanks
Re: Mame LCD + HLSL arcade look
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
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
Re: Mame LCD + HLSL arcade look
Are the HLSL options documented somewhere ? I don't mean the obvious ones, but lines like "yiq_a" ?
Re: Mame LCD + HLSL arcade look
Yes Fudoh, right here: http://mamedev.org/source/docs/hlsl.txt.html
-
shmuppyLove
- Posts: 3708
- Joined: Thu Apr 07, 2011 1:44 pm
- Location: Toronto
Re: Mame LCD + HLSL arcade look
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?
I guess you'd need to maybe increase the saturation a bit, and tweak the focus to blur it a bit?
Re: Mame LCD + HLSL arcade look
I really wish MAME wasn't so laggy. HLSL looks pretty remarkable.
-Jim
-Jim
Re: Mame LCD + HLSL arcade look
ShmupMAMEqt has HLSL, doesn't it?
-
Drachenherz
- Posts: 1555
- Joined: Fri Oct 22, 2010 5:03 pm
- Location: Zürich, Switzerland
- Contact:
Re: Mame LCD + HLSL arcade look
Yes. I guess I have to finally try it now.Ed Oscuro wrote:ShmupMAMEqt has HLSL, doesn't it?

Truth - Compassion - Tolerance
Re: Mame LCD + HLSL arcade look
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.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?
-
Drachenherz
- Posts: 1555
- Joined: Fri Oct 22, 2010 5:03 pm
- Location: Zürich, Switzerland
- Contact:
Re: Mame LCD + HLSL arcade look
A stupid question maybe: can I simply copy those settings and paste them in the mame-ini?
Truth - Compassion - Tolerance
Re: Mame LCD + HLSL arcade look
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.
-
Drachenherz
- Posts: 1555
- Joined: Fri Oct 22, 2010 5:03 pm
- Location: Zürich, Switzerland
- Contact:
Re: Mame LCD + HLSL arcade look
Ah, thanks for the tips. Another stupid questions: does HLSL add any lag to MAME?
Truth - Compassion - Tolerance
Re: Mame LCD + HLSL arcade look
Not really sure, but I've read that it does take some processing power.Drachenherz wrote:Ah, thanks for the tips. Another stupid questions: does HLSL add any lag to MAME?
Re: Mame LCD + HLSL arcade look
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.
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.
Re: Mame LCD + HLSL arcade look
lettuce wrote:My HLSL settings....
Can you share?
Re: Mame LCD + HLSL arcade look
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
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
Re: Mame LCD + HLSL arcade look
Do i have to change something on it, if i use a 2048 x 1536 resolution instead of 1920 x 1080?
Re: Mame LCD + HLSL arcade look
Not really, HLSL is resolution independent. It should simply look better at higher resolutions.
Re: Mame LCD + HLSL arcade look
Nice! Thank you sir. I didn't know it was still being developed.Ed Oscuro wrote:ShmupMAMEqt has HLSL, doesn't it?
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
Re: Mame LCD + HLSL arcade look
Thank Nimitz, he popped in here just days ago with the new versionjdubs wrote:Nice! Thank you sir. I didn't know it was still being developed.Ed Oscuro wrote:ShmupMAMEqt has HLSL, doesn't it?

Re: Mame LCD + HLSL arcade look
Does ShumupMAME 4 now support the cave sh3 driver again then as i notice DoDonpachi 2 was listed??
Re: Mame LCD + HLSL arcade look
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.
Re: Mame LCD + HLSL arcade look
I assume you realise those scanlines are not aligned properly.
Re: Mame LCD + HLSL arcade look
The joys of YT encoding im afraid
Re: Mame LCD + HLSL arcade look
What's that got to do with the scanline overlay?lettuce wrote:The joys of YT encoding im afraid