Results 1 to 5 of 5

Thread: QMC2 scanlines

  1. #1
    Join Date
    Aug 2011
    Location
    I have no idea
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    QMC2 scanlines

    Hey, I'm trying to get QMC2 to play games with scanlines by going to tools>options>emulator>global settings>video>effect and choosing one of the attached pngs which I got from a MAME forum, but none of them is working. The only video settings I changed from the default were unchecking keepaspect and trading soft for opengl.

    Does anyone know what could be going on?
    Attached Files Attached Files

  2. #2
    Join Date
    Aug 2011
    Location
    I have no idea
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: QMC2 scanlines

    Well, did anyone at least have had success with another MAME frontend?
    Last edited by nll; July 27th, 2012 at 09:41 PM.

  3. #3
    Join Date
    Aug 2011
    Location
    I have no idea
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: QMC2 scanlines

    I found out what the problem was! =)

    For some reason, MAME can't get a full path to a effect file, just the name of the file when it's on /usr/local/share/games/mame/artwork. This is what I get in the commmand line:

    Code:
    nll@nll:~$ /usr/games/mame -rompath "/home/nll/.Roms/MAME" -gl_glsl -video opengl -nokeepaspect -effect /usr/local/share/games/mame/artwork/Scanlines25x4.png mvsc
    Unable to load effect PNG file '/usr/local/share/games/mame/artwork/Scanlines25x4.png'
    I can only get overlay effects when I run the game with this command:
    Code:
    nll@nll:~$ /usr/games/mame -rompath "/home/nll/.Roms/MAME" -gl_glsl -video opengl -nokeepaspect -effect Scanlines25x4.png mvsc
    So, as a temporary workaround, we can get QMC2's output, fix the effect name and run it in the terminal. (Edit: I tried adding just Scanlines25x4 instead of /usr/local/share/games/mame/artwork/Scanlines25x4.png in the QMC2 effect options and it worked too, so there's no need for terminals if we just copy the overlay pngs to the right folder. =])

    It looks like a bug. I'll see where I can report it.

    (And yes, I do own an original mvsc arcade. ;D)
    Last edited by nll; August 4th, 2012 at 09:40 PM.

  4. #4
    Join Date
    Aug 2011
    Location
    I have no idea
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: QMC2 scanlines

    While I was looking for a solution for this problem, I also found out about GLSL CRT shaders. In case anyone is interested in them, here's what I done.

    1- Get the latest version of cgwg's shader called CRT-geom-20120130.zip here and unzip it in ~/.mame/CRT.
    2- Get MAME's source for your version from http://mamedev.org/, unzip it and copy the contents of mame/src/osd/sdl/shader folder in ~/.mame/CRT/shader.
    3- In QMC2's global settings tab in Emulator options, check gl_glsl and gl_glsl_filter, and add /home/username/.mame/CRT/shader/glsl_plain to glsl_shader_mame0 and /home/username/.mame/CRT/CRT-geom to glsl_shader_mame1.

    (Thanks to eldiau for the hint.)

    The best thing about this is that cwgw's shader is highly customizable. There's a very detailed guide to customizing it here. The only problem with it is it's very cpu intensive. I have an Intel HD3000 and an Nvidia GT520M, and neither GPU could run higher than 70 %. I also couldn't run any CPS-1 and CPS-2 games, just CPS-3 and Neo Geo You'll need a very powerfull GPU to play games using this shader.
    Last edited by nll; August 4th, 2012 at 09:47 PM.

  5. #5
    Join Date
    Jun 2007
    Location
    Rio de Janeiro - Brasil
    Beans
    319
    Distro
    Kubuntu Development Release

    Cool Re: QMC2 scanlines

    It's not working for me at all =/
    Any help?



    EDIT: It works now! Had to change the video renderer from sdl to opengl =)
    Last edited by wingnux; October 11th, 2012 at 12:06 AM. Reason: Problem solved.

Tags for this Thread

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
  •