MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4875
Loc: California
Send PM


DirectX Help with HLSL
#255508 - 05/25/11 02:44 AM Attachment: directx_error.png 7 KB (2 downloads)



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]

Attachment




RELAX and just have fun. Remember, it's all about the games.




TafoidAdministrator
I keep on testing.. testing.. testing... into the future!
Reged: 04/19/06
Posts: 3135
Loc: USA
Send PM


Re: DirectX Help with HLSL new [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.



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: DirectX Help with HLSL new [Re: Mr. Do]
#255515 - 05/25/11 03:52 AM


This web installer should install the latest if you don't already have it installed...
http://www.microsoft.com/downloads/en/de...;displaylang=en



GroovyMAME support forum on BYOAC



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: DirectX Help with HLSL new [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. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4875
Loc: California
Send PM


Re: DirectX Help with HLSL new [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.




big10p
Arcadian
Reged: 03/13/14
Posts: 141
Loc: UK
Send PM


Re: DirectX Help with HLSL new [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?



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: DirectX Help with HLSL new [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.



big10p
Arcadian
Reged: 03/13/14
Posts: 141
Loc: UK
Send PM


Re: DirectX Help with HLSL new [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)


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 192 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5604