As referenced in Order of Config Loading, MAME has a order in which it processes INI files. The HLSL settings can be edited in mame.ini, but to take full advantage of the power of MAME's config files, you'll want to copy the HLSL settings from mame.ini to one of the other config files and make changes there.
Edit: Got it working, wow that's an amazing shader, great work :)! Had to edit the mame.ahk and change d3d to BGFX, also did not have to modify the games ini files, seems to work out of the box by adding arcade.ini and the recommended settings you had.
Hey Houb, was wondering if there is any way to apply the mame shader to two screens? Games like Ninja warriors use 2 screens side by side, but the shader only works on one screen. There was HLSL settings for two or or more screen, but how would it work with bgfx?
You have two scanlines per pixel in Joe and Mac returns!!! Pretty sure no arcade ever had this happen, again glad your settings makes you happy. But I seriously recommend looking at other settings, Houb's work is based on CRTGeom which is a MAME and Retroarch state of the art shader, and then we made major improvements on top of that so claiming your scanline settings from mame 171 is superior and claiming
Changelog 4.1- arcabview 2.1 now installed for scanlines in mame, visually it's much better than HLSL that was in use on v4.- nag screen removed from scripts. No more nag screen on game startup- Intro video changed- all scripts optimised, now very fast loading, race conditions completely removed for more stable script operation.- most ttx3 games updated with newest nxl2 dll so difficulty can be changed now.- lindbergh games now enabled by default- lindbergh games should no longer run too fast so long as you're using a 60hz screen.- wangan 6 1080p patched- disabled most of windows telemetry and just about everything else auto that windows does online, including system updates and drivers, you'll need to manually do these now. If you're using TTX3 you shouldn't need to install any drivers. If you want Windows updates, you'll need to manually trigger them.- sf4 games are rendering at 4k in 1080p window (work perfectly fine on 660gtx default video card).- kof mia is finally fixed. its also rendering @ 1080p in proper 4:3 scale, with a working intro video. This game is a pain to make work on this system. The way it's running now is the best we could do but at least it finally consistently works and it looks and displays good. You're stuck with the DXWnd window in the bottom left. You can click on it and drag it to the bottom right out of the screen so you just see the corner of it, but you can't click anywhere in the game window when you do this. If you click in the game window it will most likely kill the game. Don't let the full attract mode play through, it breaks the scaling at the end of the attract mode. It takes about 2-3 minutes to play through, just start You can now see Makoto Mizoguchi with rope in his ass like you've never done before, lucky you!- MUSIC SECTION ADDED some toons for you to watch when you're high.- kof15 PC added, you have 4 attack buttons mapped, ESC, ENTER and SPACE are all mapped to the remaining player buttons and start button. You can navigate the entire game with these buttons. No button combos needed. KOF15 runs pefectly fine @ 1080p with the stsock 660gtx video card, NO NEED FOR UPGRADED VIDEO CARD FOR THIS GAME!- Fightcade added. It's never been online or logged in so you will need to sign up an account online and then login. The auto rom downlaod scripts are in the folder. This means it will download the games you want to play automatically for you. No need to load the full pack, it will just download the game before you play it. Don't forget to map your arcade controls first time you use it.- Stereo sound test in the music section so you can test your left right sound channels on your cab. We think Sf3 3rd strike sets to mono sound by default. It's set to stereo on this image.- system bios flashing tools added to the utils menu ***USE AT YOUR OWN RISK***. All 3 bios revisions are there.- RING operation ghost video config is now fixed. It displays correctly through the entire game and is correctly upscaled. It was semi broken/hacky before.- TTX Block King Shooter video mode now fixed and displays correctly. It was slightly odd resolution and required it's own custom resolution entry. It works under 1440x1080p now with all the other 4:3 games.- Some changes made to Windows that should limit any data corruptions on C: with improper shutdowns. It's not the write filter enabled but it will be even less chance of issues now. Still try and shut down properly from utils menu or button combo if you can, but it shouldn't corrupt even if you hard power it off. You can probably just enable the write filter but we aren't sure no games are using it for anything.- Save partition shrunk to 1GB. IF there is ever another release from us, this partition will be used a lot more. read: fastio native support will be reverted for all ttx2/3 games that support it if we can. JVS support will be completely removed from the multi if there is ever another release after 4.1, it will be FASTIO only.- Added a Sound Devices shortcut to the UTILS menu. This makes it easy to get to sound devices to swap between sound devices such as hdmi/sound card. 2b1af7f3a8