MAME HLSL CRT SCANLINE EMULATION PRESETS

The place for all discussion on gaming hardware
User avatar
Astraea FGA Mk. I
Posts: 319
Joined: Sat Oct 29, 2011 7:59 am

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by Astraea FGA Mk. I »

This is excellent thank you.

I have a question, does altering the resolution from 1920x1080 to 1920x1200 mess up the aspect ratio or proportions of the image? Maybe this is a dumb question...
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Should make no difference except look better :)
Image
User avatar
Overkill
Posts: 512
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by Overkill »

Don't know what's wrong with the new MAME 148u5 update, but the HLSL is now all messed up.

Cools, do you mind to update to the new u5 update and see what have to be done to your settings bet back to normal?
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

I'll check it when I can.
Image
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Last settings updated for 148u5

The devs have fixed hlsl prescaling which is what caused the problem. Defocus is also disabled due to the new bloom effect.

When I'm near to a CRT I may tweak the bloom, but it looks pretty good at default
Image
User avatar
lettuce
Posts: 1334
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by lettuce »

They have finally added HLSL effect for vector goodness!!!..... Tempest should now look authentic :shock:

Maybe u could have a look at the vector settings as well cools?
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

I don't really have much experience with vector monitors, but at the moment it won't be possible to combine raster + vector into one setup - you don't have scanlines on a vector monitor for a start!
Image
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Erk, not fixed - the bloom is way too intense on some games.
Image
User avatar
Overkill
Posts: 512
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by Overkill »

Last settings updated for 148u5

The devs have fixed hlsl prescaling which is what caused the problem. Defocus is also disabled due to the new bloom effect.

When I'm near to a CRT I may tweak the bloom, but it looks pretty good at default
Thanks cools, but its not working as before with Mame 148u4, at least with the version im using "MAMEUI64". The picture is killing my eyes
User avatar
Overkill
Posts: 512
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by Overkill »

Ups,

Sorry cools, didn't notice your last message saying you allready noticed it :)

Going back to 148u4, as it seems they changed a lot of things in the HLSL and im not liking it, it was perfect in 148u4
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Nah, it was good but it definitely needed the bloom effect adding - but this now needs setting up in conjunction with everything else.

I may have time tonight to check through it.
Image
User avatar
lettuce
Posts: 1334
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by lettuce »

cools wrote:I don't really have much experience with vector monitors, but at the moment it won't be possible to combine raster + vector into one setup - you don't have scanlines on a vector monitor for a start!

I think there separate options in the ini file for vector stuff?

So does this Bloom effect try and simulate a CRT glow?
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Okay - use the settings I posted previously then add the below to the ini file:
raster_bloom_scale 0.15

This drops the bloom back to a level that doesn't wash out the image. The default is 0.25.

The trouble is, different games look better with different levels of bloom. RType looks ace at a bloom of 0.21-0.22 for example, but this is far too high for SF2
lettuce wrote:I think there separate options in the ini file for vector stuff?

So does this Bloom effect try and simulate a CRT glow?
Most of the HLSL effects apply to all games, so if you've got the scanline effect enabled it goes onto both raster and vector games. Maybe this will be changed in the future - it took some time for the initial HLSL to stabilise, so don't get too excited yet. Vector and raster bloom is seperate, but all of the other effects are not.

Yes, it's simulating how a CRT emits light.
Image
User avatar
Overkill
Posts: 512
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by Overkill »

Nah, it was good but it definitely needed the bloom effect adding - but this now needs setting up in conjunction with everything else.

I may have time tonight to check through it.
Thanks cools, i will look forward to it.

I think there separate options in the ini file for vector stuff?

So does this Bloom effect try and simulate a CRT glow?
Just tryed a fresh MAME.ini file and just turning HLSL on with the default HLSL setting, that bloom/glow or whatever is it called in english just kills my eyes.
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

It's too strong by default, just turn it down as I described above.
Image
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Raster_bloom_scale 0.15
Zero all the phosphor life options.

Leave everything else alone, it's fine. Vectors are also on a different chain so Lettuce will be happy, I was wrong about these! The defaults for vector games work well.

When I am at a machine that has proper internet access And screen I'll do a full suite again, but just turning down the scale sorts it for now
Image
User avatar
lettuce
Posts: 1334
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by lettuce »

Cools, will you be doing anymore tinkering with these HLSL settings??

How can i make the picture slightly sharper?
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Disable bloom it seems, and bump the hlsl prescale up.
Image
User avatar
lettuce
Posts: 1334
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by lettuce »

your default setting is 3 for prescale, so i guess the higher the value the more stress on the cpu/gpu it adds?
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Yes.
Image
User avatar
lettuce
Posts: 1334
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by lettuce »

Have noticed this bloom effect seems to have a strange effect on the scanlines, you can notice it when the screen is panning up and down
User avatar
Overkill
Posts: 512
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by Overkill »

i can't manage to get it right too
User avatar
cmoses
Posts: 30
Joined: Fri May 24, 2013 1:40 pm

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cmoses »

New here to the Shmups forum. I have been reading them for a little while, mostly about HLSL and effects. I have been waiting for the bloom effects to show up and now there are here. I fooled around with them a little bit with the latest build. I seem to have the most success when I turn off the shadow_mask_alpha and just use scan lines. I haven't got it right but seems to be a work around. Also seems that the bloom works best on the "classics". Games that have a black background for the most part, Donkey Kong, PacMan, etc. I really like the look that the colored vectors have with the stock settings. I think Tempest looks the best I have seen on my MAME machine. Hopefully we will see some more refinement and have some the experienced HLSL tweakers put some time and testing in to get this settings down.
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Going to keep my current relevant settings in the AO wiki from now on:
http://wiki.arcadeotaku.com/w/User:Cool ... L_Settings
Image
User avatar
lettuce
Posts: 1334
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by lettuce »

your leaving the raster bloom at 0.20???
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Yes. I'd missed out that I had bumped the brightness and contrast up in my ini file prior to the bloom effect :oops:
Image
User avatar
Overkill
Posts: 512
Joined: Mon Aug 22, 2011 6:11 pm
Location: Portugal

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by Overkill »

One question, if just using the settings above i got screen tear in MameUI64, but there are two option that removes screen tear:

Sync to Monitor Refresh

and

Wait for Vertical Sync

I just tryed both and they both work solo, but each one is better to use?
User avatar
NUeda
Posts: 76
Joined: Wed May 29, 2013 10:26 am

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by NUeda »

I had a feeling Super Contra looked very wrong.
And then HLSL kicked in.

Image
Image


Image
Image


Image
Image


Image
Image


Image
Image

I think I see Arnold.....
Last edited by NUeda on Wed Jun 05, 2013 12:18 pm, edited 10 times in total.
User avatar
cools
Posts: 2055
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cools »

Overkill wrote:One question, if just using the settings above i got screen tear in MameUI64, but there are two option that removes screen tear:

Sync to Monitor Refresh

and

Wait for Vertical Sync

I just tryed both and they both work solo, but each one is better to use?
I prefer the first one as it can help to cure the judder you get with some games and the last one. But it does mean games are run either too fast or too slow a lot of the time. The judder annoys me more than the speed change.
Image
User avatar
cmoses
Posts: 30
Joined: Fri May 24, 2013 1:40 pm

Re: MAME HLSL CRT SCANLINE EMULATION PRESETS

Post by cmoses »

NUeda wrote:I had a feeling Super Contra looked very wrong.
And then HLSL kicked in.
NUeda,

What HLSL settings are you using and what version of MAME? I ask because not only do your HLSL pictures look better it appears that the colors are different as well.

Thanks
Post Reply