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: Mala doesn't have focus when it starts  (Read 2189 times)

0 Members and 1 Guest are viewing this topic.

leapinlew

  • Some questionable things going on in this room with cheetos
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7919
  • Last login:Today at 11:06:50 am
Mala doesn't have focus when it starts
« on: October 05, 2011, 10:40:07 am »
I built a new mame machine to replace a computer that was giving me problems and I have an interesting new problem. I had mala launch when windows starts(an option inside of mala). Once windows is loaded the joystick/buttons do not respond. If I move the trackball the gamelist moves but the joystick\buttons do not work. If I click a mouse the joystick/buttons start working.

It happens every time. The joystick and buttons do not work unless I either click a mouse, or close mala and reopen it. I thought something else might be loading up behind mala stealing focus, so I disabled the automatic startup option and I created a shortcut to mala in the startup menu to try to change the timing, but it didn't make a difference.

I copied the Mala/Mame folders from the original computer to a computer with a fresh XP install. I disabled balloon tips inside of windows XP. Installed ATI Catalyst so I can output to Svideo to a tv. But thats about it.

Any other suggestions? I suppose I could map a mouse button from the trackball, but thats a workaround I don't want to do.

Hoopz

  • Don't brand me a troublemaker!
  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5285
  • Last login:June 13, 2025, 09:18:32 pm
  • Intellivision Rocks!
Re: Mala doesn't have focus when it starts
« Reply #1 on: October 05, 2011, 10:51:27 am »
The one thing that happens a lot when you copy a folder into Windows is that the folder and subfolders often show as read-only.  I don't know how that would affect your problem, but it's something to check for.  Maybe Mala can't write a config file or something because the folder is locked?

Doubt that's it as it's doesn't seem to relate to the issue of losing focus...  Maybe someone will have a better idea to look for. 

If you pull up msconfig, what programs show on the startup tab?

boardjunkie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 698
  • Last login:March 05, 2019, 06:05:58 pm
Re: Mala doesn't have focus when it starts
« Reply #2 on: October 05, 2011, 01:45:12 pm »
The monitor loses focus? I don't get it.....nothing about the monitor was mentioned.....

Dartful Dodger

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3453
  • Last login:July 23, 2012, 11:21:39 pm
  • Newer isn't always better.
Re: Mala doesn't have focus when it starts
« Reply #3 on: October 05, 2011, 02:11:56 pm »
http://forum.arcadecontrols.com/index.php?topic=76882.0

Good luck.

<Updated Text>

Sorry for the short reply. I reread this and realized that it looks like I know the answer but instead of posting the solution I was being a jerk and just posting a link.

When you read through this link you'll see that I wasn't able to solve my problem. (hence the link and "Good Luck")

This was a known issue with Mala and XP that the developer was aware of and working on. Since you just copied and pasted your old folders/files (depending on how old your Mala is) one thing you can try is downloading and installing the latest version of Mala.

Good luck (again).
« Last Edit: October 05, 2011, 05:13:51 pm by Dartful Dodger »

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5158
  • Last login:May 24, 2025, 09:57:44 pm
  • Wheres my coffee?
    • Skenny's Outpost
Re: Mala doesn't have focus when it starts
« Reply #4 on: October 06, 2011, 06:44:46 am »
It could be that mala is popping up an error message behind the mala screen, when you click it clicks the "OK" button and mala gets the attention.
Check your mala logs, and if you copied everything from one PC to another one, make sure all the paths are correct.
You can also connect a keyboard, when this happens hit ALT + TAB to see what (if anything) is running behind mala.
I think I had this same problem when I moved everything from one PC to another, and it turned out that one of my emulators path wasnt the same on the new pc. (Or something like that that turned out to be a simple fix.)

markronz

  • We traced the call, and it came from....INSIDE YOUR ARCADE MACHINE!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:April 12, 2019, 12:03:08 am
  • Game on!
Re: Mala doesn't have focus when it starts
« Reply #5 on: October 06, 2011, 02:06:30 pm »
Likely nothing that's your fault, but like DD said, it's a known issue.  On one of my computers all I had to do was run that registry fix (detailed in the other thread).  It was the codec stealing the focus.  On my second machine, that alone did not fix my problem.  My problem was similar, however, it only occurred upon exiting a game.   So I came up with a simple AHK script that just single left clicks every time after I press the exit button.  This gets Mala back in focus.   So yeah, I'd read through that whole thread.  There are a few things you can try, and then if nothing else works, consider making a simple script to assist.   Also, if you're running an older version of mala, you could try upgrading it.  I believe you can just extract the new mala files into the existing folder, and that's about it.   So you shouldn't lose any of your settings.   Perhaps whatever bug you are experiencing is fixed in a newer version?

leapinlew

  • Some questionable things going on in this room with cheetos
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7919
  • Last login:Today at 11:06:50 am
Re: Mala doesn't have focus when it starts
« Reply #6 on: October 06, 2011, 03:00:48 pm »
Likely nothing that's your fault, but like DD said, it's a known issue.  On one of my computers all I had to do was run that registry fix (detailed in the other thread).  It was the codec stealing the focus.  On my second machine, that alone did not fix my problem.  My problem was similar, however, it only occurred upon exiting a game.   So I came up with a simple AHK script that just single left clicks every time after I press the exit button.  This gets Mala back in focus.   So yeah, I'd read through that whole thread.  There are a few things you can try, and then if nothing else works, consider making a simple script to assist.   Also, if you're running an older version of mala, you could try upgrading it.  I believe you can just extract the new mala files into the existing folder, and that's about it.   So you shouldn't lose any of your settings.   Perhaps whatever bug you are experiencing is fixed in a newer version?

Thanks to you and Dartful for the suggestion and link to the other thread. There is definitely a lot of stuff there for me to try. I've had tons of mala machines and never had this issue.

arximidis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:March 20, 2020, 03:52:48 am
Re: Mala doesn't have focus when it starts
« Reply #7 on: October 08, 2011, 05:14:24 am »
I built a new mame machine to replace a computer that was giving me problems and I have an interesting new problem. I had mala launch when windows starts(an option inside of mala). Once windows is loaded the joystick/buttons do not respond. If I move the trackball the gamelist moves but the joystick\buttons do not work. If I click a mouse the joystick/buttons start working.

It happens every time. The joystick and buttons do not work unless I either click a mouse, or close mala and reopen it. I thought something else might be loading up behind mala stealing focus, so I disabled the automatic startup option and I created a shortcut to mala in the startup menu to try to change the timing, but it didn't make a difference.

I copied the Mala/Mame folders from the original computer to a computer with a fresh XP install. I disabled balloon tips inside of windows XP. Installed ATI Catalyst so I can output to Svideo to a tv. But thats about it.

Any other suggestions? I suppose I could map a mouse button from the trackball, but thats a workaround I don't want to do.


How can this be even possible. Doesn't mala have code to "force" windows in order to get the focus? This is very important to a frontend (at least this is what I am doing to my own. And I will improve it, since I have released only beta versions)