Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Game Launcher, ugly resolution switching!  (Read 4867 times)

0 Members and 1 Guest are viewing this topic.

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 554
  • Last login:July 11, 2025, 06:33:13 am
    • Centipede MAME cabinet
Game Launcher, ugly resolution switching!
« on: February 20, 2003, 10:10:15 pm »
When  glaunch switches to MAME, I can clearly see the monitor switching either resolution or bit-depth, and in the process it shows the Windows task bar at the bottom a few times.

Since I am running on a cabinet, this is not the most elegant 'effect'.  In my case, the point of having a frontend is to 'hide' the underlying OS.  (In my case, Windows XP)

In an attempt to fix this issue, I tried setting the desktop's resolution to 800x600, and I set glaunch to the same resolution through the cgf file.  Additionally, to make sure MAME didn't attempt any switching, I set MAME ini to never switch resolutions (so it will keep whatever is in use at launch).
Well, I thought this would work, but it did not.. I can still see the taskbar etc etc when running a game.  (also when exiting the game)

Can someone please help me out here?
       using:
   glaunch for Windows
   Windows XP Pro
   Windows command line version of MAME 0.65.

thanks!
"3 warps to Uranus" -- so I stopped playing!

)p(

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 964
  • Last login:March 27, 2009, 03:38:15 am
  • We are the Galaxians...
    • Emulaxian:cabinet and frontend
Re:Game Launcher, ugly resolution switching!
« Reply #1 on: February 21, 2003, 01:41:58 am »
most fe's now have a function to hide the taskbar. if gamelauncher does not have that yet there are little proggies floating around the net that can do that..do a google search for hide taskbar...

for example see the download section of the magma cab site that uses gamelauncher:
http://www.geocities.com/emu_skeleton/magma__downloads.htm
shellhide.zip is what you are looking for there...

peter
« Last Edit: February 21, 2003, 01:53:20 am by )p( »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Game Launcher, ugly resolution switching!
« Reply #2 on: February 21, 2003, 12:11:47 pm »
Actually this is a issue that isn't easily fixed....  You see whenever you chagne resolutions widnows wants to rescale everything, including the taskbar.... even if the taskbar is turned off via api, it can sometimes come back for a split second when you change the res...  

Your best solution, turn auto res off in your mame settings and set the res to the maximum your screen can allow and turn on hardware stretch.  


Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 554
  • Last login:July 11, 2025, 06:33:13 am
    • Centipede MAME cabinet
Re:Game Launcher, ugly resolution switching!
« Reply #3 on: February 21, 2003, 07:30:32 pm »
While on the topic, I wanted to mention that at first I could not get GL to run under WinXP.  Although properly configured, as soon as I double clicked the gl icon, I would get a black window (with the greyish border and window bar) filling the screen.   In the title bar it reads: _GL32.exe.   Only way out is to END TASK.

The only work around I have found , is to launch command first (i.e. start up a DOS command prompt), set full screen (alt-enter) and then launch GL by typing glaunch.exe.  All works perfectly this way...

I imagine glaunch was never tested for XP?  Anyone having this problem?
"3 warps to Uranus" -- so I stopped playing!

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Game Launcher, ugly resolution switching!
« Reply #4 on: February 21, 2003, 07:36:08 pm »
GameLauncher is a very aged fe and was originally designed for dos believe it or not.  

Dave does his best to keep it up, but with his limited time he simply can't work on it that much anymore.   Although it was recently ported to xp, numerous xp related bugs/errors have been reported.  If these are user errors or bugs I don't know, but I do know that getting gl to run in xp is difficult at this point.  

jets

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
  • Last login:February 25, 2005, 06:40:39 pm
  • all your base are belong to us
Re:Game Launcher, ugly resolution switching!
« Reply #5 on: February 21, 2003, 10:29:39 pm »
It can be diffuicult but I like using GL. I have it running very smooth right now. I know there was one FE I tried and it had the option of running the command window 'silently' as in no visible command window at any time. Perhaps it wouldn't be hard to get that feature in there?I only see it for a second and thats ok with with me. Maybe it's because I have a fast computer running it and its pretty quick switching resolutions.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Re:Game Launcher, ugly resolution switching!
« Reply #6 on: February 22, 2003, 04:02:20 am »
You don't really see the taskbar because it's switching resolutions, you see it whenever Mame is loading up and it's loading the roms.  So depending on your processor and what mame game you are loading up, you will see the taskbar for different periods of time.  GameLauncher already has some sort of code that blacks out everything on the screen (except taskbar) when you choose a game to play and it loads it up.  Hopefully it won't be too difficult for Dave Drib. to get rid of that task bar.  

Geez I hate having to run Winbloz in my cabinet :(  Too bad it provides the best performance for mame.

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 554
  • Last login:July 11, 2025, 06:33:13 am
    • Centipede MAME cabinet
Re:Game Launcher, ugly resolution switching!
« Reply #7 on: February 22, 2003, 08:46:28 am »
You don't really see the taskbar because it's switching resolutions, you see it whenever Mame is loading up and it's loading the roms.  So depending on your processor and what mame game you are loading up, you will see the taskbar for different periods of time.  GameLauncher already has some sort of code that blacks out everything on the screen (except taskbar) when you choose a game to play and it loads it up.  Hopefully it won't be too difficult for Dave Drib. to get rid of that task bar.  

Geez I hate having to run Winbloz in my cabinet :(  Too bad it provides the best performance for mame.

I'll have to test that; I don't quite remember seeing that effect when running mame w/out glaunch

Also, I thought running dmame in a pure DOS environment (DOS 7?) was slightly faster than running mame over Windows.   ???
"3 warps to Uranus" -- so I stopped playing!

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Game Launcher, ugly resolution switching!
« Reply #8 on: February 22, 2003, 11:58:36 am »
Yeah if you have a pc that was new when dos 7 was new. :)   Dos can't manage high amounts of memory and has trouble with big processors and large harddrives.  In other words modern pcs.  

Dave Dribin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:May 26, 2007, 11:17:39 pm
  • ugh... yeah
    • Dave Dribin's Home Page
Re:Game Launcher, ugly resolution switching!
« Reply #9 on: February 24, 2003, 12:28:03 pm »
While on the topic, I wanted to mention that at first I could not get GL to run under WinXP.  Although properly configured, as soon as I double clicked the gl icon, I would get a black window (with the greyish border and window bar) filling the screen.   In the title bar it reads: _GL32.exe.   Only way out is to END TASK.

The only work around I have found , is to launch command first (i.e. start up a DOS command prompt), set full screen (alt-enter) and then launch GL by typing glaunch.exe.  All works perfectly this way...

I imagine glaunch was never tested for XP?  Anyone having this problem?

Are you *sure* you are running the Win32 version?  It almost sounds as if you are trying to run the DOS version on XP.  Don't do that. :)  The Win32 *should* work right from Explorer (i.e. double click on it).  I personally have tried this under Win2K (though I don't run that config much), so I see no reason why it shouldn't work just fine uder XP.

-Dave

Dave Dribin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:May 26, 2007, 11:17:39 pm
  • ugh... yeah
    • Dave Dribin's Home Page
Re:Game Launcher, ugly resolution switching!
« Reply #10 on: February 24, 2003, 12:35:00 pm »
In regards to the task bar not hiding....

I don't know how to fix it.  I horked the code right from one of MS's Knowledge Base articles:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q179363&ID=kb;en-us;Q179363

GL opens a full-screen black window right at launch time.  According to this doc, this full screen window *should* cover the task bar.  I thought this worked pretty well in Win98, actually, when I tested it.  Apparantly MS's own docs are full of ---steaming pile of meadow muffin---.  I'm no windows programmer, so if someone knows a better way of hiding the task bar, I'm all ears.

-Dave

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Game Launcher, ugly resolution switching!
« Reply #11 on: February 24, 2003, 04:24:59 pm »
First off, don't dis the m$ documentation. Although it's often confusing, it's still the most well-documented os out there.  There's far to much stuff to cover it all 100% of the time.  

Secondly, yes that's the call you use. If anybody knows of a better one please enlighten us.
 

Third, read above... I already went over this issue...

Whenever windows screen resolution changes the taskbar re-initalizes, which means it will appear every time (I beleive it's a bug in windows). As far as I know the only way to change this is to constantly hide the taskbar again and again until the res changes, and even then it doesn't work 100% of the time.  

)p(

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 964
  • Last login:March 27, 2009, 03:38:15 am
  • We are the Galaxians...
    • Emulaxian:cabinet and frontend
Re:Game Launcher, ugly resolution switching!
« Reply #12 on: February 24, 2003, 04:42:01 pm »

Whenever windows screen resolution changes the taskbar re-initalizes, which means it will appear every time (I beleive it's a bug in windows). As far as I know the only way to change this is to constantly hide the taskbar again and again until the res changes, and even then it doesn't work 100% of the time.  

Are you sure i have never seen the taskbar reappear with my fe both under win 9x and xp?

peter

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Game Launcher, ugly resolution switching!
« Reply #13 on: February 25, 2003, 01:48:30 pm »
that's because of two things.....

A. you have a fast machine...
B. your not using a m$ coding language

;-)  

Seriously though, director and flash applications seem to be immune.  Why I have no clue.