MAME HLSL CRT SCANLINE EMULATION PRESETS
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Just tried this and wow. I applaud you, sir.
| My games - http://www.emphatic.se | (Click) I have YEN stickers for sale
RegalSin wrote:Street Fighters. We need to aviod them when we activate time accellerator.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
I think one of this:
hlsl_snap_width 2048
hlsl_snap_height 1536 try change this value to see what happens
but let user cools see it first, because is more inside this HLSL thing than me
hlsl_snap_width 2048
hlsl_snap_height 1536 try change this value to see what happens
but let user cools see it first, because is more inside this HLSL thing than me
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
All that will do is change the screenshot size when pressing alt and f12
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Ho, sorry then, its just i haven't see anything else for screen size.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Nor me. Is it stock MAME or a third party compilation? I've never seen the menu bar at the top of the stock one.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Oh, i forget to mention that i was using the hlsl settings in mess. I suppose it does not work the same.cools wrote:Nor me. Is it stock MAME or a third party compilation? I've never seen the menu bar at the top of the stock one.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Turns out it was the menu bar that was causing the scanline weirdness, just had to not show it when in full screen.cools wrote:It should do if it's the latest UME.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
I was wondering if it was the cause, but it looked like it was overlaying the image rather than squashing it. Good news.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
I didn't touch brightness, contrast, gamma, saturation or colour simply because they're highly dependent on the screen you're using and how it's calibrated.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
noob question:
where exactly am i putting all this information? my mame folder has an 'hlsl' folder inside it, but its completely empty. i ams lost ,_,
where exactly am i putting all this information? my mame folder has an 'hlsl' folder inside it, but its completely empty. i ams lost ,_,
GaijinPunch wrote:Ketsui with suction cup.
-
Thjodbjorn
- Posts: 439
- Joined: Mon Apr 12, 2010 2:36 pm
- Location: Minnesota
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
I am also a noob, so maybe I can help. You just put it in the main config file.moh wrote:noob question:
where exactly am i putting all this information? my mame folder has an 'hlsl' folder inside it, but its completely empty. i ams lost ,_,
Like, just paste it in there, but make sure it has the
#
# DIRECT3D POST-PROCESSING OPTIONS
#
in there. Your config file may already have something there, but you can overwrite it.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
hmm...it seems like whenever I overwrite it, it just reverts back to
any suggestions?
Code: Select all
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="default" />
</mameconfig>
GaijinPunch wrote:Ketsui with suction cup.
-
Thjodbjorn
- Posts: 439
- Joined: Mon Apr 12, 2010 2:36 pm
- Location: Minnesota
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Ack. That's officially over my noob head.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
If you don't have a mame.ini, create a .bat file like this and run it:
The "mame" will have to match the name of your executable, like "shmupmame64_v42" or what you're running.
Code: Select all
mame -createconfig
| My games - http://www.emphatic.se | (Click) I have YEN stickers for sale
RegalSin wrote:Street Fighters. We need to aviod them when we activate time accellerator.
-
Softdrink 117
- Posts: 562
- Joined: Sat Sep 15, 2012 4:15 am
- Location: Los Angeles
- Contact:
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
If you're on windows, you can also use the command prompt.
First, navigate to the directory where your mame.exe is located. This should be as simple as copy-pasting the file path and using the cd command; you should get something similar to the following (the specific path will obviously be different depending on where you have your files stored):
Then, once you're in the correct directory, use -cc on the mame executable (name should match your mame executable exactly) to create the configuration file. This should look similar to the following:
This does exactly the same thing as what emphatic suggested, just another way of doing it.
First, navigate to the directory where your mame.exe is located. This should be as simple as copy-pasting the file path and using the cd command; you should get something similar to the following (the specific path will obviously be different depending on where you have your files stored):
Code: Select all
cd C:\Users\SFT\Documents\MAME
Code: Select all
mame.exe -cc
-
Thjodbjorn
- Posts: 439
- Joined: Mon Apr 12, 2010 2:36 pm
- Location: Minnesota
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Ugh. Enough of a noob that I can't keep the file names straight. Thanks!cools wrote:MAME.INI
-
ThEmperorIsDead
- Posts: 51
- Joined: Tue Jan 22, 2013 2:32 pm
- Location: London Maximum Death Anger
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Just started using these settings for my office where I only have a LCD.
Looks great, very nice work!
Looks great, very nice work!
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Code: Select all
#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1
hlslpath hlsl
hlsl_ini_read 0
hlsl_ini_write 0
hlslini %g
hlsl_prescale_x 3
hlsl_prescale_y 3
hlsl_preset -1
hlsl_write
hlsl_snap_width 2048
hlsl_snap_height 1536
shadow_mask_alpha 0.200000
shadow_mask_texture aperture.png
shadow_mask_x_count 320
shadow_mask_y_count 240
shadow_mask_usize 0.09375
shadow_mask_vsize 0.109375
curvature 0.000000
pincushion 0.050000
scanline_alpha 1.000000
scanline_size 1.000000
scanline_height 1.000000
scanline_bright_scale 1.000000
scanline_bright_offset 0.600000
scanline_jitter 0.000000
defocus 0.000000,0.000000
converge_x -0.100000,0.000000,0.100000
converge_y 0.100000,0.000000,-0.100000
radial_converge_x 1.300000,0.000000,-1.300000
radial_converge_y -0.300000,0.000000,0.300000
red_ratio 1.000000,0.000000,0.000000
grn_ratio 0.000000,1.000000,0.000000
blu_ratio 0.000000,0.000000,1.000000
saturation 1.000000
offset 0.000000,0.000000,0.000000
scale 1.000000,1.000000,1.000000
power 1.000000,1.000000,1.000000
floor 0.000000,0.000000,0.000000
phosphor_life 0.200000,0.200000,0.200000
Last edited by cools on Thu May 23, 2013 7:36 am, edited 1 time in total.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
cools is that your last settings to update on MAME or its just for use in mess/ume?
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Both.
I'm wondering if I can be bothered to bug the MAME guys to include them as the defaults (switched off, of course)
I'm wondering if I can be bothered to bug the MAME guys to include them as the defaults (switched off, of course)
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Well, as they included other things from other people outside the mame itself, i think this one will be another great add on. Unless they still want MAME to be "light" as in the beggining, as this needs a more powerfull PC
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
I wonder how NES games would look with cools above settings?
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
I'm thinking just as the default for HLSL, but disabled. At the moment, enabling HLSL does nothing, you have to configure it.Overkill wrote:Well, as they included other things from other people outside the mame itself, i think this one will be another great add on. Unless they still want MAME to be "light" as in the beggining, as this needs a more powerfull PC
I'll be trying NES myself at some point.
Gamegear/SMS/MD all look good. Even though GG wasn't a CRT.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
I also find adding some slight saturation helps (1.50000) with the CRT looks also.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Just tried playing around with saturation - even on low settings it wipes out detail. Sonic 2 on the SMS, the first level background on the bottom of the level gets totally mangled by it.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
Finally HLSL is going on the right way. In the beggining i saw many users posting their settings in the MAME fórum, and it seems people were trying to simulate a cracked old monitor, instead of a good rgb monitor. Maybe the majority of them don't know what a real rgb monitor look like.
Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
I'm done with those settings.
Alter pincushion to taste, and brightness/contrast/saturation depending on your screen. Suggest using a CPS2 colour test to set them up correctly.
Alter pincushion to taste, and brightness/contrast/saturation depending on your screen. Suggest using a CPS2 colour test to set them up correctly.