Previous Thread
Next Thread
Print Thread
Page 2 of 3 1 2 3
Re: How to install a scanline shader with MAME ? [Re: Sebiohazard] #116606 12/26/19 05:09 PM
Joined: Mar 2011
Posts: 53
F
Fake Shemp Offline
Member
Offline
Member
F
Joined: Mar 2011
Posts: 53
Then what do you want? No one understands what you want.

Re: How to install a scanline shader with MAME ? [Re: Sebiohazard] #116621 12/28/19 11:01 AM
Joined: Nov 2019
Posts: 15
Sebiohazard Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 15
I don't understand how to have the scanline curved filter...

Re: How to install a scanline shader with MAME ? [Re: Sebiohazard] #116622 12/28/19 11:32 AM
Joined: Mar 2004
Posts: 655
belegdol Offline
Senior Member
Offline
Senior Member
Joined: Mar 2004
Posts: 655
You can try the following:
Code
mame -video bgfx -bgfx_screen_chains hlsl

or set the two options in mame.ini if you don't want to type them in every time.

Re: How to install a scanline shader with MAME ? [Re: Sebiohazard] #116623 12/28/19 12:00 PM
Joined: Apr 2006
Posts: 680
D
Dullaron Offline
Senior Member
Offline
Senior Member
D
Joined: Apr 2006
Posts: 680
Make a mame.ini by using this command. mame64 -cc

Then paste these in there over the old settings.

#
# OSD VIDEO OPTIONS
#
video d3d

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1

If you want rounded corners. I using these below.

distort_corner 0.02
round_corner 0.10
smooth_border 0.01

Just 0.0 those out. If you don't any of this showing. Should look like this.

distort_corner 0.0
round_corner 0.0
smooth_border 0.0

You will get a hang of the settings. Take a while.


Windows 10 Pro 64-bit / Intel Core i5-4460 3.20 GHz / 8.00 GB RAM / AMD Radeon R9 200 Series
Re: How to install a scanline shader with MAME ? [Re: Sebiohazard] #116626 12/29/19 10:29 AM
Joined: Nov 2019
Posts: 15
Sebiohazard Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 15
Hello !

OK thank you for your help I will try... & how we modify the parameters of the scanline, to have a more or less important space between the scan lines ?

Thanks best regards !

Re: How to install a scanline shader with MAME ? [Re: Just Desserts] #116647 12/31/19 01:37 PM
Joined: Nov 2019
Posts: 15
Sebiohazard Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 15
Originally Posted by Just Desserts
For example, if you're on Windows, try running MAME with "-hlsl" on the command line. Bam, scanlines.


Hello smile

In my HLSL folder I have this:

[Linked Image from pix.tdct.org]

I tried the following command:

Code
mame64 gx4000 -nowindow -hlsl distorsion -cart "e:\games\gx4000\tintin on the moon.bin"


But I have this error message:

[Linked Image from pix.tdct.org]

I tried with another filter & I still get this error message ?!

Code
mame64 gx4000 -nowindow -hlsl scanline -cart "e:\games\gx4000\tintin on the moon.bin"


No filter works !!!

Last edited by Sebiohazard; 12/31/19 01:38 PM.
Re: How to install a scanline shader with MAME ? [Re: Sebiohazard] #116648 12/31/19 01:57 PM
Joined: Mar 2001
Posts: 16,523
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,523
There is no argument to -hlsl. So:

Code
mame64 gx4000 -nowindow -hlsl -cart "e:\games\gx4000\tintin on the moon.bin"


Re: How to install a scanline shader with MAME ? [Re: Sebiohazard] #116649 12/31/19 02:11 PM
Joined: Nov 2019
Posts: 15
Sebiohazard Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 15
OK but then how to choose the filter in this folder ?

[Linked Image from pix.tdct.org]

Re: How to install a scanline shader with MAME ? [Re: Sebiohazard] #116650 12/31/19 03:09 PM
Joined: Mar 2001
Posts: 16,523
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,523
You go to the sliders (~ key, or Tab and then Slider Controls) to control all the parameters. All of those files are auto-used.

Re: How to install a scanline shader with MAME ? [Re: Sebiohazard] #116653 12/31/19 03:54 PM
Joined: Nov 2019
Posts: 15
Sebiohazard Offline OP
Member
OP Offline
Member
Joined: Nov 2019
Posts: 15
I am in " Slider controls " but I have no options for the filters ???

[Linked Image from pix.tdct.org]

Page 2 of 3 1 2 3

Who's Online Now
0 registered members (), 69 guests, and 1 spider.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,784
Posts115,581
Members4,908
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3