MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

124scratch
MAME Fan
Reged: 07/18/16
Posts: 18
Send PM


My MAME HLSL settings that don't mess the colors up!
#361171 - 12/11/16 05:32 AM


So back when HLSL was updated, I wasn't very happy with how it messed some of the colors up. I sort of started from scratch and worked from there and made some settings I'm happy with. Here's my raster.ini settings.

#
# DIRECT3D POST-PROCESSING OPTIONS
#
shadow_mask_tile_mode 0
shadow_mask_alpha 0.25
shadow_mask_texture slot-mask.png
shadow_mask_x_count 12
shadow_mask_y_count 12
shadow_mask_usize 0.5
shadow_mask_vsize 0.5
shadow_mask_uoffset 0.0
shadow_mask_voffset 0.0
distortion 0.1
cubic_distortion 0.1
distort_corner 0.0
round_corner 0.1
smooth_border 0.0
reflection 0.0
vignetting 0.0
scanline_alpha 0.50
scanline_size 1.0
scanline_height 1.0
scanline_variation 1.0
scanline_bright_scale 2.0
scanline_bright_offset 0.0
scanline_jitter 0.0
defocus 1.0,0.0
converge_x 0.1,0.0,-0.1
converge_y 0.0,0.0,0.0
radial_converge_x 0.1,0.0,-0.1
radial_converge_y 0.0,0.0,0.0
red_ratio 1.00,0.00,0.00
grn_ratio 0.00,1.00,0.00
blu_ratio 0.00,0.00,1.00
saturation 1.00
offset -0.20,-0.20,-0.20
scale 1.00,1.00,1.00
power 1.00,1.00,1.00
floor 0.000,0.000,0.000
phosphor_life 0.25,0.25,0.25

#
# NTSC POST-PROCESSING OPTIONS
#
yiq_enable 0

#
# BLOOM POST-PROCESSING OPTIONS
#
bloom_blend_mode 0
bloom_scale 0.50
bloom_overdrive 1.00,1.00,1.00
bloom_lvl0_weight 1.00
bloom_lvl1_weight 0.64
bloom_lvl2_weight 0.32
bloom_lvl3_weight 0.16
bloom_lvl4_weight 0.08
bloom_lvl5_weight 0.06
bloom_lvl6_weight 0.04
bloom_lvl7_weight 0.02
bloom_lvl8_weight 0.01

And some screenshots: http://imgur.com/a/TeUrj

Let me know your thoughts!



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


I use the crt-geom-deluxe shader from BGFX. new [Re: 124scratch]
#361174 - 12/11/16 06:03 AM


Less hassle.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



124scratch
MAME Fan
Reged: 07/18/16
Posts: 18
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: Dullaron]
#361175 - 12/11/16 07:07 AM


How do you do that?

EDIT: I just looked at some pictures and I have to say I like my settings better. I fine tuned them to be the way I want them. Thanks for the offer though.

Edited by 124scratch (12/11/16 07:10 AM)



lowlytech
MAME Fan
Reged: 06/27/15
Posts: 4
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: 124scratch]
#361194 - 12/12/16 04:25 PM


Screenshots look really nice. What version of MAME are you running that config with?

Edited by lowlytech (12/12/16 04:26 PM)



R.Coltrane
MAME user since 0.11
Reged: 08/07/05
Posts: 495
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: lowlytech]
#361221 - 12/13/16 08:29 PM


> Screenshots look really nice. What version of MAME are you running that config with?

You can do it with the latest MAME version. Select the D3D video mode and enable HLSL, after that you can just copy his settings and you are ok.



lowlytech
MAME Fan
Reged: 06/27/15
Posts: 4
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: R.Coltrane]
#361228 - 12/14/16 02:36 AM


I have mame 169 and didn't want to upgrade. I know somewhere around 172 Jezze made some big changes to the hlsl component. Guess to simply my question would be to ask what is the oldest version of mame that would work with those settings?



grog
Reged: 09/06/11
Posts: 419
Send PM


Re: My MAME HLSL settings that don't mess the colors up! new [Re: 124scratch]
#361230 - 12/14/16 04:10 AM



> Let me know your thoughts!

i think it looks really good



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: lowlytech]
#361235 - 12/14/16 06:32 AM


I doubt anyone knows. But take a few minutes to find out whether it will on yours, yo.



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)



124scratch
MAME Fan
Reged: 07/18/16
Posts: 18
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: lowlytech]
#361991 - 12/30/16 05:06 PM


Probably MAME 0.170.



124scratch
MAME Fan
Reged: 07/18/16
Posts: 18
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: R.Coltrane]
#361992 - 12/30/16 05:07 PM


I'm running MAME 0.180.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: 124scratch]
#361996 - 12/30/16 11:14 PM Attachment: hlsl.zip 6 KB (19 downloads)


Instead of sticking with an older version of MAME and insisting on missing so much wonderful work and progress from developers and contributors. Do yourselves all a favor and give BGFX a try

Change to this in your mame.ini


Code:


# CORE SCREEN OPTIONS
#
brightness 1.0
contrast 1.0
gamma 0.900
pause_brightness 0.65
effect none

# OSD VIDEO OPTIONS
#
video bgfx
numscreens 1
window 0
maximize 1
waitvsync 0
syncrefresh 0
monitorprovider auto

# OSD ACCELERATED VIDEO OPTIONS
#
filter 0
prescale 1

# BGFX POST-PROCESSING OPTIONS
#
bgfx_path bgfx
bgfx_backend auto
bgfx_debug 0
bgfx_screen_chains hlsl
bgfx_shadow_mask slot-mask.png
bgfx_avi_name auto



Download attached file and replace with default at location

Code:

MAME\bgfx\chains



It's not 100% perfect (Yet) but there's absolutely no reason to stay on an older version



Envisaged0ne
MAME Fan
Reged: 08/29/06
Posts: 543
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: B2K24]
#362012 - 12/31/16 02:30 AM


Not bad, but I don't like how you can't save your hlsl settings with bgfx. So you have to customize the settings everytime you run a game



Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: Envisaged0ne]
#362019 - 12/31/16 05:45 AM


> Not bad, but I don't like how you can't save your hlsl settings with bgfx. So you
> have to customize the settings everytime you run a game

I don't understand what you mean.

If you wanted different settings for tmnt than you would galaga, simply make a copy of your hlsl.json, change whatever values to what you desire, then rename it to tmnt.json or galaga.json and those will be select-able via the effects slider in slider controls menu.



Ziggy100
MAME Fan
Reged: 06/14/08
Posts: 314
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: B2K24]
#362027 - 12/31/16 12:02 PM



Quote:


then rename it to
> tmnt.json or galaga.json and those will be select-able via the effects slider in
> slider controls menu.




Sure, but for every game?

Lol, I don't know about you but I have a real life that requires time outside of MAME, and manually setting up the 600 or so games in my favourites list with BGFX settings, isn't exactly practical.

..bring back saving of HLSL/BGFX settings on the fly from within the game FFS.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: Ziggy100]
#362057 - 12/31/16 07:36 PM


Lulwut? You don't need 600 different settings or settings for every game.



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2258
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: Ziggy100]
#362065 - 12/31/16 08:40 PM


> ..bring back saving of HLSL/BGFX settings on the fly from within the game FFS.

I'm right there with you, man. When I actually bother to use MAME as a user rather than as a developer, I'm pretty fucking annoyed at how user-unfriendly the BGFX system itself is.

But please, try to understand that that BGFX system was written by exactly one person: one person who was very glad to have something worth checking in, even if it wasn't 100% functional. I've been pretty burnt out on the BGFX backend ever since. I have ideas kicking around in my head, but the amount of work necessary to realize those ideas is pretty much a mountain on par with writing the BGFX backend itself.

What I have in my head is a menu option within the "Video Settings" menu, which will not only let you save and load your preferred shader settings by name, but also allow you to preview a given group of settings before selecting it.

The actual UI-related coding to implement it would be pretty easy, but currently, the way sliders are handled in the BGFX backend is a ghastly hack - and I'm entitled to say that, since I wrote it. I would strongly prefer to have a solid plan in place for rewriting that part of the code when I start doing it, and so far, I haven't come up with a solution that wouldn't be extremely painful for me to implement. Hence, for now, it's sitting on my back-burner while I look at things like Stunt Cycle and other stuff.

Believe me, I totally agree that the current lack of a way to save/load settings is a total pain in the ass. I myself am bitten by it when I just want to load up Star Sweep and get a good-looking screen. But every time I have to deal with it, I get that much closer to hopefully coming up with a solution that pleases everyone. For now, though, I'd rather not spend my time half-assing a solution, when my half-assing things is why things are they way they are already.

So, don't worry, I'm definitely planning on solving this problem, but it might take a couple months or years. But I agree with what you're saying.



anikom15
Instigator/Local CRT Guru
Reged: 04/11/16
Posts: 287
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: Ziggy100]
#362098 - 01/01/17 07:00 AM


> then rename it to
> > tmnt.json or galaga.json and those will be select-able via the effects slider in
> > slider controls menu.
>
> Sure, but for every game?
>
> Lol, I don't know about you but I have a real life that requires time outside of
> MAME, and manually setting up the 600 or so games in my favourites list with BGFX
> settings, isn't exactly practical.
>
> ..bring back saving of HLSL/BGFX settings on the fly from within the game FFS.

I'm using Direct3D, but this should still apply. I use a general 'raster' INI for most arcade games and then for consoles I just do each console individually, even though they all have the same settings generally. There aren't too many consoles so this isn't a big deal.

MAME definitely should allow for more flexibility though. For example, a way to apply settings for monochrome monitors, interlaced games, etc. or maybe even some way to make custom categories.

The thing about UI design is MAME needs to be highly flexible to handle all the different kinds of games out there. We can't just apply a single CRT shader because not all games use the same type of CRT. Heck many of them don't even use CRTs. You're never going to be able to have perfect simplicity with a complicated system without sacrificing flexibility.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: anikom15]
#362124 - 01/01/17 11:13 PM


> I'm using Direct3D, but this should still apply. I use a general 'raster' INI for
> most arcade games and then for consoles I just do each console individually, even
> though they all have the same settings generally. There aren't too many consoles so
> this isn't a big deal.
>
> MAME definitely should allow for more flexibility though. For example, a way to apply
> settings for monochrome monitors, interlaced games, etc. or maybe even some way to
> make custom categories.
>
> The thing about UI design is MAME needs to be highly flexible to handle all the
> different kinds of games out there. We can't just apply a single CRT shader because
> not all games use the same type of CRT. Heck many of them don't even use CRTs. You're
> never going to be able to have perfect simplicity with a complicated system without
> sacrificing flexibility.

I totally get where you're coming from, but 600 files or different persets as Ziggy suggests is far from this simplicity explained in one of your points.

For now until something better is possible, I like having different shader chain files which are select-able in real-time. It's the easiest method for me to manage due to it's simplicity and versatility.



anikom15
Instigator/Local CRT Guru
Reged: 04/11/16
Posts: 287
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: B2K24]
#362133 - 01/02/17 01:08 AM


> > I'm using Direct3D, but this should still apply. I use a general 'raster' INI for
> > most arcade games and then for consoles I just do each console individually, even
> > though they all have the same settings generally. There aren't too many consoles so
> > this isn't a big deal.
> >
> > MAME definitely should allow for more flexibility though. For example, a way to
> apply
> > settings for monochrome monitors, interlaced games, etc. or maybe even some way to
> > make custom categories.
> >
> > The thing about UI design is MAME needs to be highly flexible to handle all the
> > different kinds of games out there. We can't just apply a single CRT shader because
> > not all games use the same type of CRT. Heck many of them don't even use CRTs.
> You're
> > never going to be able to have perfect simplicity with a complicated system without
> > sacrificing flexibility.
>
> I totally get where you're coming from, but 600 files or different persets as Ziggy
> suggests is far from this simplicity explained in one of your points.
>
> For now until something better is possible, I like having different shader chain
> files which are select-able in real-time. It's the easiest method for me to manage
> due to it's simplicity and versatility.

I don't think you will need 600. There are only a handful of consoles/computers most people need, raster.ini, vector.ini, vector-mono.ini can handle 99.9% of the arcade games you'll play, and then there are maybe a handful of others that are specialized (interlace, hi-res, rear projection). If you are smart about it, it's fine.



124scratch
MAME Fan
Reged: 07/18/16
Posts: 18
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: B2K24]
#362192 - 01/03/17 02:48 PM


But MAME 0.180 is the newest version.



Envisaged0ne
MAME Fan
Reged: 08/29/06
Posts: 543
Send PM


Re: I use the crt-geom-deluxe shader from BGFX. new [Re: 124scratch]
#362201 - 01/04/17 02:49 AM


No it's not



Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 198 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3193