Previous Thread
Next Thread
Print Thread
How to enable CRT shaders? #113205
04/24/18 01:20 AM
04/24/18 01:20 AM
Joined: Feb 2017
Posts: 7
G
GrindStormerSTG Offline OP
Member
GrindStormerSTG  Offline OP
Member
G
Joined: Feb 2017
Posts: 7
I need help enabling shaders through QMC2 and what to look for if it already isn't included. I want to use CRT shaders similar to RatroArch's CRT Geom shader. I'd use RA but the bleeding edge MAME core still seems to have issues compared to the standalone.

Re: How to enable CRT shaders? [Re: GrindStormerSTG] #113206
04/24/18 03:02 AM
04/24/18 03:02 AM
Joined: Apr 2011
Posts: 287
B2K24 Offline
Senior Member
B2K24  Offline
Senior Member
Joined: Apr 2011
Posts: 287
I prefer to simply change settings in mame.ini which can accomplish exactly what you want without involving QMC2 when it comes to this type of preference.

There's a few different options depending on which video mode you use.

-video bgfx -bgfx_screen_chains hlsl

Code
bgfx_path                 bgfx
bgfx_backend              auto
bgfx_debug                0
bgfx_screen_chains        hlsl
bgfx_shadow_mask          slot-mask.png
bgfx_avi_name             auto


There's a lot of different chains you can mess around with. Check what's in your chains folder (MAME\bgfx\chains)
MAME also has the ability to switch different chains while the emulation is running. You can TAB into slider controls and change effects which will cycle through different chains.

If you use -video d3d then you can enable hlsl which allows you to use DIRECT3D POST-PROCESSING OPTIONS

There's also options available if you use -video opengl, but those don't ship with MAME and need to be sourced elsewhere.

Re: How to enable CRT shaders? [Re: B2K24] #113225
04/25/18 06:02 AM
04/25/18 06:02 AM
Joined: Feb 2017
Posts: 7
G
GrindStormerSTG Offline OP
Member
GrindStormerSTG  Offline OP
Member
G
Joined: Feb 2017
Posts: 7
Originally Posted by B2K24
I prefer to simply change settings in mame.ini which can accomplish exactly what you want without involving QMC2 when it comes to this type of preference.

There's a few different options depending on which video mode you use.

-video bgfx -bgfx_screen_chains hlsl

Code
bgfx_path                 bgfx
bgfx_backend              auto
bgfx_debug                0
bgfx_screen_chains        hlsl
bgfx_shadow_mask          slot-mask.png
bgfx_avi_name             auto


There's a lot of different chains you can mess around with. Check what's in your chains folder (MAME\bgfx\chains)
MAME also has the ability to switch different chains while the emulation is running. You can TAB into slider controls and change effects which will cycle through different chains.

If you use -video d3d then you can enable hlsl which allows you to use DIRECT3D POST-PROCESSING OPTIONS

There's also options available if you use -video opengl, but those don't ship with MAME and need to be sourced elsewhere.


How do I find the mame.ini file?

Re: How to enable CRT shaders? [Re: GrindStormerSTG] #113226
04/25/18 06:15 AM
04/25/18 06:15 AM
Joined: Apr 2011
Posts: 287
B2K24 Offline
Senior Member
B2K24  Offline
Senior Member
Joined: Apr 2011
Posts: 287
mame.ini should be in same location as the executable if you're running Windows. I'm unsure how it's handled on other operating systems. If one doesn't exist then feel free to create one by executing *mame64 -cc* using command prompt


Moderated by  qmc2 

Who's Online Now
4 registered members (Reznor007, Pernod, R. Belmont, 1 invisible), 24 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,607
Posts112,529
Members4,828
Most Online296
Dec 5th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.048s Queries: 14 (0.014s) Memory: 5.6046 MB (Peak: 5.7761 MB) Zlib enabled. Server Time: 2018-12-19 16:02:05 UTC