MAME scanline/shadowmask simulation

Everything Emulator related
Forum rules
ArcadeOtaku forum introduction & rules
Korszca
Assistant Librarian
Posts: 2634
Joined: March 2nd, 2010, 2:14 am
Location:

Re: MAME scanline/shadowmask simulation

Postby Korszca » December 5th, 2011, 1:40 am

Beaps wrote:It don't look quite right tho imo

You know scanlines rotate too when you rotate the monitor, right?
User avatar
AeroCityMayor
Previously alien_mame
Posts: 2395
Joined: July 25th, 2009, 1:05 pm
Location: West Yorks, UK
eBay: air_fortless
Initials: ACM

Re: MAME scanline/shadowmask simulation

Postby AeroCityMayor » December 5th, 2011, 1:45 am

Korszca wrote:You know scanlines rotate too when you rotate the monitor, right?


Doh!

:palm:
Image
User avatar
Beaps
Posts: 122
Joined: December 29th, 2008, 6:37 pm
Location: Essex - UK

Re: MAME scanline/shadowmask simulation

Postby Beaps » December 5th, 2011, 2:00 am

I know that :lolno:

Ill post a pic & show you what I mean
User avatar
Beaps
Posts: 122
Joined: December 29th, 2008, 6:37 pm
Location: Essex - UK

Re: MAME scanline/shadowmask simulation

Postby Beaps » December 5th, 2011, 10:30 pm

here look...

Image
User avatar
davewellington
The Librarian
Posts: 1586
Joined: July 7th, 2010, 1:42 am
Location: Wellington, New Zealand
Initials: DAV

Re: MAME scanline/shadowmask simulation

Postby davewellington » December 5th, 2011, 10:47 pm

davewellington wrote:Are you using HLSL?
all your wiki pages belong to me
User avatar
Beaps
Posts: 122
Joined: December 29th, 2008, 6:37 pm
Location: Essex - UK

Re: MAME scanline/shadowmask simulation

Postby Beaps » December 5th, 2011, 11:13 pm

No sure, do you think you can post your mame.ini?
User avatar
davewellington
The Librarian
Posts: 1586
Joined: July 7th, 2010, 1:42 am
Location: Wellington, New Zealand
Initials: DAV

Re: MAME scanline/shadowmask simulation

Postby davewellington » December 6th, 2011, 12:12 am

I don't use scanlines, I only use mame to try before I buy tbh.
But yeah, you're either using cools method, or hlsl, so you should figure out which :D
all your wiki pages belong to me
User avatar
Beaps
Posts: 122
Joined: December 29th, 2008, 6:37 pm
Location: Essex - UK

Re: MAME scanline/shadowmask simulation

Postby Beaps » December 6th, 2011, 12:24 am

I am using cools method
User avatar
gundarN
Officially Special
Posts: 1328
Joined: October 24th, 2009, 7:30 pm
Location: Scotchland
Initials: guN

Re: MAME scanline/shadowmask simulation

Postby gundarN » December 6th, 2011, 12:51 am

I find the best method is wearing the following:

Image

I'm still ironing out some vertical scanline bugs though...
User avatar
Beaps
Posts: 122
Joined: December 29th, 2008, 6:37 pm
Location: Essex - UK

Re: MAME scanline/shadowmask simulation

Postby Beaps » December 6th, 2011, 9:50 am

Haha I like that one dundarN..
BlackGuyRX

Re: MAME scanline/shadowmask simulation

Postby BlackGuyRX » July 31st, 2012, 11:54 pm

Hi! i'm new here.

I tried following the "MAME CRT Simulation" page in the wiki, but i have no idea how to set up the mame.ini for individual game resolutions other than blanket default settings. i end up with uneven scanlines, and the game screen is slightly capped off where "1UP HIGH SCORE 2UP" should be.
User avatar
cools
Armed Police Buttrider
Posts: 13556
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS
Contact:

Re: MAME scanline/shadowmask simulation

Postby cools » August 21st, 2012, 8:10 pm

hlsl is rather good isn't it (now). Almost makes me wish I had a machine capable of running MAME + hlsl at full speed.
Image
arcnl
Posts: 288
Joined: September 16th, 2012, 1:46 pm
Location: The Netherlands

Re: MAME scanline/shadowmask simulation

Postby arcnl » November 27th, 2012, 11:28 am

No matter what i try, HLSL always looks too blurry/filtered. I just gave up on using it.
User avatar
cools
Armed Police Buttrider
Posts: 13556
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS
Contact:

Re: MAME scanline/shadowmask simulation

Postby cools » November 27th, 2012, 11:33 am

It depends a lot on how high resolution your monitor is, and I believe it requires different settings depending on your GPU. Brightness/contrast/colour settings depend on your monitor as well.

If you don't have a CRT to compare with then it's pure guesswork...

If I get time (bored) one day I'll do a side by side setup.
Image
User avatar
cools
Armed Police Buttrider
Posts: 13556
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS
Contact:

Re: MAME scanline/shadowmask simulation

Postby cools » November 28th, 2012, 2:26 pm

Shoehorning one of these: http://www.trustedreviews.com/news/shar ... zo-monitor into a Vewlix/Lindbergh would make for a nice simulated CRT environment.
Image
fagin
Posts: 812
Joined: February 9th, 2009, 7:04 pm
Location: UK

Re: MAME scanline/shadowmask simulation

Postby fagin » December 3rd, 2012, 4:30 pm

:awe:
Braintrash
Posts: 428
Joined: February 17th, 2011, 6:31 pm
Location: Paris, France
eBay: yuu_madrigal

Re: MAME scanline/shadowmask simulation

Postby Braintrash » December 3rd, 2012, 6:50 pm

Was thinking of it for my VLX. ^^
User avatar
cools
Armed Police Buttrider
Posts: 13556
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS
Contact:

Re: MAME scanline/shadowmask simulation

Postby cools » May 2nd, 2013, 9:48 pm

Use HLSL.

Looks fantastic in 1080p. I've tried at 768p as well, and that looks good too but you need to drop the defocus value to 0.5 or it's not sharp enough.

Special tricksy settings.

Code: Select all

hlsl_enable               1
hlslpath                  hlsl
hlsl_ini_read             0
hlsl_ini_write            0
hlslini                   %g
hlsl_prescale_x           0
hlsl_prescale_y           0
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.300000
scanline_bright_offset    0.600000
scanline_jitter           1.950000
defocus                   1.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
yiq_enable                0
yiq_cc                    3.597545
yiq_a                     0.500000
yiq_b                     0.500000
yiq_o                     0.000000
yiq_p                     1.000000
yiq_n                     1.000000
yiq_y                     6.000000
yiq_i                     1.200000
yiq_q                     0.600000
yiq_scan_time             52.599998
yiq_phase_count           2
Image
Pete
On a Sabbatical
Posts: 4269
Joined: August 19th, 2008, 8:23 pm
Location: St. Albans, Herts

Re: MAME scanline/shadowmask simulation

Postby Pete » May 3rd, 2013, 12:07 am

When you come down to mine you need to show me all this stuff.
User avatar
cools
Armed Police Buttrider
Posts: 13556
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS
Contact:

Re: MAME scanline/shadowmask simulation

Postby cools » May 3rd, 2013, 8:47 am

No prob :)

Wouldn't be the first time I've spent hours at a meet messing with MAME configs :oops:
Image

Return to “Emulation Q&A”



Who is online

Users browsing this forum: No registered users