You should join our great online community now - you can win great prizes
Register now
You should subscribe to our free MyBroadband newsletter


+ Reply to Thread
Results 1 to 12 of 12

Thread: Mame HLSL Effects - The way Arcade games used to look!

  1. #1

    Default Mame HLSL Effects - The way Arcade games used to look!

    I recently just discovered mame's HLSL Filters, which simulates those old CRT Screens from way back when.

    The way the scanlines look, how they flicker, the slight CRT blur that blends everything, the phosphor glow and even the curvature of the screen itself!

    Here is what it looks like with HLSL applied:



    You can copy & paste these settings in your mame.ini file under "Direct 3D Post-Prosessing Options"

    Settings for the screenshot above:
    #
    # DIRECT3D POST-PROCESSING OPTIONS
    #
    hlsl_enable 1
    hlslini hlsl
    hlslpath hlsl
    hlsl_prescale_x 0
    hlsl_prescale_y 0
    hlsl_preset -1
    hlsl_snap_width 1920
    hlsl_snap_height 1200
    shadow_mask_alpha 0.100000
    shadow_mask_texture aperture.png
    shadow_mask_x_count 320
    shadow_mask_y_count 240
    shadow_mask_usize 0.093750
    shadow_mask_vsize 0.093750
    curvature 0.050000
    curvature 0.050000
    pincushion 0.050000
    scanline_alpha 0.600000
    scanline_size 1.000000
    scanline_height 0.700000
    scanline_bright_scale 1.500000
    scanline_bright_offset 0.600000
    scanline_jitter 0.000000
    defocus 1.500000,1.500000
    converge_x 0.000000,0.000000,0.000000
    converge_y 0.000000,0.000000,0.000000
    radial_converge_x 0.000000,0.000000,0.000000
    radial_converge_y 0.000000,0.000000,0.000000
    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.050000
    offset 0.000000,0.000000,0.000000
    scale 1.000000,1.000000,1.000000
    power 2.200000,2.200000,2.200000
    floor 0.020000,0.020000,0.020000
    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
    Keepers Personal Settings: (Not as dark as above version, and blends more)
    #
    # DIRECT3D POST-PROCESSING OPTIONS
    #
    hlsl_enable 1
    hlslini %g
    hlsl_prescale_x 4
    hlsl_prescale_y 4
    hlsl_preset -1
    hlsl_write
    hlsl_snap_width 2560
    hlsl_snap_height 2048
    shadow_mask_alpha 0.20
    shadow_mask_texture aperture.png
    shadow_mask_x_count 320
    shadow_mask_y_count 256
    shadow_mask_usize 0.187500
    shadow_mask_vsize 0.09375
    curvature 0.02
    pincushion 0.02
    scanline_alpha 0.450000
    scanline_size 1.25
    scanline_height 0.750000
    scanline_bright_scale 1.000000
    scanline_bright_offset 0.750000
    scanline_jitter 0.25
    defocus 2.0,2.0
    converge_x 0.0,0.0,0.0
    converge_y 0.0,0.0,0.0
    radial_converge_x 0.0,0.0,0.0
    radial_converge_y 0.0,0.0,0.0
    red_ratio 1.0,0.0,0.0
    grn_ratio 0.0,1.0,0.0
    blu_ratio 0.0,0.0,1.0
    saturation 1.250000
    offset 0.0,0.0,0.0
    scale 1.000000,1.000000,1.000000
    power 1.200000,1.200000,1.200000
    floor 0.0,0.0,0.0
    phosphor_life 0.200000,0.200000,0.200000
    yiq_enable 0
    yiq_cc 3.59754545
    yiq_a 0.5
    yiq_b 0.5
    yiq_o 0.0
    yiq_p 1.0
    yiq_n 1.0
    yiq_y 3.0
    yiq_i 1.2
    yiq_q 0.6
    yiq_scan_time 52.6
    yiq_phase_count 2

    PS: You can also edit it all IN-GAME by pressing TAB and then going to the "slider controls" menu

    Post your own config if you come up with some nice settings!
    Last edited by Keeper; 12-07-2012 at 04:31 AM.

  2. #2

    Default

    Nice to see I'm not the only one who enjoys some MAME time.
    Got Mame set up on my HTPC with a wireless Xbox controller for the occasional retro gaming session.

    Thanks for these settings Keeper...they do make the games look more old school.

  3. #3
    Super Grandmaster cerebus's Avatar
    Join Date
    Nov 2007
    Location
    Somerset West
    Posts
    28,195

    Default

    I struggle with the 'mimicking blurry crt' concept' when playing emulators lol. Then it's just trying to recreate your childhood or something. I got into the emu scene a while ago and I spent a lot of time getting hi-res texture packs to upscale the games' graphics, especially the N64 games. But...whatever floats yer boats etc.

  4. #4

    Default

    Quote Originally Posted by HiToKiRi View Post
    Nice to see I'm not the only one who enjoys some MAME time.
    Got Mame set up on my HTPC with a wireless Xbox controller for the occasional retro gaming session.

    Thanks for these settings Keeper...they do make the games look more old school.
    Yep, I thought about building a Cabinet but decided to go your route instead. (One day though, i'll build one!)

    Got the 42" screen, got the HTPC - All I need is some wireless gamepads!
    Why spend hours building a cabinet that's expensive and hard to move when you can do it for next to nothing?

    Also the fact that with hyperspin, 90% of the systems are consoles - that needs a couch!

    My latest project is "The Ultimate HTPC" which includes XBMC and HyperSpin linked together.
    i'll post a thread again on that when i'm done with the setup, with a video and all the info and screenshots on how to do everything.



    @cerberus - this is the point:
    in the old days, the game developers made the games for old CRT screens - they actually used the blurryness/etc to their advantage.
    If you play it on an LCD today, it's too sharp, and you see every jagged edge and pixel.

    Everything is supposed to blend together - and that's what HLSL does.

  5. #5

    Default

    Here are some more pics:



    HLSL Enabled:


    No HLSL:

  6. #6
    Super Grandmaster cerebus's Avatar
    Join Date
    Nov 2007
    Location
    Somerset West
    Posts
    28,195

    Default

    @cerberus - this is the point:
    in the old days, the game developers made the games for old CRT screens - they actually used the blurryness/etc to their advantage.
    If you play it on an LCD today, it's too sharp, and you see every jagged edge and pixel.

    Everything is supposed to blend together - and that's what HLSL does.
    Yeah that's why modern emulators have 16xFSAA filters. Lol but anyway it doesn't matter, if you like this kind of thing then it does mimic the effect very closely.

  7. #7

    Default

    Wow its much darker with the post processing on!

    I like my games somewhere in between - with a light scanline effect. Nothing as drastic as that though. I like to make use of modern advanced technology - hq2x filter FTW!

  8. #8

    Default

    Quote Originally Posted by Ancalagon View Post
    Wow its much darker with the post processing on!

    I like my games somewhere in between - with a light scanline effect. Nothing as drastic as that though. I like to make use of modern advanced technology - hq2x filter FTW!
    Yeah I don't use that version... that's one I downloaded - try my version (Second Settings)
    (Or you could just press Tab > slider Options > and set the brightness contrast to what you like)

    I guess that guy just had his brightness on way too high when creating those settings

  9. #9

    Default

    Playing with the Phosphor Life values - this emulates how each pixel would have an afterglow after it "cools down", giving it a slight motion blur.



    Note: value is exaggerated to show what the Phosphor Life value does.

  10. #10
    SmoothOokerMaximus The_Unbeliever's Avatar
    Join Date
    Apr 2005
    Location
    Storlock
    Posts
    103,205
    Blog Entries
    27

    Default

    FIGHT!!!
    Is the 10 Commandments for Christians?

    Saturday is the Seventh day, Sunday is the first day.

  11. #11

    Default

    Hmmm ... /me downloads cabinet plans again...

  12. #12
    Super Grandmaster Madman88's Avatar
    Join Date
    Feb 2006
    Location
    Cape Town
    Posts
    9,938
    Blog Entries
    2

    Default

    Lol, I was planning on making another name machine, but after chatting to keeper, I think I'm going to make a virtual pin ball machine instead. Where is that site again?....
    I am 13531

    "Balance is the key to everything, without it we would just keep falling over."

+ Reply to Thread

Similar Threads

  1. Arcade Games
    By Niren_M in forum Do you remember?
    Replies: 10
    Last Post: 22-04-2012, 11:55 PM
  2. Mame Games
    By beans100 in forum Off Topic
    Replies: 0
    Last Post: 27-11-2011, 09:15 PM
  3. Replies: 20
    Last Post: 21-07-2010, 04:19 PM
  4. Play MAME games online
    By nic777 in forum Gaming
    Replies: 6
    Last Post: 24-08-2009, 03:16 AM
  5. Arcade Games
    By guest2013-1 in forum Off Topic
    Replies: 28
    Last Post: 26-04-2005, 05:25 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •