shmups.system11.org

Shmups Forum
 
* FAQ    * Search
 * Register  * Login 
It is currently Tue Mar 02, 2021 7:37 pm View unanswered posts
View active topics



Post new topic Reply to topic  [ 900 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 30  Next
Author Message
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 16, 2013 12:20 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1330
Location: Bedfordshire, England.
Elaphe wrote:
I've just made this animated comparison to show the difference between using my custom rgb effect with nothing else, my rgb effect with sweetfx and normal settings (no tone loss either bright or dark) and the effect with stronger settings (hdr and bloom) which looks pretty cool, although some color details are lost.

http://www.alvarezeninternet.com/temp/sweetfx_animated_test.gif



Looks good, im guessing like HLSL though every game looks different with the effect though?


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 16, 2013 3:01 pm 


User avatar

Joined: 26 Jan 2008
Posts: 205
cools wrote:
You want perfect, use a CRT. :)


I have a computer with a 15khz graphic card and a TV (Scart) just for MAME, but I also like testing this kind of simulations. We have to be prepared: sadly, CRTs will not live forever.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 16, 2013 9:12 pm 


User avatar

Joined: 29 May 2013
Posts: 76
Holy crap that looks so much cleaner ! (especially the aperture)
I gotta start using sweetfx....


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 16, 2013 9:34 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1330
Location: Bedfordshire, England.
NUeda wrote:
Holy crap that looks so much cleaner ! (especially the aperture)
I gotta start using sweetfx....


Get to work NUeda :D


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Mon Jun 17, 2013 3:03 am 


User avatar

Joined: 24 May 2013
Posts: 30
Can someone explain what sweetfx is?

Thanks


Last edited by cmoses on Mon Jun 17, 2013 6:18 pm, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Mon Jun 17, 2013 6:56 am 


User avatar

Joined: 26 Nov 2007
Posts: 2060
Location: South Wales
Elaphe wrote:
cools wrote:
You want perfect, use a CRT. :)


I have a computer with a 15khz graphic card and a TV (Scart) just for MAME, but I also like testing this kind of simulations. We have to be prepared: sadly, CRTs will not live forever.


Same as me. But you have to realise that current consumer displays are not capable of simulating a CRT accurately, it's still just a best effort attempt.
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Mon Jun 17, 2013 8:57 pm 


User avatar

Joined: 26 Jan 2008
Posts: 205
cools wrote:
Elaphe wrote:
cools wrote:
You want perfect, use a CRT. :)


I have a computer with a 15khz graphic card and a TV (Scart) just for MAME, but I also like testing this kind of simulations. We have to be prepared: sadly, CRTs will not live forever.


Same as me. But you have to realise that current consumer displays are not capable of simulating a CRT accurately, it's still just a best effort attempt.



However, it's exciting to see how many improvements have been made in recent years. The new screens with led technology are brighter and have better contrast and the software is getting more and more configurable. Remember the old days, when we just had scanlines, 50% and 75% and the image was either blocky or blurred.

Answering the question, SweetFX is a post-processing tool, like the hlsl that MAME now includes, or the old enbseries. As far as I know it uses the graphic card capabilities to adjust, tweak, add things, etc to the image you seen in direct3D games. You can play a game with scanlines, with screen perspective, in black and white, with film grain, sepia color, with inverted colors, darkening the edges of the screen, with cartoon look, with a blury image, with hdr effects, etc.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Fri Jun 21, 2013 10:32 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1330
Location: Bedfordshire, England.
Elaphe wrote:
I've just made this animated comparison to show the difference between using my custom rgb effect with nothing else, my rgb effect with sweetfx and normal settings (no tone loss either bright or dark) and the effect with stronger settings (hdr and bloom) which looks pretty cool, although some color details are lost.

http://www.alvarezeninternet.com/temp/sweetfx_animated_test.gif



Can you explain what is need and what settings to achieve the effect in the above link???


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 23, 2013 9:11 pm 


User avatar

Joined: 26 Jan 2008
Posts: 205
You need the SweetFX files and folders copied to the root of your MAME folder, a settings file and a .rgb effect (defined in mame.ini, together with the rest of options: stretch, resolution, etc.).

I'm about to finish a script that adds a function to SweetFX: loop through presets. This means you can copy several preset files with different settings to the preset folder and using a key during the game you can change from one to another. When It's finished I'll upload the whole pack, including the SweetFX files, the rgb effect, the presets, the script, etc.

I've been playing with the settings. Look at these effects in a new animated gif: disabled, normal, extreme, old, green.

http://www.alvarezeninternet.com/temp/willow-effects.gif


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 23, 2013 10:18 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1330
Location: Bedfordshire, England.
Elaphe wrote:
You need the SweetFX files and folders copied to the root of your MAME folder, a settings file and a .rgb effect (defined in mame.ini, together with the rest of options: stretch, resolution, etc.).

I'm about to finish a script that adds a function to SweetFX: loop through presets. This means you can copy several preset files with different settings to the preset folder and using a key during the game you can change from one to another. When It's finished I'll upload the whole pack, including the SweetFX files, the rgb effect, the presets, the script, etc.

I've been playing with the settings. Look at these effects in a new animated gif: disabled, normal, extreme, old, green.

http://www.alvarezeninternet.com/temp/willow-effects.gif


Thanks, i like the look of the 'normal' png the most


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Mon Jun 24, 2013 8:48 pm 


User avatar

Joined: 26 Jan 2008
Posts: 205
You can get the SweetFX shaders, together with my compiled script for looping through the different effects, by clicking on this url:

http://www.alvarezeninternet.com/temp/SFX-Loop-full.zip

Just place all the files and folders in the root of MAME folder. The normal effect is the default one. You can edit my presets in the \SweetFX\Presets folder or add your own presets. While in MAME, use the backspace key to run the loop. If you are not interested in the other effects, just ignore it and don't run SFX-Loop.exe before loading MAME. The normal effect will keep on working as long as the dlls are there. There are some configuration options in injector.ini. Read the included help file if you need for info.

Remember, SweetFX and my script will work with any other Direct3D game, not just MAME.

I've also included my custom rgb effect for MAME. Without it you will not see the scanlines and the grid pattern. Place it in your artwork folder and edit the effect line in mame.ini Of course, disable the hlsl shaders in mame.ini, use direct3d, prescale 1, filter 1, hardware stretch and your monitor's native resolution.

If you have any problem, please let me know.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Mon Jun 24, 2013 8:54 pm 


User avatar

Joined: 06 Mar 2006
Posts: 12635
Location: Germany
SweetFX does support it's own overlay patterns though. It might be hard to get a proper scanline alignment with a fix overlay from SFX combined with MAME D3D scaling, but I think it would be nice to explore this option, so we can enable scanlines on Doujin titles - even on vertical ones like Crimzon Clover.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Mon Jun 24, 2013 9:48 pm 


User avatar

Joined: 26 Jan 2008
Posts: 205
That's why I'm discarding the CRT effects from SweetFX. I'm using HDR, bloom, sharpen, etc. Hlsl makes good scanlines but the aperture grill is terrible. I prefer a rgb effect for that purpose.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue Jun 25, 2013 5:39 am 



Joined: 04 Jul 2010
Posts: 336
How does this combo sound?

Mame RGB pattern overlay > HLSL > SLG3000? (filtered in that order)
_________________
I am not an alcoholic, I'm Drunk! Alcoholics go to AA meetings.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue Jun 25, 2013 10:54 am 


User avatar

Joined: 06 Mar 2006
Posts: 12635
Location: Germany
doesn't work out, since HLSL requires high resolutions and the SLG relies on a 1:1 480p output.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue Jun 25, 2013 11:15 am 



Joined: 04 Jul 2010
Posts: 336
What about matching vertical resolution for the SLG?

Something like 1290 x 480 because you're not trying to add effects that jump between scanlines.
_________________
I am not an alcoholic, I'm Drunk! Alcoholics go to AA meetings.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue Jun 25, 2013 11:20 am 


User avatar

Joined: 06 Mar 2006
Posts: 12635
Location: Germany
what's the point ? Don't you like the scanlines produced by MAME or HLSL ?

Also which display would support such a resolution ?


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Tue Jun 25, 2013 11:42 am 



Joined: 04 Jul 2010
Posts: 336
Fudoh wrote:
what's the point ? Don't you like the scanlines produced by MAME or HLSL ?


They work fine. I just thought I'd throw that in for a suggestion because you were discussing how the resolution settings weren't working with the unit properly.

Quote:
Also which display would support such a resolution ?


I still have my crt monitor, so that can be squeezed in to 4:3 mode. Also I'm certain mame will help maintain that aspect ratio if you set it up that way on your lcd panel. I know because I've had success with it.
_________________
I am not an alcoholic, I'm Drunk! Alcoholics go to AA meetings.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Wed Jun 26, 2013 8:49 am 


User avatar

Joined: 22 Aug 2011
Posts: 501
Location: Portugal
Quote:
Holy crap that looks so much cleaner ! (especially the aperture)
I gotta start using sweetfx....



Good luck on that NUeda, but we all would love to see more of your HLSL settings before that, if you can still share with us your updates on the diferent PCBs i will be very gratefull :D


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Wed Jun 26, 2013 5:16 pm 



Joined: 08 Aug 2009
Posts: 366
Anyone else having problems loading nueda's postimg pics?

You probably should use imgur


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Thu Jun 27, 2013 4:42 am 



Joined: 11 Jul 2011
Posts: 58
Fudoh wrote:
SweetFX does support it's own overlay patterns though. It might be hard to get a proper scanline alignment with a fix overlay from SFX combined with MAME D3D scaling, but I think it would be nice to explore this option, so we can enable scanlines on Doujin titles - even on vertical ones like Crimzon Clover.


This needs to at least be tried! Also are scan lines supposed to be larger the bigger the tv?


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Thu Jun 27, 2013 11:13 am 


User avatar

Joined: 06 Mar 2006
Posts: 12635
Location: Germany
Quote:
Also are scan lines supposed to be larger the bigger the tv?

they sure are.


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 30, 2013 1:43 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1330
Location: Bedfordshire, England.
Elaphe wrote:
You can get the SweetFX shaders, together with my compiled script for looping through the different effects, by clicking on this url:

http://www.alvarezeninternet.com/temp/SFX-Loop-full.zip

Just place all the files and folders in the root of MAME folder. The normal effect is the default one. You can edit my presets in the \SweetFX\Presets folder or add your own presets. While in MAME, use the backspace key to run the loop. If you are not interested in the other effects, just ignore it and don't run SFX-Loop.exe before loading MAME. The normal effect will keep on working as long as the dlls are there. There are some configuration options in injector.ini. Read the included help file if you need for info.

Remember, SweetFX and my script will work with any other Direct3D game, not just MAME.

I've also included my custom rgb effect for MAME. Without it you will not see the scanlines and the grid pattern. Place it in your artwork folder and edit the effect line in mame.ini Of course, disable the hlsl shaders in mame.ini, use direct3d, prescale 1, filter 1, hardware stretch and your monitor's native resolution.

If you have any problem, please let me know.
Im trying this on MAMEUI64, and have copied over all contents of your zip file to my mame directory, have loaded the SFX-loop.exe, and the mameui64 whilst in game press the backspace key but dont see any change in the effect any ideas?


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 30, 2013 3:23 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1330
Location: Bedfordshire, England.
Hmm, ok got it working now, guess you cant use a 64 bit build of mame!?. Any way here's some screen shots...just seems a bit too sharp???...

http://i.minus.com/ibx5ucIQynd54p.png
http://i.minus.com/ibbp7URRXbboR1.png
http://i.minus.com/i6KGSzOCqqkZd.png
http://i.minus.com/i4SwZKzDWYZPu.png
http://i.minus.com/iwCj5FbxNwHYX.png
http://i.minus.com/itVF2RCq1MTwN.png
http://i.minus.com/iNp6i38yw8PoT.png
http://i.minus.com/irEAfty7l8j4D.png


Last edited by lettuce on Sun Jun 30, 2013 4:33 pm, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 30, 2013 3:48 pm 


User avatar

Joined: 06 Mar 2006
Posts: 12635
Location: Germany
Your scanlines are not properly aligned to the pixel rows.....

And 10MB screenshots ? Seriously ?


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 30, 2013 4:21 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1330
Location: Bedfordshire, England.
Fudoh wrote:
Your scanlines are not properly aligned to the pixel rows.....

And 10MB screenshots ? Seriously ?


Dont blame me im just using the files that Elaphe has supplied in the zip file above

2560x1140 and no compression bmp is how i roll.

Guess its not too much of problem when you have 110meg download speed :D

EDIT: just re-uploaded pics for people with sub 100meg internet connections


Last edited by lettuce on Sun Jun 30, 2013 4:34 pm, edited 3 times in total.

Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Sun Jun 30, 2013 4:23 pm 


User avatar

Joined: 22 Jun 2011
Posts: 1330
Location: Bedfordshire, England.
I think NUeda;'s 80's HLSL settings look more authentic, same pics just with HLSL settings....

http://i.minus.com/iGTnwVXzQou0l.png
http://i.minus.com/ibdOKNl3IlYI27.png
http://i.minus.com/ibouz7ESPM7Aqo.png
http://i.minus.com/ithZOHyYwFhPH.png
http://i.minus.com/iLQTf1WBPVdll.png
http://i.minus.com/i2am3SmvjvNot.png
http://i.minus.com/ieGq46arkqvKr.png
http://i.minus.com/ibiVmGw9gNrDT9.png


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Mon Jul 01, 2013 8:35 am 


User avatar

Joined: 02 Oct 2010
Posts: 3210
Location: Ireland
Quote:
guess you cant use a 64 bit build of mame!?


That's correct SweetFX doesn't support 64 bit yet, you should also disable anything like Xfire, Trillian etc that you might have running that puts an overlay into Mame (or whatever game you're SweetFXing around with).
_________________
OSSC Forums - http://www.videogameperfection.com/forums
Please check the XRGB Wiki before posting about the OSSC, XRGB Mini or XRGB3 - http://junkerhq.net/xrgb/index.php/Main_Page


Top
 Offline Profile  
 
 Post subject: Re: MAME HLSL CRT SCANLINE EMULATION PRESETS
PostPosted: Wed Jul 03, 2013 8:32 pm 



Joined: 03 Jul 2013
Posts: 12
Just registered to say thanks for the SweetFX mod files...used it on the model 2 emulator, after MUCH tweaking:

Image

:mrgreen:


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


User avatar

Joined: 26 Jan 2008
Posts: 205
The difference between the screenshots is mainly in how blocky or blurred they look. You must have something incorrectly configured in mame.ini because they shouldn't look so blocky with my setup. Be sure you have filter 1, prescale 1, hwstretch 1, video d3d, switchres 1. I'll capture some of those screens when I arrive home to show the difference.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 900 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 30  Next

All times are UTC


Who is online

Users browsing this forum: cyberosis, Logan Jones, thchardcore, tomini and 19 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