Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: vanrose72 on November 23, 2011, 10:37:31 am

Title: Configuring HLSL for MAME 0.144
Post by: vanrose72 on November 23, 2011, 10:37:31 am
I'm having trouble configuring HLSL for MAME 0.144.

I have pasted the following settings into the mame.ini file, but HLSL does not appear to be enabled:

Code: [Select]
#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1
hlslpath                  hlsl
hlsl_ini_read             1
hlsl_ini_write            1
hlslini %g
hlsl_prescale_x 4
hlsl_prescale_y 4
hlsl_preset -1
hlsl_write
hlsl_snap_width 2560
hlsl_snap_height 2048
shadow_mask_alpha 0.00
shadow_mask_texture aperture.png
shadow_mask_x_count 320
shadow_mask_y_count 256
shadow_mask_usize 0.187500
shadow_mask_vsize 0.09375
curvature 0.02
pincushion 0.02
scanline_alpha 0.450000
scanline_size 1.25
scanline_height 0.750000
scanline_bright_scale 1.000000
scanline_bright_offset 0.750000
scanline_jitter 0.25
defocus 1.0,1.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.250000
offset 0.0,0.0,0.0
scale 1.000000,1.000000,1.000000
power 1.200000,1.200000,1.200000
floor 0.0,0.0,0.0
phosphor_life 0.200000,0.200000,0.200000
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

Is there a problem with my configuration, or should I be looking at hardware issues?

Windows Vista 64-bit
DirectX version 11
ATI Radeon HD 3450 video card (Pixel Shader 4.0 support)
Resolution set at 1680 x 1050

I have no idea what I'm doing here, so any help would be greatly appreciated!

Thanks in advance!
Title: Re: Configuring HLSL for MAME 0.144
Post by: vanrose72 on November 23, 2011, 02:15:28 pm
Solution:
Because I have DirectX 11, I needed to install the DirectX End User Runtime SDK to get DirectX 9.0c updates:
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3 (http://www.microsoft.com/downloads/en/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3)
Title: Re: Configuring HLSL for MAME 0.144
Post by: McHale on July 30, 2013, 10:17:40 pm
Solution:
Because I have DirectX 11, I needed to install the DirectX End User Runtime SDK to get DirectX 9.0c updates:
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3 (http://www.microsoft.com/downloads/en/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3)

Thanks!  I had the exact same problem as you and this was the fix. 

Sorry to bump a really old thread through.  :(
Title: Re: Configuring HLSL for MAME 0.144
Post by: Benzinbruder on June 05, 2014, 03:05:34 am
 :D Count me in as well...

This thread helped me out, thanks!
Title: Re: Configuring HLSL for MAME 0.144
Post by: vaderag on January 21, 2016, 09:04:41 am
Me too.

Your link is dead tho - for anyone who stumbles across this, the link is : https://www.microsoft.com/en-gb/download/details.aspx?id=8109 (https://www.microsoft.com/en-gb/download/details.aspx?id=8109)
Title: Re: Configuring HLSL for MAME 0.144
Post by: Reid420k on February 04, 2016, 08:40:54 pm
Saved ---my bottom--- February 2nd 2016 thanks for the updated link. Legit saved ---my bottom--- was about to give up these forums saved me multiple times and I have only been on here 2 weeks thanks guys