Build Your Own Arcade Controls Forum
Software Support => GroovyMAME => Topic started by: punkysuen on November 27, 2019, 07:37:05 pm
-
Sorry that I need such a weird combination. It is because I want to achieve a goal with limited resources.
I have one Sega New Net City (NNC) cabinet and one Vewlix Chinese clone, and I want to play 4 players co-op MAME games as 2p + 2p solution on these cabinets.
My PC has AMD R9 290 and installed art_emudriver, 15KHz output on NNC works great.
From AMD R9 290, I plug NNC through HDMI port with a HDMI-to-VGA adapter, while plugging Vewlix clone through DisplayPort with DP-to-VGA adapter.
However, my Vewlix clone does not accept super resolution, so when I want to play 2p + 2p, I need to set 640x480 mirror on Windows.
Can GroovyMAME output 15KHz on NNC and 1366x768 on Vewlix clone at the same time?
Thanks so much.
-
You can do that but you need two desktops (extended desktop) instead of cloned (mirror). Then use -numscreens 2 in mame.ini, and use the -screen options to map each screen, say -screen0 \\.\DISPLAY1 -screen1 \\.\DISPLAY2. Switchres only works on -screen0, so that one must be your CRT. Use -resolution1 to set the resolution for your LCD (you'd better stick to its native mode). It's tricky to get it working, but it works (unless they've broken it upstream).
-
Thank you very much!
I got it working.
The only minor problem is that I cannot get the image on LCD fill fully with proper ratio, there are little letterbox on the top and bottom.
I have tried several combination on aspect, resolution and view, but with no luck.
Where can I find all valid options for aspect, resolution and view in the ini file?
Sorry that I searched but cannot find the exact documentation.
(https://scontent.fhkg4-1.fna.fbcdn.net/v/t1.0-9/p720x720/78564095_10218665871852029_4528807305826795520_o.jpg?_nc_cat=102&_nc_ohc=WQC3jDoX5eYAQkAKhak7Tvi0qoHw8fyuHobRZQdxioepdaZWCJlhmYQTw&_nc_ht=scontent.fhkg4-1.fna&oh=d5fb03b3b7133a3b28352c8f06fd8a5c&oe=5E8867B2)
-
It looks just great !
-
It looks just great !
Thanks~
The wiring is just interesting to figuring out.
I place the PC inside NNC, so there are tons of cables going from NNC to Vewlix, while two USB cables from the controls on Vewlix going back to NNC.
And, I use a 3.5mm splitter to send audio signal from the PC to both cabinets.
-
You will find the problem of blank space on LCD monitors. Crt arcade monitors use an analog vertical and horizontal stretch to make games fill the same size and aspect ratio screen with a whole bunch of obscure resolutions.
If you output 224 line games like SF2 to an lcd in native res it will appear letterboxed as the pixel aspect is not 4:3. This is why mame offers a digital image stretch so you create the same non-square pixel look and make each game fill the screen on fixed pixel displays. If you use the digital stretch in mame options to make the game fill the screen on your LCD, it will be too tall on your crt but, you should be able to use the pots to reduce the vertical image size and make it fit both screens.
-
I'm definitely no mame pro, but wasn't unevenstretch made for that ?
-
Sorry that I did not explain the situation clearly enough.
When I output to DISPLAY2, the two letterboxes appears as unexpected.
It is because there is no letterboxes if I just use the 1366x768 LCD display.
The image keeps the correct aspect ratio, so if I am outputting to DISPLAY2 and there are letterboxes, the image becomes a bit smaller.
And, I have one more question.
Can I only apply HLSL on DISPLAY2 only?
Since I have the perfect result on DISPLAY1, I don't want to apply HLSL on both displays.
Thanks.
(https://scontent.fhkg4-2.fna.fbcdn.net/v/t1.0-9/79535721_10218803905022772_5775907702249095168_n.jpg?_nc_cat=111&_nc_ohc=d46EZI39pAEAQnRHyQA7MWtm1zQbkQJ0zVvjRrb1SiH_igMxPSaVVHQ0g&_nc_ht=scontent.fhkg4-2.fna&oh=30260943ed78cefc65abfc327cb9d2d8&oe=5E7F07A1)
-
Sorry that I did not explain the situation clearly enough.
When I output to DISPLAY2, the two letterboxes appears as unexpected.
It is because there is no letterboxes if I just use the 1366x768 LCD display.
The image keeps the correct aspect ratio, so if I am outputting to DISPLAY2 and there are letterboxes, the image becomes a bit smaller.
This happens because in order to guess the physical screen's aspect ratio, MAME uses the current resolution from your main desktop, which probably is 4:3. But since you're also targeting an LCD as your second monitor, that aspect ratio is wrong for it. You must explicitely tell MAME which aspect ratio your second monitor is. If your first monitor is screen0, and your seccond monitor is screen1, what you do is to set -aspect1 16:9 (in mame.ini). This way it should scale the same way as it does when you only use the LCD display.
And, I have one more question.
Can I only apply HLSL on DISPLAY2 only?
Since I have the perfect result on DISPLAY1, I don't want to apply HLSL on both displays.
Thanks.
No, you can't apply HLSL only to display2, as far as I know. Not sure if BGFX allows you to do so.