Next Generation Emulation banner

HELP: Mame 0.258 crashes whenever I try to use BGFX

1.7K views 6 replies 2 participants last post by  spotanjo3  
#1 · (Edited)
I am trying out the latest version of MAME with the MAME+UI as the GUI and finally got the autofire plugin to work, but the HLSL shaders don't work, as there is no pincussion effect and it flickers too much.

I want to use the Super-XBR shader in BGFX. I set video mode from Direct3D to BGFX and in the mame.ini file under the BGFX settings I set this:


# BGFX POST-PROCESSING OPTIONS
#
bgfx_path-------------------bgfx
bgfx_backend---------------auto
bgfx_debug-----------------0
bgfx_screen_chains---------xbr-mlv4-multipass
bgfx_shadow_mask---------slot-mask.png
bgfx_lut---------------------lut-default.png
bgfx_avi_name------------- auto


When I try to load ANY game, the shader doesn't apply. Instead, I just get the standard bilinear filtering, like I get when I set Direct3D as the frontend.


Can someone please assist me in getting this to work?
If I can get it working, I can try other BGFX settings too.

I really also want to get the same HLSL shaders, like I can get on MAME Plus! 0.168, but I don't think it's possible on MAME 0.258.
 
#4 ·
I was using the wrong BGFX chain. Some work, and some crash MAME. I don't know why they include chains that just cause a black screen, the emulator to stop responding and then to crash. the chain I use now is:


# BGFX POST-PROCESSING OPTIONS
#
bgfx_path-----------------bgfx
bgfx_backend-------------auto
bgfx_debug---------------0
bgfx_screen_chains-------super-xbr-6p
bgfx_shadow_mask-------slot-mask.png
bgfx_lut-------------------lut-default.png
bgfx_avi_name------------auto