shmups.system11.org

Shmups Forum
 
* FAQ    * Search
 * Register  * Login 
It is currently Wed Oct 16, 2019 8:43 pm View unanswered posts
View active topics



Post new topic Reply to topic  [ 886 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 30  Next
Author Message
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Mon May 06, 2013 5:00 pm 


User avatar

Joined: 18 Aug 2008
Posts: 7533
Location: Alingsås, Sweden
Just tried this and wow. I applaud you, sir.
_________________
Image | 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.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Mon May 06, 2013 8:50 pm 


User avatar

Joined: 22 Aug 2011
Posts: 481
Location: Portugal
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


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 07, 2013 7:11 am 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
All that will do is change the screenshot size when pressing alt and f12
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 07, 2013 7:53 am 


User avatar

Joined: 22 Aug 2011
Posts: 481
Location: Portugal
Ho, sorry then, its just i haven't see anything else for screen size.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 07, 2013 12:08 pm 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
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.
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 07, 2013 2:48 pm 



Joined: 11 Mar 2008
Posts: 60
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.


Oh, i forget to mention that i was using the hlsl settings in mess. I suppose it does not work the same.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 07, 2013 2:59 pm 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
It should do if it's the latest UME.
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 07, 2013 4:23 pm 



Joined: 11 Mar 2008
Posts: 60
cools wrote:
It should do if it's the latest UME.


Turns out it was the menu bar that was causing the scanline weirdness, just had to not show it when in full screen. :oops:


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 07, 2013 4:34 pm 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
I was wondering if it was the cause, but it looked like it was overlaying the image rather than squashing it. Good news.
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 07, 2013 5:15 pm 



Joined: 11 Mar 2008
Posts: 60
Looks really really good, but the colours dont quite "pop". Lacks the glow of a crt.
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 07, 2013 5:29 pm 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
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.
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Thu May 09, 2013 11:05 pm 


User avatar

Joined: 18 Oct 2011
Posts: 1613
Location: Canada
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 ,_,
_________________
Image
GaijinPunch wrote:
Ketsui with suction cup.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Fri May 10, 2013 1:08 am 


User avatar

Joined: 12 Apr 2010
Posts: 430
Location: Minnesota
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 ,_,


I am also a noob, so maybe I can help. You just put it in the main config file.

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.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Fri May 10, 2013 1:27 am 


User avatar

Joined: 18 Oct 2011
Posts: 1613
Location: Canada
hmm...it seems like whenever I overwrite it, it just reverts back to

Code:
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="default" />
</mameconfig>


any suggestions? :(
_________________
Image
GaijinPunch wrote:
Ketsui with suction cup.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Fri May 10, 2013 3:31 am 


User avatar

Joined: 12 Apr 2010
Posts: 430
Location: Minnesota
Ack. That's officially over my noob head. :(


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Fri May 10, 2013 7:46 am 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
MAME.INI
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Fri May 10, 2013 9:23 am 


User avatar

Joined: 18 Aug 2008
Posts: 7533
Location: Alingsås, Sweden
If you don't have a mame.ini, create a .bat file like this and run it:

Code:
mame -createconfig


The "mame" will have to match the name of your executable, like "shmupmame64_v42" or what you're running.
_________________
Image | 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.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Fri May 10, 2013 9:38 am 


User avatar

Joined: 15 Sep 2012
Posts: 562
Location: UCLA School of Design | Media Art
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):
Code:
cd C:\Users\SFT\Documents\MAME

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:
Code:
mame.exe -cc

This does exactly the same thing as what emphatic suggested, just another way of doing it.
_________________
1CC List | flickr | youtube | twitch
I love Ibara.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Fri May 10, 2013 2:37 pm 


User avatar

Joined: 12 Apr 2010
Posts: 430
Location: Minnesota
cools wrote:
MAME.INI


Ugh. Enough of a noob that I can't keep the file names straight. Thanks! :)


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 14, 2013 8:51 pm 


User avatar

Joined: 22 Jan 2013
Posts: 51
Location: London Maximum Death Anger
Just started using these settings for my office where I only have a LCD.
Looks great, very nice work!


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 14, 2013 9:00 pm 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
Code:
#
# 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


I've messed around with the brightness and contrast settings in UME and it's not possible to find a sane setting that works for all - brightness 1.01, contrast 1.2 is fantastic for SMS but gives a horrible picture with arcade stuff. So best left alone.
_________________
Image


Last edited by cools on Thu May 23, 2013 7:36 am, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue May 14, 2013 9:45 pm 


User avatar

Joined: 22 Aug 2011
Posts: 481
Location: Portugal
cools is that your last settings to update on MAME or its just for use in mess/ume?


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Wed May 15, 2013 6:19 am 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
Both.

I'm wondering if I can be bothered to bug the MAME guys to include them as the defaults (switched off, of course)
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Wed May 15, 2013 1:14 pm 


User avatar

Joined: 22 Aug 2011
Posts: 481
Location: Portugal
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


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Wed May 15, 2013 1:36 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1315
Location: Bedfordshire, England.
I wonder how NES games would look with cools above settings?


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Wed May 15, 2013 2:30 pm 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
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'm thinking just as the default for HLSL, but disabled. At the moment, enabling HLSL does nothing, you have to configure it.

I'll be trying NES myself at some point.

Gamegear/SMS/MD all look good. Even though GG wasn't a CRT.
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Wed May 15, 2013 5:31 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1315
Location: Bedfordshire, England.
I also find adding some slight saturation helps (1.50000) with the CRT looks also.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Wed May 15, 2013 8:45 pm 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
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.
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Thu May 16, 2013 10:35 am 


User avatar

Joined: 22 Aug 2011
Posts: 481
Location: Portugal
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.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sat May 18, 2013 8:23 am 


User avatar

Joined: 26 Nov 2007
Posts: 2051
Location: South Wales
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.
_________________
Image


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 886 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 30  Next

All times are UTC


Who is online

Users browsing this forum: Drachenherz, DuxPrime, Extrems, Harrumph, Ingy, Unseen and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Space Pilot 3K template by Jakob Persson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group