Page 1 of 1

How to activate HSLS filters when loading the ROM ?

Posted: Mon Feb 18, 2019 8:34 pm
by Morera
Hi, I try to activate the HSLS filters directly when loading a ROM. I download any version of mame64 from 0.150 to 0.207, create the 'mame' folder and decompress it inside, I go to CMD and execute mame64 -cc, edit mame.ini and I do what is said in help for it in:

https://docs.mamedev.org/advanced/hlsl.html

I put, Video d3d, Filter 0, hlsl_enable 1. I save the ini, run the mame64.exe and it does not start, it gives 'mame stopped working' error. Without any ROM or anything else that decompresses the downloaded mame and the created ini. Video d3d in the ini is what causes the failure.

What do I do wrong ?, I have an i5 with 8Gb of RAM, RX570 of 4Gb and windows 10. I have tried on another older computer with Athlon X2 and 1Gb graphics card and it happens the same.

Is it possible to load a game with HSLS activated and humbar filter, etc., working directly without touching anything?? I get it to work for me, creating an ini for the specific game, but with video in BGFX and I have to activate it manually after loading the game, putting each value back every time. If I put the video in d3d in the ini of the game, it does not start either.

Thank you, and sorry for my Google translator English. :mrgreen:

Re: How to activate HSLS filters when loading the ROM ?

Posted: Sat Feb 23, 2019 7:18 pm
by mhoes
Does MAME give an error message when you run it from the commandline ? If so, that might provide some insight into what is going wrong here.

Re: How to activate HSLS filters when loading the ROM ?

Posted: Sun Mar 03, 2019 5:33 pm
by Morera
I answer myself, in the OS we need compatibility with DirecX9, which does not even bring Windows 7, maybe XP... For this you have to install a microsoft pack for it ... solved in a Spanish arcade forum.
Maybe it should make those filters compatible with DirecX 11 or 12 .... :ugeek:
Thanks.

Re: How to activate HSLS filters when loading the ROM ?

Posted: Sun Mar 03, 2019 11:52 pm
by Tafoid
Morera wrote: Sun Mar 03, 2019 5:33 pm I answer myself, in the OS we need compatibility with DirecX9, which does not even bring Windows 7, maybe XP... For this you have to install a microsoft pack for it ... solved in a Spanish arcade forum.
Maybe it should make those filters compatible with DirecX 11 or 12 .... :ugeek:
Thanks.

Yes, for straight -video hlsl, we use Legacy 9.0c DirectX. If you want to use something using the more advanced DX's, we have HLSL set up through -video bgfx, using DX 11/12 backend of your choosing, I believe.
https://docs.mamedev.org/advanced/bgfx.html

Re: How to activate HSLS filters when loading the ROM ?

Posted: Mon Mar 04, 2019 10:28 pm
by Morera
A problem with this:

"Warning: Currently BGFX HLSL settings are not saved or loaded from any configuration files. This is expected to change in the future."

As I put in the beginning, with BGFX I have to activate it manually after loading the game. The future, the future... :oops: