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: Mame losing focus when launching from Mamewah  (Read 4351 times)

0 Members and 1 Guest are viewing this topic.

deadmoney5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 428
  • Last login:February 03, 2020, 11:02:02 pm
  • I don't feel tardy
Mame losing focus when launching from Mamewah
« on: August 25, 2005, 07:08:40 pm »
This just started happening...

Sometimes When I launch a game from Mamewah, I see the mame command line flash and minimize and I have a black screen.  I can hear the game in the background..

Of course I can just alt-tab to get the focus back...but...

Now what did I do (or the kids do)?

SpamMe

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 538
  • Last login:July 01, 2006, 03:19:58 am
  • .creature of bad habit.
    • Mame cabinet blog
Re: Mame losing focus when launching from Mamewah
« Reply #1 on: August 26, 2005, 06:12:01 am »
I've been having the same problem for some time now, and haven't been able to find a solution.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Mame losing focus when launching from Mamewah
« Reply #2 on: August 26, 2005, 10:14:11 am »
Well I'd never seen the problem...until very recently when testing a new beta on my cab.

Firstly make sure you have no other apps running (not sure if this helps or not yet), and also try the {safelaunch} commandline flag.

Let me know if you have any other info as I'll be trying to squash this bug soon...

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Mame losing focus when launching from Mamewah
« Reply #3 on: August 26, 2005, 11:31:10 am »

deadmoney5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 428
  • Last login:February 03, 2020, 11:02:02 pm
  • I don't feel tardy
Re: Mame losing focus when launching from Mamewah
« Reply #4 on: August 26, 2005, 05:51:58 pm »
You know what it must be....

I recently installed the light gun driver and have it running in the background...

I guess more people will have this problem if they are using their PS2 lightguns...

deadmoney5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 428
  • Last login:February 03, 2020, 11:02:02 pm
  • I don't feel tardy
Re: Mame losing focus when launching from Mamewah
« Reply #5 on: August 26, 2005, 07:08:16 pm »
well...it aint that...

I closed out the light gun program and it still loses focus..

the weird part is that it only does it SOMETIMES...?

SpamMe

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 538
  • Last login:July 01, 2006, 03:19:58 am
  • .creature of bad habit.
    • Mame cabinet blog
Re: Mame losing focus when launching from Mamewah
« Reply #6 on: August 26, 2005, 07:37:12 pm »
the weird part is that it only does it SOMETIMES...?
Same here, happens about 50% of time time.

Scoobie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 281
  • Last login:December 26, 2024, 12:53:48 am
Re: Mame losing focus when launching from Mamewah
« Reply #7 on: August 27, 2005, 12:06:21 am »
Same here.  This started recently and only happens about half the time...very strange.  I'm using MW v 1.60 and it's been stable until about a week ago.   ::)

I posted the question of where to place the {safelaunch} in the Mamewah forum.
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=45280&page=0&view=expanded&sb=5&o=&fpart=1&vc=1

« Last Edit: August 27, 2005, 12:08:58 am by Scoobie »

ahmer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 234
  • Last login:March 16, 2014, 02:40:21 pm
  • Do as you like.
    • IC Markets Rebates and Discount
Re: Mame losing focus when launching from Mamewah
« Reply #8 on: August 27, 2005, 04:56:42 pm »
Quote
I posted the question of where to place the {safelaunch} in the Mamewah forum.


In mamewah's INI folder,look at the specific emulator Ini file.(mame.ini)

### Execution Settings ###
emulator_executable                       c:\mame\mame.exe
commandline_format                        [name]{nodosbox}{safelaunch}


btw,I don't have any problem with mamewah. :)
I am using WindowsXP lite.Mamewah always load as windows shell and run games quite efficiently.

Minwah told me to bring out a new version of Mamewah,But i am still waiting  :-\ i Hope it will also solve your problem. :police:
« Last Edit: August 27, 2005, 06:36:37 pm by ahmer »

deadmoney5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 428
  • Last login:February 03, 2020, 11:02:02 pm
  • I don't feel tardy
Re: Mame losing focus when launching from Mamewah
« Reply #9 on: August 27, 2005, 05:50:08 pm »
yep,

My ini had nosafelaunch as an option...

changing it to safelaunch seems to have solved all problems of focus...

thanks all!!

Scoobie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 281
  • Last login:December 26, 2024, 12:53:48 am
Re: Mame losing focus when launching from Mamewah
« Reply #10 on: August 27, 2005, 11:24:49 pm »
Is anyonee else unable to get to the Mamewah forum?  It says forbidden.   ???

I posted my ini file there hoping for a reply.  Here is the execution settings in my mame.ini file within Mamewah.

Can someone let me know what is wrong here?  When I launch games, they sometimes launch okay (video and sound), and sometimes the games launch with sound only.  Because this only happens about half the time, I'm stumped.

I'm using MW 1.60.

Thanks!

### Execution Settings ###
emulator_executable                       c:\mame\mame.exe
send_rom_path                                0
send_rom_extension                        0
quotes_around_romnames               0
long_filenames                                  1
show_dos_box                                  auto
alt_launch_method                            0
commandline_format                         [name]{nodosbox}{safelaunch}
alt_commandline_format_1               [name]
alt_commandline_format_2               [name]
mouse_cursor                                    0
« Last Edit: August 27, 2005, 11:26:49 pm by Scoobie »

ahmer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 234
  • Last login:March 16, 2014, 02:40:21 pm
  • Do as you like.
    • IC Markets Rebates and Discount
Re: Mame losing focus when launching from Mamewah
« Reply #11 on: August 28, 2005, 04:38:25 pm »
Quote
Can someone let me know what is wrong here?  When I launch games, they sometimes launch okay (video and sound), and sometimes the games launch with sound only.  Because this only happens about half the time, I'm stumped.

why don't you Use latest available mamewah 1.61[may be 1.62]Ifavailable
This problem should be solve by including {safelaunch} flag.

Check your mame's folder for mame.ini file C:\mame\mame.ini   

Code: [Select]
### Windows video options ###

resolution              800x600x16


Then set mamewah's mamewah.ini

Code: [Select]
### Misc Options ###

layout                      Classic 800x600
 

Now set your Desktop/windows resolution to the same 800x600 [16 Bit]


Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Mame losing focus when launching from Mamewah
« Reply #12 on: August 30, 2005, 06:07:11 am »
Can someone let me know what is wrong here?  When I launch games, they sometimes launch okay (video and sound), and sometimes the games launch with sound only.  Because this only happens about half the time, I'm stumped.

Do you have any other apps running in the background (in the system tray for example)?

Closing all apps fixes the problem for me.

screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
Re: Mame losing focus when launching from Mamewah
« Reply #13 on: September 02, 2005, 10:45:22 pm »
There used to be a thread around here that addressed this very issue. Did you try searching for it?  I fixed this problem on my cab by installed the Xmouse Windows PowerToy from Microsoft.  I have a trackball though, so that helps.

--Steve

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Mame losing focus when launching from Mamewah
« Reply #14 on: September 04, 2005, 11:50:32 am »
There used to be a thread around here that addressed this very issue. Did you try searching for it?  I fixed this problem on my cab by installed the Xmouse Windows PowerToy from Microsoft.  I have a trackball though, so that helps.

It seems the 'frames_to_run 1' trick was almost certainly causing this problem.  Not sure why, but since it has been 'fixed' it shouldn't be an issue in v0.100+

Scoobie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 281
  • Last login:December 26, 2024, 12:53:48 am
Re: Mame losing focus when launching from Mamewah
« Reply #15 on: September 07, 2005, 09:47:06 am »
Quote
It seems the 'frames_to_run 1' trick was almost certainly causing this problem.  Not sure why, but since it has been 'fixed' it shouldn't be an issue in v0.100+
Quote

Unfortunately for those of us using older versions of mame, the "fix" won't work.  Upgrading to newer versions of mame seems to slow the older games to the point where I'd rather see the warning screens (Galaga for example), than have my favs play too slow.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Mame losing focus when launching from Mamewah
« Reply #16 on: September 07, 2005, 11:05:46 am »
Unfortunately for those of us using older versions of mame, the "fix" won't work.  Upgrading to newer versions of mame seems to slow the older games to the point where I'd rather see the warning screens (Galaga for example), than have my favs play too slow.

Fair point.

I don't know why using frames_to_run 1 causes MAME to lose focus however, so if you are using that then I suggest you stop to cure the focus problem.

Scoobie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 281
  • Last login:December 26, 2024, 12:53:48 am
Re: Mame losing focus when launching from Mamewah
« Reply #17 on: September 07, 2005, 11:17:06 pm »
Quote
Fair point.

I don't know why using frames_to_run 1 causes MAME to lose focus however, so if you are using that then I suggest you stop to cure the focus problem.
Quote

I have reversed it back to frames_to_run 0 and it solved the focus issue.  If anyone figures out a way to use the frames_to_run 1 without losing focus, please post.

Thanks. :)

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Re: Mame losing focus when launching from Mamewah
« Reply #18 on: September 23, 2005, 06:44:11 pm »
by the way, I also have the focus error if I'm using "buddamame" .97 with "skip_warnings" enabled, and {nosafelaunch} set

Raspberry Pi, AttractMode, and Skeletor enthusiast.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Mame losing focus when launching from Mamewah
« Reply #19 on: September 24, 2005, 09:03:25 am »
by the way, I also have the focus error if I'm using "buddamame" .97 with "skip_warnings" enabled, and {nosafelaunch} set

Odd.  To be honest there is not much difference between {safelaunch} and {nosafelaunch} (as far as MAME is concerned at least).  {nosafelaunch} should look a bit cleaner when switching resolutions (loading/quitting games), but it depends a lot on monitor type etc.