MAME and LCD

The place for all discussion on gaming hardware
User avatar
BuckoA51
Posts: 3392
Joined: Sat Oct 02, 2010 10:08 am
Location: Ireland
Contact:

Re: MAME and LCD

Post by BuckoA51 »

Damn I was super stoked to try this but it won't work for me at all, I have tried the official build of MAME and MamePlus 0.144. I tried Lettuce's config and just leaving things as default. Official build just terminates itself, Mameplus gives me "Unable to initialise Direct3D" then crashes. I've got the latest DirectX runtimes, latest Nvidia drivers and my card is a GTX580, I played several hours of other games yesterday and had no problems, so I don't know what's going wrong here... oh well :(

Edit - Nevermind, the HLSL folder was missing from the x64 build downloads, fixed now, except I'm not getting any curvature, I'll keep playing.
OSSC Forums - http://www.videogameperfection.com/forums
Please check the Wiki before posting about Morph, OSSC, XRGB Mini or XRGB3 - http://junkerhq.net/xrgb/index.php/Main_Page
User avatar
Fudoh
Posts: 13041
Joined: Mon Mar 06, 2006 3:29 am
Location: Germany
Contact:

Re: MAME and LCD

Post by Fudoh »

that looks very nice indeed ! So I can use the HLSL's integrated scanline generator instead of using the overlays MAME's usually using ?
User avatar
BuckoA51
Posts: 3392
Joined: Sat Oct 02, 2010 10:08 am
Location: Ireland
Contact:

Re: MAME and LCD

Post by BuckoA51 »

Yep that does seem to be the case, the latest (GUI) builds of MAME even let you tinker with some settings in the GUI, the scanlines were too dark for me on lettuce settings but you can dial them to anything you want in the GUI now.

For curvature to work I had to set "Pincushion" to a positive value, I'm not sure what that means, but it seems to work now.

Glad I didn't waste my money on an ArcadeVGA now!
OSSC Forums - http://www.videogameperfection.com/forums
Please check the Wiki before posting about Morph, OSSC, XRGB Mini or XRGB3 - http://junkerhq.net/xrgb/index.php/Main_Page
User avatar
lettuce
Posts: 1336
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: MAME and LCD

Post by lettuce »

Glad you got it working, my HLSL config is a very basic config. There is so much you can tinker with, from making the display out of focus, screen jitter, to changing the RGB guns and convergance, in theory you would be able to make it look like a really old CRT display in need of a major service lol
User avatar
BuckoA51
Posts: 3392
Joined: Sat Oct 02, 2010 10:08 am
Location: Ireland
Contact:

Re: MAME and LCD

Post by BuckoA51 »

It looks lovely, all I tweaked were the scanlines to make them fainter. Could you let me know how you got Raiden and other vertical games to look like that if it's not too much bother?
OSSC Forums - http://www.videogameperfection.com/forums
Please check the Wiki before posting about Morph, OSSC, XRGB Mini or XRGB3 - http://junkerhq.net/xrgb/index.php/Main_Page
User avatar
lettuce
Posts: 1336
Joined: Wed Jun 22, 2011 7:10 pm
Location: Bedfordshire, England.

Re: MAME and LCD

Post by lettuce »

BuckoA51 wrote:It looks lovely, all I tweaked were the scanlines to make them fainter. Could you let me know how you got Raiden and other vertical games to look like that if it's not too much bother?

You need to edit the 'Post.fx' file in the HLSL folder to get that prospective. Some games give the prospective the wrong way around so you have to alter the 'Post.fx' in a different way. In order for this to work you will need in total 3 MAME installs....1 for your normal mame, one for positive 'Post.fx' file, and one for negative 'Post.fx' file. Otherwise if you try and play a normal horizontal game with an edited 'Post.fx' file it wont look right.

If you read this thread it explains what needs editing takes about 2 minutes....

http://forum.arcadecontrols.com/index.p ... c=113151.0

Just have to alter the pincushion in game so the game display fits the screen on some games
User avatar
1up
Posts: 1106
Joined: Thu May 25, 2006 7:50 am
Location: Denmark

Re: MAME and LCD

Post by 1up »

downloaded MAMEUI64 v144 yesterday and tried out HLSL. It wouldn't work at all? everything was default. Only place I tinkered was in HLSL. set the sliders to what was posted here, ofcourse the GUI had limited options compared to everything posted here, but I set all the sliders and nothing changed? What am I doing wrong?

edit:
and there is a HLSL folder :(
wildchild22
Posts: 99
Joined: Fri Apr 08, 2011 9:30 pm

Re: MAME and LCD

Post by wildchild22 »

I found this tutorial on a google search for HLSL

http://www.multiupload.com/6NST3R2HU9

It is very good.
User avatar
1up
Posts: 1106
Joined: Thu May 25, 2006 7:50 am
Location: Denmark

Re: MAME and LCD

Post by 1up »

Yea, I tried that too. Didn't work. I see some post that you have to add hlsl = 1 in the mame.ini? But I dont know if it's only for commandline mame? Will try that tomorrow.
User avatar
BuckoA51
Posts: 3392
Joined: Sat Oct 02, 2010 10:08 am
Location: Ireland
Contact:

Re: MAME and LCD

Post by BuckoA51 »

Make sure you have the very latest DirectX end user runtimes too. You /can/ tweak some of the settings from within the MAME GUI, but is preliminary and doesn't always work right, so you might be better off editing the mame.ini. You don't need to be running the command line version of MAME to tweak the ini file, the gui version uses it too.

I'm sticking a new carpet/wallpaper in my game room/office at the mo so everything's uprooted, I am looking forward to trying the vertical HLSL that Lettuce posted though.
OSSC Forums - http://www.videogameperfection.com/forums
Please check the Wiki before posting about Morph, OSSC, XRGB Mini or XRGB3 - http://junkerhq.net/xrgb/index.php/Main_Page
User avatar
1up
Posts: 1106
Joined: Thu May 25, 2006 7:50 am
Location: Denmark

Re: MAME and LCD

Post by 1up »

updating directx helped, thanks :D
User avatar
BuckoA51
Posts: 3392
Joined: Sat Oct 02, 2010 10:08 am
Location: Ireland
Contact:

Re: MAME and LCD

Post by BuckoA51 »

I was trying to get the vertical games working today and every time I tried I got a zoomed in image, showing only the middle of the game rather than the whole screen like in the screenshots, any ideas what I'm doing wrong? Horizontal games don't have this issue.

Edit - NM solved, you change the pincushion inside MAME's menus, not in the post.fx file. :mrgreen:
OSSC Forums - http://www.videogameperfection.com/forums
Please check the Wiki before posting about Morph, OSSC, XRGB Mini or XRGB3 - http://junkerhq.net/xrgb/index.php/Main_Page
Zapf
Posts: 366
Joined: Sat Aug 08, 2009 5:21 pm

Re: MAME and LCD

Post by Zapf »

I just got an nec fe2111sb crt (21 inches), and I'm wondering if it would be a better idea to do forced 640x480 with scanlines (either from an overlay or the hlsl, or a passthrough device like the slg) or try to go the GroovyMAME route and force the exact rez and refresh rate for each game.

The latter seems like it would be a whole lot more work with setting up soft15khz (I dont have a dedicated MAME pc so i'd rather not screw up normal resolution options with my main display). Would I have to readjust the monitor for every change in resolution (240x240, 256x240, etc), and can my monitor even support that? Nothing below 640x480 is mentioned in the manual.
User avatar
BuckoA51
Posts: 3392
Joined: Sat Oct 02, 2010 10:08 am
Location: Ireland
Contact:

Re: MAME and LCD

Post by BuckoA51 »

Can that monitor actually do 15khz? Most PC VGA monitors cannot. Just because it's called a Multisync doesn't guarantee 15khz compatibility.
OSSC Forums - http://www.videogameperfection.com/forums
Please check the Wiki before posting about Morph, OSSC, XRGB Mini or XRGB3 - http://junkerhq.net/xrgb/index.php/Main_Page
Post Reply