The NEW Build Your Own Arcade Controls

Front End Support => MaLa Frontend => Topic started by: Ninten-doh on November 12, 2006, 02:55:54 pm

Title: Problem with Mala when loaded at startup
Post by: Ninten-doh on November 12, 2006, 02:55:54 pm
I put a copy of the Mala shortcut into my Windows XP startup folder so that it will launch Mala immediately after Windows loads.  The problem is, when I do this I lose my minipac and keyboard controls.  I have to exit to Windows then go back into Mala in order for the minipac and keyboard to work again.  Anyone have an idea what stupid thing I'm doing wrong?   :dizzy:

I'm using Mala 1.0rc7.  Thanks!
Title: Re: Problem with Mala when loaded at startup
Post by: fatfingers on November 12, 2006, 04:00:01 pm

 I really have no idea, but is the run-time directory for the shortcut set to the installed directory for MaLa???
Title: Re: Problem with Mala when loaded at startup
Post by: loadman on November 12, 2006, 05:41:25 pm

 I really have no idea, but is the run-time directory for the shortcut set to the installed directory for MaLa???


Translation for dummies like me:

Try putting the path to mala in the 'start in' section of your short-cut properties (the same as in target bit) but without '\mala.exe' at the end
Title: Re: Problem with Mala when loaded at startup
Post by: Ninten-doh on November 12, 2006, 06:41:23 pm
Loadman, thanks for the translation.   :cheers:

BTW, I haven't tried clicking the "Start with Windows" option within Mala because I would prefer to do this without messing with the registry.  Do I need to have that clicked as well? 
Title: Re: Problem with Mala when loaded at startup
Post by: loadman on November 12, 2006, 07:09:44 pm
Loadman, thanks for the translation.   :cheers:

BTW, I haven't tried clicking the "Start with Windows" option within Mala because I would prefer to do this without messing with the registry.  Do I need to have that clicked as well? 
Nup
Title: Re: Problem with Mala when loaded at startup
Post by: Ninten-doh on November 12, 2006, 10:46:54 pm
I just checked and the the run-time directory for the shortcut WAS set to the installed directory for MaLa, so no luck with that.   :(
Title: Re: Problem with Mala when loaded at startup
Post by: loadman on November 13, 2006, 04:14:10 am
Quote
The problem is, when I do this I lose my minipac and keyboard controls. 

Have you got it set-up to be programmed on start-up? Is that how the mini-pac works?
MaLa can Program encoders. Maybe you could use that ?
Title: Re: Problem with Mala when loaded at startup
Post by: Ninten-doh on November 13, 2006, 08:15:44 am
Loadman, I don't have the mini-pac set up to be programmed on startup.  I'm just using the default settings.  But anyway, that wouldn't explain wny I'm not getting any keyboard functions either.  Maybe I should just try the "Start with Windows" option.   :dunno
Title: Re: Problem with Mala when loaded at startup
Post by: swindus on November 13, 2006, 01:35:22 pm
Is it a focus problem?
Does it work when click once with your mouse on MaLa when it is started?
Title: Re: Problem with Mala when loaded at startup
Post by: Ninten-doh on November 13, 2006, 03:00:54 pm
Is it a focus problem?
Does it work when click once with your mouse on MaLa when it is started?

Not sure.  I'll check that as soon as I get home from work.
Title: Re: Problem with Mala when loaded at startup
Post by: Ninten-doh on November 13, 2006, 10:22:29 pm
Swindus, I just tried it and yes, it works once you click the mouse.  Is there a solution/fix for this other than having to click the mouse?
Title: Re: Problem with Mala when loaded at startup
Post by: Silver on November 13, 2006, 10:39:49 pm
This is quite a common issue (with any program) when you run an app you want to use from the startup folder.

Windows attempts to run/load a whole pile of behind-the-scenes programs, system tray programs etc.. all at the same time when windows starts.

whats happening is that some program is loading after mala has started loading, stealing the focus from the program. I suspect swindus may add some focus-grabbing code in (?). In the meantime you could:

1) start mala as your shell (see the wiki) - if this is a cab/gaming only pc, why load the windows shell?

2) run msconfig.exe (from the run command) and reduce the number of programs at startup - you might get luckly and remove whatever is stealing focus from mala

3) as a workaround, try a program like:

http://www.r2.com.au/software.php?page=2&show=startdelay (http://www.r2.com.au/software.php?page=2&show=startdelay)

which will let you delay any program that runs at startup. This way you could delay mala a bit which should solve the problem.
Title: Re: Problem with Mala when loaded at startup
Post by: loadman on November 13, 2006, 11:02:07 pm
Quote
which will let you delay any program that runs at startup. This way you could delay mala a bit which should solve the problem.

You could also 'try' adding a start-up delay on Mala (splash delay) if you want .  I have it set for 6 secs to allow for the wire-less network to connect and all the other windows crap

See attached pic
Title: Re: Problem with Mala when loaded at startup
Post by: Ninten-doh on November 14, 2006, 09:15:17 am
Silver, Loadman - thanks for the replies.  I've read some other threads on this issue, and I saw the Mala delay setting option and tried that already...no luck.   :banghead:

I'll try some of the options that Silver outlined.  Thanks guys.   :cheers: