Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
#17347 - 05/22/04 06:39 AM Can I make MAME use my secondary monitor?  
Joined: May 2004
Posts: 1
gorkinox Offline
Junior Member
gorkinox  Offline
Junior Member

Joined: May 2004
Posts: 1
New York
Hi all. This is my first post here. I just picked up a 19 inch CRT for use as a secondary monitor (Primary monitor is a 17 inch Apple Flat Panel) and I would like to use MacMAME on this monitor. In my opinion games look more like they are supposed to on CRT's. Is there a way to get MAME to play on the secondary monitor. Im running OS X 10.3.3 on a Dual G4 800MHz with two video cards (Primary card is ATI Radeon 8500, secondary card is a ATI Radeon 7000. Any help appreciated. Thanks!

#17348 - 05/22/04 07:34 AM Re: Can I make MAME use my secondary monitor?  
Joined: Apr 2001
Posts: 45
shortstop Offline
Member
shortstop  Offline
Member

Joined: Apr 2001
Posts: 45
Norman, Oklahoma
The short answer is no, not without putting the menu bar over there first.

#17349 - 05/22/04 11:24 PM Re: Can I make MAME use my secondary monitor?  
Joined: May 2003
Posts: 12
rwp2084 Offline
Junior Member
rwp2084  Offline
Junior Member

Joined: May 2003
Posts: 12
Minnesota
You can also run in mirror mode.

#17350 - 05/26/04 11:32 AM Re: Can I make MAME use my secondary monitor?  
Joined: Feb 2004
Posts: 312
arekkusu Offline
Senior Member
arekkusu  Offline
Senior Member

Joined: Feb 2004
Posts: 312
Santa Clara, CA
This is another reason why the windowing code needs to be rewritten. Putting up a blanking window covering every display is dumb-- the video plugin should capture whichever display the window is currently on.

#17351 - 05/27/04 05:18 PM Re: Can I make MAME use my secondary monitor?  
Joined: Jul 2000
Posts: 497
Brad Oliver Offline
Brad Oliver  Offline

MacMAME Author

Joined: Jul 2000
Posts: 497
Glendale, AZ
Quote:
Originally posted by arekkusu:
This is another reason why the windowing code needs to be rewritten. Putting up a blanking window covering every display is dumb-- the video plugin should capture whichever display the window is currently on.
It should (and will, in the next release) let you choose the monitor rather than assuming the primary. This is a change that's long overdue. It doesn't necessitate a rewrite by any stretch though - the existing code was fairly easy to fix in this regard.

That aside, what are the other reasons why the windowing code needs to be rewritten?

#17352 - 05/27/04 06:12 PM Re: Can I make MAME use my secondary monitor?  
Joined: Feb 2004
Posts: 312
arekkusu Offline
Senior Member
arekkusu  Offline
Senior Member

Joined: Feb 2004
Posts: 312
Santa Clara, CA
For example, selecting triple size window, opening a game, and then opening a new game in fullscreen can sometimes screw up and result in no graphics, or a * + white rect covering most of the graphics.

Or, simply selecting a scale (3x, or 2x for a few games, depends on your display res) such that the window doesn't fit on the display = busted GL updates.

Or, the non-proportional window. Or lack of minification (w/ GL support) and zoom controls. Or just arbitrary resizing (like the Apple DVD player-- what's the excuse for only having three sizes? Just resize the window to whatever you want!!)

Anyway. You're right that it's not necessary to rewrite from scratch. Sorry, that was just my bias speaking out (I pretty much jumped from asm to Cocoa), someone with a real Classic/Carbon background can fix what's there easier than I can.

#17353 - 05/28/04 04:12 AM Re: Can I make MAME use my secondary monitor?  
Joined: Jul 2000
Posts: 497
Brad Oliver Offline
Brad Oliver  Offline

MacMAME Author

Joined: Jul 2000
Posts: 497
Glendale, AZ
Quote:
Originally posted by arekkusu:
Or, the non-proportional window. Or lack of minification (w/ GL support) and zoom controls. Or just arbitrary resizing (like the Apple DVD player-- what's the excuse for only having three sizes? Just resize the window to whatever you want!!)
The fixed window sizes are a relic of the non-GL support. An arbitrary window size would force a fallback case to CopyBits for the software blitter, and that wouldn't really be worth it from a performance standpoint - it's dramatically slower. Obviously it doesn't hold true for OpenGL, which is a relatively new addition to MacMAME by comparison.

That said, there is a UI issue involved. Adding a resize widget to the GL window will clutter up the game display, so you'd need to either make it invisible or add a strip to the bottom of the window - or just suck it up have it draw on top of the game. I haven't been compelled to address this because I find that I'm largely satisfied with either the existing window sizes or running the game fullscreen.

In thinking about it now, however, I believe adding a strip to the bottom of the window makes the most sense. It would also allow me to stick other status info there, like a software implementation of the old LED keyboard lights or perhaps the framerate display text. Yes, that idea is definitely growing on me.

#17354 - 05/28/04 08:21 AM Re: Can I make MAME use my secondary monitor?  
Joined: Feb 2004
Posts: 312
arekkusu Offline
Senior Member
arekkusu  Offline
Senior Member

Joined: Feb 2004
Posts: 312
Santa Clara, CA
Invisible. That's the default you get when you fill a resizable window with a GL view.

Just throwing this out there, but check Shoot Things for my idea of how a game window is supposed to work.

No, it's not totally robust (no multiple video card configs to test on here) but try resizing (with Ctrl or Alt, too) and entering/exiting fullscreen mode on different displays just by dragging the window there. It also knows about 5:4, 4:3, 3:2, 16:10 aspect ratio displays, and the Dock, and picks an appropriate multiple for your res the first time you run it. And it minimizes GL content.

#17355 - 05/28/04 08:55 AM Re: Can I make MAME use my secondary monitor?  
Joined: Aug 2002
Posts: 129
Carsten Offline
Member
Carsten  Offline
Member

Joined: Aug 2002
Posts: 129
Toronto, Canada
Hey Arekkusu,

Your "Shoot Things" game is pretty darn slick!! A nice little diversion from MacMAME. laugh


BEWARE: I LIVE! I HUNGER.
#17356 - 05/28/04 03:33 PM Re: Can I make MAME use my secondary monitor?  
Joined: Jul 2000
Posts: 497
Brad Oliver Offline
Brad Oliver  Offline

MacMAME Author

Joined: Jul 2000
Posts: 497
Glendale, AZ
Quote:
Originally posted by arekkusu:
Just throwing this out there, but check Shoot Things for my idea of how a game window is supposed to work.
It gave me a kernel panic the first 2 (and only) times I tried to run it. Does it use the non-Apple branch of OpenAL by any chance?

Page 1 of 2 1 2

Who's Online Now
1 registered members (MAMEBase), 21 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,525
Posts111,253
Members4,792
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.029s Queries: 14 (0.009s) Memory: 5.0154 MB (Peak: 5.2392 MB) Zlib enabled. Server Time: 2018-04-21 03:57:16 UTC