Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: ever1458 on January 27, 2009, 05:21:03 pm

Title: Layouts won't autoswitch
Post by: ever1458 on January 27, 2009, 05:21:03 pm
I'm new to MALA but I had a pretty smooth time setting it up so I didn't expect the layouts to be a roadblock for me, but I'm stumped at the moment. I  have 3 emualtors, mame, zsnes, and stella and I have the Emupack 1 layout. I got the mame layout setup fine as I have the .mll in the mala/layout folder and I have the picture files in a subfolder that is named exactly as the .mll is named. My problem is that the mame layout is the only one that works. When I switch to the zsnes or stella emulators the standard layout appears. If I uncheck the autoswitch checkbox, the right layouts will display, but I always have the gamelist for mame on display. I read on the mala page about "definables" but I couldn't find anymore information on it. Could someone tell me what I am doing wrong?
Title: Re: Layouts won't autoswitch
Post by: loadman on January 27, 2009, 05:32:56 pm
The new version spells it out a bit more....

Basically you have to name everything correctly

Possibly this screen shot will explain ?


Title: Re: Layouts won't autoswitch
Post by: ever1458 on January 27, 2009, 06:10:32 pm
when you say naming everything correctly does that include folder names as well? What about things like capital letters and spaces, will that throw MALA off?
Title: Re: Layouts won't autoswitch
Post by: loadman on January 27, 2009, 07:11:56 pm
when you say naming everything correctly does that include folder names as well? What about things like capital letters and spaces, will that throw MALA off?

Yep
Title: Re: Layouts won't autoswitch
Post by: ever1458 on January 27, 2009, 07:28:10 pm
I have all of the gamelists being recognized and I can get the layouts and appropriate game lists to work if I turn emulator autoswitching off, but that means I have to manually switch layouts depending on the console I feel like playing. This obviously defeats the purpose of autoswitching, however when I leave auto switching on only the mame layout stays constant and all other emulators are stuck displaying the standard.mll. Do you know of any reason why the layouts would display properly when autoswitching is turned off but not when it is turned on? How does MALA associate the emualtor, the graphics, and the games to the emulator I choose? I think the problem might be in the associations.
Title: Re: Layouts won't autoswitch
Post by: loadman on January 27, 2009, 07:32:47 pm
Not sure what version you are using but if you enable the logs it should tell you what name it is looking for in auto mode.
Title: Re: Layouts won't autoswitch
Post by: dungbeetle46 on January 27, 2009, 08:28:28 pm
make sure your .mll files are in the mala directory and put your layouts in thier own folders with the same name as your emu
 eg: c:mala\Sega.mll   c:\mala\Sega\background.png
under gui put a tick in use layout names for directory names
if its still loading the standard.mll open your other layouts in malalayout and set absolute paths and save the .mll to mala directory and make sure your background image is in the folder named the same as your emu
Title: Re: Layouts won't autoswitch
Post by: ever1458 on January 27, 2009, 09:03:08 pm
I found the problem. I didn't even notice it, but I had named the emulator "Super Nintendo (ZsNes)" instead of just "super nintendo". I did the same thing with the atari. Thanks for help guys.