|
Borderless window mode version of MAME for download
#329188 - 08/04/14 06:04 AM
|
|
|
I hacked up a MAME and UME 0.154 builds that have borderless full screen window mode instead of the standard window mode. You just run MAME in windowed mode, and it'll be a borderless full screen window.
https://www.dropbox.com/s/98hfpewsdmbgtju/mame_ume_fws.zip
Did a 32bit build of MAME too: https://www.dropbox.com/s/t02fzhp05dmhfj1/mame32_fsw.zip
I'm trying to work out something that I can send to MAMEdev, but you can screw around with this if you want to.
I've only tried it in Direct3D mode, something could be horribly fucked up in it, and so on. Don't bug MAMEdev if it doesn't work.
Edited by bigbluefe (08/05/14 07:19 AM)
|
|
|
|
Re: Borderless window mode version of MAME for download
[Re: bigbluefe]
#329204 - 08/04/14 09:20 AM
|
|
|
Why?
Advantages?
I don't comprehend the difference between a borderless full screen window, and simply running at full screen.
|
Just broke my personal record for number of consecutive days without dying!
|
|
|
Re: Borderless window mode version of MAME for download
[Re: URherenow]
#329207 - 08/04/14 11:04 AM
|
|
|
> Why? > > Advantages? > > I don't comprehend the difference between a borderless full screen window, and simply > running at full screen.
With a borderless full screen windowed mode, the transition from desktop to game in MAME is completely seamless. You know how when you launch a program that runs in full screen exclusive mode, you see your display wig out for a second when it switches modes? That's completely gone when you launch programs that run in a window.
For people who have arcade cabinets and want their game launches to be free of any ugly transitions or artifacts, it's a nice bonus. Also, when you launch MAME in windowed mode, it's actually slightly faster than launching a game in full screen exclusive mode (because you don't have to switch).
Another scenario is playing a game where you want to look up hints on GameFAQS, and you want to transition back and forth from game to web browser, it's WAY faster to alt tab when you're running in windowed mode. This is one of the main reasons people run modern PC games in full screen windowed mode. You can jump between programs way faster.
Finally, if you run MAME in full screen exclusive mode, it will try to pick the refresh rate that most closely matches the game. If I have a 144hz LCD with lightboost or ULMB and want to run the game in a low persistence mode to eliminate motion blur, I can't do it in full screen exclusive mode, because MAME's always going to pick a mode around 60hz because that's the game's native refresh rate. With a borderless full screen window mode, I can actually run MAME in low persistence mode at 120hz, because my desktop's already been set to run at 120hz in low persistence mode, so I can play those games without motion blur without any black frame insertion hacks to MAME.
|
|
|
|
Re: Borderless window mode version of MAME for download
[Re: bigbluefe]
#329214 - 08/04/14 01:15 PM
|
|
|
Sonds good, I will give it a try. Like URherenow, I run full screen and did not see an advantage, but your reasoning made sense. I run dual monitors. I have a 27" Samsung that swivels. Makes the vertical games look so much better. I also have a 21" NEC CRT that I use for the authenticity in not only horizontal arcade games but Atari, Commodore64, NES etc....
|
|
|
DMala |
Sleep is overrated
|
|
|
Reged: 05/09/05
|
Posts: 3989
|
Loc: Waltham, MA
|
|
Send PM
|
|
|
Re: Borderless window mode version of MAME for download
[Re: bigbluefe]
#329220 - 08/04/14 02:35 PM
|
|
|
> > Why? > > > > Advantages? > > > > I don't comprehend the difference between a borderless full screen window, and > simply > > running at full screen. > > With a borderless full screen windowed mode, the transition from desktop to game in > MAME is completely seamless. You know how when you launch a program that runs in full > screen exclusive mode, you see your display wig out for a second when it switches > modes? That's completely gone when you launch programs that run in a window. > > For people who have arcade cabinets and want their game launches to be free of any > ugly transitions or artifacts, it's a nice bonus. Also, when you launch MAME in > windowed mode, it's actually slightly faster than launching a game in full screen > exclusive mode (because you don't have to switch). > > Another scenario is playing a game where you want to look up hints on GameFAQS, and > you want to transition back and forth from game to web browser, it's WAY faster to > alt tab when you're running in windowed mode. This is one of the main reasons people > run modern PC games in full screen windowed mode. You can jump between programs way > faster. > > Finally, if you run MAME in full screen exclusive mode, it will try to pick the > refresh rate that most closely matches the game. If I have a 144hz LCD with > lightboost or ULMB and want to run the game in a low persistence mode to eliminate > motion blur, I can't do it in full screen exclusive mode, because MAME's always going > to pick a mode around 60hz because that's the game's native refresh rate. With a > borderless full screen window mode, I can actually run MAME in low persistence mode > at 120hz, because my desktop's already been set to run at 120hz in low persistence > mode, so I can play those games without motion blur without any black frame insertion > hacks to MAME.
For what it's worth, you can specify the resolution and refresh rate in mame.ini. If that matches your desktop resolution exactly, you don't get any transition artifacts. You can also set "switchres 0" to keep your desktop resolution, although I'm not sure if that will still allow the refresh rate to change.
I do like the idea of cleaner Alt-Tab switching, though.
|
|
|
|
|
FYI...
[ATTACHED IMAGE]
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9717
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Borderless window mode version of MAME for download
[Re: bigbluefe]
#329226 - 08/04/14 04:44 PM
|
|
|
> With a borderless full screen windowed mode, the transition from desktop to game in > MAME is completely seamless. You know how when you launch a program that runs in full > screen exclusive mode, you see your display wig out for a second when it switches > modes? That's completely gone when you launch programs that run in a window.
It's also gone if you -switchres 0, in which case MAME keeps your desktop's display mode.
> Finally, if you run MAME in full screen exclusive mode, it will try to pick the > refresh rate that most closely matches the game.
Again, -switchres 0 will keep the desktop's display mode, including the refresh rate. Alternatively, with switching enabled, you can do -res 800x600@144 to get 800x600 at 144 Hz refresh if it's available.
It's kind of frustrating how many problems with MAME people have that are simply the result of not understanding the available options.
|
|
|
|
Re: Borderless window mode version of MAME for download
[Re: R. Belmont]
#329228 - 08/04/14 05:05 PM
|
|
|
> > With a borderless full screen windowed mode, the transition from desktop to game in > > MAME is completely seamless. You know how when you launch a program that runs in > full > > screen exclusive mode, you see your display wig out for a second when it switches > > modes? That's completely gone when you launch programs that run in a window. > > It's also gone if you -switchres 0, in which case MAME keeps your desktop's display > mode.
Nope. I always run with switchres 0. There's still an abrupt change in the display when you change to full screen exclusive mode. You simply can't transition from the desktop to a fullscreen exclusive mode in Windows without something funky happening. It doesn't matter if you're running at the same resolution and refresh rate, either, because you're still changing to full screen exclusive mode. Maybe other operating systems are better about this.
> > > Finally, if you run MAME in full screen exclusive mode, it will try to pick the > > refresh rate that most closely matches the game. > > Again, -switchres 0 will keep the desktop's display mode, including the refresh rate. > Alternatively, with switching enabled, you can do -res 800x600@144 to get 800x600 at > 144 Hz refresh if it's available.
Nope. -switchres 0 does not keep the desktop's display mode and refresh rate with a G-Sync monitor. I tried it.
> > It's kind of frustrating how many problems with MAME people have that are simply the > result of not understanding the available options.
It's even more frustrating when MAMEdev doesn't seem understand what the problems are.
|
|
|
|
Re: Borderless window mode version of MAME for download
[Re: DMala]
#329229 - 08/04/14 05:07 PM
|
|
|
There are _always_ artifacts, and there is _always_ slowness when you transition from the desktop to full screen exclusive mode. It's unavoidable.
|
|
|
|
Re: Borderless window mode version of MAME for download
[Re: bigbluefe]
#329236 - 08/04/14 06:03 PM
|
|
|
> Nope. -switchres 0 does not keep the desktop's display mode and refresh rate with a > G-Sync monitor. I tried it.
That is impossible. I mean, whatever you experienced with -switchres 0 was not due to a desktop mode switch, it was something else. Just follow the code and you will see what I mean.
There's no justification for running games in windowed mode, with or without borders. It creates input lag, due to desktop compositing in modern OSes. You can certainly disable "Aero" in W7, but they made it impossible to do the same in W8. Some emulators like BSNES run in borderless windowed mode and lag because of this. The only way to bypass compositing is running in exclusive mode.
|
|
|
|
Re: Borderless window mode version of MAME for download
[Re: bigbluefe]
#329256 - 08/05/14 12:34 AM
|
|
|
bigbluefe thank you very much for making this. Even though I'm already runnign WBG, to have it built in is great. Only problem is I don't use MAME I use UME. So can I humbly request that you please create a UME version of this?
http://mamedev.emulab.it/haze/2014/07/23/ume-0-154/
Quote:
There's still an abrupt change in the display > when you change to full screen exclusive mode. You simply can't transition from the > desktop to a fullscreen exclusive mode in Windows without something funky happening. > It doesn't matter if you're running at the same resolution and refresh rate, either, > because you're still changing to full screen exclusive mode. Maybe other operating > systems are better about this.
|
|
|
|
Re: Borderless window mode version of MAME for download
[Re: Calamity]
#329261 - 08/05/14 02:25 AM
|
|
|
> > Nope. -switchres 0 does not keep the desktop's display mode and refresh rate with a > > G-Sync monitor. I tried it. > > That is impossible. I mean, whatever you experienced with -switchres 0 was not due to > a desktop mode switch, it was something else. Just follow the code and you will see > what I mean.
I know what you mean, but G-Sync monitors are weird. They do not behave like normal displays. I _always_ run with switchres 0, my desktop refresh rate was 144hz, and MAME was running at 30hz in Rampage in full screen exclusive mode.
> There's no justification for running games in windowed mode, with or without borders. > It creates input lag, due to desktop compositing in modern OSes. You can certainly > disable "Aero" in W7, but they made it impossible to do the same in W8. Some > emulators like BSNES run in borderless windowed mode and lag because of this. The > only way to bypass compositing is running in exclusive mode.
The justification is to be able to quickly tab between multiple windows. There are probably 20 people on the planet who care about input lag as much as you or I do. This is just an extra option for people. It's not replacing standard windowed most or full screen exclusive mode.
|
|
|
Big Karnak |
Part-time Lurker
|
|
|
Reged: 05/22/13
|
Posts: 1011
|
Loc: Mount St. Lurkling
|
|
Send PM
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: Trebor]
#329272 - 08/05/14 05:00 AM
|
|
|
Trebor said that Google said the file is malicious. Why is that?
|
|
|
|
Re: Borderless window mode version of MAME for download
[Re: Outrun2006]
#329275 - 08/05/14 06:23 AM
|
|
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: Big Karnak]
#329276 - 08/05/14 06:25 AM
|
|
|
> Trebor said that Google said the file is malicious. Why is that?
It might just be that any exes from Dropbox get flagged, but if you're not comfortable with it, don't use it.
I did put up new builds of both MAME and UME though. Not sure if they'll also get flagged.
https://www.dropbox.com/s/98hfpewsdmbgtju/mame_ume_fws.zip
|
|
|
Big Karnak |
Part-time Lurker
|
|
|
Reged: 05/22/13
|
Posts: 1011
|
Loc: Mount St. Lurkling
|
|
Send PM
|
|
|
Re: ...is malicious, and Chrome has blocked it. *DELETED*
[Re: bigbluefe]
#329277 - 08/05/14 06:38 AM
|
|
|
Post deleted by Big Karnak
|
|
|
Big Karnak |
Part-time Lurker
|
|
|
Reged: 05/22/13
|
Posts: 1011
|
Loc: Mount St. Lurkling
|
|
Send PM
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: Big Karnak]
#329281 - 08/05/14 06:57 AM
|
|
|
Can you upload a "MAME Fullscreen Window 0.154" 32-bit build please?
|
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: Big Karnak]
#329282 - 08/05/14 07:19 AM
|
|
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: bigbluefe]
#329286 - 08/05/14 08:42 AM
|
|
|
Did you use UPX on it? That can cause false positives iirc...
iirc, MAMEdev used to use UPX but stopped because it was using more memory than needed (like the whole executable had to be deflated into memory, while a non-UPX'ed version only loaded sections required for the game you chose to play.)
|
Just broke my personal record for number of consecutive days without dying!
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: URherenow]
#329304 - 08/05/14 10:06 AM
|
|
|
BigBluefe I am having problems with the UME64 version. Even though I have it set to fun in windowed mode, the emu disables my mouse, prohibiting me from clicking away from the window. Also I want to get it to open on my second display but it's opening on my first display instead and the picture is huge. Please hlep.
|
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: Outrun2006]
#329318 - 08/05/14 03:14 PM
|
|
|
It only disables the mouse cursor when the window is focused. If you press the Windows key or alt tab, the mouse cursor should reappear.
I'm not sure what you mean by the picture being huge. It's a full screen windowed mode. It's supposed to take up the entire screen.
Because it's a full screen windowed mode, you can't move around the screen after you launch the program, so you want to run it with this arg to get it to output to the second screen:
-screen \\.\DISPLAY2
|
|
|
|
Re: Borderless window mode version of MAME for download
[Re: bigbluefe]
#329332 - 08/05/14 06:36 PM
|
|
|
> Nope. -switchres 0 does not keep the desktop's display mode and refresh rate with a > G-Sync monitor. I tried it.
It does here (asus pg278q), which display mode are you getting?
|
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: bigbluefe]
#329336 - 08/05/14 07:17 PM
|
|
|
> It only disables the mouse cursor when the window is focused. If you press the > Windows key or alt tab, the mouse cursor should reappear. > > I'm not sure what you mean by the picture being huge. It's a full screen windowed > mode. It's supposed to take up the entire screen. > > Because it's a full screen windowed mode, you can't move around the screen after you > launch the program, so you want to run it with this arg to get it to output to the > second screen: > > -screen \\.\DISPLAY2 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Still not working. The lines in my ini file look like this:
Quote:
screen \\.\DISPLAY2 aspect auto resolution auto view auto screen0 auto aspect0 auto resolution0 auto view0 auto etc etc etc....
Number of screens = 1
|
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: Outrun2006]
#329345 - 08/05/14 08:26 PM
|
|
|
Sorry but this version of UME64 is simply not working properly Bigbluefe. I have tried EVERYTHING and it simply won't move itself over to my projection screen. Under "Per-window video" I've placing the string \\.\DISPLAY2 next to each "screen" one by one, and even changed the variable to \\.\DISPLAY2, \\.\DISPLAY3, etc and no matter what it always starts on my primary desktop monitor, and stretches/spills into my projection screen(display 2). Something is definitely not right. Please look into the issue.
Normal UME64 build does not exhibit this issue.
|
|
|
Naoki |
|
|
|
Reged: 11/10/09
|
Posts: 1998
|
Loc: United Kingdom
|
|
Send PM
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: Outrun2006]
#329372 - 08/06/14 01:38 AM
|
|
|
> Sorry but this version of UME64 is simply not working properly Bigbluefe. I have > tried EVERYTHING and it simply won't move itself over to my projection screen. Under > "Per-window video" I've placing the string \\.\DISPLAY2 next to each "screen" one by > one, and even changed the variable to \\.\DISPLAY2, \\.\DISPLAY3, etc and no matter > what it always starts on my primary desktop monitor, and stretches/spills into my > projection screen(display 2). Something is definitely not right. Please look into the > issue. > > Normal UME64 build does not exhibit this issue.
Tried \\.\DISPLAY1? Sometimes windows borks up and sets the second screen as #1
|
----
On a quest for Digital 573 and Dancing Stage EuroMix 2
By gods I've found it!
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: Outrun2006]
#329375 - 08/06/14 02:44 AM
|
|
|
Something probably is screwy with it. The problem is that I don't have a dual screen setup right now to test. I'll look into it when I can.
|
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: bigbluefe]
#329414 - 08/06/14 05:04 PM
|
|
|
Quote:
> Something probably is screwy with it. The problem is that I don't have a dual screen > setup right now to test. I'll look into it when I can.
Thanks for the reply and thanks for acknowledging that yes, something is certainly screwy with it.
In the meantime, I'll continue using this app
http://www.mameworld.info/ubbthreads/sho...;new=1406127831
...which by the way, does not exclusively grab my mouse and disables it. When "WindowsBorderlessGaming" is running, I can still move the mouse freely and away from the screen. Not only that, but clicking on the other display does not minimize MAME the way your version does. So just something to keep in mind next time you work on it.
With that having been said I appreciate your efforts in bringing this version of MAME/UME out for us to test. I realize this is a WIP and in beta status so I'm rooting for you to get it right
|
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: Outrun2006]
#329519 - 08/08/14 04:50 AM
|
|
|
Just so you know, I fixed the z order of the window, so it doesn't get pushed all the way to the back when you tab out of it. I still need to get a dual monitor setup so I can resolve that.
|
|
|
|
Re: ...is malicious, and Chrome has blocked it.
[Re: bigbluefe]
#329527 - 08/08/14 10:06 AM
|
|
|
> Just so you know, I fixed the z order of the window, so it doesn't get pushed all the > way to the back when you tab out of it. I still need to get a dual monitor setup so I > can resolve that.
>>>>>>>>>>>>>>>>>>
Sounds good my friend! Keep up the good work and keep us posted ![](//www.mameworld.info/ubbthreads/images/graemlins/smile.gif)
You can surely get a spare cheap monitor for peanuts these days:
http://www.ebay.com/itm/AOC-LM-520-15-LC...=item19f1706289
|
|
|
Big Karnak |
Part-time Lurker
|
|
|
Reged: 05/22/13
|
Posts: 1011
|
Loc: Mount St. Lurkling
|
|
Send PM
|
|
|
Re: Borderless window mode version of MAME for download
[Re: bigbluefe]
#334714 - 11/28/14 09:19 AM
|
|
|
Are you going to update this 32-bit derivative to version "MAME Fullscreen Window 0.156"?
And may I suggest you store this derivative on your Big Blue Frontend website... this way it doesn't get lost in the forum.
|
|
|