Previous Thread
Next Thread
Print Thread
#113205 - 04/24/18 01:20 AM How to enable CRT shaders?  
Joined: Feb 2017
Posts: 5
GrindStormerSTG Offline
Member
GrindStormerSTG  Offline
Member

Joined: Feb 2017
Posts: 5
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.

#113206 - 04/24/18 03:02 AM Re: How to enable CRT shaders? [Re: GrindStormerSTG]  
Joined: Apr 2011
Posts: 285
B2K24 Offline
Senior Member
B2K24  Offline
Senior Member

Joined: Apr 2011
Posts: 285
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.

#113225 - 04/25/18 06:02 AM Re: How to enable CRT shaders? [Re: B2K24]  
Joined: Feb 2017
Posts: 5
GrindStormerSTG Offline
Member
GrindStormerSTG  Offline
Member

Joined: Feb 2017
Posts: 5
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?

#113226 - 04/25/18 06:15 AM Re: How to enable CRT shaders? [Re: GrindStormerSTG]  
Joined: Apr 2011
Posts: 285
B2K24 Offline
Senior Member
B2K24  Offline
Senior Member

Joined: Apr 2011
Posts: 285
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
2 registered members (dxl, AJR), 22 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,534
Posts111,540
Members4,793
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.063s Queries: 14 (0.036s) Memory: 4.9477 MB (Peak: 5.1247 MB) Zlib enabled. Server Time: 2018-05-22 15:42:41 UTC