Mr. Do![Administrator Administrator](//www.mameworld.info/ubbthreads/images/adm.gif) |
MAME Art Editor
|
|
|
Reged: 09/21/03
|
Posts: 4875
|
Loc: California
|
|
Send PM
|
|
|
|
It's probably something simple that I'm missing, but I'm frustrated.
Downloaded "dxwebsetup.exe" from MS. Installer says I have a newer version installed, no installation necessary.
Downloaded "directx_Jun2010_redist" and it shows that it installs. Reboot computer just in case.
Still get errors when I run with "hlsl_enable = 1" in mame.ini. Clean config.
Graphics card is NVIDIA GTS 250. April 2011 drivers installed.
Error = "Unable to compile shader (unspecified reason)"
This is using the 64-bit binary posted in the news post.
When compiling on my own, I get the following screenshot:
[ATTACHED IMAGE]
|
RELAX and just have fun. Remember, it's all about the games.
|
|
Tafoid![Administrator Administrator](//www.mameworld.info/ubbthreads/images/adm.gif) |
I keep on testing.. testing.. testing... into the future!
|
|
|
Reged: 04/19/06
|
Posts: 3135
|
Loc: USA
|
|
Send PM
|
|
|
Re: DirectX Help with HLSL
[Re: Mr. Do]
#255512 - 05/25/11 03:02 AM
|
|
|
> It's probably something simple that I'm missing, but I'm frustrated. > > Downloaded "dxwebsetup.exe" from MS. Installer says I have a newer version installed, > no installation necessary. > > Downloaded "directx_Jun2010_redist" and it shows that it installs. Reboot computer > just in case. > > Still get errors when I run with "hlsl_enable = 1" in mame.ini. Clean config. > > Graphics card is NVIDIA GTS 250. April 2011 drivers installed. > > Error = "Unable to compile shader (unspecified reason)" > > This is using the 64-bit binary posted in the news post. > > When compiling on my own, I get the following screenshot:
I'm willing to think you either don't have the HLSL folder containing the .FX file needed for the shader use or you don't have it in a folder where MAME expects.
HLSL should be in the DIFF from mamedev.org. If you don't have it, it was posted here: http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=255365
One way to really make sure is to run with -verbose, if there is a message similar to: Direct3D: Unable to load primary.fx .. then simply place the folder from the download linked above in the same folder as MAME.
|
|
|
|
Re: DirectX Help with HLSL
[Re: Mr. Do]
#255515 - 05/25/11 03:52 AM
|
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: DirectX Help with HLSL
[Re: Mr. Do]
#255521 - 05/25/11 04:36 AM
|
|
|
Mr. Do, if you're getting compiling errors did you by chance forget to update the Development Tools?
your mingw directory needs to be totally replaced. http://mamedev.org/tools/
After you successfully compile your own you will need to move the hlsl & hash directories into your MAME path.
|
|
|
Mr. Do![Administrator Administrator](//www.mameworld.info/ubbthreads/images/adm.gif) |
MAME Art Editor
|
|
|
Reged: 09/21/03
|
Posts: 4875
|
Loc: California
|
|
Send PM
|
|
|
Re: DirectX Help with HLSL
[Re: Tafoid]
#255553 - 05/25/11 12:45 PM
|
|
|
> I'm willing to think you either don't have the HLSL folder containing the .FX file > needed for the shader use or you don't have it in a folder where MAME expects. > > HLSL should be in the DIFF from mamedev.org. > If you don't have it, it was posted here: > http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=255365
Nailed it. Knew it was something simple. Thanks!!!
|
RELAX and just have fun. Remember, it's all about the games.
|
|
|
Re: DirectX Help with HLSL
[Re: Mr. Do]
#339611 - 05/04/15 01:41 PM
|
|
|
Sorry to dig up this old thread but I've just moved my mame install to a new PC and now get this error with hlsl.
The hlsl folder is present in the mame dir, and contains all the fx files. Despite this, mame reports it can't compile primary.fx etc.
Any ideas?
|
|
|
|
Re: DirectX Help with HLSL
[Re: big10p]
#339613 - 05/04/15 01:58 PM
|
|
|
> Sorry to dig up this old thread but I've just moved my mame install to a new PC and > now get this error with hlsl. > > The hlsl folder is present in the mame dir, and contains all the fx files. Despite > this, mame reports it can't compile primary.fx etc. > > Any ideas?
Install the DirectX 9 end-user runtime.
|
|
|
|
Re: DirectX Help with HLSL
[Re: MooglyGuy]
#339617 - 05/04/15 03:44 PM
|
|
|
> > Sorry to dig up this old thread but I've just moved my mame install to a new PC and > > now get this error with hlsl. > > > > The hlsl folder is present in the mame dir, and contains all the fx files. Despite > > this, mame reports it can't compile primary.fx etc. > > > > Any ideas? > > Install the DirectX 9 end-user runtime.
Thanks for the reply.
I tried installing it from here: https://www.microsoft.com/en-gb/download/confirmation.aspx?id=34429
When I run the setup and click Next to install, it instantly says installed successfully, seemingly without having installed anything!
Needless to say after this, MAME still doesn't work.
Any ideas? This is on a fresh install of Win 7 Pro 64-bit, BTW.
Cheers
Edited by big10p (05/04/15 03:46 PM)
|
|
|