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 layout help needed  (Read 5804 times)

0 Members and 1 Guest are viewing this topic.

Extreme8

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:August 24, 2008, 03:46:24 pm
Mala layout help needed
« on: March 14, 2007, 08:23:08 pm »
I've started trying to create a new layout in Mala and while I've been able to figure most of it out, I have a few questions I'm hoping one of you Mala gurus can help me with.

1 - When creating a Mala layout, how do I define the color I want to be transparent?

2 - How do I change the size of a graphic when adding it as a "custom" object?

3 - I know I've seen this before, but I can't find it now when I need it. My graphics aren't displaying. I know the FAQ or post I saw in the past started by saying "there are 2 ways to store a layout...", well evidently I'm using number 3, the one that doesn't work.

Any help is appreciated.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala layout help needed
« Reply #1 on: March 14, 2007, 08:47:14 pm »
I've started trying to create a new layout in Mala and while I've been able to figure most of it out, I have a few questions I'm hoping one of you Mala gurus can help me with.

1 - When creating a Mala layout, how do I define the color I want to be transparent?

2 - How do I change the size of a graphic when adding it as a "custom" object?

3 - I know I've seen this before, but I can't find it now when I need it. My graphics aren't displaying. I know the FAQ or post I saw in the past started by saying "there are 2 ways to store a layout...", well evidently I'm using number 3, the one that doesn't work.

Any help is appreciated.

Start here:
http://wiki.arcadecontrols.com/wiki/Mala_Layout

and check your file paths when saving your layouts

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: Mala layout help needed
« Reply #2 on: March 15, 2007, 04:51:15 am »
Quote
1 - When creating a Mala layout, how do I define the color I want to be transparent?

The color of the bottom left pixel of the image is used as transparency color.

Quote
2 - How do I change the size of a graphic when adding it as a "custom" object?

The custom object is using the size of the loaded image. If you want to change the size, change the size of the image.

Extreme8

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:August 24, 2008, 03:46:24 pm
Re: Mala layout help needed
« Reply #3 on: March 15, 2007, 09:14:53 am »
Finally got things figured out late last night - more like early this morning I guess.

I've got my animations working, snaps & videos, a nice text list, transparencies, exactly what I wanted.

Regarding my questions.

There seems to be a maximum size allowed for the custom object. I tried inserting a graphic larger than the default box that appears and it didn't work.
When I tried with smaller images it behaved exactly as expected.

I've also found that a single pixel isn't enough to reliably set the transparency. A small group of pixels works well though.

If nobody has tackled it yet I think I'll work up a little tutorial on the layout editor, at least enough to explain what I've learned about each of the options and behavior of the objects.

Thanks for the help and the link to the wiki. I knew I saw that info somewhere.

steveh

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 340
  • Last login:January 29, 2024, 09:33:42 am
    • thecrazysteve.com
Re: Mala layout help needed
« Reply #4 on: March 15, 2007, 04:13:25 pm »
I am having an odd issue.  I actually found some mamewah layouts that i liked and wanted to use as a basis for my mala layout.  I used the conversion tool, and every thing seamed to work well.  the problem i am having is if i go into mala and browse to where the layout should be it works.  except i have no background.   I looked at the layout in malalayout.exe it gave me some wacky error about paths and i saved it, but it made no difference.  the background looks fine in the layout editor. 

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala layout help needed
« Reply #5 on: March 15, 2007, 05:28:22 pm »
I am having an odd issue.  I actually found some mamewah layouts that i liked and wanted to use as a basis for my mala layout.  I used the conversion tool, and every thing seamed to work well.  the problem i am having is if i go into mala and browse to where the layout should be it works.  except i have no background.   I looked at the layout in malalayout.exe it gave me some wacky error about paths and i saved it, but it made no difference.  the background looks fine in the layout editor. 

The layout convertor does NOT move the graphics for you.. It just converts the format. If you make a folder in mala with the same name as the graphics and put the graphics in there it will work

Refer here:
http://wiki.arcadecontrols.com/wiki/Mala_Layout

steveh

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 340
  • Last login:January 29, 2024, 09:33:42 am
    • thecrazysteve.com
Re: Mala layout help needed
« Reply #6 on: March 16, 2007, 10:07:46 am »
the wiki says that you can just dump every thing in the root mala folder and it should work.. messy but work.  That it did not.  Putting it into that folder fixed the problem.  I have now moved all my layouts to the layout folder and now it is working well.

so now i am working on sizing it .  640X 480 is good for a tv right?

so that is what i am working whit.  the problem is i cannot shrink down the font of the list now.  its too big and takes up too much room on the list?  is there a trick to fixing this?  I have adjusted it in the layout editor.  i even tried drastic changes to no avail.

steveh

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 340
  • Last login:January 29, 2024, 09:33:42 am
    • thecrazysteve.com
Re: Mala layout help needed
« Reply #7 on: March 16, 2007, 11:33:55 am »
Figured it out.


loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala layout help needed
« Reply #8 on: March 16, 2007, 04:37:26 pm »
the wiki says that you can just dump every thing in the root mala folder and it should work.. messy but work.  That it did not.  Putting it into that folder fixed the problem. 

It said you can operate two ways:
1) All Graphics in mala folder
2) All graphics in subfolders with the same name as the layout (Default)

You need to change a checkbox in mala depending on which way you want to work

Glad you figured it out anyway