|
MAME DirectX error
#370416 - 10/19/17 12:49 AM
|
|
|
Hi,
I'm running Mame v0.149u1 and when I try to enable hlsl I get an error saying "Unable to initialize direct 3d".Disabling hlsl works fine.
I try this in windowed mode, it doesn't crash but the screen is black (I can hear sound) Ive run DXDiag all looks good (Win 7 x64). Ive also installed the SDK and the user runtimes as I believe there is backwards compatibility there. I'm using an Nvidia GeForce 950 (I think).
Any advice greatly appreciated.
|
|
|
|
Re: MAME DirectX error
[Re: ijwrighty]
#370418 - 10/19/17 01:52 AM
|
|
|
|
Sune |
Connected
|
|
|
Reged: 09/21/03
|
Posts: 5648
|
Loc: Lagoa Santa, Brasil
|
|
Send PM
|
|
|
Re: MAME DirectX error
[Re: ijwrighty]
#370419 - 10/19/17 01:54 AM
|
|
|
> Ive run DXDiag all looks good (Win 7 x64). Ive also installed the SDK and the user > runtimes
If you were using the DirectX 9.0c "web installer" or whatever it's called, try downloading and installing it again, but with the 96MB offline installer:
https://www.microsoft.com/en-us/download/details.aspx?id=8109
/Edit beaten by Anton!
S
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: MAME DirectX error
[Re: ijwrighty]
#370420 - 10/19/17 01:59 AM
|
|
|
Use the latest official version which is 0.190
|
|
|
|
Re: MAME DirectX error
[Re: B2K24]
#370421 - 10/19/17 09:40 AM
|
|
|
I tried the latest version but some of my roms no longer work.
|
|
|
|
Re: MAME DirectX error
[Re: abelenki]
#370422 - 10/19/17 10:44 AM
|
|
|
I tried this link to get dx9 but still the same error. Is Win 7 x64 a good OS choice as that comes with dx11. Could XP be better?
|
|
|
|
Re: MAME DirectX error
[Re: ijwrighty]
#370423 - 10/19/17 03:52 PM
|
|
|
> I tried this link to get dx9 but still the same error. Is Win 7 x64 a good OS choice > as that comes with dx11. Could XP be better?
Windows 10 x64 is recommended
Windows 7 x64 is fine for now.
Windows XP is considered unsupported and will likely just give you a blue screen when you run MAME on your hardware.
You still need to have DirectX 9 and proper GFX card drivers installed. For the card you say you have you should only be getting the error you report if you don't have them installed.
Also an up to date version of MAME helps as the version you're using is from a long time ago and could have other bugs or incompatibilities causing the issue you're seeing. Saying the new version breaks some of your roms is a poor excuse, you just need to find the updated roms.
|
|
|
|
Re: MAME DirectX error
[Re: ijwrighty]
#370424 - 10/19/17 04:03 PM
|
|
|
> I tried the latest version but some of my roms no longer work.
That's not a valid excuse. Sometimes the supported ROM sets change over time, for reasons that are well-detailed on MAME's own website here: http://docs.mamedev.org/usingmame/aboutromsets.html
Specifically, familiarize yourself with the "Troubleshooting your ROM sets and the history of ROMs" section.
Besides, shouldn't you be able to dump the correct, up-to-date ROM sets from your legally-owned arcade PCBs?
|
|
|
|
Re: MAME DirectX error
[Re: MooglyGuy]
#370426 - 10/19/17 04:33 PM
|
|
|
OK cheers guys.
Ill get to Windows 10 X64 and download the updated Mame and do some testing.
Thank you
|
|
|
|
Re: MAME DirectX error
[Re: ijwrighty]
#370427 - 10/19/17 04:35 PM
|
|
|
Oh one last thing. I assume the x64 version of Mame is best to use with x64 Windows 10?
|
|
|
|
Re: MAME DirectX error
[Re: ijwrighty]
#370428 - 10/19/17 05:18 PM
|
|
|
> Oh one last thing. I assume the x64 version of Mame is best to use with x64 Windows > 10?
yes, there's really no reason to be using the 32-bit build these days, it might be discontinued in the not so distant future.
|
|
|
|
Re: MAME DirectX error
[Re: Haze]
#370429 - 10/19/17 07:00 PM
|
|
|
|
|
Re: MAME DirectX error
[Re: ijwrighty]
#370501 - 10/23/17 03:00 PM
|
|
|
OK so Windows 10 and latest Mame appear to allow HLSL when I set it in the config to be enabled.
Have they changed the latest versions? I was under the impression I configure the settings in Mame.ini but that's no longer there. The official documentation seems a little lacking.
Can anyone help please?
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: MAME DirectX error
[Re: ijwrighty]
#370504 - 10/23/17 04:11 PM
|
|
|
> OK so Windows 10 and latest Mame appear to allow HLSL when I set it in the config to > be enabled. > > Have they changed the latest versions? I was under the impression I configure the > settings in Mame.ini but that's no longer there. The official documentation seems a > little lacking. > > Can anyone help please?
The settings will be there just create a fresh mame.ini
Open command prompt and execute mame64 -cc
On my Windows 10 I can open my mame folder then click File and there will be open command prompt option.
|
|
|