ArcCabView BGFX_Chain 2.2b for MAME by Aubrel
(MOD of CRTGeom-Deluxe BGFX Chain by cgwg)


Changelog :
- aperture mask code changed to match the grill and to look like our Reshade's Shader
- support for 2x2 and 1x1 slot mask textures (auto switch)
- native frame display support (with and without curvature)
- screen reflection on frame added
- frame size setting added (so you can change the frame image and resize according to the new one)
- curvature without CRT effect added
- better overscan support and offsets support added (so now you can resize and crop your games correctly :)
- many settings and details improved
- native overlay image support added (from 1.1 the overlay image alpha value is exponential)
- improved brightness and black dots render (1.1)
- halation effect improved to catch the screen dots and to look more realistic (1.1)
- big performance improvement (1.2)
- brightness, contrast, halation, reflection and overlay adjustements (1.2a)
- half-curv & half-frame added for 2 screens games (1.3)
- small typo in reflexion code fixed, curvature effect settings slightly reduced (1.4)
- moire effect reduced, frame reflection contrast improved (1.4a)
- many things rewritten from scratch, many small issues fixed (2.0)
- even more performance improvements (2.0)
- the overall display result should be improved (2.0)
- the previous annoying moire effect issue should be now fully fixed (2.0)
- the mask texture 1x1 is now used by default (2.0)
- many default settings updated and improved (2.0)
- CRT brightness increased (2.0a)
- small cleanups, impovements and adjustements (2.1)
- overlay texture removed and now simulated (2.2)
- frame texture size and code updated (2.2)
- some performance improvements (2.2)
- artwork's lay files updated by r0n1n (2.2)
- frame display when changing the chains ingame fixed (2.2a)
- aperture_strength value reduced (2.2a)
- shader textures moved to artwork/bgfx/chains/ArcCabView (2.2b)
...

Nota :
The 2.x version needs previous ArcCabView's 1.x setting chains to be removed from the folder "bgfx/chains/"
(to be more clean, they are now located in the "bgfx/chains/ArcCabView/" folder)
The chain setting "ArcCabView_Dot" has been removed (this is now the default "ArcCabView" chain)
The old default chain setting is now called "ArcCabView_Mask2"


- BGFX Chains presets :
- "ArcCabView_Mask2" : it adds an alternate pixel effect (to use only with low-res games or with High-Res screens)
- "ArcCabView_ResX2" : it doubles the horizontal resolution and adds the alternate pixel effect (to use only with low-res games or with big High-Res screens)
- "ArcCabView_Flat" : it removes the curvature, the corners, the raster-bloom effect and the frame (good to use with multi-screens games)
- "ArcCabView_NoCurv" : it removes the curvature effect
- "ArcCabView_NoFrame" : it removes the screen frame
- "ArcCabView_NoCRT" : it removes the CRT effect (but the curvature, corners and the frame are still enabled)
- "ArcCabView_HalfLeft,ArcCabView_HalfRight" : for 2 screens games, it will do half-curv and half-frame on each screen (artwork examples included for darius2d and warriorb)
- "ArcCabView_ThirdLeft,ArcCabView_ThirdMiddle,ArcCabView_ThirdRight" : for 3 screens games using corners and frame (artwork examples included for darius, darius2 and ninjaw)
- "ArcCabView_Neo304" : it fixes the display size for 304 pixels width NeoGeo games. Also it doubles the horizontal resolution and adds an alternate pixel effect.
- "ArcCabView_xxxx" : special game settings with overscan and offsets already set (mostly here as examples, do you own ones for other games)


The pack contains :
- ArcCabView's BGFX Chains 2.2b
- Some chain settings examples
- A few artwork examples
- Some pre-configured ini for a few games as examples


As this pack is already "set" please do a clean install!!!!
The folder "artwork/bgfx/chains/ArcCabView/" is requiered to get ArcCabView's BGFX chains working (needed shader textures).
Warning: This shader works only from MAME 0.235 (0.235 and later versions)


Here what you need to set in mame's ini files (when not already done) :

#
# CORE SEARCH PATH OPTIONS
#
artpath                   artwork

#
# OSD VIDEO OPTIONS
#
video                     bgfx

#
# BGFX POST-PROCESSING OPTIONS
#
bgfx_path                 bgfx
bgfx_screen_chains        ArcCabView



For me "bgfx_backend" set to "glsl" works really better than most of the others options. 

For example: 
-To use the shader without the curvature effect you can set instead in the ini file(s)
bgfx_screen_chains        ArcCabView_NoCurv
-To use the shader without the CRT effect you can set instead in the ini file(s)
bgfx_screen_chains        ArcCabView_NoCRT
-To use the shader on multi-screens games you can set instead in the ini file(s)
bgfx_screen_chains        ArcCabView_Flat,ArcCabView_Flat,ArcCabView_Flat
-To use the shader on multi-screens system you can set instead in the ini file(s)
bgfx_screen_chains        ArcCabView:ArcCabView
...


Enjoy!

Info / Support : http://www.emuline.org/topic/2598-arccabview-display-your-arcade-games-just-as-you-want/
