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: Configuring HLSL for MAME 0.144  (Read 10783 times)

0 Members and 1 Guest are viewing this topic.

vanrose72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 25, 2018, 11:19:32 am
Configuring HLSL for MAME 0.144
« 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!
« Last Edit: November 23, 2011, 11:46:02 am by vanrose72 »

vanrose72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 25, 2018, 11:19:32 am
Re: Configuring HLSL for MAME 0.144
« Reply #1 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

McHale

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 57
  • Last login:June 27, 2023, 03:42:17 am
  • For Duty and Humanity!
Re: Configuring HLSL for MAME 0.144
« Reply #2 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

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

Sorry to bump a really old thread through.  :(

Benzinbruder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 95
  • Last login:January 10, 2016, 07:38:04 am
  • I want to build my own arcade cabinet!
Re: Configuring HLSL for MAME 0.144
« Reply #3 on: June 05, 2014, 03:05:34 am »
 :D Count me in as well...

This thread helped me out, thanks!

vaderag

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 363
  • Last login:May 07, 2025, 11:33:07 am
  • Building my own cab :)
Re: Configuring HLSL for MAME 0.144
« Reply #4 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

Reid420k

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:February 29, 2016, 03:11:16 am
  • I want to build my own arcade controls!
Re: Configuring HLSL for MAME 0.144
« Reply #5 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