MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

ckp
MAME Fan
Reged: 11/12/15
Posts: 6
Send PM


Mame 0.167 - settings for LCD monitor
#346938 - 11/12/15 07:50 AM


I'm new to Mame and just trying to find out what settings (hlsl?) I should use in my 0.167 mame.ini file to achieve good quality for most games when using newer LCD monitors or HD Plasma TV.
I understand there were a lot of changes around this area in 0.167, so most of the searching I've done is for much older versions.
Is the default mame.ini best for my type of display or are there some settings that should improve the quality?
Thank you!



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


Re: Mame 0.167 - settings for LCD monitor new [Re: ckp]
#346946 - 11/12/15 04:19 PM


settings in mame.ini

http://pastebin.com/A5bia3Nm

create a vector.ini and toss it in ini folder with these values inside.

http://pastebin.com/Tg5byASX

Do the same for raster.ini

http://pastebin.com/EUYAy0ze



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


Re: Mame 0.167 - settings for LCD monitor new [Re: B2K24]
#346947 - 11/12/15 04:52 PM


I really think this is too subjective a topic.

What looks good to some will look terrible to many others.

I currently have it set to this as a general 'base line' look for raster games, and think it looks amazing:



..but no doubt some here will hate the look I play with.

Of course it doesn't help that setting up HLSL for each system has become a complete pain in the ass since saving config files on the fly was removed from MAME.



lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


Re: Mame 0.167 - settings for LCD monitor new [Re: B2K24]
#346950 - 11/12/15 06:57 PM


> settings in mame.ini
>
> http://pastebin.com/A5bia3Nm
>
> create a vector.ini and toss it in ini folder with these values inside.
>
> http://pastebin.com/Tg5byASX
>
> Do the same for raster.ini
>
> http://pastebin.com/EUYAy0ze

Is there any reason to put your raster settings in a different ini than the main MAME.INI? Or is it just to make it obvious?



ckp
MAME Fan
Reged: 11/12/15
Posts: 6
Send PM


Re: Mame 0.167 - settings for LCD monitor new [Re: B2K24]
#346952 - 11/12/15 09:43 PM


Thanks! I will try this!
For raster.ini and vector.ini , do i just create a folder where mame64.exe is called ini and put those two files there?
And do raster.ini and vector.ini need to have the entire game.ini settings replacing only the sections you posted, or do these two files only need to have the content of exactly what you posted?



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


Re: Mame 0.167 - settings for LCD monitor new [Re: ckp]
#346955 - 11/13/15 12:35 AM


> Thanks! I will try this!
> For raster.ini and vector.ini , do i just create a folder where mame64.exe is called
> ini and put those two files there?
> And do raster.ini and vector.ini need to have the entire game.ini settings replacing
> only the sections you posted, or do these two files only need to have the content of
> exactly what you posted?

Correct. The folder named ini must be in same location as mame64.exe if using default inipath which I do because I find it the most convenient.

The 2 files can contain just the contents I posted. You're welcome to make any additional changes or additions if you feel it to be necessary.



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


Re: Mame 0.167 - settings for LCD monitor new [Re: lamprey]
#346956 - 11/13/15 12:37 AM


> Is there any reason to put your raster settings in a different ini than the main
> MAME.INI? Or is it just to make it obvious?

Jezze suggested doing it and shared some settings which I find very nice so I do the exact same thing and am happy with it.

Of course you're welcome to change things up or put whatever you think is the best result.



ckp
MAME Fan
Reged: 11/12/15
Posts: 6
Send PM


Re: Mame 0.167 - settings for LCD monitor new [Re: B2K24]
#346975 - 11/14/15 01:36 AM


Thanks. Your settings made it look better than default in my opinion!
Are there any tweaks I can make so it looks smoother and even less pixelated? I may be unusual in that I like the smooth jaggie-less look.
If you ever saw the SABR filter setting on a Mac using OpenEmu and MAME, that's what I'm looking for on Windows. But OpenEmu doesn't have exposed MAME ini files to see how they do it.
Appreciate your help.



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


Re: Mame 0.167 - settings for LCD monitor new [Re: ckp]
#346979 - 11/14/15 08:32 AM


> Thanks. Your settings made it look better than default in my opinion!
> Are there any tweaks I can make so it looks smoother and even less pixelated? I may
> be unusual in that I like the smooth jaggie-less look.
> If you ever saw the SABR filter setting on a Mac using OpenEmu and MAME, that's what
> I'm looking for on Windows. But OpenEmu doesn't have exposed MAME ini files to see
> how they do it.
> Appreciate your help.

Only thing I can suggest is make changes in real-time with the sliders while the emulation is running. Be aware though they won't save those changes when you close or exit MAME so be sure to record the changes or improvements you like better.



Jezze
Reged: 03/14/05
Posts: 72
Send PM


Re: Mame 0.167 - settings for LCD monitor new [Re: ckp]
#346980 - 11/14/15 11:18 AM


The HLSL shader of MAME does not have the goal to upscale or smooth pixel graphics. The shader tries to simulate the appearance of a CRT or vector monitor.

To get upscaled and smoothed pixel graphics use HqMAME which supports different xBR and HQx filters.



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


Re: Mame 0.167 - settings for LCD monitor new [Re: B2K24]
#347009 - 11/15/15 07:22 AM


> Do the same for raster.ini
>
> http://pastebin.com/EUYAy0ze

Here is what I'm using.


Code:


#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1
hlslpath C:\source\hlsl
hlsl_prescale_x 8
hlsl_prescale_y 8
hlsl_preset -1
hlsl_write
hlsl_snap_width 2048
hlsl_snap_height 1536
shadow_mask_alpha 0.5
shadow_mask_texture shadow-mask.png
shadow_mask_x_count 6
shadow_mask_y_count 4
shadow_mask_usize 0.1875
shadow_mask_vsize 0.25
shadow_mask_uoffset 0.0
shadow_mask_voffset 0.0
curvature 0.05
round_corner 0.0
smooth_border 0.0
reflection 0.0
vignetting 0.25
#scanline_alpha 0.75
scanline_size 1.0
scanline_height 1.0
scanline_bright_scale 2.0
scanline_bright_offset 0.0
scanline_jitter 0.0
#defocus 1.0,0.0
#converge_x 0.0,0.0,0.0
#converge_y 0.0,0.0,0.0
#radial_converge_x 0.0,0.0,0.0
#radial_converge_y 0.0,0.0,0.0
#red_ratio 1.05,0.0,0.1
#grn_ratio -0.1,1.0,0.25
#blu_ratio -0.25,0.25,1.25
#saturation 1.25
#offset -0.3,-0.2,-0.05
#scale 1.15,1.05,0.9
#power 0.9,0.9,1.15
#floor 0.0,0.0,0.0
#phosphor_life 0.5,0.5,0.5

scanline_alpha 0.25 < Better blending I think.
defocus 1.5,1.5
converge_x 0.0,0.0,0.0
converge_y 0.0,0.0,0.0
radial_converge_x 0.0,0.0,0.0
radial_converge_y 0.0,0.0,0.0
red_ratio 1.0,0.0,0.0
grn_ratio 0.0,1.0,0.0
blu_ratio 0.0,0.0,1.0
saturation 1.25
offset 0.0,0.0,0.0
scale 0.95,0.95,0.95
power 1.3,1.3,1.3
floor 0.05,0.05,0.05
phosphor_life 0.5,0.5,0.5

#
# NTSC POST-PROCESSING OPTIONS
#
yiq_enable 0
yiq_cc 3.59754545
yiq_a 0.5
yiq_b 0.5
yiq_o 1.570796325
yiq_p 1.0
yiq_n 1.0
yiq_y 6.0
yiq_i 1.2
yiq_q 0.6
yiq_scan_time 52.6
yiq_phase_count 2

#
# VECTOR POST-PROCESSING OPTIONS
#
vector_length_scale 0.8
vector_length_ratio 500.0

#
# BLOOM POST-PROCESSING OPTIONS
#
bloom_scale 0.05
bloom_overdrive 1.0,1.0,1.0
bloom_lvl0_weight 1.0
bloom_lvl1_weight 0.64
bloom_lvl2_weight 0.32
bloom_lvl3_weight 0.16
bloom_lvl4_weight 0.08
bloom_lvl5_weight 0.04
bloom_lvl6_weight 0.04
bloom_lvl7_weight 0.02
bloom_lvl8_weight 0.02
bloom_lvl9_weight 0.01
bloom_lvl10_weight 0.01

bloom_scale 0.5




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



ckp
MAME Fan
Reged: 11/12/15
Posts: 6
Send PM


Re: Mame 0.167 - settings for LCD monitor new [Re: B2K24]
#347010 - 11/15/15 07:31 AM


Where can I find sliders while running a game in MAME?



ckp
MAME Fan
Reged: 11/12/15
Posts: 6
Send PM


Re: Mame 0.167 - settings for LCD monitor new [Re: ckp]
#347011 - 11/15/15 07:38 AM


Ok, I found some sliders and settings by pressing TAB in game. Very cool, I did not know that. Not a lot of adjustments to try though.



John IV
IV/Play, MAME, MAMEUI
Reged: 09/22/03
Posts: 1970
Loc: Washington, USA
Send PM


Re: Mame 0.167 - settings for LCD monitor new [Re: ckp]
#347012 - 11/15/15 07:40 AM


When you enable hlsl in an .ini you will get access to the full slider menus currently accessed by the tilde '`' key above your tab key on many keyboards, I don't think ctrl-F5 will toggle the sliders, just the current effects.



john iv
http://www.mameui.info/



John IV
IV/Play, MAME, MAMEUI
Reged: 09/22/03
Posts: 1970
Loc: Washington, USA
Send PM


Re: Mame 0.167 - settings for LCD monitor new [Re: Dullaron]
#347014 - 11/15/15 07:44 AM


Hopefully people will know not to use your hardcoded hlsl path.



john iv
http://www.mameui.info/



ckp
MAME Fan
Reged: 11/12/15
Posts: 6
Send PM


Re: Mame 0.167 - settings for LCD monitor new [Re: Dullaron]
#347088 - 11/17/15 04:33 AM


Thanks, this looks good. I'm currently using it.



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


Re: Mame 0.167 - settings for LCD monitor new [Re: ckp]
#347818 - 12/06/15 07:38 AM


Latest settings from u-man and Jezze that u-man kindly shared on the GameEX forums. It looks like the raster.ini isn't even needed anymore.

Really enjoying these settings with the curvature and brightness (pop)

http://pastebin.com/yyiJ6wrM


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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